S390: Optimize wmemset.
[glibc.git] / ChangeLog
blob76fc7c2c2f6fd92e8cd88b7aae4c16ad23f318c4
1 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3         * sysdeps/s390/multiarch/wmemset-c.c: New File.
4         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
5         * sysdeps/s390/multiarch/wmemset.c: Likewise.
6         * sysdeps/s390/multiarch/Makefile
7         (sysdep_routines): Add wmemset functions.
8         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
10         * wcsmbs/wmemset.c: Use WMEMSET if defined.
11         * string/test-memset.c: Add wmemset support.
12         * wcsmbs/test-wmemset.c: New File.
13         * wcsmbs/Makefile (strop-tests): Add wmemset.
14         * benchtests/bench-memset.c: Add wmemset support.
15         * benchtests/bench-wmemset.c: New File.
16         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
18 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
20         * sysdeps/s390/multiarch/memccpy-c.c: New File.
21         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
22         * sysdeps/s390/multiarch/memccpy.c: Likewise.
23         * sysdeps/s390/multiarch/Makefile
24         (sysdep_routines): Add memccpy functions.
25         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
27         * string/memccpy.c: Use MEMCCPY if defined.
29 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
31         * sysdeps/s390/multiarch/memchr-vx.S: New File.
32         * sysdeps/s390/multiarch/memchr.c: Likewise.
33         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
34         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
35         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
36         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
37         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
38         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
39         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
40         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
41         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
42         and rawmemchr functions.
43         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
44         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
45         and wmemchr.
46         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
47         * string/test-memchr.c: Add wmemchr support.
48         * wcsmbs/test-wmemchr.c: New File.
49         * wcsmbs/Makefile (strop-tests): Add wmemchr.
50         * benchtests/bench-memchr.c: Add wmemchr support.
51         * benchtests/bench-wmemchr.c: New File.
52         * benchtests/Makefile (wcsmbs-bench): wmemchr.
54 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
56         * sysdeps/s390/multiarch/strcspn-c.c: New File.
57         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
58         * sysdeps/s390/multiarch/strcspn.c: Likewise.
59         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
60         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
61         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
62         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
63         wcscspn functions.
64         * sysdeps/s390/multiarch/ifunc-impl-list.c
65         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
66         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
67         * string/test-strcspn.c: Add wcscspn support.
68         * wcsmbs/test-wcscspn.c: New File.
69         * wcsmbs/Makefile (strop-tests): Add wcscspn.
70         * benchtests/bench-strcspn.c: Add wcscspn support.
71         * benchtests/bench-wcscspn.c: New File.
72         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
74 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
76         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
77         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
78         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
79         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
80         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
81         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
82         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
83         wcspbrk functions.
84         * sysdeps/s390/multiarch/ifunc-impl-list.c
85         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
86         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
87         * string/test-strpbrk.c: Add wcspbrk support.
88         * wcsmbs/test-wcspbrk.c: New File.
89         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
90         * benchtests/bench-strpbrk.c: Add wcspbrk support.
91         * benchtests/bench-wcspbrk.c: New File.
92         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
94 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
96         * sysdeps/s390/multiarch/strspn-c.c: New File.
97         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
98         * sysdeps/s390/multiarch/strspn.c: Likewise.
99         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
100         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
101         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
102         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
103         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
104         wcsspn functions.
105         * sysdeps/s390/multiarch/ifunc-impl-list.c
106         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
107         * string/test-strspn.c: Add wcsspn support.
108         * wcsmbs/test-wcsspn.c: New File.
109         * wcsmbs/Makefile (strop-tests): Add wcsspn.
110         * benchtests/bench-strspn.c: Add wcsspn support.
111         * benchtests/bench-wcsspn.c: New File.
112         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
114 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
116         * sysdeps/s390/multiarch/strrchr-c.c: New File.
117         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
118         * sysdeps/s390/multiarch/strrchr.c: Likewise.
119         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
120         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
121         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
122         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
123         wcsrchr functions.
124         * sysdeps/s390/multiarch/ifunc-impl-list.c
125         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
126         * benchtests/bench-wcsrchr.c: New File.
127         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
129 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
131         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
132         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
133         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
134         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
135         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
136         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
137         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
138         wcschrnul functions.
139         * sysdeps/s390/multiarch/ifunc-impl-list.c
140         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
141         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
142         * string/test-strchr.c: Add wcschrnul support.
143         * wcsmbs/test-wcschrnul.c: New File.
144         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
145         * benchtests/bench-strchr.c: Add wcschrnul support.
146         * benchtests/bench-wcschrnul.c: New File.
147         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
149 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
151         * sysdeps/s390/multiarch/strchr-c.c: New File.
152         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
153         * sysdeps/s390/multiarch/strchr.c: Likewise.
154         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
155         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
156         * sysdeps/s390/multiarch/wcschr.c: Likewise.
157         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
158         wcschr functions.
159         * sysdeps/s390/multiarch/ifunc-impl-list.c
160         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
161         * string/strchr.c (STRCHR): Define and use macro.
162         * benchtests/bench-wcschr.c: New File.
163         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
165 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
167         * sysdeps/s390/multiarch/strncmp-c.c: New File.
168         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
169         * sysdeps/s390/multiarch/strncmp.c: Likewise.
170         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
171         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
172         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
173         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
174         wcsncmp functions.
175         * sysdeps/s390/multiarch/ifunc-impl-list.c
176         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
177         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
178         * benchtests/bench-strncmp.c: Add wcsncmp support.
179         * benchtests/bench-wcsncmp.c: New File.
180         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
182 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
184         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
185         * sysdeps/s390/multiarch/strcmp.c: Likewise.
186         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
187         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
188         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
189         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
190         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
191         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
192         wcscmp functions.
193         * sysdeps/s390/multiarch/ifunc-impl-list.c
194         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
195         * string/strcmp.c (STRCMP): Define and use macro.
196         * benchtests/bench-wcscmp.c: New File.
197         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
198         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
199         instead of _HAVE_STRING_ARCH_memchr.
201 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
203         * sysdeps/s390/multiarch/strncat-c.c: New File.
204         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
205         * sysdeps/s390/multiarch/strncat.c: Likewise.
206         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
207         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
208         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
209         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
210         wcsncat functions.
211         * sysdeps/s390/multiarch/ifunc-impl-list.c
212         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
213         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
214         * string/test-strncat.c: Add wcsncat support.
215         * wcsmbs/test-wcsncat.c: New File.
216         * wcsmbs/Makefile (strop-tests): Add wcsncat.
217         * benchtests/bench-strncat.c: Add wcsncat support.
218         * benchtests/bench-wcsncat.c: New File.
219         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
221 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
223         * sysdeps/s390/multiarch/strcat-c.c: New File.
224         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
225         * sysdeps/s390/multiarch/strcat.c: Likewise.
226         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
227         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
228         * sysdeps/s390/multiarch/wcscat.c: Likewise.
229         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
230         wcscat functions.
231         * sysdeps/s390/multiarch/ifunc-impl-list.c
232         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
233         * string/strcat.c (STRCAT): Define and use macro.
234         * wcsmbs/wcscat.c: Use WCSCAT if defined.
235         * string/test-strcat.c: Add wcscat support.
236         * wcsmbs/test-wcscat.c: New File.
237         * wcsmbs/Makefile (strop-tests): Add wcscat.
238         * benchtests/bench-strcat.c: Add wcscat support.
239         * benchtests/bench-wcscat.c: New File.
240         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
242 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
244         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
245         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
246         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
247         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
248         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
249         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
250         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
251         wcpncpy functions.
252         * sysdeps/s390/multiarch/ifunc-impl-list.c
253         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
254         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
255         * string/test-stpncpy.c: Add wcpncpy support.
256         * wcsmbs/test-wcpncpy.c: New File.
257         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
258         * benchtests/bench-stpncpy.c: Add wcpncpy support.
259         * benchtests/bench-wcpncpy.c: New File.
260         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
262 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
264         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
265         * sysdeps/s390/multiarch/strncpy.c: Likewise.
266         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
267         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
268         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
269         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
270         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
271         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
272         wcsncpy functions.
273         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
274         * sysdeps/s390/multiarch/ifunc-impl-list.c
275         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
276         * string/test-strncpy.c: Add wcsncpy support.
277         * wcsmbs/test-wcsncpy.c: New File.
278         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
279         * benchtests/bench-strncpy.c: Add wcsncpy support.
280         * benchtests/bench-wcsncpy.c: New File.
281         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
283 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
285         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
286         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
287         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
288         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
289         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
290         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
291         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
292         wcpcpy functions.
293         * string/stpcpy.c: Use STPCPY if defined.
294         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
295         * sysdeps/s390/multiarch/ifunc-impl-list.c
296         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
297         * string/test-stpcpy.c: Add wcpcpy support.
298         * wcsmbs/test-wcpcpy.c: New File.
299         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
300         * benchtests/bench-stpcpy.c: Add wcpcpy support.
301         * benchtests/bench-wcpcpy.c: New File.
302         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
304 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
306         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
307         * sysdeps/s390/multiarch/strcpy.c: Likewise.
308         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
309         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
310         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
311         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
312         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
313         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
314         wcscpy functions.
315         * sysdeps/s390/multiarch/ifunc-impl-list.c
316         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
317         * benchtests/bench-wcscpy.c: New File.
318         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
320 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
322         * sysdeps/s390/multiarch/strnlen-c.c: New File.
323         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
324         * sysdeps/s390/multiarch/strnlen.c: Likewise.
325         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
326         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
327         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
328         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
329         wcsnlen functions.
330         * sysdeps/s390/multiarch/ifunc-impl-list.c
331         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
332         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
333         * string/test-strnlen.c: Add wcsnlen support.
334         * wcsmbs/test-wcsnlen.c: New File.
335         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
336         * benchtests/bench-strnlen.c: Add wcsnlen support.
337         * benchtests/bench-wcsnlen.c: New File.
338         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
340 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
342         * sysdeps/s390/multiarch/Makefile: New File.
343         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
344         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
345         * sysdeps/s390/multiarch/strlen.c: Likewise.
346         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
347         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
348         * sysdeps/s390/multiarch/wcslen.c: Likewise.
349         * string/strlen.c (STRLEN): Define and use macro.
350         * sysdeps/s390/multiarch/ifunc-impl-list.c
351         (IFUNC_VX_IMPL): New macro function.
352         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
353         * benchtests/Makefile (wcsmbs-bench): New variable.
354         (string-bench-all): Added wcsmbs-bench.
355         * benchtests/bench-wcslen.c: New File.
357 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
359         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
360         s390_vx_libc_ifunc2): New macro function.
362 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
364         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
365         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
366         assembler support.
367         * sysdeps/s390/configure: Regenerated.
369 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
371         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
372         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
374 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
376         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
377         * sysdeps/s390/dl-procinfo.h: Add vector capability.
378         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
380 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
382         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
383         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
384         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
385         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
386         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
387         (memcmp, bcmp): Use __memcmp_default as alias source.
388         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
389         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
390         Rename to __memcmp_default.
391         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
392         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
393         (memcpy): Use __memcpy_default as alias source.
394         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
395         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
396         Rename to __memcpy_default.
397         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
398         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
399         (memset): Use __memset_default as alias source.
400         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
401         * sysdeps/s390/s390-32/memset.S (__memset_g5):
402         Rename to __memset_default.
403         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
404         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
405         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
406         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
407         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
408         (memcmp, bcmp): Use __memcmp_default as alias source.
409         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
410         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
411         Rename to __memcmp_default.
412         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
413         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
414         (memcpy): Use __memcpy_default as alias source.
415         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
416         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
417         Rename to __memcpy_default.
418         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
419         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
420         (memset): Use __memset_default as alias source.
421         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
422         * sysdeps/s390/s390-64/memset.S (__memset_z900):
423         Rename to __memset_default.
424         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
425         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
427 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
429         [BZ #18610]
430         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
431         __ieee_instruction_pointer to __unused.
432         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
433         __ieee_instruction_pointer.
434         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
435         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
436         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
437         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
438         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
439         Mark dxc-field as reserved.
441 2015-08-25  Roland McGrath  <roland@hack.frob.com>
443         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
444         if the weak reference is not null.
446 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
448         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
450 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
452         [BZ #11214]
453         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
455 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
457         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
458         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
459         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
460         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
461         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
462         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
463         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
464         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
465         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
466         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
467         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
468         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
469         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
470         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
471         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
472         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
473         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
474         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
476 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
478         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
479         register other than r0 for tabort, it has special meaning.
480         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
481         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
482         transaction before starting syscall.
484 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
486         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
488 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
490         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
492 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
494         * sysdeps/x86_64/rtld-memcmp.c: Removed.
495         * sysdeps/x86_64/rtld-memset.S: Likewise.
496         * sysdeps/x86_64/rtld-strchr.S: Likewise.
497         * sysdeps/x86_64/rtld-strlen.S: Likewise.
498         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
499         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
501 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
503         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
505 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
507         * debug/strcpy_chk.c: Improve performance.
508         * debug/stpcpy_chk.c: Likewise.
509         * sysdeps/x86_64/strcpy_chk.S: Remove.
510         * sysdeps/x86_64/stpcpy_chk.S: Remove.
512         [BZ #18240]
513         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
515 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
517         [BZ #15128]
518         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
519         ifuncmain8.
520         (modules-names): Add ifuncmod8.
521         ($(objpfx)ifuncmain8): New rule.
522         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
523         <cpuid.h>.
524         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
525         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
526         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
527         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
528         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
529         * sysdeps/x86_64/dl-trampoline.h: Likewise.
530         * sysdeps/x86_64/ifuncmain8.c: New file.
531         * sysdeps/x86_64/ifuncmod8.c: Likewise.
532         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
533         Removed.
534         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
535         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
536         Change rtld_savespace_sse to __glibc_unused2.
537         (RTLD_CHECK_FOREIGN_CALL): Removed.
538         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
539         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
540         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
542 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
544         * sysdeps/aarch64/bzero.S (__bzero): Remove.
546 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
548         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
549         Unconditionally set __fpcr to avoid uninialized warning.
550         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
552 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
554         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
555         is corrupt.
557         * malloc/arena.c (arena_get2): Drop unused argument.
558         (arena_lock): Adjust.
559         (arena_get_retry): Likewise.
561 2015-08-24  Andreas Schwab  <schwab@suse.de>
563         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
564         Don't define.
565         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
566         (__ASSUME_IPC64): Don't undef.
567         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
568         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
569         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
570         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
571         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
572         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
573         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
574         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
575         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
576         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
577         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
578         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
579         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
580         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
581         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
582         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
583         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
584         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
585         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
586         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
587         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
589 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
591         * manual/Makefile (install): Only build manual when perl is available.
593 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
595         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
596         '#undef memcpy' by '#undef memchr'.
598 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
600         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
601         memchr not point to the internal __GI_memchr implementation.
603 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
605         * timezone/Makefile (CFLAGS-zdump.c): Remove
606         -Wno-strict-prototypes.
607         (CFLAGS-zic.c): Likewise.
608         (CFLAGS-ialloc.c): Likewise.
609         (CFLAGS-scheck.c): Likewise.
611         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
612         -Wno-error=undef.
614 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
616         * i386/i686/multiarch/strcasestr-c.c: Removed.
617         * x86_64/multiarch/strcasestr.c: Likewise.
618         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
619         Remove strcasestr.
621 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
623         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
625         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
626         variables for high and low parts before possibly modifying them.
628 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
630         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
631         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
632         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
633         of "multiarch/init-arch.h".
634         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
635         * sysdeps/x86/init-arch.h: This.
637 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
639         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
640         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
642 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
644         [BZ #17787]
645         * manual/macros.texi: Add twoexp macro.
646         * manual/filesys.texi: Fix exponents.
647         * manual/llio.texi: Likewise.
648         * manual/stdio.texi: Likewise.
650 2015-08-20  Florian Weimer  <fweimer@redhat.com>
652         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
653         incorrect use.
655 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
657         [BZ #18370]
658         * math/s_csqrt.c (__csqrt): Force underflow exception for results
659         whose real or imaginary part has small absolute value.
660         * math/s_csqrtf.c (__csqrtf): Likewise.
661         * math/s_csqrtl.c (__csqrtl): Likewise.
662         * math/auto-libm-test-in: Add more tests of csqrt.
663         * math/auto-libm-test-out: Regenerated.
664         * sysdeps/i386/fpu/libm-test-ulps: Update.
666 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
668         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
669         __ppc_set_ppr_very_low): New functions.
670         * manual/platform.texi: Add documentation about
671         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
673 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
675         * string/stpncpy.c (stpncpy): Improve performance using
676         __strnlen/memcpy/memset.
678 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
680         [BZ #18796]
681         * scripts/test-installation.pl: Don't add -lmvec to build options if
682         libmvec wasn't built.
684 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
686         [BZ #14341]
687         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
688         case when there is a gap between DT_REL and DT_JMPREL sections.
689         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
690         (LDFLAGS-tst-split-dynreloc): New.
691         (tst-split-dynreloc-ENV): Likewise.
692         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
693         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
695 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
697         [BZ #18822]
698         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
699         attribute_hidden.
700         (__xstat64_conv): Likewise.
701         (__xstat32_conv): Likewise.
703 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
705         [BZ #18822]
706         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
707         Don't load %ebx when calling __setcontext.  Call __setcontext
708         with HIDDEN_JUMPTARGET.
709         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
710         libc_hidden_def.
712 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
714         * sysdeps/i386/i686/Makefile
715         [$(subdir) == string] (sysdep_routines): Moved to ...
716         * sysdeps/i386/Makefile: Here.
717         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
718         * sysdeps/i386/cacheinfo.c: Here.
719         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
720         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
721         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
722         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
724 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
726         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
727         __i586__ is defined.
728         (HAS_I686): Defined to 1 if __i686__ is defined.
730 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
732         * elf/Makefile [$(have-z-execstack) = yes]
733         (CPPFLAGS-tst-execstack.c): New variable.
735         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
736         conditional to [defined UTMPX || _HAVE_UT_TYPE].
737         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
738         UTMPX || _HAVE_UT_TV].
739         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
740         UTMPX || _HAVE_UT_TV - 0].
742 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
744         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
745         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
746         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
748 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
750         * sysdeps/powerpc/dl-procinfo.c:
751         (_dl_powerpc_cap_flags): Added missing strings for some
752         hwcap features.
753         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
755 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
757         Port the 0x7efe...feff pattern to GCC 6.
758         See Steve Ellcey's bug report in:
759         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
760         * string/memrchr.c (MEMRCHR):
761         * string/rawmemchr.c (RAWMEMCHR):
762         * string/strchr.c (strchr):
763         * string/strchrnul.c (STRCHRNUL):
764         Rewrite code to avoid issues with signed shift overflow.
766 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
768         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
769         whether cpuid is available only if HAS_CPUID is 0.
770         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
771         (HAS_I586): Likewise.
772         (HAS_I686): Likewise.
774 2015-08-18  Zack Weinberg  <zackw@panix.com>
776         * misc/Versions (libc): Add GLIBC_2.23.
778 2015-08-18  Alan Modra  <amodra@gmail.com>
780         [BZ #18421]
781         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
782         .Lp__global.
783         (_start): Load %dp via .Lp__global.
784         [!SHARED]: Use .section .rodata.
786 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
788         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
789         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
791 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
793         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
794         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
796 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
798         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
799         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
801 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
803         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
804         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
806 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
808         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
809         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
811 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
813         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
814         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
816 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
818         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
820 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
822         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
823         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
824         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
825         (__ASSUME_LWS_CAS): Delete.
827 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
829         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
830         * sysdeps/hppa/configure: Regenerated.
831         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
832         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
833         * sysdeps/hppa/nptl/tls.h: Likewise.
835 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
837         [BZ #18823]
838         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
839         for scaling up small arguments.
840         * math/s_csqrtf.c (__csqrtf): Likewise.
841         * math/s_csqrtl.c (__csqrtl): Likewise.
842         * math/auto-libm-test-in: Add more tests of csqrt.
843         * math/auto-libm-test-out: Regenerated.
845 2015-08-17  Andreas Schwab  <schwab@suse.de>
847         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
848         version set GLIBC_2.19.
850 2015-08-16  Zack Weinberg  <zackw@panix.com>
852         [BZ #18681]
853         * misc/regexp.h: This interface is no longer supported.
854         Remove all contents, leaving only an #error directive.
855         * misc/regexp.c (loc1, loc2, locs, step, advance):
856         Demote to compatibility symbols.
858 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
860         [BZ #18084]
861         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
862         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
863         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
864         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
865         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
866         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
867         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
868         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
869         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
871 2015-08-15  Zack Weinberg  <zackw@panix.com>
873         [BZ #18795]
874         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
875         buffer length is known to be too large, not if it's known to be
876         small enough.
877         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
878         overflow at runtime, involving a length parameter, twice: once
879         with a compile-time constant length parameter, once without.
881 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
883         [BZ #18824]
884         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
885         scaling x * y up instead of down.
886         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
887         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
888         * math/auto-libm-test-in: Add more tests of fma.
889         * math/auto-libm-test-out: Regenerated.
891 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
893         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
895 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
897         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
898         unnecessary movq.
899         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
900         Likewise.
902 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
904         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
905         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
906         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
907         and tgamma.
908         * math/auto-libm-test-out: Regenerated.
909         * sysdeps/i386/fpu/libm-test-ulps: Update.
910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
912         [BZ #16520]
913         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
914         (__tanh): Force underflow exception for arguments with small
915         absolute value.
916         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
917         (__tanhf): Force underflow exception for arguments with small
918         absolute value.
919         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
920         (__tanhl): Force underflow exception for arguments with small
921         absolute value.
922         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
923         (__tanhl): Force underflow exception for arguments with small
924         absolute value.
925         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
926         (__tanhl): Force underflow exception for arguments with small
927         absolute value.
928         * math/auto-libm-test-in: Add more tests of tanh.
929         * math/auto-libm-test-out: Regenerated.
930         * sysdeps/i386/fpu/libm-test-ulps: Update.
932 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
934         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
935         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
937 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
939         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
940         <cpuid.h>.
942 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
944         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
945         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
947 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
949         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
950         Remove $(objpfx)init-arch.o.
951         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
952         init-arch.
953         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
954         (INIT_ARCH_EXT): Defined as empty.
955         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
956         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
957         __init_cpu_features call.  Replace HAS_XXX with
958         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
959         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
960         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
961         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
962         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
963         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
964         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
965         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
966         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
967         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
968         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
969         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
970         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
971         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
972         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
973         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
974         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
975         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
976         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
977         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
978         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
979         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
980         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
981         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
982         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
983         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
984         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
985         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
986         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
987         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
988         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
989         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
990         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
991         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
992         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
993         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
995 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
997         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
998         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
999         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1000         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1001         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
1002         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
1003         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
1004         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
1005         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
1006         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
1007         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
1008         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
1009         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1010         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1011         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1012         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1013         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1014         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1015         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1016         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1017         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1018         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1019         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1020         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1021         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1022         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1023         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1024         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1025         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1026         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1027         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1028         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1029         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1030         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1031         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1032         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1033         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1034         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1035         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1036         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1037         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1038         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1039         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1041 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1043         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
1044         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1045         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1046         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1047         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1048         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
1049         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1050         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
1051         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
1052         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1053         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1054         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
1055         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
1056         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
1057         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
1058         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
1059         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
1060         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
1061         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
1062         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
1063         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1064         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
1065         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
1066         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1067         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1068         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
1069         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
1070         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
1071         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1072         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1073         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1074         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1075         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1076         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1077         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1078         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1079         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1080         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1081         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1082         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1083         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1084         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1085         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1087 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1089         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
1090         (dl_platform_init): Call init_cpu_features.
1091         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
1092         * sysdeps/i386/i686/cacheinfo.c
1093         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
1094         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
1095         * sysdeps/i386/i686/multiarch/Versions: Removed.
1096         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
1097         Removed.
1098         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
1099         * sysdeps/unix/sysv/linux/x86/Makefile
1100         (libpthread-sysdep_routines): Remove init-arch.
1101         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
1102         <sysdeps/x86_64/dl-procinfo.c> instead of
1103         sysdeps/generic/dl-procinfo.c>.
1104         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
1105         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
1106         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
1107         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
1108         [$(subdir) == elf] (tests-static): Add
1109         tst-get-cpu-features-static.
1110         * sysdeps/x86/Versions: New file.
1111         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
1112         * sysdeps/x86/cpu-features.c: Likewise.
1113         * sysdeps/x86/cpu-features.h: Likewise.
1114         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
1115         * sysdeps/x86/libc-start.c: Likewise.
1116         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1117         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
1118         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
1119         * sysdeps/x86_64/dl-procinfo.c: Likewise.
1120         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
1121         Assume USE_MULTIARCH is defined and don't check it.
1122         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
1123         (is_amd): Likewise.
1124         (max_cpuid): Likewise.
1125         (intel_check_word): Likewise.
1126         (__cache_sysconf): Don't call __init_cpu_features.
1127         (__x86_preferred_memory_instruction): Removed.
1128         (init_cacheinfo): Don't call __init_cpu_features. Replace
1129         __cpu_features with GLRO(dl_x86_cpu_features).
1130         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
1131         (dl_platform_init): Call init_cpu_features.
1132         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
1133         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
1134         * sysdeps/x86_64/multiarch/Versions: Removed.
1135         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
1136         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
1137         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
1138         Removed.
1139         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
1141 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1143         [BZ #18820]
1144         * libio/Makefile (test-fmemopen-mem): New test.
1145         * libio/test-fmemopen.c (do_bz18820): New test.
1146         * libio/fmemopen.c (__fmemopen): Fix memory leak.
1147         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
1149 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
1151         [BZ #16734]
1152         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
1153         (FREE_BUF): Delete.
1154         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
1155         * libio/genops.c (_IO_setb): Use malloc and free directly.
1156         (_IO_default_doallocate, _IO_default_finish): Likewise.
1157         ( _IO_unbuffer_all): Likewise.
1158         ( libc_freeres_fn): Likewise.
1159         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1160         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
1161         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
1162         (_IO_wdefault_doallocate): Likewise.
1164 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1166         [BZ #18086]
1167         * sysdeps/posix/nice.c (nice): Restore old errno.
1168         * posix/tst-nice.c (do_test): Add test for BZ #18086.
1170 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
1172         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
1174 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1176         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
1177         __bcopy and add a weak_alias to bcopy.
1178         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
1179         for static build.
1181         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
1182         cleanup macro usage.
1183         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
1184         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
1185         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1186         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
1187         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1188         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
1189         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
1190         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1191         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1192         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
1193         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1194         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
1195         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1196         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
1197         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1198         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
1199         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
1200         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
1201         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1203         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
1204         libc_hidden_def.
1205         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
1207         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
1208         (sysdep_routines): Add strstr-ppc64.
1209         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
1211 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
1213         [BZ #18778]
1214         * elf/Makefile (tests): Add Add tst-nodelete2.
1215         (modules-names): Add tst-nodelete2mod.
1216         (tst-nodelete2mod.so-no-z-defs): New.
1217         ($(objpfx)tst-nodelete2): Likewise.
1218         ($(objpfx)tst-nodelete2.out): Likewise.
1219         (LDFLAGS-tst-nodelete2): Likewise.
1220         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
1221         out of loop through all loaded libraries.
1222         * elf/tst-nodelete2.c: New file.
1223         * elf/tst-nodelete2mod.c: Likewise.
1225 2015-08-11  Andreas Schwab  <schwab@suse.de>
1227         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
1228         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
1229         (__openat64_nocancel): Likewise.
1231 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
1233         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
1234         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
1235         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
1236         * math/auto-libm-test-out: Regenerated.
1237         * sysdeps/i386/fpu/libm-test-ulps: Update.
1238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1240 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
1242         [BZ #18790]
1243         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
1244         threshold for returning +/- 1.
1245         * math/auto-libm-test-in: Add more tests of tanh.
1246         * math/auto-libm-test-out: Regenerated.
1247         * sysdeps/i386/fpu/libm-test-ulps: Update.
1249 2015-08-10  Andreas Schwab  <schwab@suse.de>
1251         [BZ #18781]
1252         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
1253         MORE_OFLAGS to oflag.
1254         * io/test-lfs.c (do_test): Test openat64.
1256 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
1258         [BZ #18789]
1259         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
1260         smaller threshold for returning the argument.
1261         * math/auto-libm-test-in: Add more tests of sinh.
1262         * math/auto-libm-test-out: Regenerated.
1263         * sysdeps/i386/fpu/libm-test-ulps: Update.
1265 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
1267         [BZ #18674]
1268         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
1269         break.
1271 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
1273         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
1274         (generated): Don't add $(addprefix z.,$(tzfiles)).
1276 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1278         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
1279         * scripts/sysd-rules.awk: Likewise.
1281 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1283         * iconvdata/tst-tables.sh: Change echo -n to printf.
1284         * nss/db-Makefile: Likewise.
1285         * posix/tst-getconf.sh: Likewise.
1286         * stdio-common/tst-unbputc.sh: Likewise.
1288 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
1290         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
1291         MADV_*_PAGES defines behind this feature check.
1293 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
1295         [BZ #18480]
1296         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
1297         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
1298         Define.
1299         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
1300         LOAD_REGS_5, LOAD_REGS_6): Update.
1301         (INTERNAL_SYSCALL): Update using new LOAD defines.
1302         (INTERNAL_SYSCALL_NCS): Likewise.
1303         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
1305 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1307         [BZ #16734]
1308         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
1310 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1312         [BZ #17905]
1313         * catgets/Makefile (tst-catgets-mem): New test.
1314         * catgets/catgets.c (catopen): Don't use unbounded alloca.
1315         * catgets/open_catalog.c (__open_catalog): Likewise.
1316         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
1318 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
1320         [BZ #18787]
1321         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
1322         clobber registers.
1323         (atomic_compare_and_exchange_val_acq): Use register asms to assign
1324         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
1325         Cast return to __typeof (oldval).
1327 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
1329         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
1330         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
1331         and delete sys/syscall.h include.
1333 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
1335         [BZ #16517]
1336         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
1337         (tan): Force underflow exception for arguments with small absolute
1338         value.
1339         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
1340         (__kernel_tanf): Force underflow exception for arguments with
1341         small absolute value.
1342         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
1343         (__kernel_tanl): Force underflow exception for arguments with
1344         small absolute value.
1345         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
1346         (__kernel_tanl): Force underflow exception for arguments with
1347         small absolute value.
1348         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
1349         (__kernel_tanl): Force underflow exception for arguments with
1350         small absolute value.
1351         * math/auto-libm-test-in: Add more tests of tan.
1352         * math/auto-libm-test-out: Regenerated.
1354 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1356         Fix sysdeps/i386/fpu/s_scalbn.S build
1358         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
1360 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
1362         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1364 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1366         Fix gcrt0.o compilation
1368         When static-start-installed-name is different from
1369         start-installed-name, we must not use the shared objects.
1371         * csu/Makefile
1372         (extra-objs): Add gmon-start.o when building shared library and
1373         $(static-start-installed-name) is different from
1374         $(start-installed-name).
1375         $(objpfx)g$(static-start-installed-name): When building shared
1376         library and $(static-start-installed-name) is different from
1377         $(static-start-installed-name), revert to non-shared rule,
1378         i.e. using $(objpfx)% and gmon-start.o.
1380 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
1382         [BZ #16519]
1383         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
1384         (__ieee754_sinh): Force underflow exception for arguments with
1385         small absolute value.
1386         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
1387         (__ieee754_sinhf): Force underflow exception for arguments with
1388         small absolute value.
1389         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
1390         (__ieee754_sinhl): Force underflow exception for arguments with
1391         small absolute value.
1392         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
1393         (__ieee754_sinhl): Force underflow exception for arguments with
1394         small absolute value.
1395         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
1396         (__ieee754_sinhl): Force underflow exception for arguments with
1397         small absolute value.
1398         * math/auto-libm-test-in: Add more tests of sinh.
1399         * math/auto-libm-test-out: Regenerated.
1400         * sysdeps/i386/fpu/libm-test-ulps: Update.
1402 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1404         * libio/oldfileops.c: Include unistd.h.
1406 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
1408         * stdlib/isomac.c: Include ctype.h.
1410 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
1412         * dirent/tst-seekdir.c (main): Converted to ...
1413         (do_test): ... this.
1414         (TEST_FUNCTION): New macro.
1415         Include test-skeleton.c.
1416         * elf/tst-dlmodcount.c (main): Converted to ...
1417         (do_test): ... this.
1418         (TEST_FUNCTION): New macro.
1419         Include test-skeleton.c.
1420         * elf/tst-order-main.c (main): Converted to ...
1421         (do_test): ... this.
1422         (TEST_FUNCTION): New macro.
1423         Include test-skeleton.c.
1424         * elf/tst-pie2.c (main): Converted to ...
1425         (do_test): ... this.
1426         (TEST_FUNCTION): New macro.
1427         Include test-skeleton.c.
1428         * inet/tst-ether_aton.c (main): Converted to ...
1429         (do_test): ... this.
1430         (TEST_FUNCTION): New macro.
1431         Include test-skeleton.c.
1432         * misc/tst-mntent.c (main): Converted to ...
1433         (do_test): ... this.
1434         (TEST_FUNCTION): New macro.
1435         Include test-skeleton.c.
1436         * misc/tst-tsearch.c (main): Converted to ...
1437         (do_test): ... this.
1438         (TEST_FUNCTION): New macro.
1439         Include test-skeleton.c.
1440         * posix/tst-regexloc.c (main): Converted to ...
1441         (do_test): ... this.
1442         (TEST_FUNCTION): New macro.
1443         Include test-skeleton.c.
1444         * resolv/tst-aton.c (main): Converted to ...
1445         (do_test): ... this.
1446         (TEST_FUNCTION): New macro.
1447         Include test-skeleton.c.
1448         * stdio-common/test-fwrite.c (main): Converted to ...
1449         (do_test): ... this.
1450         (TEST_FUNCTION): New macro.
1451         Include test-skeleton.c.
1452         * stdio-common/tst-ferror.c (main): Converted to ...
1453         (do_test): ... this.
1454         (TEST_FUNCTION): New macro.
1455         Include test-skeleton.c.
1456         * stdio-common/tst-printf.c (main): Converted to ...
1457         (do_test): ... this.
1458         (TEST_FUNCTION): New macro.
1459         Include test-skeleton.c.
1460         * stdio-common/tst-printfsz.c (main): Converted to ...
1461         (do_test): ... this.
1462         (TEST_FUNCTION): New macro.
1463         Include test-skeleton.c.
1464         * stdlib/tst-strtod.c (main): Converted to ...
1465         (do_test): ... this.
1466         (TEST_FUNCTION): New macro.
1467         Include test-skeleton.c.
1468         * string/tst-strlen.c (main): Converted to ...
1469         (do_test): ... this.
1470         (TEST_FUNCTION): New macro.
1471         Include test-skeleton.c.
1472         * string/tst-svc.c (main): Converted to ...
1473         (do_test): ... this.
1474         (TEST_FUNCTION): New macro.
1475         Include test-skeleton.c.
1476         * time/tst-strptime.c (main): Converted to ...
1477         (do_test): ... this.
1478         (TEST_FUNCTION): New macro.
1479         Include test-skeleton.c.
1480         * timezone/tst-timezone.c (main): Converted to ...
1481         (do_test): ... this.
1482         (TEST_FUNCTION): New macro.
1483         Include test-skeleton.c.
1485 2015-08-05  Zack Weinberg  <zackw@panix.com>
1487         * misc/regexp.h: Update comments.
1489 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
1491         [BZ #18635]
1492         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
1493         before return label.
1495 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1497         [BZ #18661]
1498         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
1499         when calling __errno_location.
1500         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
1501         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
1503 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1505         [BZ #18661]
1506         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
1507         (__lll_timedwait_tid): Align stack to 16 bytes when calling
1508         __gettimeofday.
1510 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1512         [BZ #18661]
1513         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1514         (__start_context): Don't use pop to restore %rdi so that stack
1515         is aligned to 16 bytes when calling __setcontext.
1517 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1519         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
1520         only for libc.
1521         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1523 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1525         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
1526         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
1527         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
1529 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1531         * string/memccpy.c (memccpy):
1532         Improve performance by using memchr/memcpy/__mempcpy.
1534 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1536         * string/strncpy.c (strncpy):
1537         Improve performance by using __strnlen/memcpy.
1539 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1541         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1542         Optimize to avoid an unnecessary FPCR read.
1544 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1546         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1547         Optimize to reduce FPCR/FPSR accesses.
1549 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1551         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
1552         dead->data[category] != NULL.
1554 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
1556         [BZ #18647]
1557         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
1558         and |x| close to 1, use absolute value of x when computing log.
1559         * math/auto-libm-test-in: Add more tests of pow.
1560         * math/auto-libm-test-out: Regenerated.
1562 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1564         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
1565         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
1566         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
1568 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
1570         [BZ #18525]
1571         * locales/km_KH: Remove timezone definition.
1572         * locales/lo_LA: Likewise.
1573         * locales/my_MM: Likewise.
1574         * locales/nan_TW@latin: Likewise.
1575         * locales/th_TH: Likewise.
1576         * locales/uk_UA: Likewise.
1578 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1580         [BZ #18265]
1581         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
1582         (wcsncat): Likewise.
1583         (wcscmp): Likewise.
1584         (wcsncmp): Likewise.
1586 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1588         * test-skeleton.c (usage): New function.
1589         (main): Call usage when opt is '?'.
1591 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1593         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
1594         before first use.
1596 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1598         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
1599         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
1600         in there too.
1602 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
1604         * version.h (RELEASE): Set to "development".
1605         (VERSION): Set to "2.22.90"
1607         * version.h (RELEASE): Set to "stable".
1608         (VERSION): Set to "2.22"
1609         * include/features.h (__GLIBC_MINOR__): Set to 22.
1611 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
1613         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
1614         Restructure macro to avoid "value computed is not used" warning.
1615         (atomic_compare_and_exchange_val_acq): Likewise.
1617 2015-08-04  Andreas Schwab  <schwab@suse.de>
1619         [BZ #18635]
1620         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
1621         ret.
1622         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
1624 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
1626         * po/pl.po: Updated translation.
1627         * po/uk.po: Likewise.
1628         * po/fi.po: Likewise.
1629         * po/ko.po: Likewise.
1630         * po/ru.po: Likewise.
1631         * po/vi.po: Likewise.
1633 2015-07-31  Zack Weinberg  <zackw@panix.com>
1635         [BZ #18681]
1636         * regexp.h: Add unconditional #warning stating that this header
1637         will be removed soon.  Revise banner comment to match.
1638         (compile): Consistently use ERROR instead of RETURN to report
1639         errors (partial fix for bz#18681).
1640         * regexp.c: Don't include regexp.h. Remove some unnecessary
1641         declarations.
1643 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
1645         * po/libc.pot: Regenerated.
1647 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1649         [BZ #18740]
1650         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
1651         float-vlen4-arch-ext-cflags): Removed.
1652         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
1653         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
1655 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1657         [BZ #14113]
1658         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
1659         aligned to __aligned__.
1660         (pthread_cond_t, pthread_rwlock_t): Likewise.
1662 2015-07-30  Torvald Riegel  <triegel@redhat.com>
1664         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
1666 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1668         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
1669         (struct sigaction): Change sa_flags from a long to an int, and add
1670         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
1672 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1674         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
1675         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
1676         sysdeps/generic/sysdep.h include.
1677         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
1678         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
1679         sysdeps/hppa/sysdep.h.
1680         (ENTRY, PSEUDO): Undefine before defining.
1682 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1684         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
1685         from scratch to use INTERNAL_SYSCALL.
1687 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1689         [BZ #18078]
1690         * scripts/check-localplt.awk: Support alternate relocations.
1691         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
1692         sections.
1693         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
1694         malloc entries with + REL R_386_GLOB_DAT.
1695         * sysdeps/x86_64/localplt.data: New file.
1697 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
1699         [BZ #18731]
1700         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
1701         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1702         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1704 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1706         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
1708 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1710         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
1711         directly in terms of __sync_fetch_and_add and delete (int) cast.
1713 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1715         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
1716         the -D_ASM_IA64_CURRENT_H flag.
1718 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1720         [BZ #18641]
1721         * pwd/pwd.h (putpwent): Delete __nonnull markings.
1723 2015-07-27  Andreas Schwab  <schwab@suse.de>
1725         * conform/conformtest.pl (checknamespace): Filter out string
1726         literals while tokenizing.
1728 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1730         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1731         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
1732         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1734 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1736         * nptl/tst-join7mod.c: Add #include <string.h>.
1738 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1740         * sysdeps/nios2/libm-test-ulps: Update.
1742 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1744         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1745         Fix order of arguments to the rt_sigprocmask syscall.
1746         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1747         Likewise.
1749 2015-07-24  Roland McGrath  <roland@hack.frob.com>
1751         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1753 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1755         [BZ #18457]
1756         * nptl/Makefile (tests): New test case tst-join7.
1757         (modules-names): New test case module tst-join7mod.
1758         * nptl/tst-join7.c: New file.
1759         * nptl/tst-join7mod.c: New file.
1760         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
1761         all translation units in libc.so, libpthread.so and rtld.
1763 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1765         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1767 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1769         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
1770         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1771         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1772         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1773         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1774         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1775         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1776         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1777         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1778         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1779         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1780         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1781         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
1782         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1783         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
1784         implementation.
1786 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1788         [BZ #17711]
1789         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1790         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
1791         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1792         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1793         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
1794         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1796 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1798         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
1799         instead of just saying load lock in the comments.
1801 2015-07-23  Roland McGrath  <roland@hack.frob.com>
1803         * sysdeps/unix/Subdirs: Moved ...
1804         * sysdeps/posix/Subdirs: ... here.
1805         * login/pty.h (struct termios, struct winsize): Add forward decls.
1806         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
1807         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
1808         * sysdeps/arm/nacl/libc.abilist: Updated.
1809         * sysdeps/nacl/libutil.abilist: New file.
1811         * bits/signum.h: Update comments to mention 1003.1-2013 too.
1812         (SIGWINCH): New macro.
1814         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
1815         * sysdeps/arm/nacl/libc.abilist: Add it.
1817 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1819         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
1821 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1823         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1824         Swap __glibc_reserved0 and sa_flags order.
1826 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1828         [BZ #18657]
1829         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
1830         are pending TLS destructor calls.
1831         * include/link.h (struct link_map): Add concurrency note for
1832         L_TLS_DTOR_COUNT.
1833         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
1834         Don't touch the link map flag.  Atomically increment
1835         l_tls_dtor_count.
1836         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
1837         Avoid taking the load lock and don't touch the link map flag.
1838         * stdlib/tst-tls-atexit-nodelete.c: New test case.
1839         * stdlib/Makefile (tests): Use it.
1840         * stdlib/tst-tls-atexit.c (do_test): dlopen
1841         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
1842         to allow tst-tls-atexit-nodelete test case to use it.
1844 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1846         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
1847         to bits/types.h.
1848         (msgqnum_t): New typedef.
1849         (msglen_t): Likewise.
1850         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
1851         and msg_qbytes type to msglen_t.
1853 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1855         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
1856         pad0 to __glibc_reserved0.
1857         (struct stat64): Likewise.
1859 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1861         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1862         Change sa_flags from a long to an int and add __glibc_reserved0 before
1863         it for padding.
1865 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1867         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
1868         anonymous by deleting "siginfo" name.
1870 2015-07-21  Roland McGrath  <roland@hack.frob.com>
1872         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
1873         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
1874         rather than __nacl_irt_filename.
1875         * sysdeps/nacl/xstat.c (__xstat): Likewise.
1877         * NEWS: New item for arm-nacl port.
1878         * sysdeps/arm/nacl/libc.abilist: New file.
1879         * sysdeps/nacl/ld.abilist: New file.
1880         * sysdeps/nacl/libBrokenLocale.abilist: New file.
1881         * sysdeps/nacl/libanl.abilist: New file.
1882         * sysdeps/nacl/libcrypt.abilist: New file.
1883         * sysdeps/nacl/libdl.abilist: New file.
1884         * sysdeps/nacl/libm.abilist: New file.
1885         * sysdeps/nacl/libpthread.abilist: New file.
1886         * sysdeps/nacl/libresolv.abilist: New file.
1887         * sysdeps/nacl/librt.abilist: New file.
1889 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
1891         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
1892         __startcontext to initialize the new context.
1893         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
1894         up CFI directive to forbid further backtracing.
1896 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
1898         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
1899         reference.
1900         * charmaps/ANSI_X3.4-1968: Likewise.
1901         * charmaps/BS_4730: Likewise.
1902         * charmaps/BS_VIEWDATA: Likewise.
1903         * charmaps/CP1250: Likewise.
1904         * charmaps/CP1251: Likewise.
1905         * charmaps/CP1252: Likewise.
1906         * charmaps/CP1253: Likewise.
1907         * charmaps/CP1254: Likewise.
1908         * charmaps/CP1255: Likewise.
1909         * charmaps/CP1256: Likewise.
1910         * charmaps/CSN_369103: Likewise.
1911         * charmaps/EBCDIC-DK-NO: Likewise.
1912         * charmaps/GB_1988-80: Likewise.
1913         * charmaps/GREEK-CCITT: Likewise.
1914         * charmaps/GREEK7: Likewise.
1915         * charmaps/INIS-8: Likewise.
1916         * charmaps/ISIRI-3342: Likewise.
1917         * charmaps/ISO_2033-1983: Likewise.
1918         * charmaps/ISO_5427-EXT: Likewise.
1919         * locales/POSIX: Likewise.
1920         * locales/ar_SA: Likewise.
1921         * locales/be_BY: Likewise.
1922         * locales/be_BY@latin: Likewise.
1923         * locales/ca_ES: Likewise.
1924         * locales/cs_CZ: Likewise.
1925         * locales/da_DK: Likewise.
1926         * locales/de_BE: Likewise.
1927         * locales/de_CH: Likewise.
1928         * locales/de_LU: Likewise.
1929         * locales/en_AU: Likewise.
1930         * locales/en_BW: Likewise.
1931         * locales/en_CA: Likewise.
1932         * locales/en_DK: Likewise.
1933         * locales/en_GB: Likewise.
1934         * locales/en_IE: Likewise.
1935         * locales/en_NZ: Likewise.
1936         * locales/en_ZA: Likewise.
1937         * locales/en_ZW: Likewise.
1938         * locales/es_AR: Likewise.
1939         * locales/es_BO: Likewise.
1940         * locales/es_CL: Likewise.
1941         * locales/es_CO: Likewise.
1942         * locales/es_DO: Likewise.
1943         * locales/es_EC: Likewise.
1944         * locales/es_ES: Likewise.
1945         * locales/es_HN: Likewise.
1946         * locales/es_MX: Likewise.
1947         * locales/es_PA: Likewise.
1948         * locales/es_PE: Likewise.
1949         * locales/es_PY: Likewise.
1950         * locales/es_SV: Likewise.
1951         * locales/es_US: Likewise.
1952         * locales/es_UY: Likewise.
1953         * locales/es_VE: Likewise.
1954         * locales/et_EE: Likewise.
1955         * locales/fa_IR: Likewise.
1956         * locales/fo_FO: Likewise.
1957         * locales/fr_CA: Likewise.
1958         * locales/fr_CH: Likewise.
1959         * locales/gv_GB: Likewise.
1960         * locales/he_IL: Likewise.
1961         * locales/hr_HR: Likewise.
1962         * locales/id_ID: Likewise.
1963         * locales/is_IS: Likewise.
1964         * locales/it_CH: Likewise.
1965         * locales/iw_IL: Likewise.
1966         * locales/kl_GL: Likewise.
1967         * locales/ko_KR: Likewise.
1968         * locales/kw_GB: Likewise.
1969         * locales/lg_UG: Likewise.
1970         * locales/lt_LT: Likewise.
1971         * locales/lv_LV: Likewise.
1972         * locales/mi_NZ: Likewise.
1973         * locales/nhn_MX: Likewise.
1974         * locales/nl_BE: Likewise.
1975         * locales/pl_PL: Likewise.
1976         * locales/sk_SK: Likewise.
1977         * locales/sl_SI: Likewise.
1978         * locales/sv_FI: Likewise.
1979         * locales/tl_PH: Likewise.
1980         * locales/tr_TR: Likewise.
1981         * locales/vi_VN: Likewise.
1983 2015-07-21  Khem Raj  <raj.khem@gmail.com>
1985         [BZ #17475]
1986         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
1987         of tu_IN and bh_IN.
1989 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
1991         [BZ #18694]
1992         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
1993         bits/wordsize.h.
1994         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
1996 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1998         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
1999         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
2000         (spawn_thread): New function.
2001         (load): Rename to reg_dtor_and_close.  Move dlopen to...
2002         (do_test): ... here.  Use IS_LOADED to test for its
2003         availability.
2005 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
2007         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2009 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
2011         [BZ #18696]
2012         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
2013         si_addr_bnd.
2014         (si_lower): New.
2015         (si_upper): Likewise.
2017 2015-07-16  David S. Miller  <davem@davemloft.net>
2019         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
2021 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2023         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
2024         buffer.
2025         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
2026         fail output information.
2028 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2030         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
2031         and strstr-ppc64..
2032         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2033         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
2034         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
2035         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
2036         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
2038 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
2040         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2041         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2042         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2043         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2045 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
2047         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2048         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
2049         rtld_hidden_proto.
2050         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
2052 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2054         * tst-nodelete-opened.c (do_test): Add comment to clarify how
2055         the test can fail.
2057         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
2059         [BZ #18676]
2060         * elf/tst-nodelete-opened.c: New test case.
2061         * elf/tst-nodelete-opened-lib.c: New test case module.
2062         * elf/Makefile (tests, modules-names): Use them.
2063         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
2064         early.
2066 2015-07-15  David S. Miller  <davem@davemloft.net>
2068         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
2069         futex-intenal.h
2070         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
2071         * sysdeps/sparc/sparc64/Makefile: Likewise.
2072         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2073         Remove space from macro define.
2074         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
2076 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
2078         [BZ #17475]
2079         * locale/iso-639.def: Update Bhili and Tulu language codes as
2080         per iso639-3.
2082 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
2084         * elf/tst-leaks1.c (main): Converted to ...
2085         (do_test): ... this.
2086         (TEST_FUNCTION): New macro.
2087         Include test-skeleton.c.
2088         * localedata/tst-langinfo.c (main): Converted to ...
2089         (do_test): ... this.
2090         (TEST_FUNCTION): New macro.
2091         Include test-skeleton.c.
2092         * math/test-fpucw.c (main): Converted to ...
2093         (do_test): ... this.
2094         (TEST_FUNCTION): New macro.
2095         Include test-skeleton.c.
2096         * math/test-tgmath.c (main): Converted to ...
2097         (do_test): ... this.
2098         (TEST_FUNCTION): New macro.
2099         Include test-skeleton.c.
2100         * math/test-tgmath2.c (main): Converted to ...
2101         (do_test): ... this.
2102         (TEST_FUNCTION): New macro.
2103         Include test-skeleton.c.
2104         * setjmp/tst-setjmp.c (main): Converted to ...
2105         (do_test): ... this.
2106         (TEST_FUNCTION): New macro.
2107         Include test-skeleton.c.
2108         * stdio-common/tst-sscanf.c (main): Converted to ...
2109         (do_test): ... this.
2110         (TEST_FUNCTION): New macro.
2111         Include test-skeleton.c.
2112         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
2113         (do_test): ... this.
2114         (TEST_FUNCTION): New macro.
2115         Include test-skeleton.c.
2117         * elf/tst-audit9.c (main): Converted to ...
2118         (do_test): ... this.
2119         (TEST_FUNCTION): New macro.
2120         Include test-skeleton.c.
2122 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
2124         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
2126 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2128         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
2129         New variable.
2131 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
2133         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2135 2015-07-14  Roland McGrath  <roland@hack.frob.com>
2137         * sysdeps/generic/dl-fileid.h: New file.
2138         * sysdeps/posix/dl-fileid.h: New file.
2139         * sysdeps/nacl/dl-fileid.h: New file.
2140         * include/link.h: Include <dl-fileid.h>.
2141         (struct link_map): Replace l_dev and l_ino with l_file_id.
2142         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
2143         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
2144         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
2146 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2148         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
2150 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2152         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
2153         Add iff $CXX is set.
2154         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
2155         Likewise.
2156         (tst-nodelete-zmodiff): Likewise.
2157         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
2159 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2161         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
2163 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
2165         * sysdeps/aarch64/fpu/math_private.h
2166         (define math_opt_barrier): Add AArch64 version.
2167         (math_force_eval): Likewise.
2169 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
2171         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
2173 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2175         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
2176         %ld with %jd and cast to intmax_t.
2177         (do_test_length_zero): Likewise.
2179 2015-07-10  Roland McGrath  <roland@hack.frob.com>
2181         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
2183 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
2185         * sysdeps/tile/libm-test-ulps: Regenerated.
2187         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
2188         Comment out the whole function, not just its body.
2190 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2192         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
2193         locks.
2195         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
2197 2015-07-10  Torvald Riegel  <triegel@redhat.com>
2199         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
2200         (sem_assume_only_signals_cause_futex_EINTR): Remove.
2202 2015-07-10  Torvald Riegel  <triegel@redhat.com>
2204         * sysdeps/nptl/futex-internal.h: New file.
2205         * sysdeps/nacl/futex-internal.h: New file.
2206         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
2207         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
2208         error checking.
2209         (setxid_unmark_thread): Likewise.
2210         (__nptl_setxid): Likewise.
2211         (__wait_lookup_done): Likewise.
2212         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
2213         * nptl/nptl-init.c (sighandler_setxid): Likewise.
2214         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2215         * nptl/pthread_once.c (clear_once_control): Likewise.
2216         (__pthread_once_slow): Likewise.
2217         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
2218         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
2219         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
2220         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2221         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
2222         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
2223         Likewise.
2224         (__pthread_rwlock_rdlock): Likewise.
2225         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2226         Likewise.
2227         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2228         Likewise.
2229         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2230         Likewise.
2231         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
2232         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
2233         Likewise.
2234         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
2235         __ASSUME_PRIVATE_FUTEX check.
2236         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
2237         Check that shared futexes are supported.
2238         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
2239         wrappers with error checking.
2240         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
2241         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
2242         * nptl/pthread_barrierattr_setpshared.c
2243         (pthread_barrierattr_setpshared): Check that shared futexes are
2244         supported.
2245         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
2246         Likewise.
2247         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
2248         Likewise.
2249         * nptl/sem_init.c (futex_private_if_supported): Remove.
2250         (__new_sem_init): Adapt and check that shared futexes are supported.
2251         * nptl/sem_open.c (sem_open): Likewise.
2252         * nptl/sem_post.c (futex_wake): Remove.
2253         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
2254         (do_futex_wait): Use futex wrappers with error checking.
2255         * nptl/sem_wait.c: Include lowlevellock.h.
2256         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
2257         Use futex_supports_pshared.
2258         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
2259         Use futex wrappers with error checking.
2260         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
2261         Likewise.
2262         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
2263         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
2264         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
2265         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
2266         (futex_wake): Likewise.
2267         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
2268         (do_futex_wait): Use futex wrappers with error checking.
2269         (__new_sem_wait_slow): Update EINTR handling.
2270         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
2272 2015-07-09  Martin Sebor  <msebor@redhat.com>
2274         [BZ #18435]
2275         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2276         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
2277         * nptl/Makefile (test-xfail-tst-once5): Define.
2279 2015-07-09  Roland McGrath  <roland@hack.frob.com>
2281         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
2282         * elf/dl-minimal.c: For readability, reorder some definitions and
2283         introduce more page breaks.  Include <stdio.h>.
2284         (__libc_fatal): New function.
2286         * include/unistd.h: Add rtld_hidden_proto for _exit.
2287         * posix/_exit.c: Add rtld_hidden_def.
2288         * sysdeps/mach/hurd/_exit.c: Likewise.
2289         * sysdeps/nacl/_exit.c: Likewise.
2290         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
2291         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
2293 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
2295         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
2296         bndmov encoding with zero displacement.
2298 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
2299             H.J. Lu  <hongjiu.lu@intel.com>
2301         [BZ #18134]
2302         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
2303         * sysdeps/i386/configure: Regenerated.
2304         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2305         (_dl_runtime_profile): Save and restore Intel MPX return bound
2306         registers when calling _dl_call_pltexit.  Add
2307         PRESERVE_BND_REGS_PREFIX before return.
2308         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
2309         (LRV_BND1_OFFSET): Likewise.
2310         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
2311         lrv_bnd1.
2312         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
2313         typo in bndmov encoding.
2314         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
2315         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
2316         branch instructions to preserve bounds.
2318 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2321         [GLIBC_2.22]: Add fmemopen.
2323 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2325         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
2326         returns an error, also try to use host port from __mach_host_self for
2327         the __vm_wire call.
2328         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
2330 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2332         [BZ #18400]
2333         [BZ #18648]
2334         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
2335         Fix pr_uid and pr_gid members.
2336         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
2337         definition to elf_greg_t.
2339 2015-07-08  Roland McGrath  <roland@hack.frob.com>
2341         [BZ #18383]
2342         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
2343         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
2344         * sysdeps/arm/configure: Regenerated.
2345         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
2346         (test-xfail-tst-tlsalign-static): Variable removed.
2348         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
2349         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
2350         rather than explicit 'ln -s'.
2352         * resolv/rpc/netdb.h: New file.
2353         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
2355 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2357         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
2358         length buffers.
2359         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2360         test-skeleton.c.
2362         [BZ #6544]
2363         [BZ #11216]
2364         [BZ #12836]
2365         [BZ #13151]
2366         [BZ #13152]
2367         [BZ #14292]
2368         * include/stdio.h (fmemopen): Remove hidden prototype.
2369         (__fmemopen): Add new hidden prototype.
2370         * libio/Makefile: Add oldfmemopen object.
2371         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
2372         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
2373         compliance.
2374         * libio/oldfmemopen.c: New file: old fmemopen implementation for
2375         symbol compatibility.
2376         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
2377         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
2378         fmemopen.
2379         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
2380         on append and read mode.
2381         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
2382         fmemopen.
2383         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
2384         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
2385         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
2386         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
2387         Likewise.
2388         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2389         [GLIBC_2.22]: Likewise.
2390         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
2391         Likewise.
2392         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
2393         Likewise.
2394         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2395         [GLIBC_2.22]: Likewise.
2396         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2397         [GLIBC_2.22]: Likewise.
2398         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2399         [GLIBC_2.22]: Likewise.
2400         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2401         [GLIBC_2.22]: Likewise.
2402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2403         [GLIBC_2.22]: Likewise.
2404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2405         [GLIBC_2.22]: Likewise.
2406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2407         [GLIBC_2.22]: Likewise.
2408         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
2409         Likewise.
2410         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
2411         Likewise.
2412         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
2413         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2414         [GLIBC_2.22]: Likewise.
2415         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2416         [GLIBC_2.22]: Likewise.
2417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2418         [GLIBC_2.22]: Likewise.
2419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2420         [GLIBC_2.22]: Likewise.
2421         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
2422         Likewise.
2423         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
2424         Likewise.
2425         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
2426         Likewise.
2427         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
2428         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
2430 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2432         [BZ #18643]
2433         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
2434         IPV6_PATHMTU, and IPV6_DONTFRAG.
2436 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
2438         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
2439         and _IO_UNBUFFERED.
2440         * libio/oldfileops.c: Likewise.
2441         * libio/wfileops.c: Likewise.
2443 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2445         * nscd/selinux.c: Delete selinux/flask.h include.
2447 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2449         [BZ #18641]
2450         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
2451         (putpwent): Likewise.
2452         (getpwnam): Likewise.
2453         (getpwent_r): Likewise.
2454         (getpwuid_r): Likewise.
2455         (getpwnam_r): Likewise.
2456         (fgetpwent_r): Likewise.
2458 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2460         [BZ #18557]
2461         * inet/rcmd.c (__validuser2_sa): Check user first to
2462         short-circuit host check.
2464 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
2465             Mikhail Ilin  <m.ilin@samsung.com>
2467         [BZ #17833]
2468         * elf/Makefile (tests): Add tst-nodelete.
2469         (modules-names): Add tst-nodelete-uniquemod.
2470         (tst-nodelete-uniquemod.so-no-z-defs): New.
2471         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
2472         (tst-nodelete-zmod.so-no-z-defs): Likewise.
2473         ($(objpfx)tst-nodelete): Likewise.
2474         ($(objpfx)tst-nodelete.out): Likewise.
2475         (LDFLAGS-tst-nodelete): Likewise.
2476         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
2477         * elf/dl-close.c (_dl_close_worker): Add a parameter to
2478         implement forced object deletion.
2479         (_dl_close): Pass false to _dl_close_worker.
2480         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
2481         * elf/tst-nodelete.cc: New file.
2482         * elf/tst-nodeletelib.cc: Likewise.
2483         * elf/tst-znodeletelib.cc: Likewise.
2484         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
2486 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2488         [BZ #18508]
2489         * stdlib/Makefile ($(objpfx)tst-makecontext3):
2490         Depend on $(libdl).
2491         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
2492         is not called infinitely times.
2493         (backtrace_helper): New function.
2494         (trace_arg): New struct.
2495         (st1): Enlarge stack size.
2496         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2497         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
2498         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2499         Likewise.
2501 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2503         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2505 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2507         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
2508         Include sys/types.h instead of bits/types.h.
2509         Remove inclusion of bits/wordsize.h.
2511 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2513         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
2514         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
2515         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
2516         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
2517         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
2518         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
2520 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2522         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
2523         link-defines.sym.
2524         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
2525         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
2526         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
2527         and LR_SIZE.
2528         * sysdeps/i386/link-defines.sym: New file.
2530 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2532         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
2533         (modules-names): Add tst-auditmod3a tst-auditmod3b.
2534         ($(objpfx)tst-audit3): New rule.
2535         ($(objpfx)tst-audit3.out): Likewise.
2536         * sysdeps/i386/tst-audit3.c: New file.
2537         * sysdeps/i386/tst-audit3.h: Likewise.
2538         * sysdeps/i386/tst-auditmod3a.c: Likewise.
2539         * sysdeps/i386/tst-auditmod3b.c: Likewise.
2541 2015-07-07  Torvald Riegel  <triegel@redhat.com>
2543         [BZ #18633]
2544         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
2545         pointer in C code.
2546         (__strcat_c): Likewise.
2547         (__strcat_g): Likewise.
2549 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
2551         [BZ #18592]
2552         * misc/sbrk.c: Set errno to ENOMEM on overflow.
2554 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2556         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
2557         New function.  (__ieee754_sqrtf): New function.
2558         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
2559         New function.
2560         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
2561         New function.
2563 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2565         * sysdeps/ieee754/support.c: Remove unused file.
2567 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2569         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
2570         registers instead of d ones so the layout is kernel abi compatible.
2571         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
2572         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
2573         Likewise.
2575 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2577         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2579 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2581         [BZ #18619]
2582         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
2583         and return argument in case of subnormal argument.
2585 2015-07-01  Martin Sebor  <msebor@redhat.com>
2587         [BZ #18435]
2588         * nptl/Makefile: Add tst-once5.cc.
2589         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2590         Remove macro redefinitions.
2591         * nptl/tst-once5.cc: New test.
2593 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2595         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2597         * sysdeps/arm/libm-test-ulps: Regenerated.
2599         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2600         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2602 2015-06-30  Torvald Riegel  <triegel@redhat.com>
2604         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
2605         lll_lock_wait_private and lll_futex_wake probes.
2607         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2608         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
2609         Likewise.
2610         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
2611         atomic_spin_nop.
2612         * sysdeps/x86_64/bits/atomic.h: Likewise.
2613         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
2614         to atomic_spin_nop and move ...
2615         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2616         ... here and ...
2617         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
2618         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2619         atomic_spin_nop instead of BUSY_WAIT_NOP.
2620         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2621         Likewise.
2622         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
2623         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2624         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
2625         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
2626         instead of atomic_delay.
2628 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
2630         [BZ #18613]
2631         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
2632         X_ADJ not X when adjusting exponent.
2633         (__ieee754_gamma_r): Do intermediate computations in
2634         round-to-nearest then adjust overflowing and underflowing results
2635         as needed.
2636         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
2637         of X_ADJ not X when adjusting exponent.
2638         (__ieee754_gammaf_r): Do intermediate computations in
2639         round-to-nearest then adjust overflowing and underflowing results
2640         as needed.
2641         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
2642         log of X_ADJ not X when adjusting exponent.
2643         (__ieee754_gammal_r): Do intermediate computations in
2644         round-to-nearest then adjust overflowing and underflowing results
2645         as needed.  Use 1.0L not 1.0f as numerator of division.
2646         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
2647         log of X_ADJ not X when adjusting exponent.
2648         (__ieee754_gammal_r): Do intermediate computations in
2649         round-to-nearest then adjust overflowing and underflowing results
2650         as needed.  Use 1.0L not 1.0f as numerator of division.
2651         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
2652         of X_ADJ not X when adjusting exponent.
2653         (__ieee754_gammal_r): Do intermediate computations in
2654         round-to-nearest then adjust overflowing and underflowing results
2655         as needed.  Use 1.0L not 1.0f as numerator of division.
2656         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
2657         to auto-libm-test-in.
2658         (tgamma_test): Use ALL_RM_TEST.
2659         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
2660         tests of tgamma with spurious-overflow.
2661         * math/auto-libm-test-out: Regenerated.
2662         * math/gen-libm-have-vector-test.sh: Do not check for START.
2663         * sysdeps/i386/fpu/libm-test-ulps: Update.
2664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2666         [BZ #18612]
2667         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
2668         arguments, just return 0.5 times the argument, with underflow
2669         forced as needed.
2670         * math/auto-libm-test-in: Add more tests of j1.
2671         * math/auto-libm-test-out: Regenerated.
2673         [BZ #16559]
2674         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
2675         (__ieee754_j1): Force underflow exception for small results.
2676         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2677         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
2678         (__ieee754_j1f): Force underflow exception for small results.
2679         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2680         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2681         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2682         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
2683         (__ieee754_j1l): Force underflow exception for small results.
2684         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2685         * math/auto-libm-test-in: Add more tests of j1 and jn.
2686         * math/auto-libm-test-out: Regenerated.
2688         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
2689         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
2690         (PF_MPLS): Likewise.
2691         (AF_IB): Likewise.
2692         (AF_MPLS): Likewise.
2693         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
2694         value and macro.
2695         (MS_RMT_MASK): Include MS_LAZYTIME.
2697 2015-06-26  Mel Gorman  <mgorman@suse.de>
2699         [BZ #18502]
2700         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
2701         already minimal.
2703 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
2705         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
2706         (DT_MIPS_NUM): Update.
2707         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
2708         DT_MIPS_RLD_MAP_REL.
2710 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
2712         [BZ #16559]
2713         [BZ #18602]
2714         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
2715         round-to-nearest internally then recompute results that
2716         underflowed to zero in the original rounding mode.
2717         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2718         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2719         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2720         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
2721         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
2722         * sysdeps/i386/fpu/libm-test-ulps: Update.
2723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2725 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2727         * NEWS: Fixed description of link with vector math library.
2729 2015-06-25  Andreas Schwab  <schwab@suse.de>
2731         [BZ #18549]
2732         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
2733         * libio/test-fmemopen.c (do_test): Add test for it.
2735 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
2737         [BZ #17841]
2738         * Makeconfig (no-pie-ldflag): New.
2739         (+link): Set to $(+link-pie) if default to PIE.
2740         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2741         * config.make.in (build-pie-default): New.
2742         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
2743         is default.  AC_SUBST.
2744         * configure: Regenerated.
2745         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2747 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2749         * nptl/descr.h (struct pthread): Change type of field setxid_futex
2750         to 'unsigned int'.
2752         * resolv/gai_misc.h (struct waitlist): Change type of field
2753         counterp to 'volatile unsigned int *'.
2754         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2755         FUTEXADDR and OLDVAL.
2756         * resolv/getaddrinfo_a.c (getaddrinfo_a):
2757         Give local variable TOTAL type 'volatile unsigned int'.
2758         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2759         * resolv/gai_suspend.c (gai_suspend):
2760         Give local variable CNTR type 'unsigned int'.
2762         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
2763         counterp to 'volatile unsigned int *'.
2764         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
2765         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
2766         (aio_suspend): Give local variable CNTR type 'unsigned int'.
2767         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
2768         Give local variable TOTAL type 'volatile unsigned int'.
2769         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2771 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2773         [BZ #18383]
2774         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
2775         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
2776         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
2777         comment for i386/x86-64.
2778         (test-xfail-tst-tlsalign-extern-static): Removed.
2780 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2782         * math/test-double.h: New file.
2783         * math/test-float.h: Likewise.
2784         * math/test-ldouble.h: Likewise.
2785         * math/test-math-inline.h: Likewise.
2786         * math/test-math-no-inline.h: Likewise.
2787         * math/test-math-scalar.h: Likewise.
2788         * math/test-math-vector.h: Likewise.
2789         * math/test-vec-loop.h: Remove file.  Contents moved into
2790         test-math-vector.h.
2791         * math/libm-test.inc (MATHCONST): Do not document macro.
2792         * math/test-double.c: Include test-double.h, test-math-no-inline.h
2793         and test-math-scalar.h.
2794         (FUNC): Remove macro.
2795         (FUNC_TEST): Likewise.
2796         (FLOAT): Likewise.
2797         (MATHCONST): Likewise.
2798         (PRINTF_EXPR): Likewise.
2799         (PRINTF_XEXPR): Likewise.
2800         (PRINTF_NEXPR): Likewise.
2801         (TEST_DOUBLE): Likewise.
2802         (TEST_MATHVEC): Likewise.
2803         (__NO_MATH_INLINES): Likewise.
2804         * math/test-float.c: Include test-float.h, test-math-no-inline.h
2805         and test-math-scalar.h.
2806         (FUNC): Remove macro.
2807         (FUNC_TEST): Likewise.
2808         (FLOAT): Likewise.
2809         (MATHCONST): Likewise.
2810         (PRINTF_EXPR): Likewise.
2811         (PRINTF_XEXPR): Likewise.
2812         (PRINTF_NEXPR): Likewise.
2813         (TEST_FLOAT): Likewise.
2814         (TEST_MATHVEC): Likewise.
2815         (__NO_MATH_INLINES): Likewise.
2816         * math/test-idouble.c: Include test-double.h, test-math-inline.h
2817         and test-math-scalar.h.
2818         (FUNC): Remove macro.
2819         (FUNC_TEST): Likewise.
2820         (FLOAT): Likewise.
2821         (MATHCONST): Likewise.
2822         (PRINTF_EXPR): Likewise.
2823         (PRINTF_XEXPR): Likewise.
2824         (PRINTF_NEXPR): Likewise.
2825         (TEST_DOUBLE): Likewise.
2826         (TEST_MATHVEC): Likewise.
2827         (TEST_INLINE): Likewise.
2828         (__NO_MATH_INLINES): Likewise.
2829         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
2830         test-math-scalar.h.
2831         (FUNC): Remove macro.
2832         (FUNC_TEST): Likewise.
2833         (FLOAT): Likewise.
2834         (MATHCONST): Likewise.
2835         (PRINTF_EXPR): Likewise.
2836         (PRINTF_XEXPR): Likewise.
2837         (PRINTF_NEXPR): Likewise.
2838         (TEST_FLOAT): Likewise.
2839         (TEST_MATHVEC): Likewise.
2840         (TEST_INLINE): Likewise.
2841         (__NO_MATH_INLINES): Likewise.
2842         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
2843         and test-math-scalar.h.
2844         (FUNC): Remove macro.
2845         (FUNC_TEST): Likewise.
2846         (FLOAT): Likewise.
2847         (MATHCONST): Likewise.
2848         (PRINTF_EXPR): Likewise.
2849         (PRINTF_XEXPR): Likewise.
2850         (PRINTF_NEXPR): Likewise.
2851         (TEST_LDOUBLE): Likewise.
2852         (TEST_MATHVEC): Likewise.
2853         (TEST_INLINE): Likewise.
2854         (__NO_MATH_INLINES): Likewise.
2855         * math/test-ldouble.c: Include test-ldouble.h,
2856         test-math-no-inline.h and test-math-scalar.h.
2857         (FUNC): Remove macro.
2858         (FUNC_TEST): Likewise.
2859         (FLOAT): Likewise.
2860         (MATHCONST): Likewise.
2861         (PRINTF_EXPR): Likewise.
2862         (PRINTF_XEXPR): Likewise.
2863         (PRINTF_NEXPR): Likewise.
2864         (TEST_LDOUBLE): Likewise.
2865         (TEST_MATHVEC): Likewise.
2866         (__NO_MATH_INLINES): Likewise.
2867         * math/test-double-vlen2.h: Include test-double.h,
2868         test-math-no-inline.h and test-math-vector.h.
2869         (FLOAT): Remove macro.
2870         (FUNC): Likewise.
2871         (MATHCONST): Likewise.
2872         (PRINTF_EXPR): Likewise.
2873         (PRINTF_XEXPR): Likewise.
2874         (PRINTF_NEXPR): Likewise.
2875         (TEST_DOUBLE): Likewise.
2876         (TEST_MATHVEC): Likewise.
2877         (__NO_MATH_INLINES): Likewise.
2878         (CNCT): Likewise.
2879         (CONCAT): Likewise.
2880         (WRAPPER_NAME): Likewise.
2881         (WRAPPER_DECL): Likewise.
2882         (WRAPPER_DECL_ff): Likewise.
2883         (WRAPPER_DECL_fFF): Likewise.
2884         (VECTOR_WRAPPER): Likewise.
2885         (VECTOR_WRAPPER_ff): Likewise.
2886         (VECTOR_WRAPPER_fFF): Likewise.
2887         (VEC_LEN): New macro.
2888         * math/test-double-vlen4.h: Include test-double.h,
2889         test-math-no-inline.h and test-math-vector.h.
2890         (FLOAT): Remove macro.
2891         (FUNC): Likewise.
2892         (MATHCONST): Likewise.
2893         (PRINTF_EXPR): Likewise.
2894         (PRINTF_XEXPR): Likewise.
2895         (PRINTF_NEXPR): Likewise.
2896         (TEST_DOUBLE): Likewise.
2897         (TEST_MATHVEC): Likewise.
2898         (__NO_MATH_INLINES): Likewise.
2899         (CNCT): Likewise.
2900         (CONCAT): Likewise.
2901         (WRAPPER_NAME): Likewise.
2902         (WRAPPER_DECL): Likewise.
2903         (WRAPPER_DECL_ff): Likewise.
2904         (WRAPPER_DECL_fFF): Likewise.
2905         (VECTOR_WRAPPER): Likewise.
2906         (VECTOR_WRAPPER_ff): Likewise.
2907         (VECTOR_WRAPPER_fFF): Likewise.
2908         (VEC_LEN): New macro.
2909         * math/test-double-vlen8.h: Include test-double.h,
2910         test-math-no-inline.h and test-math-vector.h.
2911         (FLOAT): Remove macro.
2912         (FUNC): Likewise.
2913         (MATHCONST): Likewise.
2914         (PRINTF_EXPR): Likewise.
2915         (PRINTF_XEXPR): Likewise.
2916         (PRINTF_NEXPR): Likewise.
2917         (TEST_DOUBLE): Likewise.
2918         (TEST_MATHVEC): Likewise.
2919         (__NO_MATH_INLINES): Likewise.
2920         (CNCT): Likewise.
2921         (CONCAT): Likewise.
2922         (WRAPPER_NAME): Likewise.
2923         (WRAPPER_DECL): Likewise.
2924         (WRAPPER_DECL_ff): Likewise.
2925         (WRAPPER_DECL_fFF): Likewise.
2926         (VECTOR_WRAPPER): Likewise.
2927         (VECTOR_WRAPPER_ff): Likewise.
2928         (VECTOR_WRAPPER_fFF): Likewise.
2929         (VEC_LEN): New macro.
2930         * math/test-float-vlen4.h: Include test-float.h,
2931         test-math-no-inline.h and test-math-vector.h.
2932         (FLOAT): Remove macro.
2933         (FUNC): Likewise.
2934         (MATHCONST): Likewise.
2935         (PRINTF_EXPR): Likewise.
2936         (PRINTF_XEXPR): Likewise.
2937         (PRINTF_NEXPR): Likewise.
2938         (TEST_FLOAT): Likewise.
2939         (TEST_MATHVEC): Likewise.
2940         (__NO_MATH_INLINES): Likewise.
2941         (CNCT): Likewise.
2942         (CONCAT): Likewise.
2943         (WRAPPER_NAME): Likewise.
2944         (WRAPPER_DECL): Likewise.
2945         (WRAPPER_DECL_ff): Likewise.
2946         (WRAPPER_DECL_fFF): Likewise.
2947         (VECTOR_WRAPPER): Likewise.
2948         (VECTOR_WRAPPER_ff): Likewise.
2949         (VECTOR_WRAPPER_fFF): Likewise.
2950         (VEC_LEN): New macro.
2951         * math/test-float-vlen8.h: Include test-float.h,
2952         test-math-no-inline.h and test-math-vector.h.
2953         (FLOAT): Remove macro.
2954         (FUNC): Likewise.
2955         (MATHCONST): Likewise.
2956         (PRINTF_EXPR): Likewise.
2957         (PRINTF_XEXPR): Likewise.
2958         (PRINTF_NEXPR): Likewise.
2959         (TEST_FLOAT): Likewise.
2960         (TEST_MATHVEC): Likewise.
2961         (__NO_MATH_INLINES): Likewise.
2962         (CNCT): Likewise.
2963         (CONCAT): Likewise.
2964         (WRAPPER_NAME): Likewise.
2965         (WRAPPER_DECL): Likewise.
2966         (WRAPPER_DECL_ff): Likewise.
2967         (WRAPPER_DECL_fFF): Likewise.
2968         (VECTOR_WRAPPER): Likewise.
2969         (VECTOR_WRAPPER_ff): Likewise.
2970         (VECTOR_WRAPPER_fFF): Likewise.
2971         (VEC_LEN): New macro.
2972         * math/test-float-vlen16.h: Include test-float.h,
2973         test-math-no-inline.h and test-math-vector.h.
2974         (FLOAT): Remove macro.
2975         (FUNC): Likewise.
2976         (MATHCONST): Likewise.
2977         (PRINTF_EXPR): Likewise.
2978         (PRINTF_XEXPR): Likewise.
2979         (PRINTF_NEXPR): Likewise.
2980         (TEST_FLOAT): Likewise.
2981         (TEST_MATHVEC): Likewise.
2982         (__NO_MATH_INLINES): Likewise.
2983         (CNCT): Likewise.
2984         (CONCAT): Likewise.
2985         (WRAPPER_NAME): Likewise.
2986         (WRAPPER_DECL): Likewise.
2987         (WRAPPER_DECL_ff): Likewise.
2988         (WRAPPER_DECL_fFF): Likewise.
2989         (VECTOR_WRAPPER): Likewise.
2990         (VECTOR_WRAPPER_ff): Likewise.
2991         (VECTOR_WRAPPER_fFF): Likewise.
2992         (VEC_LEN): New macro.
2993         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
2994         test-vec-loop.h.
2995         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2996         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2997         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2998         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2999         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3000         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3001         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3003 2015-06-24  Roland McGrath  <roland@hack.frob.com>
3005         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
3006         (__getlogin_r): ... this.
3008 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
3010         [BZ #18594]
3011         * math/s_ccosh.c (__ccosh): Compare with least normal value
3012         instead of comparing class with FP_SUBNORMAL.
3013         * math/s_ccoshf.c (__ccoshf): Likewise.
3014         * math/s_ccoshl.c (__ccoshl): Likewise.
3015         * math/s_cexp.c (__cexp): Likewise.
3016         * math/s_cexpf.c (__cexpf): Likewise.
3017         * math/s_cexpl.c (__cexpl): Likewise.
3018         * math/s_csin.c (__csin): Likewise.
3019         * math/s_csinf.c (__csinf): Likewise.
3020         * math/s_csinh.c (__csinh): Likewise.
3021         * math/s_csinhf.c (__csinhf): Likewise.
3022         * math/s_csinhl.c (__csinhl): Likewise.
3023         * math/s_csinl.c (__csinl): Likewise.
3024         * math/s_ctan.c (__ctan): Likewise.
3025         * math/s_ctanf.c (__ctanf): Likewise.
3026         * math/s_ctanh.c (__ctanh): Likewise.
3027         * math/s_ctanhf.c (__ctanhf): Likewise.
3028         * math/s_ctanhl.c (__ctanhl): Likewise.
3029         * math/s_ctanl.c (__ctanl): Likewise.
3030         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
3031         csin, csinh, ctan and ctanh.
3032         * math/auto-libm-test-out: Regenerated.
3033         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
3034         * sysdeps/i386/fpu/libm-test-ulps: Update.
3035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3037 2015-06-24  Roland McGrath  <roland@hack.frob.com>
3039         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
3040         return value is wrong, print the expected value too.
3042 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
3044         [BZ #18585]
3045         * elf/readlib.c (is_gdb_python_file): New.
3046         (process_file): Don't issue errors on filenames with -gdb.py
3047         suffix.
3049 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
3051         * math/auto-libm-test-in: Add more tests of csin and csinh.
3052         * math/auto-libm-test-out: Regenerated.
3053         * math/libm-test.inc (csin_test_data): Remove tests moved to
3054         auto-libm-test-in.
3055         (csinh_test_data): Likewise.
3057         [BZ #18593]
3058         * math/s_csin.c (__csin): Negate before rather than after possibly
3059         overflowing multiplication.
3060         * math/s_csinf.c (__csinf): Likewise.
3061         * math/s_csinh.c (__csinh): Likewise.
3062         * math/s_csinhf.c (__csinhf): Likewise.
3063         * math/s_csinhl.c (__csinhl): Likewise.
3064         * math/s_csinl.c (__csinl): Likewise.
3065         * math/auto-libm-test-in: Add some tests of csin and csinh.
3066         * math/auto-libm-test-out: Regenerated.
3067         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
3068         (csinh_test_data): Likewise.
3069         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3071         [BZ #18586]
3072         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
3073         underflow exception for small results.
3075 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
3077         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3078         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
3079         variable and included header.
3080         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
3081         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
3082         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
3083         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
3084         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
3085         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3086         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3087         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
3088         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
3089         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
3090         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
3091         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
3092         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
3093         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
3094         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
3095         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
3097 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3099         [BZ #16526]
3100         [BZ #16538]
3101         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
3102         (__sin): Force underflow exception for arguments with small
3103         absolute value.
3104         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
3105         (__kernel_sinf): Force underflow exception for arguments with
3106         small absolute value.
3107         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
3108         (__kernel_sincosl): Force underflow exception for arguments with
3109         small absolute value.
3110         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
3111         (__kernel_sinl): Force underflow exception for arguments with
3112         small absolute value.
3113         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
3114         (__kernel_sincosl): Force underflow exception for arguments with
3115         small absolute value.
3116         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
3117         (__kernel_sinl): Force underflow exception for arguments with
3118         small absolute value.
3119         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
3120         (__kernel_sinl): Force underflow exception for arguments with
3121         small absolute value.
3122         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
3123         (__kernel_sinf): Force underflow exception for arguments with
3124         small absolute value.
3125         * math/auto-libm-test-in: Add more tests of sin and sincos.
3126         * math/auto-libm-test-out: Regenerated.
3128         [BZ #18245]
3129         [BZ #18583]
3130         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
3131         (__kernel_standard_l): Use feholdexcept and fesetenv around
3132         conversion to double instead of special-casing overflow and
3133         underflow.
3134         * math/libm-test.inc (fmod_test_data): Add more tests.
3135         (remainder_test_data): Likewise.
3136         (sqrt_test_data): Likewise.
3138 2015-06-23  Torvald Riegel  <triegel@redhat.com>
3140         [BZ #17403]
3141         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
3142         atomic_read_barrier, atomic_write_barrier): Define.
3143         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
3144         atomic_read_barrier, atomic_write_barrier): Define.
3146 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3148         * math/Makefile [$(PERL) != no]
3149         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
3150         dependency on libm-test.stmp below the inclusion of Rules.
3152 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
3154         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3155         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
3156         and included header.
3157         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
3158         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
3159         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
3160         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
3161         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
3162         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
3163         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3164         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3165         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
3166         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
3167         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
3168         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
3169         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
3170         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
3171         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
3172         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
3173         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
3174         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
3175         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
3177 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
3179         [BZ #18371]
3180         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
3181         intermediate but not final result might underflow.
3182         * math/s_csqrtf.c (__csqrtf): Likewise.
3183         * math/s_csqrtl.c (__csqrtl): Likewise.
3184         * math/auto-libm-test-in: Add more tests of csqrt.
3185         * math/auto-libm-test-out: Regenerated.
3186         * sysdeps/i386/fpu/libm-test-ulps: Update.
3188         [BZ #18219]
3189         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
3190         threshold on absolute value of exponent for which scaling is used.
3191         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3192         * math/auto-libm-test-in: Add more tests of exp2.
3193         * math/auto-libm-test-out: Regenerated.
3195 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
3197         [BZ #17977]
3198         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
3199         when initializing interface list, based on the bug analysis
3200         and the patch proposed by Eric Newton.
3201         * resolv/tst-res_hconf_reorder.c: New test.
3202         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
3203         tst-res_hconf_reorder.
3204         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
3205         and $(shared-thread-library).
3206         (tst-res_hconf_reorder-ENV): New variable.
3208         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
3209         in comment.
3211 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
3213         [BZ #16353]
3214         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
3215         (__expm1): Force underflow exception for arguments with small
3216         absolute value.
3217         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
3218         (__expm1f): Force underflow exception for arguments with small
3219         absolute value.
3220         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
3221         (__expm1): Force underflow exception for arguments with small
3222         absolute value.
3223         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
3224         (__expm1f): Force underflow exception for arguments with small
3225         absolute value.
3226         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3227         Check for small arguments before calling __expm1.
3228         * math/auto-libm-test-in: Do not mark underflow exceptions as
3229         possibly missing for bug 16353.
3230         * math/auto-libm-test-out: Regenerated.
3232 2015-06-22  Andreas Schwab  <schwab@suse.de>
3234         [BZ #18513]
3235         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
3236         PTR queries.
3238 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
3240         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
3242         * string/strcoll_l.c: Remove unused struct element idxnow.
3244 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
3246         [BZ #18569]
3247         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
3248         underflow and return argument in case of subnormal argument.
3249         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3250         Likewise.
3251         * math/auto-libm-test-in: Add more tests of expm1.
3252         * math/auto-libm-test-out: Regenerated.
3254         [BZ #16361]
3255         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3256         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3257         tiny results.
3258         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3259         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3260         tiny results.
3261         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
3262         mark underflow exceptions as possibly missing for bug 16361.
3263         * math/auto-libm-test-out: Regenerated.
3265 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
3267         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
3268         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
3269         Remove variable.
3270         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3271         (test-xfail-XOPEN2K8/utmpx.h/conform).
3273         * conform/conformtest.pl ($xerrors): New variable.
3274         (note_error): New function.
3275         (compiletest): New argument $xfail.  Use not_error.
3276         (runtest): Likewise.
3277         (top level): Handle xfail- lines.  Update calls to compiletest and
3278         runtest.  Handle xfail- and optional- in headers listed with
3279         allow-header.
3280         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
3281         (O_EXEC): Likewise.
3282         (O_SEARCH): Likewise.
3283         * conform/data/stropts.h-data (ioctl): Likewise.
3284         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
3285         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
3286         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
3287         (msghdr.msg_controllen): Likewise.
3288         (cmsghdr.cmsg_len): Likewise.
3289         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
3290         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
3291         variable.
3292         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3293         (test-xfail-XPG4/stropts.h/conform): Likewise.
3294         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3295         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3296         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3297         (test-xfail-UNIX98/stropts.h/conform): Likewise.
3298         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3299         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3300         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3301         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3302         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3303         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3304         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3305         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3306         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3307         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3308         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3309         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3310         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3311         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3312         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3314 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3316         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
3317         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
3318         definitions for proper unfolding of __MATHDECL_VEC.
3320 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3322         * benchtests/bench-strcoll.c:
3323         Include string.h.
3324         (main): Remove unused variable res.
3326 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3328         * timezone/Makefile (%/UTC %/Universal):
3329         Generate test-result files for UTC and Universal.
3331 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3333         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3335 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
3337         [BZ #16350]
3338         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
3339         for arguments with small absolute value.
3340         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
3341         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
3342         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
3343         (__asinh): Force underflow exception for arguments with small
3344         absolute value.
3345         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
3346         (__asinhf): Force underflow exception for arguments with small
3347         absolute value.
3348         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
3349         (__asinhl): Force underflow exception for arguments with small
3350         absolute value.
3351         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
3352         (__asinhl): Force underflow exception for arguments with small
3353         absolute value.
3354         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
3355         (__asinhl): Force underflow exception for arguments with small
3356         absolute value.
3357         * math/auto-libm-test-in: Do not mark underflow exceptions as
3358         possibly missing for bug 16350.
3359         * math/auto-libm-test-out: Regenerated.
3361         * include/bits/ipc.h: Remove file.
3362         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
3363         variable.
3364         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3365         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3366         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3367         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3368         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3369         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3370         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3371         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3372         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3374         * math/auto-libm-test-in: Remove spurious underflow allowance for
3375         tests of cexp.
3376         * math/auto-libm-test-out: Regenerated.
3378         [BZ #18558]
3379         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
3380         unconditional definition.
3381         (MCAST_BLOCK_SOURCE): Likewise.
3382         (MCAST_UNBLOCK_SOURCE): Likewise.
3383         (MCAST_LEAVE_GROUP): Likewise.
3384         (MCAST_JOIN_SOURCE_GROUP): Likewise.
3385         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3386         (MCAST_MSFILTER): Likewise.
3387         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
3388         Remove variable.
3389         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3390         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3391         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3392         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3393         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3395 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
3397         * NEWS: Mention addition of x86_64 vector sincosf.
3398         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
3399         * math/test-float-vlen4.h: Likewise.
3400         * math/test-float-vlen8.h: Likewise.
3401         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3402         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
3403         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3404         * sysdeps/x86_64/fpu/Versions: New versions added.
3405         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3406         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3407         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3408         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
3409         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3410         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
3411         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3412         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
3413         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3414         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
3415         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
3416         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
3417         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
3418         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
3419         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
3420         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
3421         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
3422         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3423         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3424         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3425         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3426         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3427         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3428         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3430         * NEWS: Mention addition of x86_64 vector sincos.
3431         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
3432         * math/math.h (__MATHDECL_VEC): New macro.
3433         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
3434         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
3435         declaration under condition.
3436         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
3437         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
3438         TEST_VEC_LOOP change.
3439         * math/test-double-vlen4.h: Likewise.
3440         * math/test-double-vlen8.h: Likewise.
3441         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
3442         * math/test-float-vlen4.h: Likewise.
3443         * math/test-float-vlen8.h: Likewise.
3444         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3445         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
3446         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3447         * sysdeps/x86_64/fpu/Versions: New versions added.
3448         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3449         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3450         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3451         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
3452         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
3453         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
3454         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
3455         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
3456         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
3457         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
3458         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
3459         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
3460         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
3461         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
3462         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
3463         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
3464         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
3465         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3466         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3467         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3468         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3469         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3470         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3471         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3473         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3474         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3475         redirections for powf.
3476         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3477         * sysdeps/x86_64/fpu/Versions: New versions added.
3478         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3479         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3480         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3481         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
3482         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
3483         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
3484         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
3485         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
3486         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
3487         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
3488         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
3489         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
3490         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
3491         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
3492         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
3493         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
3494         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
3495         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3496         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3497         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3498         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3499         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3500         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3501         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3502         * math/test-float-vlen16.h: Fixed 2 argument macro.
3503         * math/test-float-vlen4.h: Likewise.
3504         * math/test-float-vlen8.h: Likewise.
3505         * NEWS: Mention addition of x86_64 vector powf.
3507 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
3509         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3510         and redefine.
3511         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3512         and redefine.
3513         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
3514         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3515         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3517         [BZ #18553]
3518         * resource/getpriority.c (getpriority): Rename to __getpriority
3519         and define as weak alias of __getpriority.
3520         * resource/setpriority.c (setpriority): Rename to __setpriority
3521         and define as weak alias of __setpriority.
3522         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
3523         __getpriority and define as weak alias of __getpriority.
3524         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
3525         __setpriority and define as weak alias of __setpriority.
3526         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
3527         strong name.
3528         (setpriority): Use __setpriority as strong name.
3529         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
3530         __getpriority and define as weak alias of __getpriority.
3531         * include/sys/resource.h (__getpriority): Declare.  Use
3532         libc_hidden_proto.
3533         (__setpriority): Likewise.
3534         (getpriority): Don't use libc_hidden_proto.
3535         (setpriority): Likewise.
3536         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
3537         getpriority.  Call __setpriority instead of setpriority.
3538         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
3539         Remove variable.
3541         [BZ #18547]
3542         * misc/getttyent.c (getttynam): Rename to __getttynam and define
3543         as weak alias of __getttynam.  Use prototype function definition.
3544         Call __setttyent, __getttyent and __endttyent instead of
3545         setttyent, getttyent and endttyent.
3546         (getttyent): Rename to __getttyent and define as weak alias of
3547         __getttyent.  Call __setttyent instead of setttyent.  Call
3548         __fgets_unlocked instead of fgets_unlocked.
3549         (setttyent): Rename to __setttyent and define as weak alias of
3550         __setttyent.
3551         (endttyent): Rename to __endttyent and define as weak alias of
3552         __endttyent.
3553         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
3554         (__setttyent): Likewise.
3555         (__endttyent): Likewise.
3556         (getttyent): Don't use libc_hidden_proto.
3557         (setttyent): Likewise.
3558         (endttyent): Likewise.
3559         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
3560         __endttyent instead of setttyent, getttyent and endttyent.
3561         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
3562         Remove variable.
3564         [BZ #18546]
3565         * socket/recv.c (__recv): Use libc_hidden_def.
3566         * socket/socket.c (__socket): Likewise.
3567         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3568         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3569         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
3570         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
3571         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
3572         libc_hidden_def.
3573         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
3574         libc_hidden_weak.
3575         * include/sys/socket.h (__socket): Do not use attribute_hidden.
3576         Use libc_hidden_proto.
3577         (__recv): Likewise.
3578         * socket/Versions (libc): Export __recv and __socket at version
3579         GLIBC_PRIVATE.
3580         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
3581         instead of recv.
3582         (init_mq_netlink): Call __socket instead of socket.
3583         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
3584         Remove variable.
3586         [BZ #18545]
3587         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
3588         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
3589         hidden_weak.
3590         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
3591         define as alias of __mq_timedsend.  Use hidden_weak.
3592         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
3593         __mq_timedsend as strong name.
3594         (mq_timedreceive): Use __mq_timedreceive as strong name.
3595         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
3596         (__mq_timedreceive): Likewise.
3597         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
3598         __mq_timedreceive instead of mq_timedreceive.
3599         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
3600         instead of mq_timedsend.
3601         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
3602         Remove variable.
3604         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
3605         hidden_def and hidden_weak instead of libc_hidden_def and
3606         libc_hidden_weak.
3607         (top level): Refer to hidden_def in comment.
3608         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
3609         macro.  Use it instead of libc_hidden_def.
3610         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
3611         specify __GI_* name explicitly.
3612         (mq_timedreceive): Likewise.
3613         (mq_setattr): Likewise.
3615         [BZ #18544]
3616         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
3617         __pthread_barrier_init and define as weak alias of
3618         __pthread_barrier_init.
3619         * sysdeps/sparc/nptl/pthread_barrier_init.c
3620         (pthread_barrier_init): Likewise.
3621         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
3622         __pthread_barrier_wait and define as weak alias of
3623         __pthread_barrier_wait.
3624         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3625         (pthread_barrier_wait): Likewise.
3626         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3627         (pthread_barrier_wait): Likewise.
3628         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
3629         (pthread_barrier_wait): Likewise.
3630         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
3631         (pthread_barrier_wait): Likewise.
3632         * nptl/Versions (libpthread): Export __pthread_barrier_init and
3633         __pthread_barrier_wait at version GLIBC_PRIVATE.
3634         * include/pthread.h (__pthread_barrier_init): Declare.
3635         (__pthread_barrier_wait): Likewise.
3636         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
3637         Call __pthread_barrier_wait instead of pthread_barrier_wait.
3638         (helper_thread): Likewise.
3639         (init_mq_netlink): Call __pthread_barrier_init instead of
3640         pthread_barrier_init.
3642         [BZ #18542]
3643         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
3644         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
3645         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
3646         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
3647         vswscanf.
3648         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
3649         Remove variable.
3651         [BZ #18540]
3652         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
3653         strong alias of _IO_fflush.  Use libc_hidden_def.
3654         * libio/iofflush_u.c (fflush_unlocked): Rename to
3655         __fflush_unlocked and define as weak alias of __fflush_unlocked.
3656         Use libc_hidden_weak.
3657         * include/stdio.h (__fflush_unlocked): Declare.  Use
3658         libc_hidden_proto.
3659         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
3660         fflush_unlocked.
3661         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
3662         Remove variable.
3664         [BZ #18539]
3665         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
3666         define as weak alias of __addseverity.
3667         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
3668         Remove variable.
3669         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3670         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3671         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3673         [BZ #18536]
3674         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
3675         (__tfind): Likewise.
3676         (__tdelete): Likewise.
3677         (__twalk): Likewise.
3678         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
3679         __twalk to GLIBC_PRIVATE.
3680         * include/search.h (__tsearch): Use libc_hidden_proto.
3681         (__tfind): Likewise.
3682         (__tdelete): Likewise.
3683         (__twalk): Likewise.
3684         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
3685         Call __tdelete instead of tdelete.
3686         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
3687         tfind.  Call __tsearch instead of tsearch.
3688         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
3689         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
3690         Remove variable.
3691         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3693         [BZ #18534]
3694         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
3695         (dprintf): Define as a weak alias of __dprintf, not a strong
3696         alias.
3697         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
3698         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
3699         dprintf.
3700         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
3701         Remove variable.
3702         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3703         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3705         [BZ #18533]
3706         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
3707         not a strong alias.
3708         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
3709         Remove variable.
3711         [BZ #18532]
3712         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
3713         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
3714         (in6addr_loopback): Rename to __in6addr_loopback and define as
3715         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
3716         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
3717         libc_hidden_proto.
3718         (__in6addr_any): Likewise.
3719         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
3720         in6addr_any.
3721         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
3722         variable.
3723         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3725 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3727         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
3728         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
3729         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3730         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3731         redirections for pow.
3732         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3733         * sysdeps/x86_64/fpu/Versions: New versions added.
3734         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3735         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3736         build of SSE, AVX2 and AVX512 IFUNC versions.
3737         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
3738         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
3739         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
3740         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3741         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3742         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3743         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3744         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3745         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3746         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3747         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3748         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3749         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3750         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3751         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3752         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3753         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3754         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3755         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3756         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3757         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3758         * NEWS: Mention addition of x86_64 vector pow.
3760         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3761         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3762         redirections for expf.
3763         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3764         * sysdeps/x86_64/fpu/Versions: New versions added.
3765         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3766         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3767         build of SSE, AVX2 and AVX512 IFUNC versions.
3768         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
3769         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
3770         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
3771         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
3772         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
3773         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
3774         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
3775         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
3776         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
3777         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
3778         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
3779         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
3780         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
3781         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3782         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3783         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3784         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3785         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3786         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3787         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3788         * NEWS: Mention addition of x86_64 vector expf.
3790         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
3791         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
3792         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3793         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3794         redirections for exp.
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_d_exp2_core.S: New file.
3801         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
3802         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
3803         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
3804         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
3805         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
3806         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
3807         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
3808         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
3809         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
3810         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
3811         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
3812         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
3813         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3814         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3815         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3816         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3817         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3818         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3819         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3820         * NEWS: Mention addition of x86_64 vector exp.
3822         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3823         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3824         redirections for logf.
3825         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3826         * sysdeps/x86_64/fpu/Versions: New versions added.
3827         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3828         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3829         build of SSE, AVX2 and AVX512 IFUNC versions.
3830         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
3831         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
3832         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
3833         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
3834         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
3835         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
3836         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
3837         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
3838         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
3839         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
3840         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
3841         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
3842         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
3843         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3844         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3845         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3846         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3847         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3848         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3849         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3850         * NEWS: Mention addition of x86_64 vector logf.
3852         * bits/libm-simd-decl-stubs.h: Added stubs for log.
3853         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
3854         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3855         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3856         redirections for log.
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_d_log2_core.S: New file.
3863         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
3864         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
3865         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
3866         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
3867         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
3868         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
3869         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
3870         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
3871         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
3872         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
3873         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
3874         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
3875         test.
3876         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3877         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3878         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3879         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3880         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3881         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3882         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3883         * NEWS: Mention addition of x86_64 vector log.
3885 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3887         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
3888         cfi_adjust_cfa_offset argument.
3889         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
3890         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
3892         [BZ #18034]
3893         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
3894         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
3895         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
3896         ordering using ldar.
3897         (_dl_tlsdesc_dynamic): Likewise.
3898         (_dl_tlsdesc_return_lazy): Likewise.
3899         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
3900         relaxed atomics instead of volatile and synchronize with release store.
3901         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
3902         volatile.
3903         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3905 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
3907         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3908         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
3909         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3910         * sysdeps/x86_64/fpu/Versions: New versions added.
3911         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3912         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3913         build of SSE, AVX2 and AVX512 IFUNC versions.
3914         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
3915         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
3916         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
3917         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
3918         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
3919         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
3920         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
3921         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
3922         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
3923         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
3924         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
3925         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
3926         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
3927         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3928         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3929         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3930         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3931         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3932         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3933         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3934         * NEWS: Mention addition of x86_64 vector sinf.
3936 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
3938         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
3939         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
3940         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
3941         Remove variable.
3942         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3943         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3945 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3947         [BZ #18530]
3948         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
3949         strong alias of _IO_fputs.  Use libc_hidden_def.
3950         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
3951         and define as weak alias of __fputs_unlocked.  Use
3952         libc_hidden_weak.
3953         * include/stdio.h (__fputs_unlocked): Declare.  Use
3954         libc_hidden_proto.
3955         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
3956         fputs_unlocked.
3958         [BZ #18529]
3959         * resolv/netdb.h [__USE_POSIX]: Change condition to
3960         [__USE_XOPEN2K].
3961         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
3962         not expect.
3963         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
3964         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
3965         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
3966         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
3967         [XPG4 || UNIX98] (AI_ALL): Likewise.
3968         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
3969         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
3970         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
3971         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
3972         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
3973         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
3974         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
3975         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
3976         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
3977         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
3978         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
3979         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
3980         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
3981         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
3982         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
3983         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3984         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3985         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
3986         [XPG4 || UNIX98] (gai_strerror): Likewise.
3987         [XPG4 || UNIX98] (getaddrinfo): Likewise.
3988         [XPG4 || UNIX98] (getnameinfo): Likewise.
3990         [BZ #18528]
3991         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
3992         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
3993         __USE_XOPEN2K8].
3994         (getgrent): Likewise.
3995         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
3996         expect.
3997         [XPG3 || POSIX2008] (endgrent): Likewise.
3998         [XPG3] (setgrent): Likewise.
3999         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
4000         variable.
4001         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4003         [BZ #18527]
4004         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
4005         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
4006         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
4007         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
4008         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
4009         * include/unistd.h (__getlogin_r): Declare.  Use
4010         libc_hidden_proto.
4011         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
4012         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
4013         variable.
4014         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4015         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4016         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4018 2015-06-12  Martin Sebor  <msebor@redhat.com>
4020         [BZ #18512]
4021         * Makerules (check-install-supported): New target.
4022         (install): Add check-install-supported as a dependency.
4023         * manual/install.texi (Installing the C Library): Document
4024         that overriding prefix and exec_prefix is not supported.
4025         Mention DESTDIR.
4026         * INSTALL: Regenerate from the above.
4028 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
4030         [BZ #18519]
4031         * posix/Versions (libc): Export __libc_pread at version
4032         GLIBC_PRIVATE.
4033         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
4034         instead of pread.
4035         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
4036         variable.
4038         [BZ #18522]
4039         * misc/efgcvt_r.c
4040         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
4041         (cvt_symbol): Use weak_alias instead of strong_alias.
4042         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
4043         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
4044         Remove variable.
4045         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4046         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4048         [BZ #18520]
4049         * inet/herrno.c (h_errno): Rename to __h_errno.
4050         (__libc_h_errno): Define as alias of __h_errno not h_errno.
4051         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
4052         to __h_errno instead of h_errno.
4053         * nptl/herrno.c (h_errno): Rename to __h_errno.
4054         (__h_errno_location): Refer to __h_errno not h_errno.
4055         * resolv/Versions (h_errno): Rename to __h_errno.
4056         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
4057         Remove variable.
4058         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4060 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
4062         * configure.ac: More strict check for AVX512 assembler support.
4063         * configure: Regenerated.
4065         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
4066         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
4067         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4068         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
4069         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4070         * sysdeps/x86_64/fpu/Versions: New versions added.
4071         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4072         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4073         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4074         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
4075         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
4076         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
4077         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
4078         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
4079         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
4080         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
4081         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
4082         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
4083         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
4084         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
4085         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
4086         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
4087         test.
4088         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4089         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4090         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4091         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4092         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4093         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4094         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4095         * NEWS: Mention addition of x86_64 vector sin.
4097 2015-06-11  Florian Weimer  <fweimer@redhat.com>
4099         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
4100         comment.
4102 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
4104         [BZ #18479]
4105         * nptl/pt-interp.c: New file.
4106         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
4107         Add pt-interp.
4108         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
4109         $(common-objpfx)runtime-linker.h.
4111 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
4113         * Makeconfig (+interp): Remove unused variable.
4114         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
4115         only.  Depend on $(common-objpfx)runtime-linker.h instead of
4116         $(elf-objpfx)runtime-linker.h.
4117         ($(elf-objpfx)runtime-linker.h): Rename to
4118         $(common-objpfx)runtime-linker.h and move ...
4119         * Makerules [$(build-shared) = yes]: ... here.
4120         * elf/interp.c: Include <runtime-linker.h> instead of
4121         <elf/runtime-linker.h>.
4123 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4125         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
4126         (__gettimeofday_syscall): Remove vsyscall fallback.
4127         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
4128         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
4129         Add syscall fallback function.
4130         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
4131         if vDSO is not present.
4132         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
4133         fallback function.
4134         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
4135         present.
4136         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
4137         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4139 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
4141         [BZ #18497]
4142         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
4143         of wcscmp.
4144         (wcscmp): Define as weak alias of WCSCMP.
4145         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
4146         wcscoll.
4147         (USE_HIDDEN_DEF): Define.
4148         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
4149         __wcscoll.  Don't use libc_hidden_weak.
4150         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
4151         wcscmp.
4152         * sysdeps/i386/i686/multiarch/wcscmp-c.c
4153         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
4154         __GI_wcscmp.
4155         (weak_alias): Undefine and redefine.
4156         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
4157         __wcscmp and define as weak alias of __wcscmp.
4158         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
4159         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
4160         (__wcscoll): Likewise.
4161         (wcscmp): Don't use libc_hidden_proto.
4162         (wcscoll): Likewise.
4163         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
4164         wcscoll.
4165         * posix/regexec.c (check_node_accept_bytes): Likewise.
4166         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
4167         variable.
4168         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4169         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4171         [BZ #18507]
4172         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
4173         __fstatvfs and define as weak alias of __fstatvfs.  Use
4174         libc_hidden_weak.
4175         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
4176         and define as weak alias of __statvfs.  Use libc_hidden_weak.
4177         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
4178         Define as alias of __fstatvfs, not fstatvfs.
4179         (fstatvfs64): Likewise.
4180         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
4181         Define as alias of __statvfs, not statvfs.
4182         (statvfs64): Likewise.
4183         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
4184         Remove variable.
4186 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4189         (HAVE_GETCPU_VSYSCALL): Define.
4190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4191         (HAVE_GETCPU_VSYSCALL): Likewise.
4192         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
4193         * sysdeps/unix/sysv/linux/sched_getcpu.c
4194         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
4195         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
4196         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
4197         prototype.
4198         * sysdeps/unix/sysv/linux/x86_64/init-first.c
4199         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
4200         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
4201         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
4202         Define.
4203         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
4204         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4205         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
4206         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4208 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
4210         * sysdeps/x86_64/fpu/Makefile: New file.
4211         * sysdeps/x86_64/fpu/Versions: New file.
4212         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
4213         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
4214         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
4215         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
4216         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
4217         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
4218         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
4219         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
4220         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
4221         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
4222         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
4223         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
4224         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
4225         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4226         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4227         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
4228         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
4229         * sysdeps/x86_64/configure.ac: Options for libmvec build.
4230         * sysdeps/x86_64/configure: Regenerated.
4231         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
4232         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
4233         * manual/install.texi (Configuring and compiling): Document
4234         --disable-mathvec.
4235         * INSTALL: Regenerated.
4236         * NEWS: Mention addition of libmvec and x86_64 vector cos.
4238         * math/Makefile: Added rules for vector tests.
4239         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
4240         declaration under condition.
4241         * math/test-double-vlen2.h: New file.
4242         * math/test-double-vlen4.h: New file.
4243         * math/test-double-vlen8.h: New file.
4244         * math/test-vec-loop.h: Added initialization macro.
4245         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
4246         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
4247         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
4248         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
4249         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
4250         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
4251         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
4252         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
4253         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
4254         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
4255         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
4257         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4258         * sysdeps/x86_64/fpu/Versions: New versions added.
4259         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
4260         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
4261         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
4262         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
4263         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
4264         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
4265         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
4266         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
4267         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
4268         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
4269         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
4270         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
4271         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
4272         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4273         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4274         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4275         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
4276         * NEWS: Mention addition of x86_64 vector cosf.
4278         * math/Makefile: Added CFLAGS for new tests.
4279         * math/test-float-vlen16.h: New file.
4280         * math/test-float-vlen4.h: New file.
4281         * math/test-float-vlen8.h: New file.
4282         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
4283         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
4284         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4285         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
4286         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
4287         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
4288         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
4289         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
4290         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
4291         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
4292         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
4294 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
4296         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
4297         * locale/programs/ld-ctype.c: Likewise.
4299 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
4301         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
4302         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
4303         bit_ZMM16_31_state): New macro.
4304         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4305         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
4307 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
4309         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
4311 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
4313         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
4315 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
4317         [BZ #18498]
4318         * libio/memstream.c (open_memstream): Rename to __open_memstream
4319         and define as weak alias of __open_memstream.
4320         * include/stdio.h (__open_memstream): Declare.  Use
4321         libc_hidden_proto.
4322         (open_memstream): Don't use libc_hidden_proto.
4323         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
4324         open_memstream.
4325         * posix/getopt.c (_getopt_internal_r): Likewise.
4326         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
4327         variable.
4328         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4329         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4330         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4332         [BZ #18496]
4333         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
4334         instead of wcrtomb.
4336         [BZ #18483]
4337         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
4338         [__USE_XOPEN2K8].  Remove redundant #endif.
4339         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
4340         Remove redundant #if.
4341         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
4342         Remove variable.
4343         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4344         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4346         [BZ #18495]
4347         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
4348         (__iswlower): Likewise.
4349         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
4350         (__iswlower): Likewise.
4351         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
4352         instead of towlower.
4353         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
4354         instead of iswlower.  Call __towupper instead of towupper.
4355         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
4356         instead of iswalnum.
4358 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4360         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
4361         errors to stderr.
4363 2015-06-05  Florian Weimer  <fweimer@redhat.com>
4365         [BZ #15661]
4366         [BZ #17322]
4367         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
4368         Check for overflow properly.  Check for O_APPEND.  Ignore large
4369         file system block sizes.  Add comments about problems.
4370         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
4371         * manual/filesys.texi (Storage Allocation): New node.
4373 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4375         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
4376         cancellable syscalls.
4377         (SYS_ify): Add guard to no redefine it.
4378         (INLINE_SYSCALL): Likewise.
4379         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
4380         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
4381         SYSCALL_CANCEL instead.
4382         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
4383         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4384         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4385         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4386         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4387         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
4388         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
4389         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
4390         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4391         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4392         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
4393         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
4394         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
4395         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
4396         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
4397         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4398         Likewise.
4399         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4400         (__libc_pread64): Likewise.
4401         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
4402         (__libc_preadv): Likewise.
4403         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
4404         (__libc_readv64): Likewise.
4405         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4406         (__libc_pwrite): Likewise.
4407         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4408         (__libc_pwrite64): Likewise.
4409         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
4410         (__libc_pwritev): Likewise.
4411         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
4412         (__libc_pwritev64): Likewise.
4413         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
4414         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4415         (sync_file_range): Likewise.
4416         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
4417         Likewise.
4418         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
4419         Likewise.
4420         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4421         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4422         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4423         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4424         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4425         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4426         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4427         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
4428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4429         Likewise.
4430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4431         (__libc_read64): Likewise.
4432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
4433         Likewise.
4434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
4435         Likewise.
4436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
4437         Likewise.
4438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
4439         Likewise.
4440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4441         (__libc_pread64): Likewise.
4442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
4443         Likewise.
4444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4445         (__libc_pwrite64): Likewise.
4446         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
4447         (sync_file_range): Likewise.
4448         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
4449         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4450         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4451         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
4452         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
4453         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4454         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4455         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
4456         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
4457         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4458         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4459         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4460         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4461         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4462         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
4463         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4464         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4465         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4466         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4467         Likewise.
4468         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
4469         Likewise.
4470         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
4471         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
4472         Likewise.
4473         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
4474         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
4475         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
4476         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
4477         Likewise.
4478         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
4479         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
4480         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
4481         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
4482         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
4484 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
4486         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
4487         Include dl-vdso.
4488         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
4489         Use VDSO routines for gettimeofday, clock_gettime if
4490         available.
4491         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
4492         Declare VDSO symbols.
4493         * sysdeps/unix/sysv/linux/arm/sysdep.h:
4494         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
4495         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4496         * sysdeps/unix/sysv/linux/arm/Versions: Add
4497         __vdso_clock_gettime.
4499 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4501         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
4502         be an inline implementation regardless of library is built within.
4503         (open_not_cancel_2): Likewise.
4504         (__read_nocancel): Likewise.
4505         (__write_nocancel): Likewise.
4506         (openat_not_cancel): Likewise.
4507         (openat_not_cancel_3): Likewise.
4508         (openat64_not_cancel): Likewise.
4509         (openat64_not_cancel_3): Likewise.
4510         (__close_nocancel): Likewise.
4511         (pause_not_cancel): Likewise.
4512         (nanosleep_not_cancel): Likewise.
4513         (sigsuspend_not_cancel): Likewise.
4515 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4517         [BZ #14958]
4518         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
4519         wake-up.
4520         (__pthread_rwlock_rdlock_slow): Likewise.
4521         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4522         Likewise.
4523         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4524         Likewise.
4525         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
4526         * nptl/tst-rwlock16.c: New file.
4527         * nptl/Makefile (tests): Add new test.
4529 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4531         [BZ #18324]
4532         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
4533         missing wake-up of readers.
4534         * nptl/tst-rwlock15.c: New file.
4535         * nptl/Makefile (tests): Add new test.
4537 2015-06-03  Roland McGrath  <roland@hack.frob.com>
4539         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
4540         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
4541         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
4542         and __nacl_supply_interface_rtld.
4543         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
4544         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
4545         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
4546         Add __nacl_supply_interface_rtld.
4547         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
4549 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4551         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
4552         isfinite.
4553         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4554         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
4556 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4558         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
4559         __signbit* with standard C99 macros.
4560         * math/e_exp10l.c: Likewise.
4561         * math/e_exp2l.c: Likewise.
4562         * math/e_scalb.c: Likewise.
4563         * math/e_scalbf.c: Likewise.
4564         * math/e_scalbl.c: Likewise.
4565         * math/s_ldexp.c: Likewise.
4566         * math/s_ldexpf.c: Likewise.
4567         * math/s_ldexpl.c: Likewise.
4568         * math/w_atan2.c: Likewise.
4569         * math/w_atan2f.c: Likewise.
4570         * math/w_atan2l.c: Likewise.
4571         * math/w_cosh.c: Likewise.
4572         * math/w_coshf.c: Likewise.
4573         * math/w_coshl.c: Likewise.
4574         * math/w_exp10.c: Likewise.
4575         * math/w_exp10f.c: Likewise.
4576         * math/w_exp10l.c: Likewise.
4577         * math/w_exp2.c: Likewise.
4578         * math/w_exp2f.c: Likewise.
4579         * math/w_exp2l.c: Likewise.
4580         * math/w_fmod.c: Likewise.
4581         * math/w_fmodf.c: Likewise.
4582         * math/w_fmodl.c: Likewise.
4583         * math/w_hypot.c: Likewise.
4584         * math/w_hypotf.c: Likewise.
4585         * math/w_hypotl.c: Likewise.
4586         * math/w_jnl.c: Likewise.
4587         * math/w_lgamma.c: Likewise.
4588         * math/w_lgamma_r.c: Likewise.
4589         * math/w_lgammaf.c: Likewise.
4590         * math/w_lgammaf_r.c: Likewise.
4591         * math/w_lgammal.c: Likewise.
4592         * math/w_lgammal_r.c: Likewise.
4593         * math/w_pow.c: Likewise.
4594         * math/w_powf.c: Likewise.
4595         * math/w_powl.c: Likewise.
4596         * math/w_remainder.c: Likewise.
4597         * math/w_remainderf.c: Likewise.
4598         * math/w_remainderl.c: Likewise.
4599         * math/w_scalb.c: Likewise.
4600         * math/w_scalbf.c: Likewise.
4601         * math/w_scalbl.c: Likewise.
4602         * math/w_scalbln.c: Likewise.
4603         * math/w_scalblnf.c: Likewise.
4604         * math/w_scalblnl.c: Likewise.
4605         * math/w_sinh.c: Likewise.
4606         * math/w_sinhf.c: Likewise.
4607         * math/w_sinhl.c: Likewise.
4608         * math/w_tgamma.c: Likewise.
4609         * math/w_tgammaf.c: Likewise.
4610         * math/w_tgammal.c: Likewise.
4611         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4612         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
4613         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4614         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4615         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4616         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4617         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4618         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4619         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4620         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4621         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4622         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4623         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4624         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4625         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4626         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4627         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4628         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4629         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4630         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4631         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4632         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4633         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4634         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4635         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4636         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4637         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4638         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4639         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4640         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4641         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
4642         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
4643         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
4644         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
4645         * stdio-common/printf_fp.c: Likewise.
4646         * stdio-common/printf_fphex.c: Likewise.
4647         * stdio-common/printf_size.c: Likewise.
4649 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
4651         [BZ #18470]
4652         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
4653         strnlen.
4654         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
4655         Remove variable.
4656         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4657         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4658         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4659         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4660         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4661         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4662         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4663         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4664         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4665         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4667         [BZ #18468]
4668         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
4669         weak alias of __wmemchr.  Use libc_hidden_weak.
4670         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
4671         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
4672         instead of wmemchr.
4674 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4676         [BZ #18383]
4677         * elf/tst-tlsalign-extern.c: New file.
4678         * elf/tst-tlsalign-extern-static.c: New file.
4679         * elf/tst-tlsalign-vars.c: New file.
4680         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
4681         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
4682         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
4683         ($(objpfx)tst-tlsalign-extern-static): Likewise.
4684         (test-xfail-tst-tlsalign-extern-static): New variable.
4686 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
4688         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4689         Use variable name _sc_err instead of err.
4690         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
4691         instead of ret.
4692         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
4693         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
4694         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
4695         (INLINE_SYSCALL): Likewise.
4697         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
4698         * include/string.h (__strnlen): Use libc_hidden_proto.
4699         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
4700         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
4701         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
4702         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
4703         (libc_hidden_def): Undefine and redefine.
4704         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
4705         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
4706         __GI_strnlen.
4707         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
4708         libc_hidden_def.
4709         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
4711         [BZ #18469]
4712         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
4713         weak alias of __towlower.  Use libc_hidden_weak.
4714         (towupper): Rename to __towupper and define as weak alias of
4715         __towupper.  Use libc_hidden_weak.
4716         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
4717         (__towupper): Likewise.
4718         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
4719         __towlower instead of towlower.
4721 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4723         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4724         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
4726 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4728         * sysdeps/aarch64/libm-test-ulps: Update.
4730 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4732         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
4733         Define.
4734         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4735         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4736         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4737         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4738         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
4739         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
4740         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4742 2015-06-01  Martin Sebor  <msebor@redhat.com>
4744         [BZ #18116]
4745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4746         (__setcontext): Use extended four-operand version of mtsf whenever
4747         possible.
4748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4749         (__novec_swapcontext): Likewise.
4751 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4753         * benchtests/scripts/compare_bench.py: New file.
4754         * benchtests/scripts/import_bench.py (mean): New function.
4755         (split_list): Likewise.
4756         (do_for_all_timings): Likewise.
4757         (compress_timings): Likewise.
4759         * benchtests/scripts/import_bench.py: New file.
4760         * benchtests/scripts/validate_benchout.py: Import import_bench
4761         instead of jsonschema.
4762         (validate_bench): Remove function.
4763         (main): Use import_bench.
4765 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
4767         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
4768         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
4770 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4774 2015-05-28  Roland McGrath  <roland@hack.frob.com>
4776         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
4777         set THREAD_SELF->tid to a magic value and futex-wake it.
4778         Pass its address to the thread_exit system call.
4779         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
4780         bit is clear.
4781         * sysdeps/nacl/lowlevellock.h: New file.
4782         * sysdeps/nacl/lll_timedwait_tid.c: New file.
4784         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
4785         Add TIMEOUT to current time, don't subtract it.
4787 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
4789         [BZ #2981]
4790         [BZ #18422]
4791         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
4792         ($(objpfx)tst-audit2.out): Also depend on
4793         $(objpfx)tst-auditmod9b.so.
4794         * elf/tst-audit2.c: Include <dlfcn.h>.
4795         (calloc_called): New.
4796         (calloc): Allow to be called more than once.
4797         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
4799 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
4801         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
4802         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
4804 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
4806         * stdlib/monetary.h: Fix comment.
4808 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
4810         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
4811         Avoid using variables in #defines that might cause shadowing.
4812         (INTERNAL_VSYSCALL_CALL): Likewise.
4814 2015-05-26  Roland McGrath  <roland@hack.frob.com>
4816         * sysdeps/nacl/lll_timedlock_wait.c: New file.
4818         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
4819         * nptl/lll_timedlock_wait.c: ... to this new file.
4820         * nptl/Makefile (libpthread-routines): Add it.
4821         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
4822         * nptl/lll_timedwait_tid.c: ... to this new file.
4823         * nptl/Makefile (libpthread-routines): Add it.
4824         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
4825         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
4826         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
4827         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
4828         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
4829         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
4830         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
4831         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
4832         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
4833         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
4835 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4837         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
4838         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4839         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4840         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4841         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4842         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4843         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4844         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4845         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4846         * sysdeps/unix/sysv/linux/tile/sysdep.h
4847         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4848         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
4849         using vDSO syscall macro.
4851 2015-05-26  Andriy Rysin  <arysin@gmail.com>
4853         [BZ #17293]
4854         * uk_UA: Fix sorting order for Ukrainian locale
4856 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
4858         * stdlib/monetary.h: Fix comment.
4860 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4862         [BZ #18234]
4863         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
4864         st_mtim and st_ctim members.
4865         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
4866         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
4867         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
4868         (struct stat64): Likewise.
4869         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
4870         (struct stat64): Likewise.
4871         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
4872         (struct stat64): Likewise.
4874 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4876         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
4877         Define and include sysdep-vdso.h.
4878         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
4879         Likewise.
4880         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
4881         Likewise.
4882         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
4883         Define with VDSO_SYMBOL and use PTR_MANGLE.
4884         (__vdso_clock_gettime): Likewise.
4885         (__vdso_clock_getres): Likewise.
4886         (_libc_vdso_platform_setup): Likewise.
4887         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4888         Likewise.
4889         (_libc_vdso_platform_setup): Likewise.
4890         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
4891         Likewise.
4892         (__vdso_clock_gettime): Likewise.
4893         (__vdso_clock_getres): Likewise.
4894         (__vdso_get_tbfreq): Likewise.
4895         (__vdso_getcpu): Likewise.
4896         (__vdso_time): Likewise.
4897         (__vdso_sigtramp_rt64): Likewise.
4898         (__vdso_signtramp32): Likewise.
4899         (__vdso_sigtramp_rt32): Likewise.
4900         (_libc_vdso_platform_setup): Likewise.
4901         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
4902         Likewise.
4903         (__vdso_clock_gettime): Likewise.
4904         (__vdso_clock_getres): Likewise.
4905         (_libc_vdso_platform_setup): Likewise.
4906         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
4907         Likewise.
4908         (__vdso_clock_gettime): Likewise.
4909         (_libc_vdso_platform_setup): Likewise.
4910         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4911         Likewise.
4912         (__vdso_getcpu): Likewise.
4913         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
4914         Use VDSO_SYMBOL macro to define.
4915         (__vdso_clock_gettime): Likewise.
4916         (__vdso_clock_getres): Likewise.
4917         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
4918         Likewise.
4919         (__vdso_clock_gettime): Likewise.
4920         (__vdso_clock_getres): Likewise.
4921         (__vdso_get_tbfreq): Likewise.
4922         (__vdso_getcpu): Likewise.
4923         (__vdso_time): Likewise.
4924         (__vdso_sigtramp_rt64): Likewise.
4925         (__vdso_signtramp32): Likewise.
4926         (__vdso_sigtramp_rt32): Likewise.
4927         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
4928         Likewise.
4929         (__vdso_clock_gettime): Likewise.
4930         (__vdso_clock_getres): Likewise.
4931         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
4932         Likewise.
4933         (__vdso_clock_gettime): Likewise.
4934         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4935         Likewise.
4936         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
4937         macro.
4938         (INTERNAL_VSYSCALL): Likewise.
4939         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
4940         Remove macro.
4941         (INTERNAL_VSYSCALL): Likewise.
4942         (INTERNAL_VSYSCALL_NCS): Likewise.
4943         (INTERNAL_VSYSCALL_CALL): New macro.
4944         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4945         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
4946         Likewise.
4947         (INTERNAL_VSYSCALL): Likewise.
4948         (INTERNAL_VSYSCALL_NCS): Likewise.
4949         (INTERNAL_VSYSCALL_CALL): New macro.
4950         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4952         (INLINE_VSYSCALL): Remove macro.
4953         (INTERNAL_VSYSCALL): Remove macro.
4954         (INTERNAL_VSYSCALL_NCS): Remove macro.
4955         (INTERNAL_VSYSCALL_CALL): New macro.
4956         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
4957         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
4958         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4959         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
4960         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4962         (INLINE_VSYSCALL): Remove macro.
4963         (INTERNAL_VSYSCALL): Likewise.
4964         (INTERNAL_VSYSCALL_NCS): Likewise.
4965         (INTERNAL_VSYSCALL_CALL): New macro.
4966         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
4967         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
4968         PTR_DEMANGLE on vDSO pointer.
4969         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4970         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
4971         macro.
4972         (INTERNAL_SYSCALL): Likewise.
4973         (INTERNAL_VSYSCALL_NCS): Remove macro.
4974         (INTERNAL_VSYSCALL_CALL): New macro.
4975         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
4976         Remove macro.
4977         (INTERNAL_VSYSCALL): Likewise.
4978         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
4979         sysdep-vdso.h instead of libc-vdso.h.
4980         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
4981         definition.
4982         (INLINE_VSYSCALL): Likewise.
4983         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
4984         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
4985         definition.
4986         (INLINE_VSYSCALL): Likewise.
4987         (INTERNAL_VSYSCALL): Likewise.
4988         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4989         * sysdeps/unix/sysv/linux/timespec_get.c
4990         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4991         (timespec_get): Use ANSI prototype.
4992         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
4993         and definition for Linux.
4995 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
4997         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
4998         * include/libc-symbols.h: libmvec_hidden_* macro series added.
5000 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
5002         [BZ #2981]
5003         [BZ #18410]
5004         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
5005         for missing DT_PLTRELSZ.
5007 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
5009         Remove obsolete aliases that broke 'locale -a'
5010         [BZ #18412]
5011         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
5012         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
5013         breaking some applications that use 'locale -a' output.
5014         Change the encoding of this file from Latin-1 to ASCII to avoid
5015         other potential problems with people grepping this file.
5017 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5019         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
5020         -fasynchronous-unwind-tables.
5021         (CFLAGS-sendto.c): Likewise.
5022         (CFLAGS-sendmsg.c): Likewise.
5023         (CFLAGS-connect.c): Likewise.
5024         (CFLAGS-recvmsg.c): Likewise.
5025         (CFLAGS-recvfrom.c): Likewise.
5026         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
5027         (SOCKETCALL): New macro: non-cancellable socketcall.
5028         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
5029         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
5030         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
5031         * sysdeps/unix/sysv/linux/accept.c: New file.
5032         * sysdeps/unix/sysv/linux/bind.c: Likewise.
5033         * sysdeps/unix/sysv/linux/connect.c: Likewise.
5034         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
5035         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
5036         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
5037         * sysdeps/unix/sysv/linux/listen.c: Likewise.
5038         * sysdeps/unix/sysv/linux/recv.c: Likewise.
5039         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
5040         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5041         * sysdeps/unix/sysv/linux/send.c: Likewise.
5042         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5043         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
5044         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
5045         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
5046         * sysdeps/unix/sysv/linux/socket.c: Likewise.
5047         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
5048         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
5049         prototype.
5050         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
5051         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5052         instead of __internal_xxx function.
5053         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
5054         prototype.
5055         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
5056         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5057         instead of __internal_xxx function.
5058         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
5059         prototype.
5060         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
5061         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5062         instead of __internal_xxx function.
5063         * sysdeps/unix/sysv/linux/accept.S: Remove file.
5064         * sysdeps/unix/sysv/linux/bind.S: Likewise.
5065         * sysdeps/unix/sysv/linux/connect.S: Likewise.
5066         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
5067         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
5068         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
5069         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
5070         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
5071         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
5072         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
5073         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
5074         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5075         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
5076         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
5077         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
5078         * sysdeps/unix/sysv/linux/listen.S: Likewise.
5079         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
5080         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
5081         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
5082         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
5083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
5084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
5085         * sysdeps/unix/sysv/linux/recv.S: Likewise.
5086         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
5087         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
5088         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
5089         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5090         * sysdeps/unix/sysv/linux/send.S: Likewise.
5091         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
5092         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
5093         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
5094         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
5095         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
5096         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
5097         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
5098         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
5099         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
5100         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
5101         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
5102         socketcall is implemented in GLIBC.
5104 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
5106         * soft-fp/fmadf4.c: Include <libc-internal.h>.
5107         (__fma): Ignore uninitialized warnings around packing.
5108         * soft-fp/fmasf4.c: Include <libc-internal.h>.
5109         (__fmaf): Ignore uninitialized warnings around packing.
5110         * soft-fp/fmatf4.c: Include <libc-internal.h>.
5111         (__fmal): Ignore uninitialized warnings around packing.
5113         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
5114         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5115         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
5116         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5118         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
5119         switch statement into default case.
5120         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
5122         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
5123         a conditional in forcing "inexact".
5124         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5125         Likewise.
5127 2015-05-22  Roland McGrath  <roland@hack.frob.com>
5129         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5130         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
5131         for each INTERNAL_SYSCALL use.
5133 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
5135         [BZ #438]
5136         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
5137         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
5138         variable.
5140         [BZ #18444]
5141         * string/basename.c (basename): Rename to __basename and define as
5142         weak alias of __basename.  Use libc_hidden_weak.
5143         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
5144         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
5145         __basename instead of basename.
5146         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
5147         Remove variable.
5148         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5150 2015-05-18  Florian Weimer  <fweimer@redhat.com>
5152         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
5153         (_IO_JUMPS_FILE_plus): New.
5154         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
5155         _IO_CAST_FIELD_ACCESS.
5156         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
5157         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
5158         * libio/freopen.c (freopen): Likewise.
5159         * libio/freopen64.c (freopen64): Likewise.
5160         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
5161         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
5162         * libio/iofwide.c (_IO_fwide): Likewise.
5163         * libio/memstream.c (open_memstream): Likewise.
5164         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5165         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5166         * libio/oldiopopen.c (_IO_old_popen): Likewise.
5168 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
5170         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
5171         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
5172         NADJ.
5173         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
5174         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
5175         NADJ.
5176         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
5177         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
5178         NADJ.
5180         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
5181         (p == 4) case.
5183         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
5184         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
5185         Remove variable.
5186         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5187         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5188         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5190 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5192         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
5193         Adjust jump table label generation macros.
5195 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5197         * stdio-common/vfprintf.c (vfprintf): Move local variables
5198         args_malloced, specs, specs_malloced, and the code after
5199         do_positional to the printf_positional function.
5200         (printf_positional): New function.
5202 2015-05-21  Florian Weimer  <fweimer@redhat.com>
5204         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
5205         function.
5206         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
5207         STEP4_TABLE, process_arg): Move macro definitions
5208         out of the vfprintf function.  (Cosmetic change only.)
5210 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
5212         * benchtests/Makefile (stdio-common-bench): Define.
5213         (benchset): Add stdio-common-bench.
5214         * sprintf-inputs: New file.
5215         * sprintf-source.c: New file.
5217 2015-05-21  Andreas Schwab  <schwab@suse.de>
5219         [BZ #13028]
5220         [BZ #17053]
5221         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
5222         of struct __res_state.
5223         * resolv/res_send.c (__libc_res_nsend): Likewise.
5224         (get_nsaddr): New function.
5225         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
5226         statp directly.
5228 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
5230         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
5231         -D_POSIX_C_SOURCE=199506L.
5233         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
5235         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
5236         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
5237         Do not mention otherwise.
5238         [POSIX] (_XOPEN_VERSION): Do not expect.
5239         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
5240         [POSIX] (_POSIX2_C_BIND): Likewise.
5241         [POSIX] (_POSIX2_VERSION): Likewise.
5242         [POSIX] (_XOPEN_XPG2): Likewise.
5243         [POSIX] (_XOPEN_XPG3): Likewise.
5244         [POSIX] (_XOPEN_XPG4): Likewise.
5245         [POSIX] (_XOPEN_UNIX): Likewise.
5246         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
5247         [POSIX] (_POSIX_BARRIERS): Likewise.
5248         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
5249         [POSIX] (_POSIX_CPUTIME): Likewise.
5250         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
5251         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
5252         [POSIX] (_POSIX_SHELL): Likewise.
5253         [POSIX] (_POSIX_SPAWN): Likewise.
5254         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
5255         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
5256         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
5257         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
5258         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
5259         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
5260         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
5261         [POSIX] (_XBS5_LP64_OFF64): Likewise.
5262         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
5263         [POSIX] (_POSIX_TIMEOUTS): Likewise.
5264         [POSIX] (_POSIX2_PBS): Likewise.
5265         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
5266         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
5267         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
5268         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
5269         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
5270         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
5271         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
5272         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
5273         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
5274         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
5275         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
5276         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
5277         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
5278         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
5279         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
5280         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
5281         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
5282         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
5283         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
5284         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
5285         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
5286         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
5287         [POSIX] (_SC_2_C_BIND): Likewise.
5288         [POSIX] (_SC_2_C_VERSION): Likewise.
5289         [POSIX] (_SC_2_PBS): Likewise.
5290         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
5291         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
5292         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
5293         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
5294         [POSIX] (_SC_2_PBS_TRACK): Likewise.
5295         [POSIX] (_SC_ATEXIT_MAX): Likewise.
5296         [POSIX] (_SC_BARRIERS): Likewise.
5297         [POSIX] (_SC_BASE): Likewise.
5298         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
5299         [POSIX] (_SC_DEVICE_IO): Likewise.
5300         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
5301         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
5302         [POSIX] (_SC_FD_MGMT): Likewise.
5303         [POSIX] (_SC_FIFO): Likewise.
5304         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
5305         [POSIX] (_SC_FILE_LOCKING): Likewise.
5306         [POSIX] (_SC_FILE_SYSTEM): Likewise.
5307         [POSIX] (_SC_IOV_MAX): Likewise.
5308         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
5309         [POSIX] (_SC_NETWORKING): Likewise.
5310         [POSIX] (_SC_PAGE_SIZE): Likewise.
5311         [POSIX] (_SC_PASS_MAX): Likewise.
5312         [POSIX] (_SC_PIPE): Likewise.
5313         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
5314         [POSIX] (_SC_REGEXP): Likewise.
5315         [POSIX] (_SC_SHELL): Likewise.
5316         [POSIX] (_SC_SIGNALS): Likewise.
5317         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
5318         [POSIX] (_SC_SPIN_LOCKS): Likewise.
5319         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
5320         [POSIX] (_SC_USER_GROUPS): Likewise.
5321         [POSIX] (_SC_USER_GROUPS_R): Likewise.
5322         [POSIX] (_SC_STREAMS): Likewise.
5323         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
5324         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
5325         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
5326         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
5327         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
5328         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
5329         [POSIX] (_PC_FILESIZEBITS): Likewise.
5330         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
5331         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
5332         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
5333         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
5334         [POSIX] (uid_t): Likewise.
5335         [POSIX] (gid_t): Likewise.
5336         [POSIX] (off_t): Likewise.
5337         [POSIX] (pid_t): Likewise.
5338         [POSIX] (cuserid): Allow.
5339         (_SC_2_CHAR_TERM): Require constant.
5340         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
5341         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
5342         variable.
5344 2015-05-20  Roland McGrath  <roland@hack.frob.com>
5346         * sysdeps/nacl/pthread-pids.h: New file.
5347         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
5348         (create_thread): Use __nacl_get_tid to initialize PD->tid.
5350         * nptl/pthread-pids.h: New file.
5351         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
5352         * nptl/nptl-init.c: Include <pthread-pids.h>.
5353         (__pthread_initialize_minimal_internal):
5354         Call __pthread_initialize_pids instead of set_tid_address syscall.
5356         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
5357         * sysdeps/posix/usleep.c: ... here.
5359 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5361         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
5362         call_pselect6 object.
5363         [$(subdir) = io]: Remove call_sync_file_range object.
5364         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
5365         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
5366         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
5367         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
5369 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
5371         * math/s_cproj.c: Add include "math_private.h".
5372         * math/s_cprojf.c: Likewise.
5373         * math/s_cprojl.c: Likewise.
5375 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
5377         [BZ #18244]
5378         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
5379         high mantissa bit when testing whether P is a NaN.
5380         * math/libm-test.inc (remainder_test_data): Add more tests.
5381         (remquo_test_data): Likewise.
5383         [BZ #18049]
5384         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
5385         below -32, return the argument, with underflow if subnormal.
5386         * math/auto-libm-test-in: Add more tests of atanh.
5387         * math/auto-libm-test-out: Regenerated.
5389 2015-05-19  Roland McGrath  <roland@hack.frob.com>
5391         [BZ #18434]
5392         * nptl/tst-sem15.c: New file.
5393         * nptl/Makefile (tests): Add it.
5394         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
5395         s/<</>>/ to fix typo in EOVERFLOW check.
5396         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
5398 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5400         * manual/strings.texi (envz_remove): Fix typo in safety
5401         annotations.
5403 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
5404             Steve Ellcey  <sellcey@imgtec.com>
5406         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
5407         in order to avoid strict alias warnings.
5408         (iruserok_af): Ditto for ra.
5410 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
5412         [BZ #17581]
5413         * malloc/hooks.c
5414         (magicbyte): Convert to a function and avoid returning 0x01.
5415         (mem2mem_check): Avoid using a length byte equal to the magic byte.
5416         (mem2chunk_check): Fix unsigned comparisons to zero.
5417         Hoist defs of sz and magic.
5419 2015-05-19  Richard Henderson  <rth@redhat.com>
5421         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
5423         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5425 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5427         [BZ #16159]
5428         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
5429         * malloc/arena.c (arena_lock): Check if arena is corrupt.
5430         (reused_arena): Find a non-corrupt arena.
5431         (heap_trim): Pass arena to unlink.
5432         * malloc/hooks.c (malloc_check_get_size): Pass arena to
5433         malloc_printerr.
5434         (top_check): Likewise.
5435         (free_check): Likewise.
5436         (realloc_check): Likewise.
5437         * malloc/malloc.c (malloc_printerr): Add arena argument.
5438         (unlink): Likewise.
5439         (munmap_chunk): Adjust.
5440         (ARENA_CORRUPTION_BIT): New macro.
5441         (arena_is_corrupt): Likewise.
5442         (set_arena_corrupt): Likewise.
5443         (sysmalloc): Use mmap if there are no usable arenas.
5444         (_int_malloc): Likewise.
5445         (__libc_malloc): Don't fail if arena_get returns NULL.
5446         (_mid_memalign): Likewise.
5447         (__libc_calloc): Likewise.
5448         (__libc_realloc): Adjust for additional argument to
5449         malloc_printerr.
5450         (_int_free): Likewise.
5451         (malloc_consolidate): Likewise.
5452         (_int_realloc): Likewise.
5453         (_int_memalign): Don't touch corrupt arenas.
5454         * malloc/tst-malloc-backtrace.c: New test case.
5456         * Makefile (summarize-tests): Fix return value on success.
5458         * manual/string.texi (Envz Functions): Add envz_remove.
5460 2015-05-18  Roland McGrath  <roland@hack.frob.com>
5462         * sysdeps/posix/opendir.c: Include <stdbool.h>.
5463         (invalid_name): New function, broken out of ...
5464         (__opendirat): ... here.  Call it.
5465         (need_isdir_precheck): New function, broken out of ...
5466         (__opendirat): ... here.  Call it.
5467         Use __fxstatat64, not __xstatat64.
5468         (opendir_oflags): New function, broken out of ...
5469         (__opendirat): ... here.  Call it.
5470         (opendir_tail): New function, broken out of ...
5471         (__opendirat): ... here.  Call it.
5472         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
5473         opendir_tail, rather than punting to __opendirat.
5474         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
5476 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5478         * .gitignore: Ignore generated *.pyc.
5480 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
5482         * include/stdio.h: Define __need_wint_t.
5483         * test-skeleton.c: Avoid `for' loop initial declaration.
5484         * nptl/tst-initializers1.c: Use test-skeleton.c.
5486 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5488         [BZ #18418]
5489         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
5491 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5493         [BZ #16352]
5494         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
5495         (__ieee754_atanh): Force underflow exception for results with
5496         small absolute value.
5497         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
5498         (__ieee754_atanhf): Force underflow exception for results with
5499         small absolute value.
5500         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
5501         (__ieee754_atanh): Force underflow exception for results with
5502         small absolute value.
5503         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
5504         (__ieee754_atanhf): Force underflow exception for results with
5505         small absolute value.
5506         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
5507         (__ieee754_atanhl): Force underflow exception for results with
5508         small absolute value.
5509         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
5510         (__ieee754_atanhl): Force underflow exception for results with
5511         small absolute value.
5512         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
5513         (__ieee754_atanhl): Force underflow exception for results with
5514         small absolute value.
5515         * math/auto-libm-test-in: Do not allow missing underflow
5516         exceptions from atanh.
5517         * math/auto-libm-test-out: Regenerated.
5519         [BZ #18221]
5520         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
5521         2**-28 as threshold for returning x or +/- 1/x.
5522         * math/auto-libm-test-in: Add more tests of tan.
5523         * math/auto-libm-test-out: Regenerated.
5525         [BZ #18220]
5526         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5527         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
5528         * math/auto-libm-test-in: Add another test of lgamma.
5529         * math/auto-libm-test-out: Regenerated.
5531 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
5533         * stdio-common/printf_fp.c (___printf_fp): Use abs.
5534         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
5535         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
5536         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
5537         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
5538         (ADD2A): Use fabs.  (SUB2A): Use fabs.
5539         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
5540         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
5541         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
5542         (log1): Use fabs.  (my_log2): Use fabs.
5543         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
5544         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
5545         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
5546         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
5547         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
5548         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
5549         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
5550         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
5551         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
5552         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
5553         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
5555 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5557         [BZ #18217]
5558         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
5559         as threshold for returning 1 - x.
5560         * math/auto-libm-test-in: Add more tests of erfc.
5561         * math/auto-libm-test-out: Regenerated.
5563 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
5565         [BZ #18196]
5566         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
5567         threshold for large arguments.
5568         * math/auto-libm-test-in: Add another test of atan.
5569         * math/auto-libm-test-out: Regenerated.
5571         [BZ #16339]
5572         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
5573         (__log1p): Force underflow exception for results with small
5574         absolute value.
5575         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
5576         (__log1pf): Force underflow exception for results with small
5577         absolute value.
5578         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
5579         (__log1p): Force underflow exception for results with small
5580         absolute value.
5581         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
5582         (__log1pf): Force underflow exception for results with small
5583         absolute value.
5584         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
5585         (__log1pl): Force underflow exception for results with small
5586         absolute value.
5587         * math/auto-libm-test-in: Do not allow missing underflow
5588         exceptions from log1p.
5589         * math/auto-libm-test-out: Regenerated.
5591 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
5592             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5594         [BZ #16704]
5595         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
5597 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
5599         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
5600         (libmvec): New variable.
5601         * configure.ac: Added option for mathvec build.
5602         * configure: Regenerated.
5603         * mathvec/Depend: New file.
5604         * mathvec/Makefile: New file.
5605         * shlib-versions: Added libmvec.
5606         * math/Makefile: Added rule for libm.so installation.
5608         * bits/math-vector.h: New file.
5609         * bits/libm-simd-decl-stubs.h: New header.
5610         * math/Makefile (headers): Added new header
5611         libm-simd-decl-stubs.h.
5612         * math/math.h (__MATHCALL_VEC): New macro.
5614         * math/gen-libm-have-vector-test.sh: Script generates series of macros
5615         for conditions in testing functions.
5616         * math/Makefile: Added call of libm-have-vector-test.sh.
5617         * math/libm-test.inc (HAVE_VECTOR): New macros.
5619         * math/libm-test.inc: START refactored.
5620         * math/test-double.c (TEST_MATHVEC): Add define.
5621         * math/test-float.c: Likewise.
5622         * math/test-idouble.c: Likewise.
5623         * math/test-ifloat.c: Likewise.
5624         * math/test-ildoubl.c: Likewise.
5625         * math/test-ldouble.c: Likewise.
5626         * sysdeps/generic/math-tests-arch.h
5627         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
5628         architecture check.
5630         * math/test-double.c (FUNC_TEST): New macro.
5631         * math/test-float.c: Likewise.
5632         * math/test-idouble.c: Likewise.
5633         * math/test-ifloat.c: Likewise.
5634         * math/test-ildoubl.c: Likewise.
5635         * math/test-ldouble.c: Likewise.
5636         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
5638 2015-05-13  Roland McGrath  <roland@hack.frob.com>
5640         * sysdeps/nacl/fdopendir.c: New file.
5642         * dirent/scandir-tail.c: New file.
5643         * dirent/scandir64-tail.c: New file.
5644         * dirent/Makefile (routines): Add them.
5645         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
5646         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
5647         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
5648         [!SCANDIR] (SCANDIR_TAIL): New macro.
5649         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
5650         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
5651         (SCANDIRAT): Macro removed.
5652         (SCANDIR_TAIL): New macro.
5653         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
5654         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
5655         (SCANDIRAT): Just call __opendirat and __scandir_tail.
5656         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
5657         (READDIR): Macro removed.
5658         (SCANDIR_TAIL): New macro.
5659         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
5660         (SCANDIR_TAIL): New macro.
5662         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
5663         * dirent/scandir-cancel.c: ... to this new file.
5664         * dirent/Makefile (routines): Add it.
5665         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
5666         * sysdeps/unix/sysv/linux/i386/scandir64.c
5667         (SKIP_SCANDIR_CANCEL): Macro removed.
5668         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
5670         * dirent/tst-scandir.c: New file.
5671         * dirent/tst-scandir64.c: New file.
5672         * dirent/Makefile (tests): Add them.
5674 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5676         [BZ #18409]
5677         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
5679 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5681         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
5682         list.
5684 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
5686         * benchtests/bench-strcoll.c: New benchmark.
5687         * benchtests/Makefile: Generate locales and run benchmark.
5688         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
5689         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5690         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
5691         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
5692         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
5693         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
5694         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
5695         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
5696         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
5697         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
5698         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
5699         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
5700         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
5701         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
5702         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
5703         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
5704         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
5705         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
5706         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
5707         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
5708         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
5709         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
5710         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
5711         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
5713 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
5715         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
5716         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5718 2015-05-12  Roland McGrath  <roland@hack.frob.com>
5720         * posix/uname-values.h: New file.
5721         * posix/uname.c: Include that instead of <config-name.h>.
5722         * sysdeps/nacl/uname-values.h: New file.
5723         * sysdeps/arm/nacl/uname-values.h: New file.
5725 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
5727         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
5728         splitting into fields.
5730 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
5732         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
5733         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
5734         * locale/localeinfo.h: Add enum collation_encoding_type.
5735         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
5736         * programs/ld-collate.c (collate_output): Add encoding type info.
5737         * string/strcoll_l.c (STRDIFF): New function.
5738         * (STRCOLL): Use STRDIFF to skip over equal prefix.
5739         * wcsmbs/wcscoll_l.c: Define STRDIFF.
5741 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
5743         [BZ #18397]
5744         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5745         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
5746         <fpu_control.h> instead of <math/fpu_control.c>.
5747         * sysdeps/mips/mips32/fpu/Makefile: New file.
5749 2015-05-11  Andreas Schwab  <schwab@suse.de>
5751         [BZ #18007]
5752         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5753         nss_endgrent.
5754         (_nss_compat_endgrent): Call nss_endgrent.
5755         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5756         nss_endpwent.
5757         (_nss_compat_endpwent): Call nss_endpwent.
5758         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
5759         needent, call nss_setspent only if non-zero.
5760         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
5761         (internal_endspent): Don't call nss_endspent.
5762         (_nss_compat_endspent): Call nss_endspent.
5763         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
5764         Remove.  All uses removed.
5765         (internal_setent): Remove parameter stayopen, add parameter
5766         stream.  Use it instead of global variable.
5767         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
5768         (internal_endent, internal_getent): Add parameter stream.  Use it
5769         instead of global variable.
5770         (CONCAT(_nss_files_end,ENTNAME))
5771         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
5772         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
5773         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
5774         uses removed.
5775         (internal_setent, internal_endent): Add parameter stream.  Use it
5776         instead of global variable.
5777         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
5778         stream.
5779         (get_next_alias): Add parameter stream.
5780         (_nss_files_getaliasent_r): Pass global stream.
5781         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
5782         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
5783         (_nss_files_gethostbyname4_r): Pass local stream to
5784         internal_setent, internal_getent and internal_endent.  Remove
5785         locking.
5787 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5789         * tst-strfmon1.c (tests): Update expected currency symbol.
5791 2015-05-08  Roland McGrath  <roland@hack.frob.com>
5793         * sysdeps/nacl/gethostname.c: New file.
5795 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
5797         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
5798         and sinh.
5799         * math/auto-libm-test-out: Regenerated.
5800         * sysdeps/i386/fpu/libm-test-ulps: Update.
5801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5803 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
5805         [BZ #18125]
5806         * stdlib/tst-setcontext3.c: New file.
5807         * stdlib/tst-setcontext3.sh: New file.
5808         * stdlib/Makefile (tests): Add tst-setcontext3.
5809         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
5810         to verify test program created output file.
5811         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
5812         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
5813         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
5814         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
5816 2015-05-06  Roland McGrath  <roland@hack.frob.com>
5818         [BZ #18383]
5819         * elf/tst-tlsalign.c: New file.
5820         * elf/tst-tlsalign-static.c: New file.
5821         * elf/tst-tlsalign-lib.c: New file.
5822         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
5823         (tests-static): Add tst-tlsalign-static.
5824         (modules-names): Add tst-tlsalign-lib.
5825         (test-xfail-tst-tlsalign): New variable.
5826         (test-xfail-tst-tlsalign-static): New variable.
5828         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
5829         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
5831 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
5833         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
5834         csqrt, erfc, sin and sincos.
5835         * math/auto-libm-test-out: Regenerated.
5836         * sysdeps/i386/fpu/libm-test-ulps: Update.
5837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5839 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5841         * sysdeps/aarch64/libm-test-ulps: Update.
5843 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
5845         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
5846         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
5847         * math/auto-libm-test-out: Regenerated.
5848         * sysdeps/i386/fpu/libm-test-ulps: Update.
5849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5851 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
5853         [BZ #18265]
5854         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
5855         (wcsncpy): Likewise.
5857 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5859         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5860         Assume __ASSUME_FALLOCATE is always true.
5861         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5862         (__posix_fallocate64_l64): Likweise.
5863         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
5864         (posix_fallocate): Likewise.
5865         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
5866         (__posix_fallocate64_l64): Likewise.
5867         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5868         [!__ASSUME_FALLOCATE]: Add comment.
5870 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5872         * sysdeps/unix/sysv/linux/i386/Makefile
5873         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
5874         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
5875         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
5876         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5877         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5878         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
5879         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
5881 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
5883         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
5884         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
5885         tgamma.
5886         * math/auto-libm-test-out: Regenerated.
5887         * sysdeps/i386/fpu/libm-test-ulps: Update.
5888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5890 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5892         * math/auto-libm-test-in: Add more tests of tgamma.
5893         * math/auto-libm-test-out: Regenerated.
5894         * sysdeps/i386/fpu/libm-test-ulps: Update.
5895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5897         * math/auto-libm-test-in: Add more tests of tanh.
5898         * math/auto-libm-test-out: Regenerated.
5899         * sysdeps/i386/fpu/libm-test-ulps: Update.
5900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5902         * math/auto-libm-test-in: Add more tests of tan.
5903         * math/auto-libm-test-out: Regenerated.
5904         * sysdeps/i386/fpu/libm-test-ulps: Update.
5905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5907         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
5908         * math/auto-libm-test-out: Regenerated.
5909         * sysdeps/i386/fpu/libm-test-ulps: Update.
5910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5912         * math/auto-libm-test-in: Add another test of pow.
5913         * math/auto-libm-test-out: Regenerated.
5914         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5916         * math/auto-libm-test-in: Add more tests of lgamma.
5917         * math/auto-libm-test-out: Regenerated.
5918         * sysdeps/i386/fpu/libm-test-ulps: Update.
5919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5921         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
5922         log1p.
5923         * math/auto-libm-test-out: Regenerated.
5924         * sysdeps/i386/fpu/libm-test-ulps: Update.
5925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5927 2015-05-01  Mark Wielaard  <mjw@redhat.com>
5929         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
5930         Elf64_Chdr structs and ELFCOMPRESS constants.
5932 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5934         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
5935         expm1.
5936         * math/auto-libm-test-out: Regenerated.
5937         * sysdeps/i386/fpu/libm-test-ulps: Update.
5938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5940         * math/auto-libm-test-in: Add more tests of erf and erfc.
5941         * math/auto-libm-test-out: Regenerated.
5942         * sysdeps/i386/fpu/libm-test-ulps: Update.
5943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5945 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5947         * config.h.in (HAVE_AARCH64_BE): Add.
5949 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
5951         * math/auto-libm-test-in: Add more tests of csqrt.
5952         * math/auto-libm-test-out: Regenerated.
5953         * sysdeps/i386/fpu/libm-test-ulps: Update.
5954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5956         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5957         * math/auto-libm-test-out: Regenerated.
5958         * sysdeps/i386/fpu/libm-test-ulps: Update.
5959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5961         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
5963 2015-04-29  Roland McGrath  <roland@hack.frob.com>
5965         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
5966         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
5968         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
5969         (euidaccess, eaccess): Define as weak aliases.
5971         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
5972         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
5973         but __suseconds_t is often 'long int' so some sources assume that
5974         type is being used (e.g. they use %ld to print tv_usec).
5976 2015-04-29  Florian Weimer  <fweimer@redhat.com>
5978         [BZ #18007]
5979         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
5980         (CVE-2014-8121)
5981         * nss/tst-nss-getpwent.c: New file.
5982         * nss/Makefile (tests): Add new test.
5984 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
5986         [BZ #18346]
5987         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
5988         exponents less than 48 as cases where high part of mantissa needs
5989         examining to determine whether argument is integral.
5990         * math/libm-test.inc (round_test_data): Add more tests.
5992 2015-04-28  Mark Wielaard  <mjw@redhat.com>
5994         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
5996 2015-04-27  David S. Miller  <davem@davemloft.net>
5998         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
5999         __tls_get_addr.
6000         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6002 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
6004         [BZ#18333]
6005         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
6007 2015-04-27  Florian Weimer  <fweimer@redhat.com>
6009         [BZ#18333]
6010         * time/tzset.c (parse_tzname): Return error on memory allocation
6011         failure.
6012         * test-skeleton.c (struct temp_name_list): Change type of name
6013         member to non-const.
6014         (add_temp_file): Create a copy of the file name.
6015         (delete_temp_files): Deallocate memory.
6016         (create_temp_file): Add comment.
6018 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6020         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
6021         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
6023 2015-04-24  Roland McGrath  <roland@hack.frob.com>
6025         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
6026         * sysdeps/arm/configure: Regenerated.
6028 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6030         [BZ #17715]
6031         * time/tzfile.c (__tzfile_read): Check for large values of
6032         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
6033         * time/tzset.c (__tzstring_len): New function, based on the old
6034         __tzstring function.
6035         (__tzstring): Call __tzstring_len.
6036         (parse_tzname): New helper function extracted from
6037         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
6038         the input string.
6039         (parse_offset): New helper function extracted from
6040         __tzset_parse_tz.  Replace switch with fallthrough with
6041         initialization before sscanf.
6042         (parse_rule): Likewise.
6043         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
6044         new-style function definition.
6045         * timezone/Makefile (tests): Add tst-tzset.
6046         (tst-tzset.out): Dependencies on time zone files.
6047         (tst-tzset-ENV): Set TZDIR.
6048         (testdata/XT%): Copy crafted time zone files.
6049         * timezone/README: Mention crafted time zone files.
6050         * timezone/testdata/XT1, timezone/testdata/XT2,
6051         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
6052         files.
6053         * timezone/tst-tzset.c: New test.
6055 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6057         * Makeconfig (+gccwarn): Remove -Winline.
6059 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6061         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
6063 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6065         * NEWS: Mention sysconf() cache information support for s390.
6066         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
6068 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
6070         * math/k_casinh.c (__kernel_casinh): Use __copysign.
6071         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
6072         (__nearbyint): Likewise.
6073         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
6074         (copysignl): Likewise.
6076 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
6078         [BZ #18287]
6079         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
6080         based on padding.  (CVE-2015-1781)
6082 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6084         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
6085         libc-vdso.h.
6086         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
6087         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
6088         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
6089         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6090         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6091         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
6092         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
6093         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6094         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6095         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
6096         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
6097         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6098         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6099         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
6100         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6101         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
6102         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
6103         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
6104         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
6105         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
6106         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
6107         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
6108         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
6110 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
6112         * stdlib/setenv.c (__add_to_environ):
6113         Dump core quickly if setenv (..., NULL, ...) is called.
6114         This time, do it the right way, and pacify GCC with a pragma.
6116 2015-04-17  Roland McGrath  <roland@hack.frob.com>
6118         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
6119         IMAP->l_prev cannot be null, and #if out the code for the contrary
6120         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
6121         believe that NS (&_dl_ns[NSID]) could point outside the array.
6123         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
6124         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
6125         before using NSID as an index.
6127 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
6129         [BZ #17825]
6130         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
6131         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6132         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6134 2015-04-17  Roland McGrath  <roland@hack.frob.com>
6136         Add preliminary port to Google Native Client on ARM.
6137         * abi-tags (.*-.*-nacl.*): New entry.
6138         * sysdeps/arm/nacl: New directory.
6139         * sysdeps/nacl: New directory.
6141 2015-04-16  David S. Miller  <davem@davemloft.net>
6143         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
6144         lowlevellock-futex.h
6146 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
6148         * sysdeps/tile/configure.ac: New file.
6149         * sysdeps/tile/configure: Regenerated.
6151 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6153         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
6154         conditionals for weak_alias and libc_hidden_weak.
6155         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
6156         libc_hidden_weak and weak_alias.
6157         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
6158         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
6159         and weak_alias for static one.
6161 2015-04-15  David S. Miller  <davem@davemloft.net>
6163         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6165 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6167         [BZ #18206]
6168         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
6169           Use signed comparision instead of substraction to avoid
6170           overflow bug.
6171         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
6172           Take the sign of ret.
6173         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
6174           Do not expect precise return values. Only the sign matters.
6175         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
6176         * wcsmbs/test-wcsncmp.c: New File.
6177         * string/test-strncmp.c: Add wcsncmp support.
6179 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6181         [BZ #6792]
6182         * math/w_log1p.c: New file.
6183         * math/w_log1pf.c: Likewise.
6184         * math/w_log1pl.c: Likewise.
6185         * math/Makefile (libm-calls): Add w_log1p.
6186         * math/s_log1pl.c (log1pl): Remove weak_alias.
6187         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
6188         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
6189         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
6190         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
6191         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
6192         [NO_LONG_DOUBLE] (log1pl): Likewise.
6193         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
6194         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
6195         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
6196         (log1p): Remove long_double_symbol.
6197         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
6198         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
6199         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
6200         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
6201         remove weak_alias for corresponding log1p function.
6202         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
6203         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
6204         * sysdeps/ia64/fpu/w_log1p.c: New file.
6205         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
6206         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
6207         * math/libm-test.inc (log1p_test_data): Add errno expectations.
6209 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
6211         [BZ #18247]
6212         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
6213         decimal exponent by 1.
6214         * stdlib/tst-strtod-round-data: Add more tests.
6215         * stdlib/tst-strtod-round.c (tests): Regenerated.
6217 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
6219         * math/auto-libm-test-in: Add more tests of clog and clog10.
6220         * math/auto-libm-test-out: Regenerated.
6221         * sysdeps/i386/fpu/libm-test-ulps: Update.
6222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6224 2015-04-09  Roland McGrath  <roland@hack.frob.com>
6226         * Makeconfig (module-cppflags): Exclude all .v.i files.
6227         (skip-module-cppflags): Variable removed.
6229         * configure.ac (libc_config_ok): Initialize before reading
6230         preconfigure scripts, not after.
6231         * configure: Regenerated.
6233         * test-skeleton.c (TIMEOUT): Move #define to top level.
6234         (main): Grok environment variable TEST_DIRECT.  If set, print
6235         test expectation details into that file and then behave as if
6236         given --direct.
6238 2015-04-09  Florian Weimer  <fweimer@redhat.com>
6240         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
6241         warning on 32-bit.
6243 2015-04-08  David S. Miller  <davem@davemloft.net>
6245         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6247 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
6249         * math/auto-libm-test-in: Add more tests of atanh.
6250         * math/auto-libm-test-out: Regenerated.
6251         * sysdeps/i386/fpu/libm-test-ulps: Update.
6252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6254         * math/auto-libm-test-in: Add more tests of atan.
6255         * math/auto-libm-test-out: Regenerated.
6256         * sysdeps/i386/fpu/libm-test-ulps: Update.
6257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6259 2015-04-08  Florian Weimer  <fweimer@redhat.com>
6261         * elf/pldd.c (main): Rewrite to use struct
6262         scratch_buffer instead of extend_alloca.
6263         * elf/pldd-xx.c (find_maps): Likewise.
6264         * grp/initgroups.c: Include <scratch_buffer.h> instead of
6265         <alloca.h>.
6266         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
6267         scratch_buffer instead of extend_alloca.
6268         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
6269         grp/compat-initgroups.c.
6270         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
6271         Rewrite to use struct scratch_buffer instead of extend_alloca.
6272         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
6273         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6275 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
6277         * math/auto-libm-test-in: Add more tests of cbrt.
6278         * math/auto-libm-test-out: Regenerated.
6279         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6281         * math/auto-libm-test-in: Add more tests of cabs.
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         [BZ #18210]
6287         [BZ #18211]
6288         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
6289         (__ieee754_atan2): Set FE_TONEAREST mode for internal
6290         computations.
6291         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
6292         clog10.
6293         * math/auto-libm-test-out: Regenerated.
6294         * sysdeps/i386/fpu/libm-test-ulps: Update.
6295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6297         [BZ #18197]
6298         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
6299         (atan): Set FE_TONEAREST mode for internal computations.
6300         * math/auto-libm-test-in: Add more tests of atan.
6301         * math/auto-libm-test-out: Regenerated.
6303 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
6305         [BZ #17930]
6306         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
6308 2015-04-07  Florian Weimer  <fweimer@redhat.com>
6310         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
6312 2015-04-07  Florian Weimer  <fweimer@redhat.com>
6314         * include/scratch_buffer.h: New file.
6315         * malloc/scratch_buffer_grow.c: Likewise.
6316         * malloc/scratch_buffer_grow_preserve.c: Likewise.
6317         * malloc/scratch_buffer_set_array_size.c: Likewise.
6318         * malloc/tst-scratch_buffer.c: Likewise.
6319         * malloc/Makefile (routines): Add scratch_buffer_grow.
6320         (tests): Add test case.
6321         * malloc/Versions (GLIBC_PRIVATE): Export
6322         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
6323         __libc_scratch_buffer_set_array_size.
6325 2015-04-06  Richard Henderson  <rth@redhat.com>
6327         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
6328         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6330         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
6331         unsigned int before printing.
6333 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6335         [BZ #17596]
6336         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
6337         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6339 2015-04-02  Florian Weimer  <fweimer@redhat.com>
6341         * include/libc-internal.h (libc_max_align_t): Define.
6343 2015-04-02  Andreas Schwab  <schwab@suse.de>
6345         [BZ #16850]
6346         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
6348 2015-04-02  Mel Gorman  <mgorman@suse.de>
6350         [BZ #17195]
6351         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
6352         as well as the main arena.
6354 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6356         [BZ #18185]
6357         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
6358         sharing L2 cache to 2 for Silvermont/Knights Landing.
6360 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6362         [BZ #17711]
6363         * config.make.in (have-protected-data): New.
6364         * configure.ac: Check linker support for protected data symbol.
6365         * configure: Regenerated.
6366         * elf/Makefile (modules-names): Add tst-protected1moda and
6367         tst-protected1modb if $(have-protected-data) is yes.
6368         (tests): Add tst-protected1a and tst-protected1b if
6369         $(have-protected-data) is yes.
6370         ($(objpfx)tst-protected1a): New.
6371         ($(objpfx)tst-protected1b): Likewise.
6372         (tst-protected1modb.so-no-z-defs): Likewise.
6373         * elf/tst-protected1a.c: New file.
6374         * elf/tst-protected1b.c: Likewise.
6375         * elf/tst-protected1mod.h: Likewise.
6376         * elf/tst-protected1moda.c: Likewise.
6377         * elf/tst-protected1modb.c: Likewise.
6379 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6381         [BZ #17711]
6382         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
6383         indicates it is called from do_lookup_x on relocation against
6384         protected data, skip the data definion in the executable from
6385         copy reloc.
6386         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
6387         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
6388         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
6389         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
6390         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
6391         otherwise to 0.
6392         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6393         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
6394         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
6395         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6396         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
6397         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
6399 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
6401         * sysdeps/nptl/pthread.h: Remove duplicate definition of
6402         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
6404 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
6406         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
6407         THREAD_SETMEM_NC.
6408         * sysdeps/x86_64/nptl/tls.h: Ditto.
6410 2015-03-27  Roland McGrath  <roland@hack.frob.com>
6412         * dlfcn/tststatic.c (main): Converted to ...
6413         (do_test): ... this.
6414         (TEST_FUNCTION): New macro.
6415         Include test-skeleton.c.
6417 2015-03-26  Alan Modra  <amodra@gmail.com>
6419         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
6420         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
6421         zero for undefined weak.
6422         (elf_machine_plt_conflict): Similarly.
6424 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6426         * math/auto-libm-test-in: Add more tests of acosh, asinh and
6427         atanh.
6428         * math/auto-libm-test-out: Regenerated.
6429         * sysdeps/i386/fpu/libm-test-ulps: Update.
6430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6432         * math/auto-libm-test-in: Add another test of asin.
6433         * math/auto-libm-test-out: Regenerated.
6434         * sysdeps/i386/fpu/libm-test-ulps: Update.
6435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6437         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
6438         Remove macro.
6439         (LLL_EBX_REG): Likewise.
6440         (LLL_ENTER_KERNEL): Likewise.
6442         * math/auto-libm-test-in: Add more tests of asin.
6443         * math/auto-libm-test-out: Regenerated.
6444         * sysdeps/i386/fpu/libm-test-ulps: Update.
6445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6447         [BZ #18138]
6448         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
6449         libc_do_syscall_args): New structure.
6450         (INTERNAL_SYSCALL_MAIN_0): New macro.
6451         (INTERNAL_SYSCALL_MAIN_1): Likewise.
6452         (INTERNAL_SYSCALL_MAIN_2): Likewise.
6453         (INTERNAL_SYSCALL_MAIN_3): Likewise.
6454         (INTERNAL_SYSCALL_MAIN_4): Likewise.
6455         (INTERNAL_SYSCALL_MAIN_5): Likewise.
6456         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
6457         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
6458         Replace conditional definitions by conditional definitions of ....
6459         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
6460         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
6461         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
6462         (libpthread-sysdep_routines): Add libc-do-syscall.
6463         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
6464         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
6465         to __NR_futex not 240.
6467 2015-03-25  Alan Modra  <amodra@gmail.com>
6469         * NEWS: Advertise TLS optimization.
6470         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
6471         (DT_PPC_NUM): Increment.
6472         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
6473         (CHECK_STATIC_TLS): Use here.
6474         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
6475         TLS descriptors.
6476         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6477         * sysdeps/powerpc/dl-tls.c: New file.
6478         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
6479         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
6480         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
6481         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
6482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
6483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6486 2015-03-25  Alan Modra  <amodra@gmail.com>
6488         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
6489         for overlapping .opd entries" to "support...".
6490         * sysdeps/powerpc/powerpc64/configure: Regenerate
6492 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6494         * math/auto-libm-test-in: Add more tests of acos.
6495         * math/auto-libm-test-out: Regenerated.
6496         * sysdeps/i386/fpu/libm-test-ulps: Update.
6497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6499         * math/auto-libm-test-in: Add more tests of expm1.
6500         * math/auto-libm-test-out: Regenerated.
6501         * sysdeps/i386/fpu/libm-test-ulps: Update.
6502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6504 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
6506         * math/auto-libm-test-in: Add more tests of cosh and sinh.
6507         * math/auto-libm-test-out: Regenerated.
6508         * sysdeps/i386/fpu/libm-test-ulps: Update.
6509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6511         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6514         * math/auto-libm-test-in: Add more tests of log2.
6515         * math/auto-libm-test-out: Regenerated.
6516         * sysdeps/i386/fpu/libm-test-ulps: Update.
6517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6519 2015-03-23  Roland McGrath  <roland@hack.frob.com>
6521         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
6522         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
6523         _IO_IS_APPENDING bit in READ_WRITE instead.
6525 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6527         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6528         (__determine_cpumask_size): Replace extend_alloca with a
6529         variable-length array.  Do not treat res == 0 as an error.
6531 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6533         [BZ #18100]
6534         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
6535         and integer overflow.
6536         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
6537         (main): Add integer overflow tests.
6538         * manual/pattern.texi (Calling Wordexp): Document additional use
6539         for WRDE_SYNTAX.
6541 2015-03-23  Alan Modra  <amodra@gmail.com>
6543         * config.h.in: Remove HAVE_ASM_PPC_REL16.
6544         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
6545         and false branch of conditional.
6546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6547         Likewise.
6549 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
6551         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
6552         libc-modules.h
6553         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
6554         unused declaration of _hurd_intr_rpc_msg_in_trap.
6555         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
6556         defined instead of whether it is non-zero.
6557         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
6558         input constraint instead of both input and output constraint.  Use ecx
6559         clobber instead of %ecx.
6560         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
6561         mutex_unlock): Use a statement expression instead of an expression list.
6562         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
6563         type to vm_size_t instead of vm_address_t.
6564         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
6565         defined instead of whether it is non-zero.
6566         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
6567         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
6568         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
6569         comparisons with mapaddr.
6570         * nscd/nscd-client.h: Include <time.h>.
6571         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
6572         9th parameter to __vm_region instead of int.
6573         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
6574         * scripts/check-local-headers.sh (exclude): Add device/,
6575         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
6576         cthreads.h.
6578 2015-03-19  Roland McGrath  <roland@hack.frob.com>
6580         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
6581         to account for alignment padding.
6582         * sysdeps/arm/memmove.S: Likewise.
6584 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
6586         * sysdeps/unix/sysv/linux/generic/README: New file.
6588 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
6590         [BZ #18138]
6591         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
6592         (futex_abstimed_wait)
6593         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
6594         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
6595         of lll_futex_timed_wait.
6597 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
6599         [BZ #17542]
6600         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
6602 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
6604         [BZ #17090]
6605         [BZ #17620]
6606         [BZ #17621]
6607         [BZ #17628]
6608         * NEWS: Update.
6609         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
6610         entries with Static TLS too.  Skip entries past the end of the
6611         allocated DTV, from Alan Modra.
6612         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
6613         Static TLS DTV entry set up from...
6614         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
6615         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
6616         * nptl/allocatestack.c (init_one_static_tls): ... and here...
6617         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
6618         for Static TLS.
6619         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
6620         that the slot we find is associated with the given map before
6621         using its generation count.
6622         * nptl_db/db_info.c: Include ldsodefs.h.
6623         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
6624         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
6625         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
6626         (link_map::l_tls_offset): New struct field.
6627         (dtv_t::counter): Likewise.
6628         (rtld_global): New struct.
6629         (_rtld_global): New rtld variable.
6630         (dl_tls_dtv_slotinfo_list): New rtld global field.
6631         (dtv_slotinfo_list): New struct.
6632         (dtv_slotinfo): Likewise.
6633         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
6634         (td_lookup): Rename to...
6635         (td_mod_lookup): ... this.  Use new mod parameter instead of
6636         LIBPTHREAD_SO.
6637         * nptl_db/td_thr_tlsbase.c: Include link.h.
6638         (dtv_slotinfo_list, dtv_slotinfo): New functions.
6639         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
6640         addresses even if the DTV is out of date or missing them.
6641         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
6642         index zero-length arrays.
6643         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
6644         (td_lookup): Make it a macro implemented in terms of...
6645         (td_mod_lookup): ... this declaration.
6646         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
6647         (DB_MAIN_VARIABLE): Likewise.
6649 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6651         [BZ #18134]
6652         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6654 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
6656         * stdlib/setenv.c (__add_to_environ): Revert previous change.
6658 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6660         [BZ #18128]
6661         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
6662         (atomic_add, atomic_increment_and_test)
6663         (atomic_decrement_and_test): Fix 64-bit arithmetic.
6665 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
6667         * stdlib/setenv.c (__add_to_environ):
6668         Dump core quickly if setenv (..., NULL, ...) is called.
6670 2015-03-13  Roland McGrath  <roland@hack.frob.com>
6672         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
6673         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
6674         all the necessary asm magic in one place.
6675         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
6676         using those.
6678 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
6680         [BZ #14906]
6681         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
6682         traced file mtime. Use consistent log message.
6683         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
6684         (register_traced_file): Call install_watches. Always set mtime.
6685         (invalidate_cache): Iterate over all trace files. Call install_watches.
6686         (inotify_check_files): Don't inline. Handle watching parent
6687         directories and configuration file movement in and out.
6688         (handle_inotify_events): New function.
6689         (main_loop_poll): Call handle_inotify_events.
6690         (main_loop_epoll): Likewise.
6691         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
6692         (struct traced_file): Use array of inotify fds. Add parent directory,
6693         and basename.
6694         (struct database_dyn): Remove unused file_mtime.
6695         (init_traced_file): New inline function.
6696         (define_traced_file): New macro.
6697         * nss/nss_db/db-init.c: Use define_traced_file.
6698         (_nss_db_init): Use init_traced_file.
6699         * nss/nss_files/files-init.c: Use define_traced_file.
6700         (_nss_files_init): Use init_traced_file.
6702 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
6704         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
6705         [_LIBC]: Do not include <stdlib.h>.
6706         [!_LIBC] (abort): Remove declaration.
6707         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
6708         _FP_STATIC_ASSERT instead of conditionally calling abort.
6709         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
6710         (_FP_EXTEND_CNAN): Likewise.
6711         (FP_TRUNC): Likewise.
6712         (__FP_CLZ): Likewise.
6713         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
6715 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
6717         * manual/string.texi (XPG basename): Fix prototype.
6719 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6721         [BZ #18080]
6722         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
6723         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6724         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
6725         (__setcontext): Likewise.
6726         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
6727         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6728         Call rt_sigprocmask syscall one time to set new signal mask
6729         and retrieve the current signal mask instead of two calls.
6730         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
6731         (__swapcontext): Likewise.
6732         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
6733         * stdlib/tst-setcontext2.c: New file.
6735 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6737         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6739 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
6741         [BZ #18093]
6742         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6743         the wrong size.
6745 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6747         [BZ #18043]
6748         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6750 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6752         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6753         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6754         Remove define.
6755         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6756         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6757         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6758         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
6759         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
6760         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
6761         define.
6762         * nptl_db/td_symbol_list.c (td_lookup): Remove
6763         HAVE_ASM_GLOBAL_DOT_NAME code.
6764         * sysdeps/powerpc/powerpc64/configure.ac: Remove
6765         HAVE_ASM_GLOBAL_DOT_NAME check.
6766         * sysdeps/powerpc/powerpc64/configure: Regenerate.
6767         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
6768         (DOT_LABEL): Remove define.
6769         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
6770         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
6771         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
6772         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
6773         (__TLS_GET_ADDR): Likewise.
6774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
6775         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
6777 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
6779         [BZ #18111]
6780         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
6781         (_FPU_SETCW): Initialize cw from fpsr before storing.
6782         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
6783         (fesetexceptflag): Rewrite using fpu_control.h.
6784         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
6786 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
6788         [BZ #18110]
6789         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
6790         asms.
6791         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6793 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
6795         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
6796         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
6797         abort.
6798         (_FP_FMA): Likewise.
6799         (_FP_DIV): Likewise.
6801 2015-03-10  Roland McGrath  <roland@hack.frob.com>
6803         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
6804         with 0 in that case.
6805         * Makefile (summarize-tests): New canned sequence, factored out of
6806         commands for targets tests and xtests.  Display summary lines that
6807         don't start with PASS: or XFAIL: rather than ones that do start with
6808         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
6809         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
6810         do start with ERROR: or FAIL:.
6811         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
6812         (except for [$(build-shared) = yes]).
6813         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
6814         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
6815         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
6816         * nptl/Makefile: Revert 2015-03-04 changes.
6817         [$(CXX) empty] (tests-unsupported): New variable.
6818         * debug/Makefile: Likewise.
6820         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
6821         gnulib file.  Replace __attribute with __attribute__ throughout.
6823 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
6825         * sysdeps/hppa/fpu/libm-test-ulps: Update.
6827 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6829         [BZ #18104]
6830         * math/auto-libm-test-in: Add another test of pow.
6831         * math/auto-libm-test-out: Regenerated.
6833 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6835         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
6836         $(config-cflags-nofma).
6838 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6840         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
6841         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
6842         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
6843         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
6844         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
6845         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
6846         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
6847         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
6848         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
6849         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
6850         Add comment on closing #endif.
6852 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6854         * posix/wordexp.c (CHAR_IN_SET): New macro.
6855         (parse_param): Use it.
6857 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6859         * sysdeps/powerpc/fpu/libm-test-ulps: update.
6861 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6863         [BZ #18043]
6864         * posix/wordexp.c (parse_param): Fix buffer overflow.
6865         * posix/wordexp-test.c (test_case): Add test case.
6867 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6869         [BZ #18042]
6870         * posix/wordexp.c (parse_backtick): Fix off-by-one.
6871         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
6873 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6875         [BZ #18043]
6876         * posix/wordexp-test.c (test_case): Add test for BZ #18043
6877         (do_bz18043): Delete.
6878         (at_page_end): New.
6879         (testit): Refactor to have words at the edge of unreadable page.
6881 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6883         [BZ #16734]
6884         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
6885         Cleanup read-only streams as well.
6886         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
6888 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6890         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
6891         <bits/libc-lockP.h>
6893 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
6895         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
6896         on [__KERNEL__].
6897         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
6898         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
6899         * soft-fp/op-common.h (_FP_DECL): Likewise.
6901 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6903         * elf/ifuncdep2.c (global): Replace
6904         __attribute__((visibility("protected"))) with
6905         asm (".protected global").
6906         * elf/ifuncmod1.c (global): Likewise.
6907         * elf/ifuncmod5.c (global): Likewise.
6909 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
6911         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
6912         <asm/sfp-machine.h> instead of <sfp-machine.h>.
6914 2015-03-06  Roland McGrath  <roland@hack.frob.com>
6916         * manual/install.texi (Configuring and compiling):
6917         Document test-wrapper-env-only.
6918         * INSTALL: Regenerated.
6920 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6922         [BZ #18043]
6923         * posix/wordexp.c (parse_param): Fix buffer overflow.
6924         * posix/wordexp-test.c (do_bz18043): Add test case.
6926 2015-03-06  Vincent Bernat  <vincent@bernat.im>
6928         * time/tst-strptime2.c (do_test): Ensure failing tests are
6929         reported correctly.
6930         * time/tst-strptime3.c (do_test): Likewise.
6932 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
6934         Fix aio_error thread-safety.
6935         * sysdeps/pthread/aio_error.c: New file
6936         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
6937         synchronization.
6939 2015-03-06  Florian Weimer  <fweimer@redhat.com>
6941         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
6942         (group_number, vfprintf): Use it.
6943         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
6944         (JUMP, REF): Use it.
6945         (WORK_BUFFER_SIZE): New enum constant.
6946         (process_arg, vfprintf): Use it.
6948 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
6950         * manual/errno.texi (Error Messages): Complete example function
6951         by adding missing #define.
6952         (program_invocation_name): Add statement indicating GNU
6953         extension and reference which header file declares the variable.
6954         (program_invocation_short_name): Likewise.
6956 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
6958         * manual/errno.texi (Error Messages): Delete strerror ISO C89
6959         compatibility note.
6961 2015-03-05  Roland McGrath  <roland@hack.frob.com>
6963         * Makeconfig (test-wrapper-env-only): New variable.
6964         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
6965         then use that with $(test-wrapper-env-only) rather than using
6966         $(test-wrapper-env) $(run-program-env) $($*-ENV).
6968 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
6970         [BZ #18082]
6971         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
6972         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
6973         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
6974         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
6975         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
6976         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
6977         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
6978         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6979         Likewise.
6980         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
6981         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
6982         Likewise.
6983         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
6984         Likewise.
6985         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
6986         Likewise.
6987         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
6988         Likewise.
6989         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
6990         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
6991         Likewise.
6992         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
6993         Likewise.
6994         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
6995         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
6997 2015-03-04  Roland McGrath  <roland@hack.frob.com>
6999         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
7000         (ETH_ALEN): New macro.
7001         (struct ether_addr): Use it for length of ether_addr_octet.
7003         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
7004         (setdb): Don't call __nss_configure_lookup for "rpc".
7005         (do_test): Don't call test_rpc.
7006         (output_rpcent, test_rpc): Functions moved ...
7007         * sunrpc/test-rpcent.c: ... to this new file.
7008         * sunrpc/Makefile (tests): Add it.
7010         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
7011         __xpg_sigpause.
7012         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
7013         * nptl/tst-signal6.c: Likewise.
7014         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
7015         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
7017         * configure.ac (libc_cv_cxx_link_ok): New check.
7018         Reset CXX to empty if it fails to link.
7019         * configure: Regenerated.
7020         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
7021         bug-atexit3-lib only if $(CXX) is nonempty.
7022         * nptl/Makefile (tests): Likewise for tst-cancel24.
7023         (tests, tests-static): Likewise for tst-cancel24-static.
7024         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
7025         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
7026         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
7027         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
7029 2015-03-04  Andreas Schwab  <schwab@suse.de>
7031         [BZ #17631]
7032         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
7033         for non-GCC compilers.
7034         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7035         Likewise.
7037 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7039         [BZ #17776]
7040         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
7041         integer before bitwise and assembly operations.
7042         (feclearexcept): Likewise.
7043         * math/test-fenvinline.c: New file.
7044         * math/Makefile: Add test-fenvinline test.
7046 2015-03-03  Alan Modra  <amodra@gmail.com>
7048         [BZ #16512]
7049         * scripts/localplt.awk: Strip off symbol version.
7050         * NEWS: Mention bug fix.
7052 2015-03-02  Roland McGrath  <roland@hack.frob.com>
7054         * sysdeps/pthread/timer_routines.c
7055         (timer_free_list, thread_free_list, thread_active_list): Make static.
7057 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
7059         [BZ #17779]
7060         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7061         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7062         Undefine.
7063         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7064         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7065         Likewise.
7066         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7067         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7068         Likewise.
7070 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
7072         [BZ #18036]
7073         * posix/fnmatch_loop.c (END): Detect invalid pattern.
7074         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
7076 2015-03-02  Andreas Schwab  <schwab@suse.de>
7078         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
7079         variable name.
7081 2015-03-02  Florian Weimer  <fweimer@redhat.com>
7083         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
7084         Return error status.
7086 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
7088         [BZ #15969]
7089         * locale/findlocale.c (_nl_find_locale): Introduce const
7090         version of loc_name and drop unsafe type casts.
7092 2015-02-27  Roland McGrath  <roland@hack.frob.com>
7094         * dlfcn/tststatic2.c (main): Converted to ...
7095         (do_test): ... this.
7096         (TEST_FUNCTION): New macro.
7097         Include test-skeleton.c.
7099 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
7101         [BZ #17711]
7102         * elf/Makefile (tests): Add vismain only if PIE is enabled.
7103         (tests-pie): Add vismain.
7104         (CFLAGS-vismain.c): New.
7105         * elf/vismain.c: Add comments for PIE requirement.
7107 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
7109         [BZ #18046]
7110         [BZ #18047]
7111         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
7112         0x1p-56L as threshold for just returning the argument.
7113         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
7114         0x1p-32L as threshold for just returning the argument.
7115         * math/auto-libm-test-in: Add more tests of atanh.
7116         * math/auto-libm-test-out: Regenerated.
7117         * sysdeps/i386/fpu/libm-test-ulps: Update.
7118         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
7120 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
7122         * string/bcopy.c (bcopy): Call memmove for performance.
7124 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
7126         * string/bzero.c (__bzero): Call memset for performance.
7128 2015-02-27  John David Anglin  <dave.anglin@bell.net>
7130         [BZ #18068]
7131         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
7132         to 00100000.
7134 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
7136         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
7138 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
7140         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
7141         (__kernel_standard): Use CSTR macro when setting exc.name.
7142         * sysdeps/ieee754/Makefile [$(subdir) = math]
7143         (CFLAGS-k_standard.c): Remove variable.
7145         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
7146         setting p and q from "else if" to "else".
7147         (qzero): Likewise.
7148         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
7149         (qone): Likewise.
7150         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
7151         (qzerof): Likewise.
7152         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
7153         (qonef): Likewise.
7154         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
7155         (qzero): Likewise.
7156         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
7157         (qone): Likewise.
7159         [BZ #18038]
7160         [BZ #18039]
7161         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
7162         return pi/2 for arguments below 0x1p-113L.
7163         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
7164         return pi/2 for arguments below 0x1p-106L.
7165         * math/auto-libm-test-in: Add more tests of acos.
7166         * math/auto-libm-test-out: Regenerated.
7168         [BZ #16351]
7169         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
7170         (MO): New macro.
7171         (__ieee754_asin): Force underflow exception for results with small
7172         absolute value.
7173         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
7174         (MO): New macro.
7175         (__ieee754_asinf): Force underflow exception for results with
7176         small absolute value.
7177         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
7178         (__ieee754_asin): Force underflow exception for results with small
7179         absolute value.
7180         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
7181         (__ieee754_asinf): Force underflow exception for results with
7182         small absolute value.
7183         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
7184         (__ieee754_asinl): Force underflow exception for results with
7185         small absolute value.
7186         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
7187         (__ieee754_asinl): Force underflow exception for results with
7188         small absolute value.
7189         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
7190         (__ieee754_asinl): Force underflow exception for results with
7191         small absolute value.
7192         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
7193         Include <math.h>.
7194         * math/auto-libm-test-in: Do not mark underflow exceptions as
7195         possibly missing for bug 16351.
7196         * math/auto-libm-test-out: Regenerated.
7198         [BZ #18030]
7199         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
7200         of power of 2 down when low part has opposite sign.
7201         * math/libm-test.inc (logb_test_data): Add more tests.
7203 2015-02-26  Andreas Schwab  <schwab@suse.de>
7205         [BZ #18032]
7206         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
7207         over collating symbol inside a bracket expression.  Minor cleanup.
7208         * posix/tst-fnmatch3.c (do_test): Add test case.
7210 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
7212         [BZ #18029]
7213         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
7214         Adjust exponent of power of 2 down when low part has opposite
7215         sign.
7216         * math/libm-test.inc (ilogb_test_data): Add more tests.
7218 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
7220         [BZ #15969]
7221         * locale/findlocale.c (_nl_find_locale): Fix constness error in
7222         the previous change.
7224         [BZ #15969]
7225         * locale/findlocale.c (_nl_find_locale): Retry archive search
7226         after alias expansion.
7228 2015-02-25  Roland McGrath  <roland@hack.frob.com>
7230         * iconv/tst-iconv3.c (main): Converted to ...
7231         (do_test): ... this.
7232         (TEST_FUNCTION): New macro.
7233         Include test-skeleton.c.
7235         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
7236         (convert): Make function static.
7237         (test_unalign): Likewise.  Add const to argument pointee types.
7238         (main): Replace with static function do_test.
7239         Print "Succeeded." only if RET is zero.
7240         (TEST_FUNCTION): New macro.
7241         Include test-skeleton.c.
7243         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
7244         returns a null pointer.
7246 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7248         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
7249         to __memcpy_ppc only for static builds.
7251 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
7253         [BZ #18020]
7254         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
7255         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
7256         * math/auto-libm-test-in: Add more tests of asinh.
7257         * math/auto-libm-test-out: Regenerated.
7258         * sysdeps/i386/fpu/libm-test-ulps: Update.
7259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7261 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
7263         [BZ #15850]
7264         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
7265         and ip6_mtuinfo definitions here.
7266         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
7267         in this define too.  Update comment.
7269 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
7271         * elf/sprof.c (load_shobj): Tweak error message to match others.
7273 2015-02-24  Kevin Easton  <kevin@guarana.org>
7275         [BZ #16145] (partial fix)
7276         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
7277         to reduce lock contention.
7279 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
7281         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
7282         (struct timex): Update time comment.
7283         (ADJ_SETOFFSET): Define.
7285 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
7287         [BZ #18019]
7288         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7289         2**56 not 2**28 as threshold for log (2x) formula.
7290         * math/auto-libm-test-in: Add more tests of acosh.
7291         * math/auto-libm-test-out: Regenerated.
7292         * sysdeps/i386/fpu/libm-test-ulps: Update.
7293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7295 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7297         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
7298         parenthesis around the buf assignment.
7299         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
7301 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
7303         [BZ #16783]
7304         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
7305         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
7306         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
7307         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7308         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7309         * math/libm-test.inc (scalb_test_data): Add more tests.
7311 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7313         [BZ #17916]
7314         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
7315         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
7317 2015-02-24  Eric Rannaud  <e@nanocritical.com>
7319         [BZ #17523]
7320         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
7321         * io/bits/fcntl2.h (open): Use it.
7322         (openat): Likewise.
7323         * io/open.c (__libc_open): Likewise.
7324         * io/open64.c (__libc_open64): Likewise.
7325         * io/open64_2.c (__open64_2): Likewise.
7326         * io/open_2.c (__open_2): Likewise.
7327         * io/openat.c (__openat): Likewise.
7328         * io/openat64.c (__openat64): Likewise.
7329         * io/openat64_2.c (__openat64_2): Likewise.
7330         * io/openat_2.c (__openat_2): Likewise.
7331         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
7332         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7333         * sysdeps/posix/open64.c (__libc_open64): Likewise.
7334         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7335         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
7336         (__open_nocancel): Likewise.
7337         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
7338         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
7339         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
7341 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7343         [BZ #14841]
7344         * resolv/gethnamaddr.c (getanswer): Skip logging if
7345         RES_USE_DNSSEC is set.
7346         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7348 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7350         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
7352 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
7354         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7355         201304L, for Unicode 7.
7357 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
7359         [BZ #17836]
7360         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
7361         shared library.  Add gmon-start.os otherwise.
7362         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
7363         $(objpfx)gmon-start.os if builing shared library.
7364         ($(objpfx)g$(static-start-installed-name)): Likewise.
7366 2015-02-23  Andreas Schwab  <schwab@suse.de>
7368         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
7370 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
7372         [BZ #17269]
7373         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
7374         (enlarge_userbuf): Likewise.
7376 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
7378         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
7379         * math/atest-exp.c (TIMEOUT): Adjust to 200.
7380         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
7381         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
7383 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
7385         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
7386         expression inside statement expression.
7388 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7390         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
7391         <sysdeps/nptl/lowlevellock.h> and remove macros and
7392         functions that are now defined there.
7393         (SYS_futex): Remove.
7394         (lll_compare_and_swap): Remove.
7395         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
7397 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
7399         [BZ #17999]
7400         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
7401         instead of scandirat.
7402         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
7403         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
7404         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
7405         __scandirat.
7406         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
7407         (__scandirat): Declare.  Use libc_hidden_proto.
7408         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
7409         Remove variable.
7410         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7412 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7414         [BZ #15319]
7415         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
7416         (MO): New macro.
7417         (__ieee754_atan2): For results with small absolute value, force
7418         underflow exception and remove excess range and precision from
7419         return value.
7420         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
7421         (MO): New macro.
7422         (__ieee754_atan2f): For results with small absolute value, force
7423         underflow exception and remove excess range and precision from
7424         return value.
7425         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
7426         (MO): New macro.
7427         (__atan): For results with small absolute value, force underflow
7428         exception and remove excess range and precision from return value.
7429         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
7430         (MO): New macro.
7431         (__atanf): For results with small absolute value, force underflow
7432         exception and remove excess range and precision from return value.
7433         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
7434         <math.h>.
7435         (__ieee754_atan2): Force underflow exception for results with
7436         small absolute value.
7437         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
7438         <math_private.h>.
7439         (atan): Force underflow exception for results with small absolute
7440         value.
7441         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
7442         (__atanf): Force underflow exception for results with small
7443         absolute value.
7444         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
7445         <math.h>.
7446         (__atanl): Force underflow exception for results with small
7447         absolute value.
7448         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
7449         (__atanl): Force underflow exception for results with small
7450         absolute value.
7451         * sysdeps/x86/fpu/bits/mathinline.h
7452         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
7453         (__ieee754_atan2): Only define inline for long double.
7454         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
7455         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
7456         * math/auto-libm-test-in: Do not mark underflow exceptions as
7457         possibly missing for bug 15319.  Add more tests of atan2.
7458         * math/auto-libm-test-out: Regenerated.
7459         * math/libm-test.inc (casin_test_data): Do not mark underflow
7460         exceptions as possibly missing for bug 15319.
7461         (casinh_test_data): Likewise.
7462         * sysdeps/i386/fpu/libm-test-ulps: Update.
7464 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
7466         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
7467         * sysdeps/mips/bits/endian.h: Fix comments.
7469 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7471         [BZ #17996]
7472         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
7473         (hdestroy_r): Likewise.
7474         (hsearch_r): Likewise.
7475         (__hcreate_r): Declare and use libc_hidden_proto.
7476         (__hdestroy_r): Likewise.
7477         (__hsearch_r): Likewise.
7478         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
7479         (hcreate): Call __hcreate_r instead of hcreate_r.
7480         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
7481         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
7482         as weak alias of __hcreate_r.
7483         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
7484         __hdestroy_r.
7485         (hsearch_r): Rename to __hsearch_r and define as weak alias of
7486         __hsearch_r.
7487         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
7488         Remove variable.
7489         (test-xfail-XPG4/search.h/linknamespace): Likewise.
7490         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7491         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7492         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7494 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7496         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
7497         arena_lock into a single arena_get.
7499 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
7501         * dl-reloc.c: Inlucde libc-internal.h.
7502         (_dl_try_allocate_static_tls): Call ALIGN_UP.
7503         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
7504         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
7505         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
7506         (grow_heap): Likewise.
7507         * malloc/malloc.c: Include libc-internal.h.
7508         (do_check_malloc): Call powerof2.
7509         (sysmalloc): Use pagesize. Call ALIGN_UP.
7510         (systrim): Use pagesize.
7511         (mremap_chunk): Use pagesize. Call ALIGN_UP.
7512         (__libc_valloc): Use pagesize.
7513         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
7515 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7517         [BZ #17991]
7518         * include/sys/resource.h (__getrlimit64): Declare.  Use
7519         libc_hidden_proto.
7520         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
7521         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
7522         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
7523         getrlimit64.
7524         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
7525         __getrlimit64.
7526         [!getrlimit64] (getrlimit64): Define as weak alias of
7527         __getrlimit64.  Use libc_hidden_weak.
7528         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
7529         using __getrlimit64 not __new_getrlimit64.
7530         (__GI_getrlimit64): Likewise.
7531         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
7532         Likewise.
7533         (__GI_getrlimit64): Likewise.
7534         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
7535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
7536         (getrlimit): Add __getrlimit64 alias.
7537         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
7538         Likewise.
7539         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
7540         Remove variable.
7541         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7542         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7544 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
7546         * libio/fileops.c: Add missing sys/mman.h
7547         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
7549 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7551         * manual/math.texi (Errors in Math Functions): Clarify goals
7552         regarding inexact and underflow exceptions.
7554 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7556         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
7557         * sysdeps/mips/memset.S: Ditto.
7559 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7561         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
7563 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7565         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
7566         (__v1longjmp): Remove versioned symbol.
7567         (__v1siglongjmp): Remove alias and versioned symbol.
7568         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
7569         (__v2siglongjmp): Likewise.
7571 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7573         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
7575 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
7577         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
7579 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7581         [BZ #17987]
7582         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
7583         zero result does not depend on the sign resulting from
7584         subtraction.
7585         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7586         Likewise.
7587         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7588         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7589         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7590         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7591         * math/libm-test.inc (remquo_test_data): Add more tests.
7593 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
7595         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
7596         Problem reported by J William Piggott.
7598 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7600         [BZ #17978]
7601         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
7602         products 4 * y and 2 * y where those would overflow.
7603         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7604         Likewise.
7605         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7606         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7607         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7608         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7609         * math/libm-test.inc (remquo_test_data): Add more tests.
7611         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
7613         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
7614         [defined _COMPILING_NEWLIB].
7615         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
7616         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
7618         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
7619         [!defined __mips_isa_rev || __mips_isa_rev < 6].
7621 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7623         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
7624         acquired.
7626 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
7628         [BZ #17792]
7629         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
7630         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
7631         HOST_STACK_END_ADDR): Likewise.
7633 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
7635         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
7636         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
7637         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
7639 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7641         * sysdeps/generic/c++-types.data: New file.
7642         * sysdeps/generic/ld.abilist: New file.
7643         * sysdeps/generic/libBrokenLocale.abilist: New file.
7644         * sysdeps/generic/libanl.abilist: New file.
7645         * sysdeps/generic/libc.abilist: New file.
7646         * sysdeps/generic/libcrypt.abilist: New file.
7647         * sysdeps/generic/libdl.abilist: New file.
7648         * sysdeps/generic/libm.abilist: New file.
7649         * sysdeps/generic/libpthread.abilist: New file.
7650         * sysdeps/generic/libresolv.abilist: New file.
7651         * sysdeps/generic/librt.abilist: New file.
7653 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7655         [BZ #17569]
7656         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7657         Compute absolute value of x as modified by fmod, not original
7658         value of x.
7659         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
7660         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
7661         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
7662         RUN_TEST_ffI_f1_mod8.
7663         (remquo_test_data): Add more tests.
7665 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7667         * sysdeps/init_array/pt-crti.S: New file.
7669 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7671         [BZ #17967]
7672         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
7673         __builtin_fmaf instead of relying on contraction of a * b + c.
7675 2015-02-12  J William Piggott  <elseifthen@gmx.com>
7677         [BZ #17969]
7678         * manual/time.texi: correct the zoneinfo path in the TZ Variable
7679         node.
7681 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7683         [BZ #17964]
7684         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
7685         __builtin_fma instead of relying on contraction of a * b + c.
7687 2015-02-12  Roland McGrath  <roland@hack.frob.com>
7689         * Makeconfig (ASFLAGS): Add -Werror=undef.
7690         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
7691         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
7692         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
7694         * Makeconfig (after-link): New variable.
7695         (+link-pie, +link-pie-tests): Use it.
7696         (+link-static, +link-static-tests): Likewise.
7697         (+link, +link-tests): Likewise.
7698         * Makerules (build-module, build-module-asneeded): Likewise.
7699         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
7700         Likewise.
7701         * elf/Makefile ($(objpfx)ld.so): Likewise.
7703 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
7705         [BZ #17965]
7706         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
7707         both struct timeval and struct timespec.
7709 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7711         [BZ #16560]
7712         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7713         and redefine.
7714         (__ieee754_exp2l): Do not multiply small fractional parts by
7715         M_LN2l.
7716         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
7717         small argument.
7718         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7719         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7720         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
7721         * math/auto-libm-test-in: Add more tests of exp2.
7722         * math/auto-libm-test-out: Regenerated.
7724 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7726         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
7727         unaligned path.
7729 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7731         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
7732         little endian.
7734 2015-02-12  Andreas Schwab  <schwab@suse.de>
7736         [BZ #15790]
7737         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7738         Filter out elision flags from value returned in kind.
7739         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
7740         * nptl/tst-pthread-mutexattr.c: New file.
7742 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7744         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7745         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7746         into gnu-gnu, and update comment to refer to abi-tags.
7748 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
7750         [BZ #15467]
7751         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7752         (__sincos): Set errno to EDOM for infinite argument.
7753         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7754         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7755         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7756         (__sincosl): Set errno to EDOM for infinite argument.
7757         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7758         (__sincosl): Set errno to EDOM for infinite argument.
7759         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
7760         (__sincosl): Set errno to EDOM for infinite argument.
7761         * math/libm-test.inc (sincos_test_data): Test errno setting.
7763 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
7765         * string/strxfrm_l.c: Remove #define STRCMP.
7766         * string/strcoll_l.c: Remove #define STRLEN.
7767         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
7768         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7770 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
7772         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
7773         * sysdeps/mips/mips32/sfp-machine.h: ... here.
7774         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
7775         * sysdeps/mips/mips64/Makefile: ... here.
7776         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
7777         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
7778         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
7779         * sysdeps/mips/mips64/sfp-machine.h: ... here.
7780         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
7781         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
7782         * sysdeps/mips/mips64/n64/Implies: Likewise.
7784 2015-02-10  Roland McGrath  <roland@hack.frob.com>
7786         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
7787         <sys/time.h>, <string.h>, and <errno.h>.
7788         (dest_offset, dest_address, value, zero): Remove unused variables.
7789         (ldouble): Remove typedef.
7790         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
7791         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
7792         1).  Fix code style.
7793         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
7794         (check): Function removed.
7795         (CHECK): New macro.
7796         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
7797         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
7798         Don't call set_sigaction_FP and remove_sigaction_FP here.
7799         (ldouble_test): Just use 'long double' as macro argument, no need for
7800         the 'ldouble' typedef.
7801         (do_test): Set up SIGFPE handler at start, using plain signal rather
7802         than sigaction.  Fix code style.
7804 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
7806         [BZ #17949]
7807         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
7808         jump label.
7810 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7812         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
7813         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7815         * sysdeps/powerpc/configure.ac: Remove file.
7816         * sysdeps/powerpc/configure: Likewise.
7818         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7819         [sysdep_routines]: Remove wordcopy-power6 object.
7820         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7821         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
7822         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
7823         (__memmove_ppc32): Likewise.
7824         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
7825         file.
7826         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
7827         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
7828         Remove preprocessor.
7830         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7831         [sysdep_routines]: Remove wide chars objects.
7832         [wcsmbs]: New rule for wide char objects.
7834         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7835         Remove wordcopy-power6 obejct.
7836         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
7837         Use local call for wordcopy and memcpy symbols.
7838         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
7839         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
7840         implementation for loader.
7841         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
7843         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7844         Remove wordcopy-power7 object.
7845         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
7846         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
7847         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
7848         (_wordcopy_fwd_dest_aligned): Likewise.
7849         (_wordcopy_bwd_aligned): Likewise.
7850         (_wordcopy_bwd_dest_aligned): Likewise.
7852         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
7853         Rewrite to call __memmove_ppc instead of include default
7854         implementation.
7856         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7857         Remove wide chars objects.
7858         [wcsmbs]: New rule for wide char objects.
7860 2015-02-09  Andreas Schwab  <schwab@suse.de>
7862         [BZ #17912]
7863         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7864         in terms of __O_DIRECTORY.
7866 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7868         * time/getdate.c: Include <stdbool.h>.
7869         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
7870         call PTR_MANGLE.
7871         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
7872         PTR_DEMANGLE.
7874 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
7876         Add ersatz _Static_assert on older C hosts
7877         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
7878         pre-C11 C platform that is not known to support _Static_assert.
7880 2015-02-07  Richard Braun  <rbraun@sceen.net>
7882         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
7883         sigstate.
7884         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
7886 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7888         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
7889         priority against unexistent AIO_PRIO_DELTA_MAX.
7890         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
7891         instead of int.
7892         * misc/fchflags.c (fchflags): Likewise.
7893         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
7894         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
7895         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
7896         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
7897         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
7898         Declare macros.
7899         [__USE_MISC] (chflags, fchflags): Declare functions.
7900         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
7901         EINVAL when nfds is greater than FD_SETSIZE.
7902         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
7903         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
7904         45.
7905         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
7906         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
7907         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
7908         MACH_RCV_TIMED_OUT.
7909         * hurd/hurd/signal.h (_hurd_self_sigstate,
7910         _hurd_critical_section_lock, _hurd_critical_section_unlock):
7911         Explicit casts from void *.
7912         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
7913         * abi-tags: Rename gnu-gnu os into gnu.
7915         [BZ #4719]
7916         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
7917         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
7918         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
7919         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
7920         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
7921         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
7923         [BZ #17944]
7924         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
7925         duplicates ADDR->sun_path with sockaddr LEN limitation.
7926         * sysdeps/mach/hurd/connect.c: Include <string.h>
7927         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
7928         * sysdeps/mach/hurd/sendmsg.c: Likewise.
7929         * sysdeps/mach/hurd/sendto.c: Likewise.
7930         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
7931         implementing it by hand.
7933 2015-02-06  Roland McGrath  <roland@hack.frob.com>
7935         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
7936         Use sfi_breg on ldr.
7937         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
7938         Likewise.
7940         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
7941         it's defined.
7942         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
7943         Test SIGSETXID only if it's defined.
7945         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
7947         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
7948         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
7950         * nptl/tst-align2.c: Moved ...
7951         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
7952         * nptl/Makefile (tests): Remove tst-align2.
7953         * sysdeps/unix/sysv/linux/Makefile
7954         [$(subdir) = nptl] (tests): Add tst-align-clone.
7955         * nptl/tst-getpid1.c: Moved ...
7956         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
7957         * nptl/tst-getpid2.c: Moved ...
7958         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
7959         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
7960         * sysdeps/unix/sysv/linux/Makefile
7961         [$(subdir) = nptl] (tests): ... here.
7962         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
7963         * sysdeps/unix/sysv/linux/Makefile
7964         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
7966         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
7967         Drop trailing \n from perror argument.  Use return rather than exit.
7969         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
7970         on [SA_SIGINFO].
7971         * nptl/tst-cancel21.c (do_test): Likewise.
7972         * debug/tst-backtrace6.c: Include <signal.h> first thing.
7973         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
7974         [!SA_SIGINFO]: Make it a stub test.
7976         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
7977         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
7979         * posix/tst-getlogin.c: Move to ...
7980         * login/tst-getlogin.c: ... here.
7981         * posix/Makefile (tests): Move tst-getlogin to ...
7982         * login/Makefile (tests): ... here.
7984         * libio/tst-atime.c (do_test): Move local variables SV and E
7985         inside [ST_NOATIME] conditional.
7987         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
7989         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
7991         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
7992         (wait_code): New function replaces macro.
7993         Call nanosleep rather than syscall.
7995         * nptl/pt-system.c: Rewritten.  Put everything under
7996         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7997         Use IFUNC to redirect when possible.
7999         * nptl/pt-longjmp.c: Rewritten.  Put everything under
8000         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8001         Use IFUNC to redirect when possible.
8003         * nptl/pt-fork.c: Rewritten.  Put everything under
8004         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8005         Use IFUNC to redirect when possible.
8006         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
8008         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
8009         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
8010         unconditionally nowadays.  This included the only reference to
8011         __vdso_clock_gettime that appears outside libc proper.
8012         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
8013         Remove version set (containing only __vdso_clock_gettime).
8014         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
8015         Add attribute_hidden.
8016         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
8017         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
8018         libc_hidden_data_def.
8019         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8020         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8022         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
8023         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
8024         setrpcent, and getrpcport to ...
8025         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
8026         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
8027         getrpcbynumber_r, and getrpcent_r to ...
8028         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
8029         * inet/getrpcbyname.c: Moved ...
8030         * sunrpc/getrpcbyname.c: ... here.
8031         * inet/getrpcbyname_r.c: Moved ...
8032         * sunrpc/getrpcbyname_r.c: ... here.
8033         * inet/getrpcbynumber.c: Moved ...
8034         * sunrpc/getrpcbynumber.c: ... here.
8035         * inet/getrpcbynumber_r.c: Moved ...
8036         * sunrpc/getrpcbynumber_r.c: ... here.
8037         * inet/getrpcent.c: Moved ...
8038         * sunrpc/getrpcent.c: ... here.
8039         * inet/getrpcent_r.c: Moved ...
8040         * sunrpc/getrpcent_r.c: ... here.
8041         * inet/Makefile (routines): Move those to ...
8042         * sunrpc/Makefile (routines): ... here.
8043         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
8044         the $(subdirs) list.
8045         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
8046         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
8047         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
8048         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
8050         * elf/Makefile (routines): Include $(all-dl-routines), not just
8051         $(dl-routines).
8052         (rtld-routines): Likewise.  Use = rather than :=.
8053         * sysdeps/aarch64/Makefile [$(subdir) = elf]
8054         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
8055         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
8056         * sysdeps/arm/Makefile: Likewise.
8057         * sysdeps/i386/Makefile: Likewise.
8058         * sysdeps/x86_64/Makefile: Likewise.
8059         * sysdeps/hppa/Makefile [$(subdir) = elf]
8060         (sysdep_routines, sysdep-rtld-routines): Don't add
8061         $(sysdep-dl-routines) to these.
8062         * sysdeps/ia64/Makefile: Likewise.
8063         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
8064         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
8065         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
8066         Don't add dl-static to these; sysdep-dl-routines alone is enough.
8067         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
8068         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
8069         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
8070         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
8071         * sysdeps/powerpc/Makefile [$(subdir) = elf]
8072         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
8073         these; sysdep-dl-routines alone is enough.
8075 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
8077         [BZ #17932]
8078         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
8079         where multiplication results in zero and third argument is finite
8080         and nonzero.
8081         * math/auto-libm-test-in: Add more tests of fma.
8082         * math/auto-libm-test-out: Regenerated.
8084         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
8085         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
8086         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
8087         (_FP_CMP_EQ): Likewise.
8088         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
8090         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
8091         extra argument CHECK_NAN.  Redefine as wrapper around
8092         _FP_EXTEND_CNAN.
8094 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
8096         * version.h (RELEASE): Set to "stable".
8097         (VERSION): Set to "2.21"
8098         * include/features.h (__GLIBC_MINOR__): Set to 21.
8100         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
8102 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8103             Paul Eggert  <eggert@cs.ucla.edu>
8105         [BZ #16618]
8106         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
8107         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
8108         size in bytes. Store needed elements in wpmax. Use needed size
8109         in bytes for extend_alloca.
8111 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
8113         * manual/install.texi: Latest tested versions are GCC 4.9.2,
8114         binutls 2.25, and texinfo 5.2.
8115         * INSTALL: Regenerate.
8116         * sysdeps/nios2/configure: Regenerate.
8117         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
8118         * manual/contrib.texi: Update.
8119         * po/be.po: Update.
8120         * po/bg.po: Update.
8121         * po/ca.po: Update.
8122         * po/cs.po: Update.
8123         * po/da.po: Update.
8124         * po/de.po: Update.
8125         * po/el.po: Update.
8126         * po/eo.po: Update.
8127         * po/es.po: Update.
8128         * po/fi.po: Update.
8129         * po/fr.po: Update.
8130         * po/gl.po: Update.
8131         * po/hr.po: Update.
8132         * po/hu.po: Update.
8133         * po/ia.po: Update.
8134         * po/id.po: Update.
8135         * po/it.po: Update.
8136         * po/ja.po: Update.
8137         * po/ko.po: Update.
8138         * po/lt.po: Update.
8139         * po/nb.po: Update.
8140         * po/nl.po: Update.
8141         * po/pl.po: Update.
8142         * po/pt_BR.po: Update.
8143         * po/ru.po: Update.
8144         * po/rw.po: Update.
8145         * po/sk.po: Update.
8146         * po/sl.po: Update.
8147         * po/sv.po: Update.
8148         * po/tr.po: Update.
8149         * po/uk.po: Update.
8150         * po/vi.po: Update.
8151         * po/zh_CN.po: Update.
8152         * po/zh_TW.po: Update.
8154         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
8155         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
8156         * sysdeps/hppa/dl-irel.h: Remove #warning.
8157         * sysdeps/hppa/entry.h: Provide prototype for
8158         __canonicalize_funcptr_for_compare and cast argument.
8159         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
8160         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
8161         * sysdeps/hppa/sotruss-lib.c: New file.
8162         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
8163         (atomic_compare_and_exchange_val_acq): Use __typeof__.
8164         (atomic_compare_and_exchange_bool_acq): Likewise.
8165         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
8166         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
8168         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
8169         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
8170         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
8172 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
8174         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
8175         called function in non-PIC case.
8177 2015-01-31  David S. Miller  <davem@davemloft.net>
8179         * sysdeps/sparc/sparc32/bits/atomic.h
8180         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
8181         unlock not after it.
8182         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
8183         volatile register usage warnings from the compiler.
8185         * sysdeps/sparc/nptl/sem_init.c: Delete.
8186         * sysdeps/sparc/nptl/sem_post.c: Delete.
8187         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
8188         * sysdeps/sparc/nptl/sem_wait.c: Delete.
8189         * sysdeps/sparc/sparc32/sem_init.c: New file.
8190         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
8191         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
8192         padding explicitly initialized.
8193         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
8194         padding for in-semaphore spinlock.
8195         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
8196         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
8197         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
8198         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
8199         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
8200         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
8201         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
8202         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
8203         version.
8204         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
8205         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
8207 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
8209         [BZ #17801]
8210         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8211         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
8212         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
8213         New.
8214         (index_AVX_Fast_Unaligned_Load): Likewise.
8215         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
8216         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
8217         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
8218         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
8219         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
8220         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
8221         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
8222         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
8223         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
8225 2015-01-29  Andreas Schwab  <schwab@suse.de>
8227         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
8229 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
8231         [BZ #17892]
8232         * nscd/nscd_stat.c (send_stats): Initialize DATA.
8234 2015-01-28  Martin Sebor  <msebor@redhat.com>
8236         * math/README.libm-test: Clarify. Add "How to read the test output."
8238 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
8240         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
8241         Define to 0.
8243 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
8245         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
8246         (__HAVE_64B_ATOMICS): Define to 0.
8248 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8250         [BZ #17885]
8251         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
8252         value to set as new flag.
8254         [BZ #16576]
8255         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
8256         and use _ARCH_PPCSQ instead.
8257         (__ieee754_sqrt): Likewise.
8258         (__ieee754_sqrtf): Likewise.
8259         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
8260         _ARCH_PPCSQ is defined.
8261         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
8262         fsqrt instruction.
8263         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
8264         _ARCH_PPCSQ is defined.
8265         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
8266         fsqrts instruction.
8267         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
8269 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8271         * iconv/loop.c: Suppress array out of bound warning caused by GCC
8272         bug (GCC BZ #64739).
8274 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
8276         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
8277         Mark _retval as used.
8278         (lll_futex_wake_unlock): Likewise.
8279         (lll_futex_timed_wait_requeue_pi): Likewise.
8281         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8282         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
8283         register variables.
8285         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
8286         libm_hidden_def.
8288         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
8289         (__bswap_64): Mark as __always_inline.
8291 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
8293         [BZ #15378]
8294         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
8295         when none of the search directories exist.
8297 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8299         [BZ #17869]
8300         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
8301         power8 in .machine directive.
8303         [BZ #17868]
8304         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
8305         set dependency from opd value.
8307 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
8309         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8310         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
8311         architecture.
8313 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
8315         [BZ #17870]
8316         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
8317         with uint64_t.
8318         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
8319         (uint64_t) 1.
8320         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
8321         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
8322         Replace 1UL with (uint64_t) 1.
8323         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
8324         int with uint64_t.
8326 2015-01-23  Roland McGrath  <roland@hack.frob.com>
8328         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
8329         (if_freenameindex): Likewise.
8331         * resource/getrlimit64.c: Add missing libc_hidden_def.
8333 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
8335         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
8336         __label__.
8337         (_FP_FMA): Likewise.
8338         (_FP_TO_INT_ROUND): Likewise.
8339         (_FP_FROM_INT): Likewise.
8341 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8343         [BZ #16418]
8344         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
8345         Make code racy and cancel safe.
8347 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
8349         * sysdeps/arm/unwind-resume.h: Fix copyright year.
8350         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
8351         attribution.
8353         * pwd/tst-getpw.c: Rewrite.
8355         [BZ #17702]
8356         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
8357         (modules-names): Add moddummy1 and moddummy2.
8358         ($(objpfx)tst-rec-dlopen): Define.
8359         * dlfcn/moddummy1.c: New file.
8360         * dlfcn/moddummy2.c: New file.
8361         * dlfcn/tst-rec-dlopen.c: New file.
8362         * elf/dl-cache.c (_dl_load_cache_lookup):
8363         Return char*. Copy result with alloca/strcpy/strdup.
8364         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
8365         returns char*. Free cached. If not saving realname
8366         free cached.
8367         * elf/dl-open.c (dl_open_worker): Do not assert that
8368         _r_debug->r_state is RT_CONSISTENT.
8369         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
8370         returns char*.
8372 2015-01-21  Torvald Riegel  <triegel@redhat.com>
8373             Carlos O'Donell  <carlos@redhat.com>
8375         [BZ #12674]
8376         * nptl/sem_waitcommon.c: New file.
8377         * nptl/sem_wait.c: Include sem_waitcommon.c.
8378         (__sem_wait_cleanup, do_futex_wait): Remove.
8379         (__new_sem_wait): Adapt.
8380         (__new_sem_trywait): New function.
8381         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
8382         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
8383         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
8384         (sem_timedwait): Adapt.
8385         * nptl/sem_post.c (__new_sem_post): Adapt.
8386         (futex_wake): New function.
8387         (__old_sem_post): Add release MO fence.
8388         * nptl/sem_open.c (sem_open): Adapt.
8389         * nptl/sem_init.c (__new_sem_init): Adapt.
8390         (futex_private_if_supported): New function.
8391         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
8392         (__old_sem_getvalue): Add using previous code.
8393         * sysdeps/nptl/internaltypes.h: Adapt.
8394         * nptl/tst-sem13.c (do_test): Adapt.
8395         * nptl/tst-sem11.c (main): Adapt.
8396         * nptl/sem_trywait.c: Remove.
8397         * nptl/DESIGN-sem.txt: Remove.
8398         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
8399         (gen-as-const-headers): Remove structsem.sym.
8400         * nptl/structsem.sym: Remove.
8401         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
8402         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
8403         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
8404         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
8405         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
8406         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
8407         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
8408         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
8409         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
8410         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
8411         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
8412         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
8413         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
8414         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
8415         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
8416         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
8417         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
8418         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
8419         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
8420         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
8421         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
8422         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
8424 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
8426         * INSTALL: Regenerated.
8428         * po/libc.pot: Regenerated.
8430 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
8431             Sandra Loosemore  <sandra@codesourcery.com>
8432             Andrew Jenner  <andrew@codesourcery.com>
8433             Joseph Myers  <joseph@codesourcery.com>
8434             Nathan Sidwell  <nathan@codesourcery.com>
8436         * NEWS: Mention new Nios II port.
8437         * sysdeps/nios2/Implies: New file.
8438         * sysdeps/nios2/Makefile: New file.
8439         * sysdeps/nios2/Subdirs: New file.
8440         * sysdeps/nios2/Versions: New file.
8441         * sysdeps/nios2/__longjmp.S: New file.
8442         * sysdeps/nios2/abort-instr.h: New file.
8443         * sysdeps/nios2/backtrace.c: New file.
8444         * sysdeps/nios2/bits/endian.h: New file.
8445         * sysdeps/nios2/bits/fenv.h: New file.
8446         * sysdeps/nios2/bits/link.h: New file.
8447         * sysdeps/nios2/bits/setjmp.h: New file.
8448         * sysdeps/nios2/bsd-_setjmp.S: New file.
8449         * sysdeps/nios2/bsd-setjmp.S: New file.
8450         * sysdeps/nios2/configure: New generated file.
8451         * sysdeps/nios2/configure.ac: New file.
8452         * sysdeps/nios2/crti.S: New file.
8453         * sysdeps/nios2/crtn.S: New file.
8454         * sysdeps/nios2/dl-init.c: New file.
8455         * sysdeps/nios2/dl-machine.h: New file.
8456         * sysdeps/nios2/dl-sysdep.h: New file.
8457         * sysdeps/nios2/dl-tls.h: New file.
8458         * sysdeps/nios2/dl-trampoline.S: New file.
8459         * sysdeps/nios2/gccframe.h: New file.
8460         * sysdeps/nios2/gmp-mparam.h: New file.
8461         * sysdeps/nios2/jmpbuf-offsets.h: New file.
8462         * sysdeps/nios2/jmpbuf-unwind.h: New file.
8463         * sysdeps/nios2/ldsodefs.h: New file.
8464         * sysdeps/nios2/libc-tls.c: New file.
8465         * sysdeps/nios2/libm-test-ulps: New file.
8466         * sysdeps/nios2/machine-gmon.h: New file.
8467         * sysdeps/nios2/math-tests.h: New file.
8468         * sysdeps/nios2/math_private.h: New file.
8469         * sysdeps/nios2/memusage.h: New file.
8470         * sysdeps/nios2/nptl/Makefile: New file.
8471         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
8472         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
8473         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
8474         * sysdeps/nios2/nptl/pthreaddef.h: New file.
8475         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
8476         * sysdeps/nios2/nptl/tls.h: New file.
8477         * sysdeps/nios2/preconfigure: New file.
8478         * sysdeps/nios2/s_fma.c: New file.
8479         * sysdeps/nios2/s_fmaf.c: New file.
8480         * sysdeps/nios2/setjmp.S: New file.
8481         * sysdeps/nios2/sfp-machine.h: New file.
8482         * sysdeps/nios2/sotruss-lib.c: New file.
8483         * sysdeps/nios2/stackguard-macros.h: New file.
8484         * sysdeps/nios2/stackinfo.h: New file.
8485         * sysdeps/nios2/start.S: New file.
8486         * sysdeps/nios2/sysdep.h: New file.
8487         * sysdeps/nios2/tls-macros.h: New file.
8488         * sysdeps/nios2/tst-audit.h: New file.
8489         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
8490         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
8491         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
8492         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
8493         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
8494         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
8495         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
8496         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
8497         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
8498         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
8499         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
8500         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
8501         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
8502         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
8503         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
8504         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
8505         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
8506         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
8507         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
8508         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
8509         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
8510         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
8511         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
8512         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
8513         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
8514         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
8515         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
8516         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
8517         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
8518         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
8519         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
8520         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
8521         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
8522         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
8523         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
8524         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
8525         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
8526         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
8527         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
8528         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
8529         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
8530         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
8531         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
8532         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
8534 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8536         [BZ #17844]
8537         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
8538         (getutent): Use weak_alias in non SHARED case
8539         and default_symbol_version in SHARED case.
8540         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
8541         (getutent_r, pututline): Likewise.
8542         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
8543         (getutid): Likewise.
8544         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
8545         (getutid_r): Likewise.
8546         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
8547         (getutline): Likewise.
8548         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
8549         (getutline_r): Likewise.
8550         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
8551         (updwtmp): Likewise.
8553 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8555         [BZ #17848]
8556         * sysdeps/s390/s390-32/memcmp.S
8557         (memcmp_g5): Rename to __memcmp_g5.
8558         * sysdeps/s390/s390-32/memcpy.S
8559         (memcpy_g5): Rename to __memcpy_g5.
8560         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8561         (memcpy_mvcle) Rename to __memcpy_mvcle.
8562         * sysdeps/s390/s390-32/memset.S
8563         (memset_g5): Rename to __memset_g5.
8564         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8565         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8566         and use prefixed functions.
8567         * sysdeps/s390/s390-32/multiarch/memcmp.S
8568         (memcmp_z196): Rename to __memcmp_z196.
8569         (memcmp_z10): Rename to __memcmp_z10.
8570         (memcmp): Set alias to __memcmp_g5.
8571         (bcmp): Set alias to __memcmp_g5.
8572         * sysdeps/s390/s390-32/multiarch/memcpy.S
8573         (memcpy_z196): Rename to __memcpy_z196.
8574         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8575         (memcpy_z10): Rename to __memcpy_z10.
8576         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8577         (memcpy): Set alias to __memcpy_g5.
8578         * sysdeps/s390/s390-32/multiarch/memset.S
8579         (memset_z196): Rename to __memset_z196.
8580         Jump to __memset_mvcle instead of memset_mvcle.
8581         (memset_z10): Rename to __memset_z10.
8582         Jump to __memset_mvcle instead of memset_mvcle.
8583         (memset_mvcle) Rename to __memset_mvcle.
8584         (memset): Set alias to __memset_g5.
8585         * sysdeps/s390/s390-64/memcmp.S
8586         (memcmp_z900): Rename to __memcmp_z900.
8587         * sysdeps/s390/s390-64/memcpy.S
8588         (memcpy_z900): Rename to __memcpy_z900.
8589         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8590         (memcpy_mvcle) Rename to __memcpy_mvcle.
8591         * sysdeps/s390/s390-64/memset.S
8592         (memset_z900): Rename to __memset_z900.
8593         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
8594         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8595         and use prefixed functions.
8596         * sysdeps/s390/s390-64/multiarch/memcmp.S
8597         (memcmp_z196): Rename to __memcmp_z196.
8598         (memcmp_z10): Rename to __memcmp_z10.
8599         (memcmp): Set alias to __memcmp_z900.
8600         (bcmp): Set alias to __memcmp_z900.
8601         * sysdeps/s390/s390-64/multiarch/memcpy.S
8602         (memcpy_z196): Rename to __memcpy_z196.
8603         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8604         (memcpy_z10): Rename to __memcpy_z10.
8605         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8606         (memcpy): Set alias to __memcpy_z900.
8607         * sysdeps/s390/s390-64/multiarch/memset.S
8608         (memset_z196): Rename to __memset_z196.
8609         Jump to __memset_mvcle instead of memset_mvcle.
8610         (memset_z10): Rename to __memset_z10.
8611         Jump to __memset_mvcle instead of memset_mvcle.
8612         (memset_mvcle) Rename to __memset_mvcle.
8613         (memset): Set alias to __memset_z900.
8615 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
8617         [BZ #17748]
8618         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
8619         __fesetenv instead of fesetenv.
8621 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8623         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
8624         macro.
8626 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8628         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
8629         regression on LE.
8631         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
8632         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
8633         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8634         strncmp-power8 object.
8635         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8636         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
8637         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
8638         * NEWS: Update.
8640 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8641             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8643         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
8644         trailing byte check.
8646 2015-01-13  David S. Miller  <davem@davemloft.net>
8648         * include/signal.h (__sigreturn): Guard with __USE_MISC.
8650 2015-01-13  Roland McGrath  <roland@hack.frob.com>
8652         * login/logout.c (logout): Use memset rather than bzero.
8653         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
8654         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
8655         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
8656         (_gethtbyaddr): Likewise.
8657         * locale/programs/simple-hash.c (bcopy): Macro removed.
8659 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8661         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8662         Add strcmp-power8 object.
8663         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8664         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
8665         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
8666         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
8667         __strcmp_power8 implementation.
8668         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
8669         * NEWS: Update.
8671         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8672         Add strncpy-power8 and stpncpy-power8 objects.
8673         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8674         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
8675         implementations.
8676         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
8677         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
8678         __stpncpy_power8 implementation.
8679         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
8680         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
8681         __strncpy_power8 implementation.
8682         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
8683         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
8684         * NEWS: Update.
8686         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
8687         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
8688         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
8690         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8691         strncat-power8 object.
8692         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
8693         __strcat_power8 implementation.
8694         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8695         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
8696         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
8697         optimized strcat for power8.
8699         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8700         strcpy-power8 and stpcpy-power8 objects.
8701         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8702         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
8703         implementations.
8704         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
8705         multiarch stpcpy implementation for POWER8.
8706         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
8707         multiarch strcpy implementation for POWER8.
8708         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
8709         __strcpy_power8 function.
8710         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
8711         stpcpy for POWER8.
8712         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
8713         strcpy for POWER8.
8714         * NEWS: Update.
8716 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
8718         [BZ #16009]
8719         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
8720         weights and rules. Use do_xfrm_cached if data fits in cache,
8721         do_xfrm otherwise.  Moved former main loop to...
8722         * (do_xfrm_cached): New function.
8723         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
8724         find_idx, find_position and stack_push.
8725         * (find_idx): New function.
8726         * (find_position): Likewise.
8727         * localedata/sort-test.sh: Added test run for do_xfrm.
8728         * localedata/xfrm-test.c (main): Added command line option
8729         -nocache to run the test with strings that are too large for
8730         the STRXFRM cache.
8732 2015-01-13  Torvald Riegel  <triegel@redhat.com>
8734         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
8735         variable to lll_futex_wake call, not the value itself.
8737 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
8739         [BZ #17803]
8740         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8741         twom64.  Adjust value to 0x1p-64L.
8742         (__scalblnl): Only return standard underflowing result for K <=
8743         -64 not K <= -63; adjust exponent for underflowing result by 64
8744         not 63.
8745         * math/libm-test.inc (scalbn_test_data): Add more tests.
8746         (scalbln_test_data): Likewise.
8748         [BZ #17834]
8749         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8750         0x1p63L.
8751         (__scalblnl): Get new exponent of adjusted subnormal value from ES
8752         not HX.
8753         * math/libm-test.inc (scalbn_test_data): Add more tests.
8754         (scalbln_test_data): Likewise.
8756 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8757             Stefani Seibold  <stefani@seibold.net>
8759         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
8760         (sysdep_routines): Add dl-vdso here, ...
8761         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
8762         (sysdep_routines): ... not here.
8763         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
8764         fallback when vDSO is not presented.
8765         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8766         Define with libc_hidden_proto/libc_hidden_data_def definitions.
8767         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
8768         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
8769         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
8770         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
8771         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
8772         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
8773         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
8774         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
8775         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
8776         fallback configurable symbol when vDSO is not available.
8777         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
8778         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
8779         be able to redefine fallback symbol when vDSO is not available.
8780         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
8781         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
8783 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8785         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
8786         (TLS_INIT_TP): Add tm_capable initialization.
8787         (TLS_DEFINE_INIT_TP): Likewise.
8788         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
8789         TCB.
8790         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
8791         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
8792         calculation.
8793         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
8794         transactoion is lock elision is built and TCB tm_capable is set.
8795         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
8796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8797         (INTERNAL_SYSCALL_NCS): Likewise.
8798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8799         (INTERNAL_SYSCALL_NCS): Likewise.
8800         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
8802         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
8803         for powerpc.
8804         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8805         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
8806         and remove it for 32 bits case.
8807         [pthread_rwlock_t] (__rwelision): New field for lock elision.
8808         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
8809         initialization.
8810         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
8811         Disable lock elision with rdlocks if elision is not available.
8813         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
8814         (sysdep_routines): Add lock elision objects.
8815         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8816         [pthread_mutex_t] (__spins): Rework to add lock elision field.
8817         [pthread_mutex_t] (__elision): Add field.
8818         [__PTHREAD_SPINS]: Adjust to init lock elision field.
8819         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
8820         elision definitions for powerpc.
8821         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
8822         implementation of lock elision for powerpc.
8823         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
8824         implementation of timed lock elision for powerpc.
8825         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
8826         implementation of trylock with lock elision for powerpc.
8827         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
8828         implementaion of unlock for lock elision for powerpc.
8829         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
8830         automatic enable lock elision for mutexes.
8831         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
8832         transaction execution definitions for powerpc.
8833         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
8834         definitions.
8835         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
8836         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
8837         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
8838         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
8839         * NEWS: Update.
8841 2015-01-09  Roland McGrath  <roland@hack.frob.com>
8843         * sysdeps/posix/shm-directory.c: Use <> rather than ""
8844         for #include of <shm-directory.h>.
8846 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
8848         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
8849         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
8851 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
8853         [BZ #17791]
8854         * NEWS: Mention bug fix.
8855         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
8856         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
8857         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
8859 2015-01-09  Torvald Riegel <triegel@redhat.com>
8861         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
8863 2015-01-09  Torvald Riegel <triegel@redhat.com>
8865         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
8867 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8869         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
8870         pointer and cast to uintptr_t.
8872 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8874         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
8875         removed.
8876         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
8878 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8880         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
8881         of 0.
8883 2015-01-08  Roland McGrath  <roland@hack.frob.com>
8885         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
8886         <nptl/pthreadP.h> instead.
8887         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
8889         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
8890         already defined.
8891         [__SIGRTMIN] (init): Function removed.
8892         [__SIGRTMIN] (initialized): Variable removed.
8893         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
8894         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
8895         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
8896         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
8897         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
8898         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
8899         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
8900         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
8901         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
8902         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
8903         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
8904         * sysdeps/nptl/allocrtsig.c: New file.
8905         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
8906         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
8907         * sysdeps/generic/testrtsig.h: File removed.
8909         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
8910         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
8912         * nptl/nptl-init.c (pthread_functions): Conditionalize
8913         .ptr__nptl_setxid initialization on [SIGSETXID].
8915         * sysdeps/nptl/sys/procfs.h: New file.
8916         * nptl_db/Makefile (headers): Add it.
8917         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
8919         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
8920         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
8921         * nptl/pthread_attr_setaffinity.c: Include it.
8922         * nptl/pthread_setattr_default_np.c: Likewise.
8923         * nptl/check-cpuset.h: New file.
8925 2015-01-08  Richard Henderson  <rth@redhat.com>
8927         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
8928         (CFLAGS-tst-execstack-prog.c): Likewise.
8929         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
8931 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
8932             Sandra Loosemore  <sandra@codesourcery.com>
8933             Andrew Jenner  <andrew@codesourcery.com>
8934             Joseph Myers  <joseph@codesourcery.com>
8935             Nathan Sidwell  <nathan@codesourcery.com>
8937         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
8938         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
8939         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
8940         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
8941         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
8942         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
8943         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
8944         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
8945         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
8946         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
8947         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
8948         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
8949         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
8950         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
8951         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
8952         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
8953         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
8955 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8957         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
8958         timespec struct member in syscall macro.
8959         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8960         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
8961         first timeval struct member in syscall macro.
8962         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
8964 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
8966         [BZ #17748]
8967         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
8968         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
8969         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
8970         __feupdateenv and define as weak alias of __feupdateenv.  Use
8971         libm_hidden_weak.
8972         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
8973         libm_hidden_def.
8974         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
8975         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
8976         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8977         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
8978         libm_hidden_def.
8979         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
8980         __feupdateenv and define as weak alias of __feupdateenv.  Use
8981         libm_hidden_weak.
8982         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
8983         libm_hidden_def.
8984         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
8985         __feupdateenv and define as weak alias of __feupdateenv.  Use
8986         libm_hidden_weak.
8987         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
8988         libm_hidden_def.
8989         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8990         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8991         (__feupdateenv): Likewise.
8992         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
8993         __feupdateenv and define as weak alias of __feupdateenv.  Use
8994         libm_hidden_weak.
8995         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8996         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
8997         libm_hidden_def.
8998         * sysdeps/tile/math_private.h (__feupdateenv): New inline
8999         function.
9000         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
9001         libm_hidden_def.
9002         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
9003         __feupdateenv instead of feupdateenv.
9004         (default_libc_feupdateenv_test): Likewise.
9005         (libc_feresetround_ctx): Likewise.
9007 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9009         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
9010         prototype.
9012 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
9014         * posix/regcomp.c (parse_bracket_exp): Initialize type to
9015         COLL_SYM in a couple of places to avoid uninitialized variable
9016         wanings on tilegx gcc 4.8.2.
9018 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
9020         * sysdeps/aarch64/strcpy.S: New file.
9021         * sysdeps/aarch64/stpcpy.S: New file.
9022         * NEWS: Updated.
9024 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
9026         * sysdeps/aarch64/strrchr.S: New file.
9027         * NEWS: Updated.
9029 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
9031         [BZ #17658]
9032         * stdlib/setenv.c: Fix memory leak when setting large,
9033         duplicate string.
9035 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
9037         [BZ #17273]
9038         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
9039         and tabs from buffer before parsing fstab entry.
9040         * misc/tst-mntent.c (main): Add test for mount entry with
9041         trailing spaces and tabs.
9043 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
9045         [BZ #17748]
9046         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
9047         * math/fesetround.c (fesetround): Rename to __fesetround and
9048         define as weak alias of __fesetround.  Use libm_hidden_weak.
9049         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
9050         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
9051         * sysdeps/arm/fesetround.c (fesetround): Likewise.
9052         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
9053         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
9054         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
9055         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
9056         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
9057         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
9058         __fesetround_inline.
9059         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
9060         __fesetround_inline instead of __fesetround.
9061         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
9062         __fesetround and define as weak alias of __fesetround.  Use
9063         libm_hidden_weak.  Call __fesetround_inline instead of
9064         __fesetround.
9065         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
9066         __fesetround and define as weak alias of __fesetround.  Use
9067         libm_hidden_weak.
9068         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
9069         Likewise.
9070         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
9071         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9072         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
9073         * sysdeps/tile/math_private.h (__fesetround): New inline function.
9074         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
9075         __fesetround and define as weak alias of __fesetround.  Use
9076         libm_hidden_weak.
9077         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
9078         __fesetround instead of fesetround.
9079         (default_libc_feholdexcept_setround): Likewise.
9080         (libc_feholdsetround_ctx): Likewise.
9081         (libc_feholdsetround_noex_ctx): Likewise.
9083         [BZ #17748]
9084         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
9085         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
9086         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9087         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
9088         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9089         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
9090         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9091         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
9092         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9093         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9094         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9095         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9096         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9097         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9098         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
9099         libm_hidden_def.
9100         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
9101         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
9102         Likewise.
9103         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9104         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9105         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9106         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9107         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
9108         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9109         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
9110         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
9111         __fesetenv instead of fesetenv.
9112         (libc_feresetround_noex_ctx): Likewise.
9113         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9114         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9115         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
9116         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9117         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9118         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9119         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9120         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9121         (__feupdateenv): Likewise.
9122         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9123         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9124         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9125         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
9127 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
9129         [BZ #17806]
9130         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
9131         addresses have been freed.
9133 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
9135         * resolv/res_init.c (__res_vinit): Improve comments about nserv
9136         and nservall.
9138 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
9140         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
9141         Clean up check_pf allocation pattern. addresses
9143 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9145         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
9146         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
9147         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
9148         * nptl/pthread_exit.c (__pthread_exit): Likewise.
9149         * nptl/pthread_join.c (pthread_join): Likewise.
9150         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
9151         * sysdeps/posix/waitid.c (__waitid): Likewise.
9152         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
9153         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
9154         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
9155         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
9156         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
9157         Likewise.
9158         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
9159         (__libc_pread64): Likewise.
9160         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
9161         (__libc_pwrite): Likewise.
9162         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
9163         (__libc_pwrite64): Likewsie.
9164         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
9165         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
9166         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
9167         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
9168         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
9169         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
9170         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
9172         Likewise.
9173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9174         (__libc_pread64): Likewise.
9175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
9176         Likewise.
9177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9178         (__libc_pwrite64): Likewise.
9179         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
9180         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
9181         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
9182         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
9183         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9184         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9185         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
9186         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
9187         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
9188         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
9189         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
9190         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
9191         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
9192         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
9193         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
9194         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
9195         Likewise.
9197 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
9199         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
9200         (CFLAGS-test-double.c): Likewise.
9201         (CFLAGS-test-ldouble.c): Likewise.
9202         (CPPFLAGS-test-ifloat.c): Likewise.
9203         (CPPFLAGS-test-idouble.c): Likewise.
9204         (CPPFLAGS-test-ildoubl.c): Likewise.
9205         (CFLAGS-test-test-fenv.c): Remove variable.
9206         (CFLAGS-test-misc.c): Likewise.
9208 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
9210         [BZ #17797]
9211         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
9212         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
9213         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
9214         CLOCKS_PER_SEC == 1000000.
9215         * time/clocktest.c (main): Replace %ld with %jd and cast to
9216         intmax_t.
9218 2015-01-05  Roland McGrath  <roland@hack.frob.com>
9220         * sysdeps/generic/unwind-resume.h: New file.
9221         * sysdeps/gnu/unwind-resume.c: Include it.
9222         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
9223         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
9224         argument list.
9225         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
9226         global rather than static.
9227         (_Unwind_Resume): Update user.
9228         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
9229         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
9230         rather than static.  Add __attribute__ ((cold)).
9231         (_Unwind_Resume, __gcc_personality_v0): Update callers.
9232         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
9233         * sysdeps/arm/arm-unwind-resume.S: New file.
9234         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
9235         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
9236         * sysdeps/arm/Makefile [$(subdir) = csu]
9237         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
9238         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9239         Add rt-arm-unwind-resume.
9240         [$(subdir) = nptl]
9241         (libpthread-sysdep_routines, libpthread-shared-only-routines):
9242         Add pt-arm-unwind-resume.
9243         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
9244         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
9246 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9248         [BZ #17748]
9249         * include/fenv.h (__feholdexcept): Declare.  Use
9250         libm_hidden_proto.
9251         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
9252         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
9253         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9254         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
9255         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
9256         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
9257         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
9258         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9259         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
9260         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
9261         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9262         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
9263         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
9264         (feholdexcept): Likewise.
9265         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9266         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9267         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9268         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9269         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
9270         __feholdexcept instead of feholdexcept.
9271         (default_libc_feholdexcept_setround): Likewise.
9273 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9275         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
9276         to avoid using stl/str to align destination.
9278 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9280         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
9282 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9284         [BZ #17796]
9285         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
9286         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
9287         Define as weak alias not strong alias.
9289 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
9291         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
9292         bltzal with addiupc.
9293         (RTLD_START): Ditto.
9295 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
9297         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
9298         for __vdso_* functions in declarations.
9299         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
9300         definitions.
9301         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
9302         INTERNAL_VSYSCALL): Use struct return types to check for error.
9304         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
9305         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
9306         function with cast from llround().
9307         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
9308         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9309         Define.
9311 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
9313         [BZ #17793]
9314         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
9315         Define as weak alias not strong alias.
9317         [BZ #17635]
9318         * ctype/ctype-c99.c: New file.  isblank implementation moved from
9319         ...
9320         * ctype/ctype-extn.c: ... here.
9321         (__isblank_l): Move to ...
9322         * ctype/ctype-c99_l.c: ... here.  New file.
9323         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
9324         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
9325         Remove variable.
9326         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9327         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9328         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9329         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9330         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9332         [BZ #17777]
9333         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
9334         (posix_fadvise64): Define as weak alias not strong alias.
9335         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9336         (posix_fallocate64): Likewise.
9337         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
9338         Remove variable.
9339         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9340         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9341         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9342         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9343         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9345 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
9347         [BZ #16191]
9348         * NEWS: Mention bug fix.
9349         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
9350         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
9351         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
9352         (HOST_STACK_END_ADDR): Likewise.
9354 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9356         [BZ #17748]
9357         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
9358         * math/fegetround.c (fegetround): Rename to __fegetround and
9359         define as weak alias of __fegetround.  Use libm_hidden_weak.
9360         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
9361         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
9362         * sysdeps/arm/fegetround.c (fegetround): Likewise.
9363         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
9364         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9365         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
9366         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
9367         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
9368         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9369         Undefine after rather than before function definition; use
9370         parentheses around function name in definition.
9371         (__fegetround): Also undefine macro after function definition.
9372         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
9373         __fegetround and define as weak alias of __fegetround.  Use
9374         libm_hidden_weak.  Do not undefine as macro.
9375         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9376         Likewise.
9377         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
9378         __fegetround and define as weak alias of __fegetround.  Use
9379         libm_hidden_weak.
9380         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9381         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9382         * sysdeps/tile/math_private.h (__fegetround): New inline function.
9383         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
9384         __fegetround and define as weak alias of __fegetround.  Use
9385         libm_hidden_weak.
9386         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
9387         __fegetround instead of fegetround.
9389         [BZ #17782]
9390         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
9391         Condition macro definition on [__USE_MISC].
9393         [BZ #17781]
9394         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
9395         (struct sigaction): Change type of sa_flags field to int.
9397         [BZ #17780]
9398         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
9399         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
9400         __glibc_reserved0.
9402         * nptl/version.c (banner): Use single year in copyright notice.
9404         * NEWS: Update copyright dates.
9405         * catgets/gencat.c (print_version): Likewise.
9406         * csu/version.c (banner): Likewise.
9407         * debug/catchsegv.sh: Likewise.
9408         * debug/pcprofiledump.c (print_version): Likewise.
9409         * debug/xtrace.sh (do_version): Likewise.
9410         * elf/ldconfig.c (print_version): Likewise.
9411         * elf/ldd.bash.in: Likewise.
9412         * elf/pldd.c (print_version): Likewise.
9413         * elf/sotruss.sh: Likewise.
9414         * elf/sprof.c (print_version): Likewise.
9415         * iconv/iconv_prog.c (print_version): Likewise.
9416         * iconv/iconvconfig.c (print_version): Likewise.
9417         * locale/programs/locale.c (print_version): Likewise.
9418         * locale/programs/localedef.c (print_version): Likewise.
9419         * login/programs/pt_chown.c (print_version): Likewise.
9420         * malloc/memusage.sh (do_version): Likewise.
9421         * malloc/memusagestat.c (print_version): Likewise.
9422         * malloc/mtrace.pl: Likewise.
9423         * manual/libc.texinfo: Likewise.
9424         * nptl/version.c (banner): Likewise.
9425         * nscd/nscd.c (print_version): Likewise.
9426         * nss/getent.c (print_version): Likewise.
9427         * nss/makedb.c (print_version): Likewise.
9428         * posix/getconf.c (main): Likewise.
9429         * scripts/test-installation.pl: Likewise.
9430         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9432 2015-01-02  Will Newton  <will.newton@linaro.org>
9434         * sysdeps/arm/armv7/configure: Removed.
9435         * sysdeps/arm/armv7/configure.ac: Likewise.
9437 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9439         * All files with FSF copyright notices: Update copyright dates
9440         using scripts/update-copyrights.
9441         * intl/plural.c: Regenerated.
9442         * locale/programs/charmap-kw.h: Likewise.
9443         * locale/programs/locfile-kw.h: Likewise.
9445 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9447         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
9449 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9451         [BZ #17748]
9452         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
9453         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
9454         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9455         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9456         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9457         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
9458         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9459         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
9460         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9461         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9462         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9463         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9464         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9465         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9466         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
9467         libm_hidden_def.
9468         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
9469         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
9470         Likewise.
9471         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9472         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9473         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9474         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9475         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
9476         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9477         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9478         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
9479         __fegetenv instead of fegetenv.
9480         (libc_feholdsetround_noex_ctx): Likewise.
9482 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
9484         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
9485         (Elf_MIPS_ABIFlags_v0): New structure.
9486         (EF_MIPS_FP64): Define.
9487         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
9488         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
9489         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
9490         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
9491         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
9492         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
9493         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
9494         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
9495         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
9496         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
9497         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
9498         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
9499         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
9500         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
9501         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
9502         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
9503         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
9504         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
9505         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
9506         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
9507         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
9508         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
9509         field.
9510         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
9511         EF_MIPS_FP64.
9512         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
9513         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
9514         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
9515         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
9516         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
9517         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
9518         * sysdeps/mips/tst-abi-interlink.c: Likewise.
9519         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
9520         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
9521         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
9522         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
9523         record the current FP ABI extension.
9524         (mips-mode-switch): Define to show if kernel headers support mode
9525         switching.
9526         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9527         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
9528         supported SYSV ABI version to 3.
9529         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
9530         feature.
9532 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9533             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9535         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
9536         path.
9537         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
9539 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9541         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
9542         __fegetround and redefine to call __fegetround.  Remove condition
9543         on [!__NO_MATH_INLINES].
9544         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
9545         function.
9546         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
9547         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9548         Remove macro.
9549         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
9550         instead of <fenv_libc.h>.
9551         (__llrintl): Call fegetround instead of __fegetround.
9552         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
9553         instead of <fenv_libc.h>.
9554         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9555         (__lrintl): Call fegetround instead of __fegetround.
9556         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
9557         instead of <fenv_libc.h>.
9558         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9559         (__rintl): Call fegetround instead of __fegetround.
9561 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9563         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
9564         arrays.
9566 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9568         [BZ #17775]
9569         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
9570         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
9571         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
9573 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9575         * sysdeps/i386/tls-macros.h: Include <features.h>.
9576         (TLS_LE): Use non-PIC version for GCC >= 5.0.
9577         (TLS_IE): Likewise.
9578         (TLS_LD): Likewise.
9579         (TLS_GD): Likewise.
9580         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
9581         define for GCC >= 5.0.
9583 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
9585         * math/test-fenv.c (test_single_exception, set_single_exc,
9586         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
9587         feexcp_mask_test, feenable_test, fe_single_test): Add
9588         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
9589         case where they are not used.
9590         * math/libm-test.inc: Likewise.
9591         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
9592         unused in the absence of FP rounding/exception support.
9593         * stdio-common/tst-printf-round.c: Likewise.
9594         * stdlib/tst-strtod-round.c: Likewise.
9595         * stdlib/tst-strtod-underflow.c: Likewise.
9597 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
9599         [BZ #17723]
9600         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
9601         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
9602         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9603         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9604         libm_hidden_weak.
9605         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
9606         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9607         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
9608         libm_hidden_def.
9609         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9610         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9611         libm_hidden_weak.
9612         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
9613         Likewise.
9614         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
9615         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9616         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9617         libm_hidden_weak.
9618         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9619         libm_hidden_def.
9620         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9621         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
9622         (__feraiseexcept): Likewise.
9623         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9624         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9625         libm_hidden_weak.
9626         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9627         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9628         libm_hidden_def.
9629         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
9630         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
9631         Use libm_hidden_def.
9632         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
9633         libm_hidden_def.
9634         (feraiseexcept): Define as weak not strong alias.  Use
9635         libm_hidden_weak.
9636         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
9637         New inline function.  Factored out of ...
9638         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
9639         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
9640         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
9641         feraiseexcept.
9642         * math/w_acos.c (__acos): Likewise.
9643         * math/w_asin.c (__asin): Likewise.
9644         * math/w_ilogb.c (__ilogb): Likewise.
9645         * math/w_j0.c (y0): Likewise.
9646         * math/w_j1.c (y1): Likewise.
9647         * math/w_jn.c (yn): Likewise.
9648         * math/w_log.c (__log): Likewise.
9649         * math/w_log10.c (__log10): Likewise.
9650         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
9651         * sysdeps/aarch64/fpu/math_private.h
9652         (libc_feupdateenv_test_aarch64): Likewise.
9653         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9654         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
9655         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
9656         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9657         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9658         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9659         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
9660         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9661         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9662         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9664 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9666         [BZ #17732]
9667         * io/test-utime.c (main): Replace %ld with %jd and cast to
9668         intmax_t.
9669         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
9670         * nptl/tst-mutex5.c: Include <stdint.h>.
9671         (do_test): Replace %ld with %jd and cast to intmax_t.
9672         * posix/tst-regex.c (run_test): Likewise.
9673         (run_test_backwards): Likewise.
9674         * rt/tst-clock.c: Include <stdint.h>.
9675         (clock_test): Replace %ld with %jd and cast to intmax_t.
9676         * rt/tst-cpuclock1.c: Include <stdint.h>.
9677         (do_test): Replace %lu with %ju and cast to uintmax_t.
9678         * rt/tst-cpuclock2.c: Include <stdint.h>.
9679         (do_test): Replace %lu with %ju and cast to uintmax_t.
9680         * rt/tst-mqueue1.c: Include <stdint.h>.
9681         (check_attrs): Replace %ld with %jd and cast to intmax_t.
9682         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
9683         intmax_t.
9684         * rt/tst-mqueue4.c (do_test): Likewise.
9685         * rt/tst-timer4.c: Include <stdint.h>.
9686         (check_ts): Replace %ld with %jd and cast to intmax_t.
9687         (do_test): Likewise.
9688         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
9689         and cast to intmax_t.
9690         * sysdeps/pthread/tst-timer.c (main): Likewise.
9691         * time/clocktest.c (main): Likewise.
9692         * time/tst-posixtz.c (do_test): Likewise.
9693         * timezone/tst-timezone.c (main): Likewise.
9695 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9696             H.J. Lu  <hongjiu.lu@intel.com>
9698         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
9699         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9700         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
9701         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
9702         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
9703         version if bit_Fast_Unaligned_Load is set.
9704         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9705         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9706         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9707         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9708         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9709         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9710         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9711         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
9712         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
9713         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
9714         to 4.
9715         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
9716         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
9717         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
9718         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
9720 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
9722         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
9723         instead of #if to avoid a Wundef warning.
9724         * stdlib/tst-limits.c (do_test): Likewise.
9726         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
9727         parallel other exception macros.
9728         (fegetenv): Convert from macro to extern inline so that it applies
9729         retroactively to inline functions already seen by the compiler.
9730         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
9732         * posix/Makefile (before-compile): Use $(objpfx) for
9733         posix-conf-vars-def.h.
9735 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9737         * posix/getconf.c (main): Use size_t for type of I.
9738         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9739         NSPEC.
9741         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9742         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9743         * posix/posix-envs.def: Likewise.
9744         * sysdeps/posix/sysconf.c: Likewise.
9745         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9746         (specs): Remove array.
9747         * scripts/gen-posix-conf-vars.awk: Support generation of specs
9748         array.
9750         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9751         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9752         (__sysconf): Use CONF_IS_* macros.
9754         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9755         ($(objpfx)posix-conf-vars-def.h): New target.
9756         * posix/posix-conf-vars.list: New file.
9757         * posix/posix-conf-vars.h: New file.
9758         * posix/confstr.c: Include posix-conf-vars.h.
9759         (confstr): Use CONF_IS_* macros.
9760         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
9761         CONF_IS_* macros.
9762         * scripts/gen-posix-conf-vars.awk: New file.
9764 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
9766         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
9767         fegetround): Add no-op macros to avoid linknamespace issues.
9769         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
9770         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
9772         * sysdeps/unix/sysv/linux/tile/sysdep.h
9773         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
9774         assembly-specific section to avoid a redefinition warning.
9776         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
9777         long before casting to pointer to avoid a cast warning.
9779 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
9781         * sysdeps/tile/tilegx/Implies: New file.
9783 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
9785         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
9787 2014-12-23  Florian Weimer  <fweimer@redhat.com>
9789         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
9791 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9793         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
9794         not define.
9795         * sysdeps/unix/sysv/linux/utimes.c: Do not include
9796         <kernel-features.h>.
9797         (__utimes) [__NR_utimes]: Make code unconditional.
9798         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
9799         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9800         (__ASSUME_UTIMES): Do not undefine.
9801         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9802         (__ASSUME_UTIMES): Likewise.
9803         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9804         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
9805         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
9806         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
9808 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9810         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
9812 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
9814         [BZ #17747]
9815         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
9816         alias to weak alias for j0l, y0l.
9817         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
9818         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
9820         [BZ #17746]
9821         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
9822         conversion.
9824 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9826         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
9827         to zero if not already defined.
9829 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9831         [BZ #17724]
9832         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
9833         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
9834         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
9835         (char *) casts added.
9836         * sysdeps/ieee754/k_standardf.c: New file.
9837         * sysdeps/ieee754/k_standardl.c: Likewise.
9838         * math/Makefile (libm-support): Remove k_standard.
9839         (libm-calls): Add k_standard.
9841 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9843         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9844         Optimize to avoid an unnecessary FPCR read.
9846 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9848         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9849         Optimize to reduce FPCR/FPSR accesses.
9851 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9853         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
9854         Call libc_fetestexcept_aarch64.
9856 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9858         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
9859         Call libc_fesetround_aarch64.
9861 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9863         [BZ #17733]
9864         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
9865         (__bind): Do not define as weak alias.
9866         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
9867         define.
9868         (__getsockname): Do not define as weak alias.
9870 2014-12-22  Will Newton  <will.newton@linaro.org>
9872         * manual/install.texi: Document that we require bison 2.7
9873         or above.
9874         * INSTALL: Regenerate.
9875         * configure.ac: Use AC_CHECK_PROG_VER instead of
9876         AC_PATH_PROG when checking for bison and check for
9877         version 2.7 or above.
9878         * configure: Regenerate.
9880 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
9882         [BZ #17745]
9883         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
9884         * sysdeps/tile/ffsll.c (ffsll): To here.
9886         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
9888 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9890         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
9891         if not defined.
9892         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
9893         definition.
9894         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9895         hidden ___tls_get_addr.
9896         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9897         hidden __tls_get_addr.
9898         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
9899         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
9900         Likewise.
9902 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
9904         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
9905         _dl_init call.
9907 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9909         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
9910         from "call _dl_init@PLT".
9911         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
9913 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
9915         * manual/search.texi: (Array Sort Function): Clarify stable sorting
9916         guarantees.
9918 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
9920         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
9922 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9924         [BZ #17744]
9925         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
9926         strnlen.
9928 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9930         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
9931         of multu on MIPSr6.
9932         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
9933         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
9934         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
9935         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
9936         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
9938 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9940         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
9941         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
9942         (PTR_SUBU): Use subu for mips32r6/mips64r6.
9943         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9944         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
9945         mips32r6/mips64r6.
9946         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
9948 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
9950         * string/strncat.c (STRNCAT): Simplify implementation.
9952 2014-12-19  David S. Miller  <davem@davemloft.net>
9954         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
9955         access the quad as both a long double and as a series of 4 words.
9957         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
9958         link_map->l_info array access.
9960 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9962         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
9964         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
9965         * math/atest-exp2.c (TIMEOUT): Likewise.
9966         * math/atest-sincos.c (TIMEOUT): Likewise.
9968 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9970         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
9971         -Wno-error with -fno-builtin-lround.
9973 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9975         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
9976         Contains futex constants and functions moved over from ...
9977         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
9978         <lowlevellock-futex.h>.
9979         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9980         (lll_timedwait_tid): Add comments and parentheses around macro
9981         arguments.
9983 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9985         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
9986         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
9987         (__lll_private_flag): Remove.
9988         (lll_futex_wait): Likewise.
9989         (lll_futex_timed_wait): Likewise.
9990         (lll_futex_wake): Likewise.
9991         (lll_futex_requeue): Likewise.
9992         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9993         (__lll_timedwait_tid): Spell out argument names.
9994         (lll_timedwait_tid): Add comments and parentheses around macro
9995         arguments.
9996         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
9997         LLL_SHARED and LLL_PRIVATE usable from assembly code.
9999 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10001         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
10002         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10003         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10004         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
10005         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
10006         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
10007         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
10008         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
10009         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
10010         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
10011         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
10012         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
10013         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
10014         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
10015         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
10016         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
10017         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
10018         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
10019         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
10021 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10023         * sysdeps/x86_64/x32/Makefile: New file.
10025 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10027         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
10028         1L with (mp_limb_t) 1.
10030 2014-12-17  Roland McGrath  <roland@hack.frob.com>
10032         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
10033         * nptl/libc_pthread_init.c: ... here.
10034         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
10035         * nptl/register-atfork.c: ... here.
10037         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
10038         Use pthread_sigmask rather than INTERNAL_SYSCALL.
10039         Use assert_perror to check its return value.
10040         (__gai_create_helper_thread): Likewise.
10042         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
10044         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
10046 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
10048         [BZ #17725]
10049         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
10050         __profil_counter.
10051         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
10052         Likewise.
10053         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
10054         Likewise.
10055         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
10056         Likewise.
10057         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
10058         (profil_counter): Likewise.
10059         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
10060         (profil_counter): Likewise.
10061         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
10062         Likewise.
10063         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
10064         Likewise.
10065         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
10066         (profil_counter): Likewise.
10067         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
10068         Likewise.
10069         [!__profil_counter] (profil_counter): Define as weak alias of
10070         __profil_counter.
10071         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
10072         (profil_counter): Rename to __profil_counter.
10073         [!__profil_counter] (profil_counter): Define as weak alias of
10074         __profil_counter.
10075         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
10076         (profil_counter): Rename to __profil_counter.
10077         [!__profil_counter] (profil_counter): Define as weak alias of
10078         __profil_counter.
10079         * sysdeps/posix/profil.c: Update comment referring to
10080         profil_counter.
10081         (__profil): Use __profil_counter instead of profil_counter.
10082         * sysdeps/posix/sprofil.c (profil_counter): Rename to
10083         __profil_counter.  Use __profil_counter_ushort and
10084         __profil_counter_uint in definitions.
10085         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
10086         instead of profil_counter_uint and profil_counter_ushort.
10088         [BZ #17722]
10089         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
10090         define as weak alias of __inet_makeaddr.
10091         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
10092         as weak alias of __inet_addr.
10093         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
10094         as weak alias of __inet_pton.  Use libc_hidden_weak.
10095         * include/arpa/inet.h (__inet_pton): Declare.  Use
10096         libc_hidden_proto.
10097         (inet_makeaddr): Don't use libc_hidden_proto.
10098         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
10099         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
10100         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
10101         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
10102         Remove variable.
10103         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10104         (test-xfail-POSIX/time.h/linknamespace): Likewise.
10106 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
10108         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
10110 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10112         * stdio-common/bug-vfprintf-nargs.c (do_test):
10113         Cast value to intptr_t to avoid format warning
10114         for usage with PRIdPTR printing macro.
10116 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10118         * libio/tst-widetext.c (do_test):
10119         Use format type %td instead of %Zd for ptrdiff_t
10120         in order to avoid format warning.
10122 2014-12-17  Andreas Schwab  <schwab@suse.de>
10124         * nscd/mem.c (gc): Add size_t cast to match printf format.
10126 2014-12-16  Roland McGrath  <roland@hack.frob.com>
10128         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
10129         (init): Apply PTR_MANGLE to pointers before storing them.
10130         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
10131         before using them.
10133 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
10135         [BZ #17719]
10136         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
10137         define as weak alias of __memrchr.
10138         (__memrchr): Do not define as strong alias of memrchr.
10139         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
10140         Remove variable.
10141         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10142         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10143         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10145         [BZ #17717]
10146         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
10147         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
10148         (if_indextoname): Rename to __if_indextoname and define as weak
10149         alias of __if_indextoname.  Use libc_hidden_weak.
10150         (if_freenameindex): Rename to __if_freenameindex and define as
10151         weak alias of __if_freenameindex.
10152         (if_nameindex): Rename to __if_nameindex and define as weak alias
10153         of __if_nameindex.
10154         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
10155         __if_nametoindex and define as weak alias of __if_nametoindex.
10156         Use libc_hidden_weak.
10157         (if_freenameindex): Rename to __if_freenameindex and define as
10158         weak alias of __if_freenameindex.
10159         (if_nameindex): Rename to __if_nameindex and define as weak alias
10160         of __if_nameindex.
10161         (if_indextoname): Rename to __if_indextoname and define as weak
10162         alias of __if_indextoname.  Use libc_hidden_weak.
10163         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
10164         __if_nametoindex and define as weak alias of __if_nametoindex.
10165         Use libc_hidden_weak.
10166         (if_freenameindex): Rename to __if_freenameindex and define as
10167         weak alias of __if_freenameindex.  Use libc_hidden_weak.
10168         (if_nameindex_netlink): Use __if_freenameindex instead of
10169         if_freenameindex.
10170         (if_nameindex): Rename to __if_nameindex and define as weak alias
10171         of __if_nameindex.  Use libc_hidden_weak.
10172         (if_indextoname): Rename to __if_indextoname and define as weak
10173         alias of __if_indextoname.  Use libc_hidden_weak.
10174         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
10175         libc_hidden_proto.
10176         [!_ISOMAC] (__if_freenameindex): Likewise.
10177         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
10178         if_nametoindex.
10179         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
10180         variable.
10181         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10182         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10183         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10184         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10185         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10186         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10187         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10189         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
10190         Remove variable.
10191         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10192         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10194 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10196         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
10197         subscript above bounds'
10199         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
10200         bounds.
10202 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
10204         * libio/tst-fopenloc.c: Use test-skeleton.c.
10206         * stdlib/tst-bsearch.c: Use test-skeleton.c.
10207         (entry): Rename to ITEM.
10208         (do_test, comp): Adjust.
10210         * stdio-common/tst-fseek.c: Use test-skeleton.c.
10212 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10214         * string/tester.c: Include <libc-internal.h>.
10215         (test_memset): Ignore -Wmemset-transposed-args.
10217 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10219         * misc/tst-mntent2.c (do_test): Fix warning.
10221 2014-12-16  Torvald Riegel  <triegel@redhat.com>
10223         * elf/tst-unique4lib.cc(a): Mark as used.
10225 2014-12-16  Florian Weimer  <fweimer@redhat.com>
10227         [BZ #17630]
10228         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
10229         names.
10231 2014-12-16  Allan McRae  <allan@archlinux.org>
10233         * stdio-common/Makefile (tests): Re-add bug26.
10235 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
10237         [BZ #17657]
10238         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
10239         static array.
10241 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
10243         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
10244         (__lll_lock_wait): Likewise.
10245         (__lll_timedlock_wait): Likewise.
10246         (__lll_timedwait_tid): Likewise.
10247         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
10248         (__lll_robust_timedlock_wait): Likewise.
10249         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
10250         (lll_cond_trylock): Likewise.
10251         (__lll_lock): Likewise.
10252         (__lll_robust_lock): Likewise.
10253         (__lll_cond_lock): Likewise.
10254         (lll_robust_cond_lock): Likewise.
10255         (__lll_timedlock): Likewise.
10256         (__lll_robust_timedlock): Likewise.
10257         (__lll_unlock): Likewise.
10258         (__lll_robust_unlock): Likewise.
10259         (lll_wait_tid): Likewise.
10260         (lll_timedwait_tid): Likewise.
10262 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10264         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
10266 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10268         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
10270 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10272         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
10273         * stdio-common/tst-sprintf.c: Likewise.
10275 2014-12-15  Torvald Riegel  <triegel@redhat.com>
10277         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
10279 2014-12-15  Jeff Law  <law@redhat.com>
10281         [BZ #16617]
10282         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
10283         on the heap.  (CVE-2012-3406)
10284         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
10285         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
10286         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
10288 2014-12-15  Will Newton  <will.newton@linaro.org>
10290         * manual/install.texi: Bump required version of texinfo
10291         to 4.7 from 4.5.
10292         * INSTALL: Regenerated.
10293         * configure.ac: Check for makeinfo version 4.7 and above.
10294         * configure: Regenerated.
10296 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10298         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
10299         PREFIX, string constant to insert between directory and name.
10300         * sysdeps/posix/shm_open.c: Update caller.
10301         * sysdeps/posix/shm_unlink.c: Likewise.
10302         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
10303         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
10304         (SEM_SHM_PREFIX): New macro.
10305         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
10306         [$(have-thread-library) = no].
10307         * nptl/Makefile (libpthread-routines): Add shm-directory.
10308         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
10309         * sysdeps/nptl/shm-directory.h: New file.
10310         * sysdeps/posix/shm-directory.c
10311         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
10312         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
10313         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
10314         INTERNAL_SYSCALL.
10315         (__where_is_shmfs): Function removed.
10316         (mountpoint, defaultmount, defaultdir, __namedsem_once):
10317         Variables removed.
10318         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
10319         Use SHM_GET_NAME.
10320         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
10322         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
10323         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
10324         unconditional for use inside libpthread.
10325         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
10327 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10329         * nptl/pthread_getaffinity.c: New file.
10330         * nptl/pthread_setaffinity.c: New file.
10331         * nptl/pthread_getname.c: New file.
10332         * nptl/pthread_setname.c: New file.
10334         * nptl/pthread_create.c (START_THREAD_DEFN)
10335         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
10337 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10338             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10340         * resolv/res_send.c (send_vc): Disable warning resplen may
10341         be used uninitialized.
10343 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10345         * nptl/tst-mutex6.c
10346         (ATTR_NULL): New define checks ATTR against NULL.
10347         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
10348         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
10350 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
10352         [BZ #17581]
10353         * malloc/hooks.c
10354         (mem2mem_check): Revert my previous change.
10355         (malloc_check_get_size): Revert my previous change.
10356         (mem2chunk_check): Revert my previous change.
10358 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10360         * sysdeps/posix/shm-directory.c: New file.
10361         * sysdeps/posix/shm-directory.h: New file.
10362         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
10363         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
10364         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
10365         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
10366         Transmute EPERM to EACCES.
10367         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
10368         from ...
10369         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
10370         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
10372 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10374         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
10375         pointer and cast to uintptr_t.
10376         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
10377         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
10378         Add cast to avoid warning.
10379         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
10381 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10383         * nptl/semaphore.h: Move to ...
10384         * sysdeps/pthread/semaphore.h: ... here.
10385         * Makefile (installed-headers): Change nptl/semaphore.h to
10386         sysdeps/pthread/semaphore.h.
10388 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10390         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
10391         generated error format strings.
10393         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
10394         -Wformat-extra-args warnings for scanf formats.
10395         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
10396         test of zero-length format (duh).
10397         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
10398         corner-case scanf format test.
10399         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
10400         generated fprintf format string.
10401         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
10402         corner-case sprintf format tests.
10403         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
10404         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
10405         -Wformat-extra-args warnings throughout.
10406         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
10407         (CFLAGS-scanf4.c): Likewise.
10408         (CFLAGS-scanf7.c): Likewise.
10409         (CFLAGS-tst-sprintf.c): Likewise.
10410         (CFLAGS-tst-printf.c): Likewise.
10411         (CFLAGS-tst-printfsz.c): Likewise.
10413 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10415         * include/cpio.h: New file.
10416         * include/fmtmsg.h: Likewise.
10418         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
10419         corresponding format argument to size_t.
10420         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
10421         arguments.
10422         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
10423         corresponding format argument to size_t.
10424         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
10425         arguments.
10426         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
10427         corresponding format argument to size_t.
10428         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
10429         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
10430         (CFLAGS-tst-mbswcs2.c): Likewise.
10431         (CFLAGS-tst-mbswcs3.c): Likewise.
10432         (CFLAGS-tst-mbswcs4.c): Likewise.
10433         (CFLAGS-tst-mbswcs5.c): Likewise.
10434         (CFLAGS-tst-trans.c): Likewise
10436 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10438         * posix/regexbug1.c (main): Use "%s" format with regerror results,
10439         rather than assuming they won't contain any '%'s.
10441 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
10443         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
10444         inhibit_loop_to_libcall to avoid recursive calls.
10445         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
10446         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
10448 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10450         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
10451         prototype.
10453 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10455         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
10456         integer value instead of boolean.
10458 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10460         * malloc/malloc.c: Fix powerof2 check.
10462 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10464         * locale/programs/locfile.h (maybe_swap_uint32):
10465         Remove inline and add unused attribute.
10467 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10469         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10470         Truncating assembler expression to a .long expression.
10472 2014-12-11  Andreas Schwab  <schwab@suse.de>
10474         * elf/rtld.c (struct map_args): Constify str member.
10475         (do_preload): Constify fname argument.
10477 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10479         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
10480         constants definition.
10482 2014-12-11  Andreas Schwab  <schwab@suse.de>
10484         [BZ #16657]
10485         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
10486         FORCE_ELISION instead of DO_ELISION.
10487         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
10488         Remove.
10489         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
10490         Likewise.
10492         * iconvdata/gconv-modules: Remove duplicate entry.
10494 2014-12-11  Will Newton  <will.newton@linaro.org>
10496         Merge gettext 0.19.3 into intl/.
10498         This involves a number of cosmetic changes to comments
10499         and ANSI function definitions and prototypes throughout
10500         all the files. The gettext copyright header is used but
10501         with the date ranges taken from the glibc copy.
10503         * NEWS: Add gettext merge to 2.21.
10504         * intl/bindtextdom.c: Switch to gettext copyright.
10505         Use ANSI definitions and prototypes.
10506         Use gl_* locking primitives rather than __libc_* ones.
10507         Use __builtin_expect rather than __glibc_likely/unlikely.
10508         * intl/dcgettext.c: Switch to gettext copyright.
10509         Use ANSI definitions and prototypes.
10510         * intl/dcigettext.c: Switch to gettext copyright.
10511         Use ANSI definitions and prototypes.
10512         (INTDIV0_RAISES_SIGFPE): New define.
10513         Use gl_* locking primitives rather than __libc_* ones.
10514         Include eval-plural.h instead of plural-eval.c.
10515         Use __builtin_expect rather than __glibc_likely/unlikely.
10516         * intl/dcngettext.c: Switch to gettext copyright.
10517         Use ANSI definitions and prototypes.
10518         * intl/dgettext.c: Likewise.
10519         * intl/dngettext.c: Likewise.
10520         * intl/plural-eval.c: Renamed to...
10521         * intl/eval-plural.h: ...this.
10522         * intl/explodename.c: Switch to gettext copyright.
10523         Use ANSI definitions and prototypes.
10524         (_nl_explode_name): Use strchr instead of __rawmemchr.
10525         * intl/finddomain.c: Switch to gettext copyright.
10526         Use ANSI definitions and prototypes.
10527         Use gl_* locking primitives rather than __libc_* ones.
10528         (_nl_find_domain): Use malloc rather than alloca for
10529         allocation of temporary locale name.
10530         * intl/gettext.c: Switch to gettext copyright.
10531         Use ANSI definitions and prototypes.
10532         * intl/gettextP.h: Switch to gettext copyright.
10533         Use ANSI definitions and prototypes.
10534         Use gl_* locking primitives rather than __libc_* ones.
10535         * intl/gmo.h: Switch to gettext copyright.
10536         (struct sysdep_string): Move struct segment_pair outside of
10537         struct definition.
10538         * intl/hash-string.c: Use ANSI definitions and prototypes.
10539         * intl/hash-string.h: Switch to gettext copyright.
10540         Use ANSI definitions and prototypes.
10541         * intl/l10nflist.c: Switch to gettext copyright.
10542         Use ANSI definitions and prototypes.
10543         (_nl_normalize_codeset): Avoid integer overflow.
10544         * intl/loadinfo.h: Switch to gettext copyright.
10545         Use ANSI definitions and prototypes.
10546         (LIBINTL_DLL_EXPORTED): New define.
10547         (PATH_SEPARATOR): New define.
10548         * intl/loadmsgcat.c: Switch to gettext copyright.
10549         * intl/localealias.c: Switch to gettext copyright.
10550         Use ANSI definitions and prototypes.
10551         (_nl_expand_alias): Use PATH_SEPARATOR.
10552         * intl/ngettext.c: Switch to gettext copyright.
10553         Use ANSI definitions and prototypes.
10554         * intl/plural-exp.c: Likewise.
10555         * intl/plural-exp.h: Switch to gettext copyright.
10556         Use ANSI definitions and prototypes.
10557         (struct expression): Move definition of enum operator outside
10558         of struct definition.
10559         * intl/plural.c: Regenerate.
10560         * intl/plural.y: Switch to gettext copyright.
10561         Use ANSI definitions and prototypes.
10562         Port to bison 3.0.
10563         * intl/textdomain.c: Switch to gettext copyright.
10564         Use ANSI definitions and prototypes.
10565         Use gl_* locking primitives rather than __libc_* ones.
10567 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
10569         * debug/warning-nop.c: Add used atrribute.
10571 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10573         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
10575         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
10576         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
10577         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
10579 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10580             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10582         [BZ #17634]
10583         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
10584         Undefine after defining function.  Define as weak alias of
10585         __wcschr.  Use libc_hidden_weak.
10586         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
10587         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
10588         (libc_hidden_def): Also define __GI___wcschr alias.
10589         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
10590         __wcschr and define as weak alias of __wcschr.
10591         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
10592         __wcschr.
10593         [!WCSCHR] (DEFAULT_WCSCHR): Define.
10594         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
10595         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
10596         libc_hidden_weak.  Do not use libc_hidden_def.
10597         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
10598         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
10599         __GI___wcschr alias.
10600         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
10601         [IS_IN (libc)] (wcschr): Define as macro expanding to
10602         __redirect_wcschr.
10603         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
10604         [IS_IN (libc)] (__wcschr_power6): Likewise.
10605         [IS_IN (libc)] (__wcschr_power7): Likewise.
10606         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
10607         instead of wcschr.
10608         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
10609         __libc_wcschr.
10610         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
10611         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
10612         __wcschr and define as weak alias of __wcschr.  Use
10613         libc_hidden_builtin_def.
10614         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
10615         as weak alias of __wcschr.  Use libc_hidden_weak.
10616         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
10617         wcschr.
10618         * time/era.c (_nl_init_era_entries): Likewise.
10619         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
10620         variable.
10621         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10622         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10624 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10626         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
10627         format for long int variable.
10629 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
10631         [BZ #10672]
10632         * manual/search.texi: (Array Sort Function): Remove claim how to make
10633         qsort stable.
10635 2014-12-10  Andreas Schwab  <schwab@suse.de>
10637         [BZ #12847]
10638         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
10639         user-controlled locks.
10641 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
10643         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
10644         register.
10646 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10648         * configure.ac (--disable-werror): New configure option.
10649         (enable_werror): New AC_SUBST.
10650         * configure: Regenerated.
10651         * config.make.in (enable-werror): New variable.
10652         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
10653         -Wno-error=undef.
10654         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
10655         * manual/install.texi (Configuring and compiling): Document
10656         --disable-werror.
10657         * INSTALL: Regenerated.
10658         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
10659         (CFLAGS-tst-chk2.c): Likewise.
10660         (CFLAGS-tst-chk3.c): Likewise.
10661         (CFLAGS-tst-chk4.cc): Likewise.
10662         (CFLAGS-tst-chk5.cc): Likewise.
10663         (CFLAGS-tst-chk6.cc): Likewise.
10664         (CFLAGS-tst-lfschk1.c): Likewise.
10665         (CFLAGS-tst-lfschk2.c): Likewise.
10666         (CFLAGS-tst-lfschk3.c): Likewise.
10667         (CFLAGS-tst-lfschk4.cc): Likewise.
10668         (CFLAGS-tst-lfschk5.cc): Likewise.
10669         (CFLAGS-tst-lfschk6.cc): Likewise.
10671         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
10672         (main): Disable -Wdeprecated-declarations around calls to
10673         register_printf_function.
10675         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
10676         (do_test): Disable -Wdiv-by-zero around some calls to
10677         fwrite_unlocked and fread_unlocked.
10679         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
10680         (DIAG_POP_NEEDS_COMMENT): Likewise.
10681         (_DIAG_STR1): Likewise.
10682         (_DIAG_STR): Likewise.
10683         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
10684         * stdio-common/bug21.c: Include <libc-internal.h>.
10685         (do_test): Disable -Wformat around call to sscanf.
10686         * stdio-common/scanf14.c: Include <libc-internal.h>.
10687         (main): Disable -Wformat around some calls to scanf functions.
10689 2014-12-09  Torvald Riegel  <triegel@redhat.com>
10691         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
10693 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10695         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
10696         stack variable alignment.
10698 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
10700         [BZ #17682]
10701         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10702         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
10703         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10704         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
10705         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
10706         __getrlimit instead of getrlimit.
10707         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
10708         __gettimeofday instead of gettimeofday.
10709         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10710         Likewise.
10711         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10712         Likewise.
10713         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10714         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
10715         Remove variable.
10716         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10717         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10719 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10721         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
10722         for wide-character tests.
10724 2014-12-04  Roland McGrath  <roland@hack.frob.com>
10726         * io/openat64.c: #include <libc-internal.h>
10727         (__openat64): Prototypify.  Use ignore_value on MODE.
10728         * io/openat.c: Likewise.
10729         * misc/reboot.c: #include <libc-internal.h>
10730         (reboot): Prototypify.  Use ignore_value on HOWTO.
10731         * misc/ptrace.c: #include <libc-internal.h>
10732         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
10734 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
10736         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
10737         XPG4, UNIX98 and XOPEN2K.
10738         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
10739         Remove variable.
10740         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10742 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10744         * libio/fileops.c: Use ISO C style for function definitions.
10745         * libio/iofopen.c: Likewise.
10746         * libio/wfileops.c: Likewise.
10748         [BZ #17653]
10749         * libio/fileops.c (_IO_new_file_underflow): Unset cached
10750         offset on EOF.
10751         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10752         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10753         (fgets_func): Function pointer to fgets and fgetws.
10754         (do_ftell_test): Add test to verify ftell value after read
10755         EOF.
10756         (do_test): Set fgets_func.
10758         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
10759         O_TRUNC flag for w and w+ modes.
10760         (do_rewind_test): Likewise.
10761         (do_ftell_test): Likewise.
10762         (do_write_test): Likewise.
10764         [BZ #17647]
10765         * libio/fileops.c (do_ftell): Seek only when there are
10766         unflushed writes.
10767         * libio/wfileops.c (do_ftell_wide): Likewise.
10768         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
10769         test case.
10770         (do_one_test): Call it.
10772 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
10774         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
10775         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
10776         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
10777         Remove variable.
10778         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10779         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10780         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10782 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10784         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
10785         Remove variable.
10786         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10788         [BZ #17668]
10789         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
10790         as weak alias of __getifaddrs.  Use libc_hidden_weak.
10791         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10792         __freeifaddrs.  Use libc_hidden_weak.
10793         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
10794         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
10795         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10796         __freeifaddrs.  Use libc_hidden_weak.
10797         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
10798         __getifaddrs and define as weak alias of __getifaddrs.  Use
10799         libc_hidden_weak.
10800         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10801         __freeifaddrs.  Use libc_hidden_weak.
10802         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
10803         Remove variable.
10804         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10805         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10807 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10809         [BZ #17601]
10810         * sysdeps/mips/start.S (__start): Use indirect jump to call
10811         __libc_start_main.
10813 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10815         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
10817         * nptl/tst-mutex1.c: Include <stdbool.h>.
10818         [!ATTR] (ATTR_NULL): New macro.
10819         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
10820         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
10821         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
10823         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
10824         to char *.
10826         [BZ #17665]
10827         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
10828         Change conditional to [__USE_MISC].
10830         [BZ #17664]
10831         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
10832         fgets_unlocked.
10833         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
10834         __fgets_unlocked.
10835         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
10836         fgets_unlocked.
10837         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
10838         Remove variable.
10839         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10840         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10841         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10842         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10843         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10844         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10845         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10846         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10847         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10849         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
10851 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10853         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10854         Remove strpbrk objects.
10855         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10856         (__libc_ifunc_impl_list): Remove strpbrk implementation.
10857         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
10858         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
10859         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
10860         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
10862         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10863         Remove strcspn objects.
10864         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10865         (__libc_ifunc_impl_list): Remove strcspn implementation.
10866         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
10867         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
10868         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
10869         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
10871         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10872         Remove strspn objetcs.
10873         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10874         (__libc_ifunc_impl_list): Remove strspn implementation.
10875         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
10876         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10877         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
10878         * sysdeps/powerpc/powerpc64/strspn.S: New file.
10880 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
10882         [BZ #17581]
10883         * malloc/hooks.c
10884         (mem2mem_check): Add a terminator to the chain of checking blocks.
10885         (malloc_check_get_size): Use it here.
10886         (mem2chunk_check): Ditto.
10888 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10890         * sysdeps/powerpc/powerpc64/strtok.S: New file.
10891         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
10893 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
10895         * bits/ioctl-types.h: Indent preprocessor directives correctly.
10897         * nptl/nptl-init.c: Include libc-internal.h.
10898         (__pthread_initialize_minimal_internal): Use ROUND_UP.
10900         * elf/ldconfig.c (search_dir): Expand comment.
10902 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
10904         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
10905         variable.
10906         (linknamespace-symlist-stdlibs-tests): Likewise.
10907         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
10908         instead of $(objpfx)symlist-stdlibs.
10909         (linknamespace-libs-isoc): New variable.
10910         (linknamespace-libs): Use $(linknamespace-libs-isoc).
10911         (linknamespace-libs-ISO): New variable.
10912         (linknamespace-libs-ISO99): Likewise.
10913         (linknamespace-libs-ISO11): Likewise.
10914         (linknamespace-libs-XPG3): Likewise.
10915         (linknamespace-libs-XPG4): Likewise.
10916         (linknamespace-libs-POSIX): Likewise.
10917         (linknamespace-libs-UNIX98): Likewise.
10918         (linknamespace-libs-XOPEN2K): Likewise.
10919         (linknamespace-libs-POSIX2008): Likewise.
10920         (linknamespace-libs-XOPEN2K8): Likewise.
10921         ($(objpfx)symlist-stdlibs): Replace by
10922         $(linknamespace-symlist-stdlibs-tests).  Use
10923         $(linknamespace-libs-$*) as set of libraries.
10924         ($(linknamespace-header-tests)): Update dependencies.  Use
10925         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
10926         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
10927         * conform/linknamespace.pl: Remove comment about considering
10928         definitions of symbols from irrelevant libraries.
10930 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10932         [BZ #13862]
10933         * elf/dl-tls.c: Include <atomic.h>.
10934         (oom): Remove #ifdef SHARED/#endif.
10935         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
10936         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
10937         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
10938         big enough.
10939         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
10940         * nptl/Makefile (tests): Add tst-stack4.
10941         (modules-names): Add tst-stack4mod.
10942         ($(objpfx)tst-stack4): New.
10943         (tst-stack4mod.sos): Likewise.
10944         ($(objpfx)tst-stack4.out): Likewise.
10945         ($(tst-stack4mod.sos)): Likewise.
10946         (clean): Likewise.
10947         * nptl/tst-stack4.c: New file.
10948         * nptl/tst-stack4mod.c: Likewise.
10950 2014-11-27  J. Brown  <jb999@gmx.de>
10952         * sysdeps/x86/bits/string.h: Add recent CPUs.
10954 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10956         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
10957         sigblock.
10959         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
10960         feof.
10962         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
10963         variable.
10965 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
10967         * nscd/connections.c: Include libc-internal.h because of macro
10968         usage ignore_value.
10970 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10972         * string/bits/string3.h (__warn_memset_zero_len): Don't
10973         declare for gcc newer than 5.0.
10974         (memset): Don't test for zero-length __LEN for gcc newer than
10975         5.0.
10977 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10979         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
10980         size_t for %zu format.
10982         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
10983         difference, not %ju.
10985 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10987         * include/libc-internal.h (ignore_value): New macro.
10988         * nscd/connections.c (restart): Wrap calls to setuid and setgid
10989         with ignore_value.
10991         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
10992         definition.
10994         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
10995         pthread_cleanup_push to void *.
10997         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
10998         Undefine.
11000         [BZ #16619]
11001         [BZ #16740]
11002         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
11003         instead of 1L << 52.
11005         * libio/bug-rewind.c (do_test): Check fwscanf return values.
11006         * libio/bug-rewind2.c (do_test): Likewise.
11008         * debug/test-stpcpy_chk-ifunc.c: Remove file.
11009         * debug/test-strcpy_chk-ifunc.c: Likewise.
11010         * wcsmbs/test-wcschr-ifunc.c: Likewise.
11011         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11012         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11013         * wcsmbs/test-wcslen-ifunc.c: Likewise.
11014         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11015         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11016         * Rules [$(multi-arch) = no] (tests): Do not filter out
11017         $(tests-ifunc).
11018         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
11019         * debug/Makefile (tests-ifunc): Remove variable.
11020         (tests): Do not add $(tests-ifunc).
11021         * wcsmbs/Makefile (tests-ifunc): Remove variable.
11022         (tests): Do not add $(tests-ifunc).
11023         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
11024         [TEST_IFUNC]: Remove conditionals.
11025         * string/test-string.h (TEST_IFUNC): Remove macro.
11026         [TEST_IFUNC]: Remove conditionals.
11028         * string/test-strchr.c [!WIDE] (L): New macro.
11029         [WIDE] (L): Likewise.
11030         (check1): Use CHAR instead of char.  Use L on string and character
11031         constants.
11033 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
11035         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
11036         tests.
11037         * sysdeps/powerpc/bits/atomic.h
11038         (__arch_atomic_exchange_and_add_32_acq): Add definition.
11039         (__arch_atomic_exchange_and_add_32_rel): Likewise.
11040         (atomic_exchange_and_add_acq): Likewise.
11041         (atomic_exchange_and_add_rel): Likewise.
11042         * sysdeps/powerpc/powerpc32/bits/atomic.h
11043         (__arch_atomic_exchange_and_add_64_acq): Add definition.
11044         (__arch_atomic_exchange_and_add_64_rel): Likewise.
11045         * sysdeps/powerpc/powerpc64/bits/atomic.h
11046         (__arch_atomic_exchange_and_add_64_acq): Add definition.
11047         (__arch_atomic_exchange_and_add_64_rel): Likewise.
11049 2014-11-26  Torvald Riegel  <triegel@redhat.com>
11051         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
11052         Change synchronization of __sched_fifo_min_prio and
11053         __sched_fifo_max_prio.
11054         * nptl/pthread_mutexattr_getprioceiling.c
11055         (pthread_mutexattr_getprioceiling): Likewise.
11056         * nptl/pthread_mutexattr_setprioceiling.c
11057         (pthread_mutexattr_setprioceiling): Likewise.
11058         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
11059         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11060         Likewise.
11062 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
11064         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
11065         void.
11067 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
11069         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
11070         third argument const.
11072 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
11074         fnmatch: work around GCC compiler warning bug with uninit var
11075         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
11076         This works around a bug with x86-64 GCC 4.9.2 and earlier
11077         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
11078         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
11079         used uninitialized in this function [-Wmaybe-uninitialized]".
11081 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
11083         * posix/bug-regex31.c (main): Return RES not 0.
11085 2014-11-25  Anton Blanchard <anton@samba.org>
11087         * sysdeps/powerpc/bits/atomic.h
11088         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
11090 2014-11-24  Sterling Augustine  <saugustine@google.com>
11092         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
11094 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
11096         [BZ #17608]
11097         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
11099 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
11101         [BZ #17633]
11102         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
11103         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
11104         variable.
11105         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11106         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11108 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
11110         * string/strncpy.c (strncpy): Improve performance by using memset.
11112 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
11114         * string/strcpy.c (strcpy):
11115         Improve performance by using strlen and memcpy.
11117 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
11119         * string/strcoll_l.c (get_next_seq): __always_inline.
11120         * string/strcoll_l.c (do_compare): __always_inline.
11122 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11124         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
11125         defined.
11126         * include/mqueue.h: Likewise.
11127         * include/stdlib.h: Likewise.
11129         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
11130         (get_null_defines): Adjust.
11131         * sunrpc/Makefile: Adjust comment.
11132         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
11133         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
11134         (CFLAGS-interp.c): Likewise.
11135         (CFLAGS-ldconfig.c): Likewise.
11136         (CPPFLAGS-.os): Likewise.
11137         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11138         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11139         * extra-modules.mk (extra-modules.mk): Likewise.
11140         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
11141         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
11142         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
11143         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
11144         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
11145         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
11146         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
11147         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
11148         * iconvdata/Makefile (CPPFLAGS): Likewise.
11149         (cpp-srcs-left): Add libof for all iconvdata routines.
11150         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
11151         * include/assert.h: Likewise.
11152         * include/ctype.h: Likewise.
11153         * include/errno.h: Likewise.
11154         * include/libc-symbols.h: Likewise.
11155         * include/math.h: Likewise.
11156         * include/netdb.h: Likewise.
11157         * include/resolv.h: Likewise.
11158         * include/stdio.h: Likewise.
11159         * include/stdlib.h: Likewise.
11160         * include/string.h: Likewise.
11161         * include/sys/stat.h: Likewise.
11162         * include/wctype.h: Likewise.
11163         * intl/l10nflist.c: Likewise.
11164         * libidn/idn-stub.c: Likewise.
11165         * libio/libioP.h: Likewise.
11166         * nptl/libc_multiple_threads.c: Likewise.
11167         * nptl/pthreadP.h: Likewise.
11168         * posix/regex_internal.h: Likewise.
11169         * resolv/res_hconf.c: Likewise.
11170         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
11171         * sysdeps/arm/memmove.S: Likewise.
11172         * sysdeps/arm/sysdep.h: Likewise.
11173         * sysdeps/generic/_itoa.h: Likewise.
11174         * sysdeps/generic/symbol-hacks.h: Likewise.
11175         * sysdeps/gnu/errlist.awk: Likewise.
11176         * sysdeps/gnu/errlist.c: Likewise.
11177         * sysdeps/i386/i586/memcpy.S: Likewise.
11178         * sysdeps/i386/i586/memset.S: Likewise.
11179         * sysdeps/i386/i686/memcpy.S: Likewise.
11180         * sysdeps/i386/i686/memmove.S: Likewise.
11181         * sysdeps/i386/i686/mempcpy.S: Likewise.
11182         * sysdeps/i386/i686/memset.S: Likewise.
11183         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11184         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11185         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
11186         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
11187         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11188         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11189         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
11190         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11191         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11192         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11193         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11194         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11195         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11196         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11197         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11198         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11199         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
11200         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
11201         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
11202         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11203         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11204         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11205         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11206         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11207         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11208         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11209         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
11210         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11211         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
11212         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11213         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11214         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11215         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11216         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11217         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11218         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11219         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11220         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11221         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11222         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11223         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11224         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11225         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11226         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11227         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11228         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11229         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
11230         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
11231         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11232         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11233         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11234         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
11235         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
11236         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11237         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11238         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
11239         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11240         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
11241         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
11242         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11243         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11244         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11245         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
11246         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11247         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11248         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
11249         * sysdeps/posix/closedir.c: Likewise.
11250         * sysdeps/posix/opendir.c: Likewise.
11251         * sysdeps/posix/readdir.c: Likewise.
11252         * sysdeps/posix/rewinddir.c: Likewise.
11253         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
11254         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
11255         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11256         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11257         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11258         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
11259         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
11260         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
11261         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
11262         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
11263         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
11264         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
11265         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
11266         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
11267         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
11268         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
11269         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
11270         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
11271         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
11272         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
11273         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
11274         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
11275         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
11276         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
11277         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
11278         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
11279         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
11280         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
11281         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
11282         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
11283         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
11284         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
11285         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
11286         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
11287         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
11288         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
11289         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11290         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11291         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
11292         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
11293         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
11294         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
11295         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
11296         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
11297         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
11298         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
11299         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
11300         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
11301         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
11302         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
11303         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
11304         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
11305         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
11306         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
11307         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
11308         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
11309         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
11310         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
11311         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
11312         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
11313         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
11314         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
11315         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
11316         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
11317         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
11318         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
11319         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
11320         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
11321         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
11322         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
11323         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
11324         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
11325         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
11326         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
11327         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
11328         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
11329         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
11330         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
11331         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11332         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
11333         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
11334         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11335         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
11336         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
11337         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11338         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
11339         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
11340         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11341         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11342         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11343         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
11344         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
11345         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
11346         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11347         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11348         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
11349         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11350         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11351         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
11352         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
11353         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11354         * sysdeps/unix/alpha/sysdep.S: Likewise.
11355         * sysdeps/unix/alpha/sysdep.h: Likewise.
11356         * sysdeps/unix/make-syscalls.sh: Likewise.
11357         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11358         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11359         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11360         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
11361         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11362         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11363         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
11364         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11365         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11366         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
11367         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11368         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11369         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11370         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11371         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11372         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11373         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11374         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11375         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11376         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11377         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11378         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11379         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11380         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11381         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11382         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11383         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11386         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
11387         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11388         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11389         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11390         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11391         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11392         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11393         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11394         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11395         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11396         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11397         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11398         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11399         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11400         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11401         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11402         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11403         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11404         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11405         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11406         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11407         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11408         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11409         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11410         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11411         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11412         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11413         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11414         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11415         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
11416         * sysdeps/x86_64/memcpy.S: Likewise.
11417         * sysdeps/x86_64/memmove.c: Likewise.
11418         * sysdeps/x86_64/memset.S: Likewise.
11419         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
11420         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11421         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11422         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
11423         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
11424         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11425         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11426         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11427         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11428         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11429         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11430         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11431         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
11432         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11433         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11434         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
11435         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11436         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11437         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11438         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11439         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
11440         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11441         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11442         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11443         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11444         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11445         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11446         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
11447         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11448         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11449         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
11450         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11451         * sysdeps/x86_64/strcmp.S: Likewise.
11453         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
11455         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
11456         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
11457         * elf/rtld-Rules: Likewise.
11458         * elf/setup-vdso.h: Likewise.
11459         * include/assert.h: Likewise.
11460         * include/bits/stdlib-float.h: Likewise.
11461         * include/errno.h: Likewise.
11462         * include/sys/stat.h: Likewise.
11463         * include/unistd.h: Likewise.
11464         * sysdeps/aarch64/setjmp.S: Likewise.
11465         * sysdeps/alpha/setjmp.S: Likewise.
11466         * sysdeps/arm/__longjmp.S: Likewise.
11467         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
11468         * sysdeps/arm/setjmp.S: Likewise.
11469         * sysdeps/arm/sysdep.h: Likewise.
11470         * sysdeps/generic/_itoa.h: Likewise.
11471         * sysdeps/generic/dl-sysdep.h: Likewise.
11472         * sysdeps/generic/ldsodefs.h: Likewise.
11473         * sysdeps/i386/dl-tls.h: Likewise.
11474         * sysdeps/i386/setjmp.S: Likewise.
11475         * sysdeps/m68k/setjmp.c: Likewise.
11476         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
11477         * sysdeps/mach/hurd/opendir.c: Likewise.
11478         * sysdeps/posix/getcwd.c: Likewise.
11479         * sysdeps/posix/opendir.c: Likewise.
11480         * sysdeps/posix/profil.c: Likewise.
11481         * sysdeps/powerpc/dl-procinfo.h: Likewise.
11482         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11483         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11484         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11485         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11486         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
11487         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11488         * sysdeps/s390/dl-tls.h: Likewise.
11489         * sysdeps/s390/s390-32/setjmp.S: Likewise.
11490         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11491         * sysdeps/sh/sh3/setjmp.S: Likewise.
11492         * sysdeps/sh/sh4/setjmp.S: Likewise.
11493         * sysdeps/unix/alpha/sysdep.h: Likewise.
11494         * sysdeps/unix/arm/sysdep.S: Likewise.
11495         * sysdeps/unix/i386/sysdep.S: Likewise.
11496         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11497         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11498         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11499         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11500         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11501         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11502         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11503         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11504         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11505         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11506         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11507         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11508         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11511         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11512         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11513         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11514         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11515         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11516         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11517         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11518         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11519         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11520         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11521         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11522         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11523         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11524         * sysdeps/x86_64/setjmp.S: Likewise.
11526         * include/math.h: Use IS_IN instead of IS_IN_libm.
11527         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
11528         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11529         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11530         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11531         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11532         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11533         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11534         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11535         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11536         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11537         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
11538         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11539         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
11540         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11541         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11542         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
11543         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
11544         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11545         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
11546         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
11547         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
11548         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
11549         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
11550         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
11551         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
11552         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11553         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
11554         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11555         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11556         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11557         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
11558         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11559         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11561         Likewise.
11562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11563         Likewise.
11564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
11565         Likewise.
11566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
11567         Likewise.
11568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
11569         Likewise.
11570         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11571         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
11572         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11573         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11574         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11575         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
11581         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
11582         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
11583         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11584         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11585         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11586         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11587         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11588         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11589         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11590         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
11591         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
11592         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
11593         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
11594         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
11595         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11596         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
11598         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
11599         * nptl/pthreadP.h: Likewise.
11600         * nptl_db/structs.def: Likewise.
11601         * sysdeps/arm/sysdep.h: Likewise.
11602         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11603         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11604         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
11605         * sysdeps/unix/alpha/sysdep.h: Likewise.
11606         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11607         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11608         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11609         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11610         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11611         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11612         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11613         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11614         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11615         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11616         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11617         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11618         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11619         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11622         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11623         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11624         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11625         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11626         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11627         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11628         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11629         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11630         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11631         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11633         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
11634         * nptl/pthreadP.h: Likewise.
11635         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11636         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11637         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11638         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11639         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11640         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11641         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11642         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11643         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11644         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11645         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11646         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11648         Likewise.
11649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11650         Likewise.
11651         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11652         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11653         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11654         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11655         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11656         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11657         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11658         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11660         * dlfcn/dladdr.c: Use IS_IN.
11661         * dlfcn/dladdr1.c: Likewise.
11662         * dlfcn/dlclose.c: Likewise.
11663         * dlfcn/dlerror.c: Likewise.
11664         * dlfcn/dlinfo.c: Likewise.
11665         * dlfcn/dlmopen.c: Likewise.
11666         * dlfcn/dlopen.c: Likewise.
11667         * dlfcn/dlsym.c: Likewise.
11668         * dlfcn/dlvsym.c: Likewise.
11670         * include/ifaddrs.h: Use IS_IN.
11671         * inet/check_pf.c: Likewise.
11672         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11673         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
11675         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
11676         IS_IN_ldconfig.
11677         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11678         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
11680         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
11681         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
11682         IS_IN (libc).
11684         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
11686         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
11687         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11688         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11689         * include/libc-symbols.h (IS_IN_LIB): New macro.
11690         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
11691         * include/netdb.h: Likewise.
11692         * include/stap-probe.h: Remove all uses of IN_LIB.
11694         * Makeconfig (module-cppflags-real): Define MODULE_NAME
11695         instead of IN_MODULE.
11696         * include/libc-symbols.h (IN_MODULE): Define using
11697         MODULE_NAME.
11698         (PASTE_NAME, PASTE_NAME1): New macros.
11699         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
11700         of IN_LIB.
11701         (STAP_PROBE_ASM): Likewise.
11703 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11705         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
11706         __mach_init in dlopened libc.
11708 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
11710         * sysdeps/arm/preconfigure.ac: Delete EABI check.
11711         * sysdeps/arm/preconfigure: Regenerate.
11713 2014-11-21  Roland McGrath  <roland@hack.frob.com>
11715         * nptl/pthread_create.c (__pthread_create_2_1): Set
11716         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
11717         when copying values from IATTR into PD.
11719 2014-11-21  Will Newton  <will.newton@linaro.org>
11720             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11722         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11723         Refactor inline-asm.  Also add comment.
11725         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
11726         ElfW macro instead of hardcoded Elf64 types.
11727         (la_aarch64_gnu_pltenter): Likewise.
11728         * sysdeps/aarch64/dl-machine.h
11729         (elf_machine_runtime_setup): Use ElfW(Addr).
11731         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
11732         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
11733         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
11734         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
11735         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
11736         (R_AARCH64_TLS_DTPMOD64): Rename to ..
11737         (R_AARCH64_TLS_DTPMOD): This.
11738         (R_AARCH64_TLS_DTPREL64): Rename to ...
11739         (R_AARCH64_TLS_DTPREL): This.
11740         (R_AARCH64_TLS_TPREL64): Rename to ...
11741         (R_AARCH64_TLS_TPREL): This.
11742         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11743         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11744         R_AARCH64_TLS_TPREL64.
11745         (elf_machine_rela): Likewise.
11747 2014-11-21  Torvald Riegel  <triegel@redhat.com>
11749         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11750         by setting it to 0.  64b atomics are not supported currently.
11752 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11754         [BZ #16469]
11755         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11756         search domain names.
11758 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11760         [BZ #16469]
11761         * NEWS: Update.
11762         * resolv/res_query.c (__libc_res_nquerydomain): Retain
11763         trailing dot.
11764         * posix/tst-getaddrinfo5.c: New.
11765         * posix/Makefile (tests): Add it.
11767 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11769         [BZ #14498]
11770         * NEWS: Fixed.
11771         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
11772         after parsing line but before break_if_match.
11773         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
11774         if there is a protocol mismatch.
11776 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11778         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
11779         because the potential race is on the user-supplied stream.
11781 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11783         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
11784         string literal if not passed a buffer.
11785         * manual/job.texi (ctermid): Update reasoning, note deviation
11786         from posix, suggest mtasurace when not passed a buffer, for
11787         future non-preliminary safety notes.
11789 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11791         * manual/users.texi (cuserid): Fix MT-Safety note for the case
11792         of not passing it a buffer.
11793         Reported by Peng Haitao.
11795 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11797         * manual/Makefile ($(objpfx)stamp-summary): Require
11798         check-safety.sh to pass.
11799         * manual/check-safety.sh: Wish for verification that every
11800         @deftypefn and @deftypefun is followed by a @safety remark.
11802 2014-11-20  Roland McGrath  <roland@hack.frob.com>
11804         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
11806         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
11807         PTHREAD_CANCEL_ASYNCHRONOUS.
11808         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
11809         send SIGCANCEL.
11811         * nptl/default-sched.h: New file.
11812         * sysdeps/unix/sysv/linux/default-sched.h: New file.
11813         * nptl/pthread_create.c: Include it.
11814         (__pthread_create_2_1): Use collect_default_sched instead of making
11815         Linux syscalls here directly.
11817 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11819         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
11820         __pthread_once): Use C11 atomics.
11822 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11824         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
11826 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11828         * include/atomic.h (__atomic_link_error, __atomic_check_size,
11829         atomic_thread_fence_acquire, atomic_thread_fence_release,
11830         atomic_thread_fence_seq_cst, atomic_load_relaxed,
11831         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
11832         atomic_compare_exchange_weak_relaxed,
11833         atomic_compare_exchange_weak_acquire,
11834         atomic_compare_exchange_weak_release,
11835         atomic_exchange_acquire, atomic_exchange_release,
11836         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
11837         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
11838         atomic_fetch_and_acquire,
11839         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
11841 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11843         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
11844         USE_ATOMIC_COMPILER_BUILTINS): Define.
11845         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
11846         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11847         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
11848         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11849         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
11850         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11851         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
11852         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11853         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
11854         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11855         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
11856         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11857         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
11858         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11859         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
11860         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11861         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11862         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11863         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11864         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11865         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
11866         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11867         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11868         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11869         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
11870         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11871         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11872         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11873         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
11874         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11875         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
11876         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11877         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
11878         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11879         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
11880         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11881         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
11882         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11883         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
11884         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11886 2014-11-19  Roland McGrath  <roland@hack.frob.com>
11888         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
11889         the sched_priority value here.  It was already checked when the user
11890         called pthread_attr_setschedparam.
11892         * nptl/tst-bad-schedattr.c: New file.
11893         * nptl/Makefile (tests): Add it.
11895 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
11896             Florian Weimer  <fweimer@redhat.com>
11897             Joseph Myers  <joseph@codesourcery.com>
11898             Adam Conrad  <adconrad@0c3.net>
11899             Andreas Schwab  <schwab@suse.de>
11900             Brooks  <bmoses@google.com>
11902         [BZ #17625]
11903         * wordexp-test.c (__dso_handle): Add prototype.
11904         (__register_atfork): Likewise.
11905         (__app_register_atfork): New function.
11906         (registered_forks): New global.
11907         (register_fork): New function.
11908         (test_case): Add 3 new tests for WRDE_CMDSUB.
11909         (main): Call __app_register_atfork.
11910         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
11911         fork count is non-zero fail the test.
11912         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
11913         is set.
11914         (parse_dollars): Remove check for WRDE_NOCMD.
11915         (parse_dquote): Likewise.
11917 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11919         * Makeconfig (built-modules): List non-library modules to be
11920         built.
11921         (module-cppflags): Include libc-modules.h for
11922         everything except shlib-versions.v.i.
11923         (CPPFLAGS): Use it.
11924         (before-compile): Add libc-modules.h.
11925         ($(common-objpfx)libc-modules.h,
11926         $(common-objpfx)libc-modules.stmp): New targets.
11927         (common-generated): Add libc-modules.h and libc-modules.stmp.
11928         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
11929         * include/libc-symbols.h: Don't include libc-modules.h.
11930         * include/libc-modules.h: Remove file.
11931         * scripts/gen-libc-modules.awk: New script to generate
11932         libc-modules.h.
11933         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
11934         Depend on libc-modules.stmp.
11936         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
11938         * Makeconfig (in-module): Get value of libof set for the
11939         translation unit.
11940         (CPPFLAGS): Use $(in-module).
11941         * Makerules: Don't suffix routine names for nonlib.
11942         * include/libc-modules.h: New file.
11943         * include/libc-symbols.h: Include libc-modules.h
11944         (IS_IN): New macro to replace IS_IN_* macros.
11945         * elf/Makefile: Set libof-* for each routine.
11946         * elf/rtld-Rules: Likewise.
11947         * extra-modules.mk: Likewise.
11948         * iconv/Makefile: Likewise.
11949         * iconvdata/Makefile: Likewise.
11950         * locale/Makefile: Likewise.
11951         * malloc/Makefile: Likewise.
11952         * nss/Makefile: Likewise.
11953         * sysdeps/gnu/Makefile: Likewise.
11954         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
11955         * sysdeps/unix/sysv/linux/Makefile: Likewise.
11956         * sysdeps/s390/s390-64/Makefile: Likewise.
11957         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
11958         CPPFLAGS for nscd instead of nonlib.
11960 2014-11-18  Roland McGrath  <roland@hack.frob.com>
11962         * nptl/createthread.c: New file.
11964         * nptl/createthread.c: Moved ...
11965         * sysdeps/unix/sysv/linux/createthread.c: ... here.
11967         * nptl/createthread.c: Add proper top-line comment.
11968         (do_clone): Folded into ...
11969         (create_thread): ... here.  Take new arguments STOPPED_START and
11970         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
11971         increment __nptl_threads, do event-reporting logic, do
11972         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
11973         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
11974         resource cleanup if sched_setaffinity or sched_setscheduler fails,
11975         just send SIGCANCEL.
11976         * nptl/pthread_create.c: Forward-declare create_thread before
11977         including createthread.c.
11978         (start_thread): Use new macro START_THREAD_DEFN to replace defining
11979         declaration, and new macro START_THREAD_SELF to replace argument.
11980         Remove return statement.
11981         (report_thread_creation): New function.
11982         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
11983         synchronization logic, and __nptl_nthreads increment here, around
11984         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
11985         PD->parent_cancelhandling here, before create_thread.  When
11986         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
11987         __deallocate_stack, and ENOMEM translation here.
11989 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
11991         [BZ #17616]
11992         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
11993         (mptwo): Rename to __mptwo.
11994         (__inv): Use __mptwo instead of mptwo.
11995         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
11996         (mptwo): Rename to __mptwo.
11997         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
11998         of mpone and __mptwo instead of mptwo.
11999         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
12000         instead of mpone.
12001         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12002         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
12003         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
12004         of mpone and __mptwo instead of mptwo.
12005         (__mpranred): Use __mpone instead of mpone.
12006         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
12007         variable.
12008         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12009         (test-xfail-ISO99/math.h/linknamespace): Likewise.
12010         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12011         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12012         (test-xfail-ISO11/math.h/linknamespace): Likewise.
12013         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12014         (test-xfail-XPG3/math.h/linknamespace): Likewise.
12015         (test-xfail-XPG4/math.h/linknamespace): Likewise.
12016         (test-xfail-POSIX/math.h/linknamespace): Likewise.
12017         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12018         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12019         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12020         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12021         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12022         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12023         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12024         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12025         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12026         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12028 2014-11-18  Tom de Vries  <tom@codesoucery.com>
12030         * manual/signal.texi (Primitives Interrupted by Signals): In section,
12031         replace BSD Handler xref with BSD Signal Handling.
12033 2014-11-17  Richard Henderson  <rth@redhat.com>
12035         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
12036         (_FP_PACK_RAW_2): Remove.
12037         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
12038         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
12039         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
12040         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
12041         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
12042         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
12043         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
12044         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
12045         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
12046         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
12047         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
12048         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
12049         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
12050         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
12051         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
12052         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
12054 2014-11-14  Roland McGrath  <roland@hack.frob.com>
12056         * signal/signal.h [__USE_MISC]
12057         (struct sigvec): Remove type.
12058         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
12059         (sigvec): Remove declaration.
12060         * sysdeps/posix/sigvec.c: Moved ...
12061         * signal/sigvec.c: ... here, replacing old file.
12062         (struct sigvec): New type, copied from old signal.h definition.
12063         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
12064         (__sigvec): Convert definition to prototype.
12065         (sigvec): Replace weak_alias with compat_symbol.
12066         * signal/Versions (libc: GLIBC_2.21): New version set.
12067         * include/signal.h: Remove __sigvec declaration.
12068         * sysdeps/unix/bsd/sigvec.c: Remove file.
12069         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
12070         * manual/signal.texi (BSD Handler): Remove subsection.
12071         Move siginterrupt up to ...
12072         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
12073         (Blocking in BSD): Fold subsection into its parent.
12074         * NEWS: Mention sigvec removal.
12076 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
12078         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
12079         (DLA_FMS): Make definition conditional only on [__FMA4__].
12080         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
12081         definition.
12083         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
12084         Make definition conditional only on [PROF].
12085         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
12086         definition.
12087         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
12088         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
12090         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
12091         !__GNUC__].
12092         * include/signal.h (__sigpause): Move declaration above call to
12093         libc_hidden_proto.
12094         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
12095         variable.
12096         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12097         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12099 2014-11-14  David S. Miller  <davem@davemloft.net>
12101         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
12102         Define before including <string/memcpy.c> and <string/mempcpy.c>.
12104 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
12106         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
12107         * configure: Regenerated.
12108         * manual/install.texi (Tools for Compilation): Document a
12109         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
12110         compiler verified to work.
12111         * INSTALL: Regenerated.
12113         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
12114         redeclare with asm name.
12115         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
12116         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
12117         including <string.h>.
12118         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12119         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
12120         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12121         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
12122         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12123         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12124         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12126 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
12128         * stdlib/strtol.c (__strtol): Use prototype definition.
12130         [BZ #17594]
12131         * stdlib/strtol.c (SYM__): New macro.
12132         (SYM__1): Likewise.
12133         (__strtol): Likewise.
12134         (strtol): Rename to __strtol and define as weak alias of
12135         __strtol.  Use libc_hidden_weak.
12137 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12139         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
12140         Use numbered labels in inline assembly.
12142 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12144         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
12145         Add setjmp LIBC_PROBE.
12146         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
12147         Likewise.
12148         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
12149         Add longjmp, longjmp_target LIBC_PROBE.
12150         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
12151         Likewise.
12153 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12155         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12156         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
12157         to get rid of unused variable warning.
12159 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12161         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
12162         Check for unwind_backtrace ==  NULL only in SHARED case.
12163         (__backchain_backtrace): Compile only in SHARED case.
12164         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
12165         Likewise.
12166         (__backchain_backtrace): Declare as static.
12168 2014-11-12  Roland McGrath  <roland@hack.frob.com>
12170         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
12171         (__libc_multiple_threads_ptr): Variable moved ...
12172         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
12174 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
12176         * conform/GlibcConform.pm: New file.
12177         * conform/conformtest.pl: Use GlibcConform module.
12178         * conform/linknamespace.pl: New file.
12179         * conform/list-header-symbols.pl: Likewise.
12180         * conform/Makefile (linknamespace-symlists-base): New variable.
12181         (linknamespace-symlists-tests): Likewise.
12182         (linknamespace-header-base): Likewise.
12183         (linknamespace-header-tests): Likewise.
12184         (tests-special): Add new tests.
12185         ($(linknamespace-symlists-tests)): New rule.
12186         (linknamespace-libs): New variable.
12187         ($(objpfx)symlist-stdlibs): New rule.
12188         ($(linknamespace-header-tests)): Likewise.
12189         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
12190         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
12191         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
12192         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
12193         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
12194         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
12195         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
12196         (test-xfail-ISO/math.h/linknamespace): Likewise.
12197         (test-xfail-ISO/signal.h/linknamespace): Likewise.
12198         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
12199         (test-xfail-ISO/time.h/linknamespace): Likewise.
12200         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12201         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
12202         (test-xfail-ISO99/math.h/linknamespace): Likewise.
12203         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12204         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12205         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12206         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12207         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
12208         (test-xfail-ISO11/math.h/linknamespace): Likewise.
12209         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12210         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12211         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12212         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
12213         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
12214         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
12215         (test-xfail-XPG3/math.h/linknamespace): Likewise.
12216         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
12217         (test-xfail-XPG3/search.h/linknamespace): Likewise.
12218         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
12219         (test-xfail-XPG3/time.h/linknamespace): Likewise.
12220         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
12221         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12222         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
12223         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
12224         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12225         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12226         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
12227         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
12228         (test-xfail-XPG4/math.h/linknamespace): Likewise.
12229         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
12230         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12231         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
12232         (test-xfail-XPG4/search.h/linknamespace): Likewise.
12233         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12234         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
12235         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
12236         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
12237         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
12238         (test-xfail-XPG4/time.h/linknamespace): Likewise.
12239         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
12240         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12241         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
12242         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12243         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12244         (test-xfail-POSIX/math.h/linknamespace): Likewise.
12245         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
12246         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
12247         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
12248         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12249         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
12250         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12251         (test-xfail-POSIX/time.h/linknamespace): Likewise.
12252         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
12253         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12254         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12255         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
12256         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12257         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12258         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12259         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12260         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12261         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12262         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
12263         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12264         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12265         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12266         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
12267         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12268         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
12269         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
12270         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
12271         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
12272         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12273         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12274         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12275         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12276         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
12277         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
12278         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12279         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
12280         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12281         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
12282         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12283         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12284         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12285         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
12286         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12287         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12288         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
12289         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
12290         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
12291         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
12292         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
12293         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12294         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
12295         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12296         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
12297         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
12298         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
12299         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12300         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12301         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12302         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12303         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12304         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
12305         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12306         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
12307         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12308         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
12309         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12310         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
12311         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
12312         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
12313         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
12314         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12315         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
12316         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12317         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12318         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12319         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12320         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12321         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
12322         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12323         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12324         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12325         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12326         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
12327         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12328         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12329         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
12330         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
12331         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12332         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
12333         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12334         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12335         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
12336         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12337         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12338         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12339         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
12340         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12341         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
12342         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12343         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
12344         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12345         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12346         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
12347         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12348         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12349         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12351         [BZ #17589]
12352         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
12353         of fgets_unlocked.
12355         [BZ #17585]
12356         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
12357         (memmem): Rename to __memmem and define as weak alias of
12358         __memmem.  Use libc_hidden_weak.
12359         (__memmem): Use libc_hidden_def.
12360         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
12361         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
12362         memmem.
12364         [BZ #17582]
12365         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
12366         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
12367         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
12368         and define as weak alias of __fgets_unlocked.  Use
12369         libc_hidden_weak.
12370         (__fgets_unlocked): Use libc_hidden_def.
12371         * include/stdio.h (__fgets_unlocked): Declare.  Use
12372         libc_hidden_proto.
12373         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
12374         __fgets_unlocked instead of fgets_unlocked.
12375         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
12376         (GET_NPROCS_CONF_PARSER): Likewise.
12377         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
12378         (GET_NPROCS_CONF_PARSER): Likewise.
12380         [BZ #17574]
12381         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
12382         weak alias of __wmemset.  Use libc_hidden_weak.
12383         (__wmemset): Use libc_hidden_def.
12384         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
12385         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
12386         of wmemset.
12388         [BZ #17573]
12389         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
12390         with asm name __mempcpy.
12391         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
12393         [BZ #17572]
12394         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
12395         and define as weak alias of __rawmemchr.
12396         (__rawmemchr): Do not define as strong alias of rawmemchr.
12398         [BZ #17571]
12399         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
12400         alias of __qsort_r.
12401         (qsort): Call __qsort_r instead of qsort_r.
12402         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
12403         (__qsort_r): Declare.  Call libc_hidden_proto.
12404         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
12405         instead of qsort_r.
12406         * nscd/gai.c (__qsort_r): Define to qsort_r.
12407         * posix/tst-rfc3484.c (__qsort_r): Likewise.
12408         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
12409         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
12411         [BZ #17570]
12412         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
12413         define as weak alias of __malloc_info.
12415         [BZ #17584]
12416         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
12417         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12418         (__rewinddir): Use libc_hidden_def.
12419         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
12420         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12421         (__rewinddir): Use libc_hidden_def.
12422         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
12423         weak alias of __rewinddir.  Don't use libc_hidden_def.
12424         (__rewinddir): Use libc_hidden_def.
12425         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
12426         (__rewinddir): Use libc_hidden_proto.
12427         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
12428         rewinddir.
12429         (__getcwd): Use __rewinddir instead of rewinddir.
12431         [BZ #17583]
12432         * libio/fileno.c (fileno): Rename to __fileno and define as weak
12433         alias of __fileno.  Use libc_hidden_weak.
12434         (__fileno): Use libc_hidden_def.
12435         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
12436         * libio/ftello.c (ftello): Rename to __ftello and define as weak
12437         alias of __ftello.
12438         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
12439         __ftello.
12440         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
12441         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
12442         libc_hidden_def.
12443         (fread_unlocked): Don't use libc_hidden_ver.
12444         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
12445         and define as weak alias of __fread_unlocked.  Don't use
12446         libc_hidden_def.
12447         (__fread_unlocked): Use libc_hidden_def.
12448         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
12449         (ftello): Don't use libc_hidden_proto.
12450         (__ftello): Declare.  Use libc_hidden_proto.
12451         (fread_unlocked): Don't use libc_hidden_proto.
12452         (__fread_unlocked): Declare.  Use libc_hidden_proto.
12453         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
12454         and __ftello instead of fileno, fread_unlocked and ftello.
12456 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12458         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
12459         GOT12.
12460         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12461         Likewise.
12462         (_dl_start_user): Likewise.
12463         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
12465 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
12466             Siddhesh Poyarekar  <siddhesh@redhat.com>
12468         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
12469         Move argv and envp down instead of moving argc up.
12470         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
12472 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
12474         [BZ #17506]
12475         * test-skeleton.c (main): Return successful if one of
12476         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
12477         * string/tst-strcoll-overflow.c: Define expected status.
12479 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
12481         [BZ #17475]
12482         * locale/iso-639.def: Define Bhili and Tulu language codes.
12484 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
12486         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
12488 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
12490         [BZ #17555]
12491         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
12493 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
12495         * configure.ac: Updated check of minimal required version to
12496         2.22.
12497         * manual/install.texi (Tools for Compilation): Updated version
12498         number.
12499         * configure: Regenerated.
12500         * INSTALL: Likewise.
12502 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
12504         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
12505         __tls_get_addr.
12507 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
12509         * include/sys/wait.h (__libc_waitpid): Remove declaration.
12510         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
12511         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12512         libc_hidden_weak.
12513         (waitpid): Define as alias of __waitpid.
12514         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
12515         __waitpid.
12516         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12517         libc_hidden_weak.
12518         (waitpid): Define as alias of __waitpid.
12519         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
12520         __libc_waitpid alias.
12521         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
12522         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
12523         Likewise.
12524         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
12525         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
12526         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
12527         alias.
12528         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
12529         __waitpid.
12530         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12531         libc_hidden_weak.
12532         (waitpid): Define as alias of __waitpid.
12534 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
12536         * manual/llio.texi: Add comment that write safety has been
12537         fixed in Linux.
12539         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
12540         (localplt-build-dso): Add elf/ld.so.
12541         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
12542         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
12543         and free for ld.so.
12544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
12545         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
12546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
12547         Likewise.
12548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12549         Likewise.
12550         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
12551         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
12552         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
12553         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
12554         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12555         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
12556         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
12557         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
12558         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12559         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
12560         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12562 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
12564         [BZ #14132]
12565         * include/libc-symbols.h (INTUSE): Remove macro.
12566         (INTDEF): Likewise.
12567         (INTVARDEF): Likewise.
12568         (_INTVARDEF): Likewise.
12569         (INTDEF2): Likewise.
12570         (INTVARDEF2): Likewise.
12571         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
12572         rtld_hidden_def instead of INTVARDEF.
12573         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
12574         (_dl_starting_up_internal): Remove declaration.
12575         (_dl_starting_up): Use rtld_hidden_proto.
12576         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
12577         declaration.
12578         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
12579         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
12580         _dl_starting_up.
12581         * elf/dl-writev.h (_dl_writev): Likewise.
12582         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
12583         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
12584         _dl_starting_up_internal.
12586 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12588         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12589         test-skeleton.c.
12591 2014-11-05  Will Newton  <will.newton@linaro.org>
12593         * benchtests/Makefile: (bench-malloc): Add malloc thread
12594         scalability benchmark.
12595         * benchtests/bench-malloc-threads.c: New file.
12597 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
12599         * sysdeps/aarch64/strchrnul.S: New file.
12601 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12603         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
12604         definition.
12605         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12606         Likwise.
12607         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12608         Likewise.
12609         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12610         Likewise.
12611         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12612         Likewise.
12613         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12614         Likewise.
12616 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
12618         * catgets/test-gencat.c: Use test-skeleton.c.
12619         * catgets/tst-catgets.c: Likewise.
12620         * csu/tst-empty.c: Likewise.
12621         * elf/tst-audit2.c: Likewise.
12622         * elf/tst-global1.c: Likewise.
12623         * elf/tst-pathopt.c: Likewise.
12624         * elf/tst-piemod1.c: Likewise.
12625         * elf/tst-tls10.c: Likewise.
12626         * elf/tst-tls11.c: Likewise.
12627         * elf/tst-tls12.c: Likewise.
12628         * gnulib/tst-gcc.c: Likewise.
12629         * iconvdata/tst-e2big.c: Likewise.
12630         * iconvdata/tst-loading.c: Likewise.
12631         * iconv/tst-iconv1.c: Likewise.
12632         * iconv/tst-iconv2.c: Likewise.
12633         * inet/test-inet6_opt.c: Likewise.
12634         * inet/tst-gethnm.c: Likewise.
12635         * inet/tst-network.c: Likewise.
12636         * inet/tst-ntoa.c: Likewise.
12637         * intl/tst-codeset.c: Likewise.
12638         * intl/tst-gettext2.c: Likewise.
12639         * intl/tst-gettext3.c: Likewise.
12640         * intl/tst-ngettext.c: Likewise.
12641         * intl/tst-translit.c: Likewise.
12642         * io/test-stat.c: Likewise.
12643         * libio/test-fmemopen.c: Likewise.
12644         * libio/tst-freopen.c: Likewise.
12645         * libio/tst-sscanf.c: Likewise.
12646         * libio/tst-ungetwc1.c: Likewise.
12647         * libio/tst-ungetwc2.c: Likewise.
12648         * libio/tst-widetext.c: Likewise.
12649         * localedata/tst-ctype.c: Likewise.
12650         * localedata/tst-digits.c: Likewise.
12651         * localedata/tst-leaks.c: Likewise.
12652         * localedata/tst-mbswcs1.c: Likewise.
12653         * localedata/tst-mbswcs2.c: Likewise.
12654         * localedata/tst-mbswcs3.c: Likewise.
12655         * localedata/tst-mbswcs4.c: Likewise.
12656         * localedata/tst-mbswcs5.c: Likewise.
12657         * localedata/tst-setlocale.c: Likewise.
12658         * localedata/tst-trans.c: Likewise.
12659         * localedata/tst-wctype.c: Likewise.
12660         * localedata/tst-xlocale1.c: Likewise.
12661         * login/tst-grantpt.c: Likewise.
12662         * malloc/tst-calloc.c: Likewise.
12663         * malloc/tst-malloc.c: Likewise.
12664         * malloc/tst-mallocstate.c: Likewise.
12665         * malloc/tst-mcheck.c: Likewise.
12666         * malloc/tst-mtrace.c: Likewise.
12667         * malloc/tst-obstack.c: Likewise.
12668         * math/atest-exp2.c: Likewise.
12669         * math/atest-exp.c: Likewise.
12670         * math/atest-sincos.c: Likewise.
12671         * math/test-matherr.c: Likewise.
12672         * math/test-misc.c: Likewise.
12673         * math/test-powl.c: Likewise.
12674         * math/tst-definitions.c: Likewise.
12675         * misc/tst-dirname.c: Likewise.
12676         * misc/tst-efgcvt.c: Likewise.
12677         * misc/tst-fdset.c: Likewise.
12678         * misc/tst-hsearch.c: Likewise.
12679         * misc/tst-mntent2.c: Likewise.
12680         * nptl/tst-sem7.c: Likewise.
12681         * nptl/tst-sem8.c: Likewise.
12682         * nptl/tst-sem9.c: Likewise.
12683         * nss/test-netdb.c: Likewise.
12684         * posix/tst-fnmatch.c: Likewise.
12685         * posix/tst-getlogin.c: Likewise.
12686         * posix/tst-gnuglob.c: Likewise.
12687         * posix/tst-mmap.c: Likewise.
12688         * pwd/tst-getpw.c: Likewise.
12689         * resolv/tst-inet_ntop.c: Likewise.
12690         * rt/tst-timer.c: Likewise.
12691         * stdio-common/test-fseek.c: Likewise.
12692         * stdio-common/test-popen.c: Likewise.
12693         * stdio-common/test-vfprintf.c: Likewise.
12694         * stdio-common/tst-cookie.c: Likewise.
12695         * stdio-common/tst-fileno.c: Likewise.
12696         * stdio-common/tst-gets.c: Likewise.
12697         * stdio-common/tst-obprintf.c: Likewise.
12698         * stdio-common/tst-perror.c: Likewise.
12699         * stdio-common/tst-sprintf2.c: Likewise.
12700         * stdio-common/tst-sprintf3.c: Likewise.
12701         * stdio-common/tst-sprintf.c: Likewise.
12702         * stdio-common/tst-swprintf.c: Likewise.
12703         * stdio-common/tst-tmpnam.c: Likewise.
12704         * stdio-common/tst-unbputc.c: Likewise.
12705         * stdio-common/tst-wc-printf.c: Likewise.
12706         * stdlib/tst-environ.c: Likewise.
12707         * stdlib/tst-fmtmsg.c: Likewise.
12708         * stdlib/tst-limits.c: Likewise.
12709         * stdlib/tst-rand48-2.c: Likewise.
12710         * stdlib/tst-rand48.c: Likewise.
12711         * stdlib/tst-random2.c: Likewise.
12712         * stdlib/tst-random.c: Likewise.
12713         * stdlib/tst-strtol.c: Likewise.
12714         * stdlib/tst-strtoll.c: Likewise.
12715         * stdlib/tst-tls-atexit.c: Likewise.
12716         * stdlib/tst-xpg-basename.c: Likewise.
12717         * string/test-ffs.c: Likewise.
12718         * string/tst-bswap.c: Likewise.
12719         * string/tst-inlcall.c: Likewise.
12720         * string/tst-strtok.c: Likewise.
12721         * string/tst-strxfrm.c: Likewise.
12722         * sysdeps/x86_64/tst-audit10.c: Likewise.
12723         * sysdeps/x86_64/tst-audit3.c: Likewise.
12724         * sysdeps/x86_64/tst-audit4.c: Likewise.
12725         * sysdeps/x86_64/tst-audit5.c: Likewise.
12726         * time/tst-ftime_l.c: Likewise.
12727         * time/tst-getdate.c: Likewise.
12728         * time/tst-mktime3.c: Likewise.
12729         * time/tst-mktime.c: Likewise.
12730         * time/tst-posixtz.c: Likewise.
12731         * time/tst-strptime2.c: Likewise.
12732         * time/tst-strptime3.c: Likewise.
12733         * wcsmbs/tst-btowc.c: Likewise.
12734         * wcsmbs/tst-mbrtowc.c: Likewise.
12735         * wcsmbs/tst-mbsrtowcs.c: Likewise.
12736         * wcsmbs/tst-wchar-h.c: Likewise.
12737         * wcsmbs/tst-wcpncpy.c: Likewise.
12738         * wcsmbs/tst-wcrtomb.c: Likewise.
12739         * wcsmbs/tst-wcsnlen.c: Likewise.
12740         * wcsmbs/tst-wcstof.c: Likewise.
12742 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
12744         [BZ #14132]
12745         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12746         INTDEF.
12747         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12748         declaration.
12749         (_dl_mcount): Use rtld_hidden_proto.
12750         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12751         _dl_mcount.
12752         * elf/rtld.c (_rtld_global_ro): Likewise.
12754         [BZ #14132]
12755         * elf/dl-init.c (_dl_init): Don't use INTDEF.
12756         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12757         of _dl_init_internal.
12758         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
12759         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
12760         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
12761         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
12762         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
12763         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
12764         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
12765         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
12766         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
12767         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
12768         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
12769         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
12770         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12771         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12772         * sysdeps/tile/dl-start.S (_start): Likewise.
12773         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12774         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
12776         [BZ #14132]
12777         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
12778         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
12779         (rtld_progname): Make macro definition unconditional.
12780         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
12781         INTDEF.
12782         (dlmopen_doit): Do not use INTUSE with _dl_argv.
12783         (dl_main): Likewise.
12784         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12785         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
12786         instead of _dl_argv_internal.
12787         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12788         __GI__dl_argv instead of INTUSE(_dl_argv).
12789         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
12790         __GI__dl_argv instead of _dl_argv_internal.
12792         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
12793         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
12794         macro.
12795         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
12796         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
12797         New macro.
12798         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
12799         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
12800         macro.
12801         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
12802         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
12804 2014-11-04  Andreas Schwab  <schwab@suse.de>
12806         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
12808 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12810         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
12811         mtvsrd instruction in binary form.
12813 2014-11-03  Andreas Schwab  <schwab@suse.de>
12815         [BZ #17522]
12816         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
12817         for less than MB_LEN_MAX use a local buffer of that size.
12818         * libio/tst-fputws.c: New file.
12819         * libio/Makefile (tests): Add tst-fputws.
12821 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
12823         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
12824         the size of the fpu_fr.fpu_dregs[] array.
12826 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
12828         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
12829         (__nanosleep): Do not define as alias.
12830         (nanosleep): Define as alias of __nanosleep.
12831         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
12832         __libc_nanosleep name.
12834 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12836         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
12837         install.texi in comment.
12839 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12841         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
12842         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
12843         ... add here and use lwsync or sync ...
12844         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
12845         ... and add here using lwsync.
12847 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
12849         * elf/dl-machine-reject-phdr.h: New file.
12850         * elf/dl-load.c: #include that.
12851         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
12852         if that returned true.
12854 2014-10-31  Roland McGrath  <roland@hack.frob.com>
12856         [BZ #17496]
12857         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
12858         gen-as-const-headers chunk.  Add a big scare comment after the last
12859         safe place to touch before-compile.
12861 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12863         * manual/install.texi (Tools for Compilation): Update autoconf
12864         version requirements.
12865         * INSTALL: Regenerated.
12867         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
12868         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
12869         (__libc_pselect): Likewise.
12871         [BZ #14138]
12872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
12873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12877 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12879         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
12880         correct barrier instruction.
12881         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
12882         Likewise.
12883         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
12884         Likewise.
12886 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12888         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
12889         after defining inlines.  Instead, just use parens to defeat macro
12890         expansion of __isctype in its declaration.
12892 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12894         * include/sys/uio.h (__libc_readv): Remove declaration.
12895         (__libc_writev): Likewise.
12896         * misc/readv.c (__libc_readv): Rename to __readv.
12897         (__readv): Do not define as alias.
12898         (readv): Define as alias of __readv.
12899         * misc/writev.c (__libc_writev): Rename to __writev.
12900         (__writev): Do not define as alias.
12901         (writev): Define as alias of __writev.
12902         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
12903         (__readv): Do not define as alias.
12904         (readv): Define unconditionally as alias of __readv.
12905         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
12906         (__writev): Do not define as alias.
12907         (writev): Define unconditionally as alias of __writev.
12908         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
12909         name.
12910         (writev): Do not define __libc_writev name.
12912 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12914         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
12915         (convert_charseq): New function, broken out of ...
12916         (use_from_charmap): ... here.  Call it.
12917         (use_to_charmap): Use convert_charseq and free instead of duplicating
12918         its code with a variable-length stack struct.
12920 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12922         * include/fcntl.h (__libc_creat): Remove declaration.
12923         * io/creat.c (__libc_creat): Rename to creat.
12924         (creat): Do not define as alias.
12925         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
12926         of creat instead of __libc_creat.
12927         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
12928         to creat.
12929         (creat): Do not define as alias.
12930         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
12931         __libc_creat.
12932         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
12933         __libc_creat name.
12934         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
12935         Likewise.
12937 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
12939         * manual/llio.texi: Add comments discussing why write() may be
12940         considered MT-unsafe on Linux.
12942 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
12944         * dl-load.c (local_strdup): Remove.
12945         (expand_dynamic_string_token): Use __strdup.
12946         (decompose_rpath): Likewise.
12947         (_dl_map_object): Likewise.
12949 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
12951         [BZ #14132]
12952         * sysdeps/generic/unwind-dw2-fde.c
12953         (__register_frame_info_bases_internal): Do not declare.
12954         (__register_frame_info_table_bases_internal): Likewise.
12955         (__deregister_frame_info_bases_internal): Likewise.
12956         (__register_frame_info_bases): Declare and use hidden_proto before
12957         definition.  Use hidden_def instead of INTDEF.
12958         (__register_frame_info_table_bases): Likewise.
12959         (__deregister_frame_info_bases): Likewise.
12960         (__register_frame_info): Do not use INTUSE.
12961         (__register_frame): Likewise.
12962         (__register_frame_info_table): Likewise.
12963         (__register_frame_table): Likewise.
12964         (__deregister_frame_info): Likewise.
12965         (__deregister_frame): Likewise.
12967 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
12969         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12970         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
12971         not undefine.
12972         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
12973         Likewise.
12974         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
12975         Likewise.
12977 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
12979         [BZ #14138]
12980         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
12981         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
12982         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
12983         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
12984         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
12985         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
12986         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
12987         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
12988         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
12989         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
12990         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
12991         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
12992         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
12993         syscall.
12994         (setfsuid): Likewise.
12995         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
12996         (setfsuid): Likewise.
12997         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
12998         (setfsuid): Likewise.
12999         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
13000         Likewise.
13001         (setfsuid): Likewise.
13002         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
13003         (setfsuid): Likewise.
13004         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
13005         Likewise.
13006         (setfsuid): Likewise.
13008 2014-10-27  Andreas Schwab  <schwab@suse.de>
13010         [BZ #17501]
13011         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
13012         check for Slow_SSE4_2 feature bit.
13013         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
13014         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13015         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
13016         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
13018 2014-10-24  Roland McGrath  <roland@hack.frob.com>
13020         * configure.ac: Validate compiler version with a empirical test of
13021         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
13022         $CC -v output.
13023         * configure: Regenerated.
13025         * inet/htons.c (htons): Prototypify.
13026         * inet/htonl.c (htonl): Likewise.
13028 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13030         * string/strncat.c (strncat): Improve performance by using strlen.
13032 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13034         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
13036 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13038         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
13039         Call libc_fetestexcept_aarch64.
13041 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13043         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
13044         Call libc_feholdexcept_aarch64.
13046 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13048         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
13049         Call get_rounding_mode.
13051 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13053         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13054         Simplify logic.
13056 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13058         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
13059         Simplify logic.
13061 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
13063         [BZ #14138]
13064         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
13065         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
13066         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
13067         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
13068         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
13069         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
13070         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
13071         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
13072         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
13073         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
13074         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13075         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
13076         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
13077         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
13078         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
13079         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
13080         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
13081         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
13082         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
13083         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
13084         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
13085         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
13086         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
13087         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
13088         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
13089         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
13090         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
13091         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
13092         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
13093         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
13094         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
13095         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
13096         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
13097         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
13098         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
13099         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
13100         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
13101         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
13102         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
13103         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
13104         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
13105         syscall.
13106         (geteuid): Likewise.
13107         (getgid): Likewise.
13108         (getuid): Likewise.
13109         (getresgid): Likewise.
13110         (getresuid): Likewise.
13111         (getgroups): Likewise.
13112         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
13113         (geteuid): Likewise.
13114         (getgid): Likewise.
13115         (getuid): Likewise.
13116         (getresgid): Likewise.
13117         (getresuid): Likewise.
13118         (getgroups): Likewise.
13119         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
13120         (geteuid): Likewise.
13121         (getgid): Likewise.
13122         (getuid): Likewise.
13123         (getresgid): Likewise.
13124         (getresuid): Likewise.
13125         (getgroups): Likewise.
13126         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
13127         Likewise.
13128         (geteuid): Likewise.
13129         (getgid): Likewise.
13130         (getuid): Likewise.
13131         (getresgid): Likewise.
13132         (getresuid): Likewise.
13133         (getgroups): Likewise.
13134         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
13135         (geteuid): Likewise.
13136         (getgid): Likewise.
13137         (getuid): Likewise.
13138         (getresgid): Likewise.
13139         (getresuid): Likewise.
13140         (getgroups): Likewise.
13141         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
13142         Likewise.
13143         (geteuid): Likewise.
13144         (getgid): Likewise.
13145         (getuid): Likewise.
13146         (getgroups): Likewise.
13148         [BZ #14138]
13149         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
13150         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
13151         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
13152         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13153         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
13154         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
13155         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
13156         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
13157         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
13158         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
13159         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
13160         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
13161         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
13162         __chown.
13163         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
13164         (lchown): Likewise.
13165         (fchown): Likewise.
13166         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
13167         Likewise.
13168         (lchown): Likewise.
13169         (fchown): Likewise.
13170         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
13171         (lchown): Likewise.
13172         (fchown): Likewise.
13173         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
13174         Likewise.
13175         (lchown): Likewise.
13176         (fchown): Likewise.
13178 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13180         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
13181         Simplify logic.
13183 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13185         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13186         Cleanup logic.
13188 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13190         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13191         Remove unused include.
13193 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
13195         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
13196         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
13197         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
13198         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
13200 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
13201             Helge Deller <deller@gmx.de>
13203         [BZ #17508]
13204         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
13205         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
13206         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
13208 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
13210         [BZ #14132]
13211         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
13212         Remove macro definition.
13213         (__ashrdi3_v_glibc20): Likewise.
13214         (__lshrdi3_v_glibc20): Likewise.
13215         (__cmpdi2_v_glibc20): Likewise.
13216         (__ucmpdi2_v_glibc20): Likewise.
13217         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
13218         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13219         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13220         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13221         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13222         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
13224 2014-10-22  Roland McGrath  <roland@hack.frob.com>
13226         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
13227         old GNU extension [0] syntax.
13228         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
13229         alloca rather than an array member with variable length.
13230         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
13231         * nscd/nscd.c (invalidate_db): New function, broken out of ...
13232         (parse_opt): ... here.  Likewise use alloca there.
13233         Validate the -i argument before checking for rootness.
13234         (send_shutdown): New function, broken out of ...
13235         (parse_opt): ... here.
13237 2014-10-22  Roland McGrath  <roland@hack.frob.com>
13239         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
13240         macro to get at the _rt_local_ro field.
13241         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
13242         ([PIC] case) or _dl_hwcap ([!PIC] case).
13243         * sysdeps/arm/setjmp.S: Likewise.
13245         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
13246         * sysdeps/arm/configure.ac: New check to define it.
13247         * sysdeps/arm/configure: Regenerated.
13248         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
13249         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
13250         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
13251         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
13252         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
13253         Use move/movt pair instead of a load.
13254         (LDST_GLOBAL): Macro removed.
13255         (LDR_GLOBAL): New macro replaces it.
13256         (LDR_HIDDEN): New macro.
13257         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
13258         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
13260         * setjmp/tst-setjmp-static.c: New file.
13261         * setjmp/Makefile (tests): Add it.
13262         (tests-static): New variable.
13264 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
13266         [BZ #17485]
13267         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
13269 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
13271         [BZ #14132]
13272         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
13274 2014-10-21  Roland McGrath  <roland@hack.frob.com>
13276         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
13278 2014-10-20  Roland McGrath  <roland@hack.frob.com>
13280         * io/fts.c (dirent_not_directory): New function.
13281         (fts_build): Call it.
13283 2014-10-20  Roland McGrath  <roland@hack.frob.com>
13285         * nptl/version.c (__nptl_main): Use normal __write rather than
13286         INTERNAL_SYSCALL.
13287         (banner): Update copyright years.
13289         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
13290         gettimeofday.
13291         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13292         * nptl/pthread_cond_timedwait.c: Likewise.
13293         * nptl/pthread_mutex_timedlock.c: Likewise.
13294         * nptl/sem_timedwait.c: Likewise.
13296         * sysdeps/nptl/bits/libc-lock.h
13297         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13298         (__libc_lock_init_recursive): Return void, not 0.
13299         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
13300         (__libc_rwlock_init): Likewise.
13301         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
13303 2014-10-20  Torvald Riegel  <triegel@redhat.com>
13305         [BZ #15215]
13306         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
13307         (__pthread_once_slow): ... here.
13308         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
13309         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
13311 2014-10-20  Torvald Riegel  <triegel@redhat.com>
13313         [BZ #15215]
13314         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
13315         __PTHREAD_ONCE_FORK_GEN_INCR): New.
13316         * sysdeps/nptl/fork.c (__libc_fork): Use them.
13317         * nptl/pthread_once.c (__pthread_once): Likewise.
13318         Update comments.
13320 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
13322         [BZ #14138]
13323         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
13324         name.
13325         (writev): Use __libc_writev as strong name.
13326         * sysdeps/unix/sysv/linux/readv.c: Remove file.
13327         * sysdeps/unix/sysv/linux/writev.c: Likewise.
13329 2014-10-17  Roland McGrath  <roland@hack.frob.com>
13331         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
13333         * sysdeps/i386/nptl/tls.h
13334         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
13335         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
13336         New macros.
13337         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
13338         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
13339         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
13340         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
13341         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
13342         Call CHECK_THREAD_SYSINFO instead of doing an assert.
13344         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13345         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
13346         on [__NR_futex].
13347         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
13348         broken out of ...
13349         (__pthread_mutex_init): ... here.  Call it.
13350         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
13351         Conditionalize PI cases on [__NR_futex].
13352         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
13353         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
13354         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13356         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
13357         conditional on [SIGSETXID].
13358         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
13359         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
13360         is defined.  Likewise for SIGSETXID.
13361         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
13362         Conditionalize definitions on [SIGSETXID].
13363         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
13364         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
13365         unblocking on [SIGCANCEL].
13367         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
13368         [__NR_set_robust_list].
13370 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13372         * string/strcoll_l.c (get_next_seq): Fix up formatting.
13373         (do_compare): Likewise.
13375 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
13377         [BZ #15884]
13378         * string/strcoll_l.c: Don't include stdio.h.
13379         (coll_seq): Remove members idxarr and rulearr.
13380         (get_next_seq_cached): Remove function.
13381         (get_next_seq): Likewise.
13382         (get_next_seq_nocache): Rename to get_next_seq.
13383         (do_compare): Remove function.
13384         (do_compare_nocache): Rename to do_compare.
13385         (STRCOLL): Remove weight and rules cache.
13387 2014-10-16  Roland McGrath  <roland@hack.frob.com>
13389         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
13390         * sysdeps/arm/sfp-machine.h: ... to here.
13391         * sysdeps/arm/Implies: Remove arm/soft-fp.
13393 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
13395         * conform/data/sys/utsname.h-data (*_t): Allow.
13396         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
13397         [POSIX] (WEXITED): Do not expect constant.
13398         [POSIX] (WSTOPPED): Likewise.
13399         [POSIX] (WNOHANG): Likewise.
13400         [POSIX] (WNOWAIT): Likewise.
13401         [POSIX] (siginfo_t): Do not expect type or elements.
13402         [POSIX] (pid_t): Do not expect type.
13403         [POSIX] (signal.h): Do not allow header.
13404         [POSIX] (sys/resource.h): Likewise.
13405         [POSIX] (si_*): Do not allow pattern.
13406         [POSIX] (W*): Likewise.
13407         [POSIX] (P_*): Likewise.
13408         [POSIX] (BUS_*): Likewise.
13409         [POSIX] (CLD_*): Likewise.
13410         [POSIX] (FPE_*): Likewise.
13411         [POSIX] (ILL_*): Likewise.
13412         [POSIX] (POLL_*): Likewise.
13413         [POSIX] (SEGV_*): Likewise.
13414         [POSIX] (SI_*): Likewise.
13415         [POSIX] (TRAP_*): Likewise.
13416         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
13417         variable.
13419 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13421         [BZ #12926]
13422         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
13423         infinite loop when __recvmsg returns 0.
13425 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
13427         * CANCEL-FCT-WAIVE: Remove file.
13428         * CANCEL-FILE-WAIVE: Likewise.
13430         [BZ #14132]
13431         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
13432         instead of INTVARDEF.
13433         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13434         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
13435         rtld_hidden_data_def instead of INTVARDEF.
13436         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13437         * elf/dl-deps.c (expand_dst): Likewise.
13438         * elf/dl-load.c (_dl_dst_count): Likewise.
13439         (_dl_dst_substitute): Likewise.
13440         (decompose_rpath): Likewise.
13441         (_dl_init_paths): Likewise.
13442         (open_path): Likewise.
13443         (_dl_map_object): Likewise.
13444         * elf/rtld.c (dl_main): Likewise.
13445         (process_dl_audit): Likewise.
13446         (process_envvars): Likewise.
13447         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
13448         Remove declaration.
13449         (__libc_enable_secure): Use rtld_hidden_proto.
13451 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13453         * elf/dl-load.c
13454         (add_path): New function broken out of _dl_rtld_di_serinfo.
13455         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
13457 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13459         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
13460         parentheses around macro arguments.
13461         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
13462         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
13463         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
13464         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
13465         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
13466         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13467         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13468         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
13469         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
13470         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
13471         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
13472         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
13473         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
13474         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
13475         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
13476         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
13477         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
13478         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
13479         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
13480         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
13481         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
13482         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
13483         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
13484         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13485         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13486         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
13487         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
13488         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
13489         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
13490         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
13491         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
13492         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
13493         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
13494         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
13495         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
13496         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
13497         Likewise.
13498         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
13499         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13500         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13501         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
13502         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
13503         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
13504         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
13505         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
13506         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
13507         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
13508         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
13509         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
13510         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
13511         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
13512         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
13513         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13514         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13515         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
13516         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
13517         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
13518         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
13519         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
13520         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
13521         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
13522         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
13523         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
13524         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
13525         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
13526         (_FP_FRAC_SRS_1): Likewise.
13527         (_FP_FRAC_CLZ_1): Likewise.
13528         (_FP_MUL_MEAT_1_imm): Likewise.
13529         (_FP_MUL_MEAT_1_wide): Likewise.
13530         (_FP_MUL_MEAT_1_hard): Likewise.
13531         (_FP_SQRT_MEAT_1): Likewise.
13532         (_FP_FRAC_ASSEMBLE_1): Likewise.
13533         (_FP_FRAC_DISASSEMBLE_1): Likewise.
13534         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
13535         (__FP_CLZ_2): Likewise.
13536         (_FP_MUL_MEAT_2_wide): Likewise.
13537         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13538         (_FP_MUL_MEAT_2_gmp): Likewise.
13539         (_FP_MUL_MEAT_2_120_240_double): Likewise.
13540         (_FP_SQRT_MEAT_2): Likewise.
13541         (_FP_FRAC_ASSEMBLE_2): Likewise.
13542         (_FP_FRAC_DISASSEMBLE_2): Likewise.
13543         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
13544         (_FP_FRAC_CLZ_4): Likewise.
13545         (_FP_MUL_MEAT_4_wide): Likewise.
13546         (_FP_MUL_MEAT_4_gmp): Likewise.
13547         (_FP_SQRT_MEAT_4): Likewise.
13548         (_FP_FRAC_ASSEMBLE_4): Likewise.
13549         (_FP_FRAC_DISASSEMBLE_4): Likewise.
13550         * soft-fp/op-common.h (_FP_CMP): Likewise.
13551         (_FP_CMP_EQ): Likewise.
13552         (_FP_CMP_UNORD): Likewise.
13553         (_FP_TO_INT): Likewise.
13554         (_FP_FROM_INT): Likewise.
13555         [!__FP_CLZ] (__FP_CLZ): Likewise.
13556         (_FP_DIV_HELP_imm): Likewise.
13557         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
13558         Likewise.
13559         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
13560         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
13561         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
13562         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
13563         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
13564         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13565         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13566         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
13567         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
13568         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
13569         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
13570         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
13571         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
13572         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
13573         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
13574         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
13575         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
13576         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
13577         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
13578         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
13579         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
13580         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
13581         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
13582         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13583         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13584         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
13585         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
13586         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
13587         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
13588         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
13589         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
13590         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
13591         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
13592         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
13593         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
13594         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
13595         (FP_UNPACK_RAW_SP): Likewise.
13596         (FP_PACK_RAW_S): Likewise.
13597         (FP_PACK_RAW_SP): Likewise.
13598         (FP_UNPACK_S): Likewise.
13599         (FP_UNPACK_SP): Likewise.
13600         (FP_UNPACK_SEMIRAW_S): Likewise.
13601         (FP_UNPACK_SEMIRAW_SP): Likewise.
13602         (FP_PACK_S): Likewise.
13603         (FP_PACK_SP): Likewise.
13604         (FP_PACK_SEMIRAW_S): Likewise.
13605         (FP_PACK_SEMIRAW_SP): Likewise.
13606         (_FP_SQRT_MEAT_S): Likewise.
13607         (FP_CMP_S): Likewise.
13608         (FP_CMP_EQ_S): Likewise.
13609         (FP_CMP_UNORD_S): Likewise.
13610         (FP_TO_INT_S): Likewise.
13611         (FP_FROM_INT_S): Likewise.
13613         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
13615         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
13616         (FP_EX_INVALID_IMZ): Likewise.
13617         (FP_EX_INVALID_IMZ_FMA): Likewise.
13618         (FP_EX_INVALID_ISI): Likewise.
13619         (FP_EX_INVALID_ZDZ): Likewise.
13620         (FP_EX_INVALID_IDI): Likewise.
13621         (FP_EX_INVALID_SQRT): Likewise.
13622         (FP_EX_INVALID_CVI): Likewise.
13623         (FP_EX_INVALID_VC): Likewise.
13624         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
13625         "invalid" exceptions.
13626         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
13627         (_FP_ADD_INTERNAL): Likewise.
13628         (_FP_MUL): Likewise.
13629         (_FP_FMA): Likewise.
13630         (_FP_DIV): Likewise.
13631         (_FP_CMP_CHECK_NAN): Likewise.
13632         (_FP_SQRT): Likewise.
13633         (_FP_TO_INT): Likewise.
13634         (FP_EXTEND): Likewise.
13636 2014-10-09  Allan McRae  <allan@archlinux.org>
13638         * po/fr.po: Update French translation from translation project.
13640 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13642         [BZ #14132]
13643         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
13644         of INTDEF.
13645         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
13646         (__cxa_atexit): Use libc_hidden_proto.
13647         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
13649         [BZ #14132]
13650         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
13651         declaration.
13652         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
13653         [!_ISOMAC] (__iswspace_l_internal): Likewise.
13654         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
13655         [!_ISOMAC] (__iswctype_internal): Likewise.
13656         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
13657         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
13658         alias.
13659         (fcntl): Remove __fcntl_internal alias.
13660         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
13661         __connect_internal alias.
13662         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
13663         Likewise.
13665         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
13666         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
13667         FP_DENORM_ZERO.
13668         (_FP_CHECK_FLUSH_ZERO): New macro.
13669         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
13670         (_FP_CMP): Likewise.
13671         (_FP_CMP_EQ): Likewise.
13672         (_FP_TO_INT): Do not set inexact for subnormal arguments if
13673         FP_DENORM_ZERO.
13674         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
13675         (FP_TRUNC): Likewise.
13677         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
13678         treated as invalid conversion, not as normal exponent.
13680         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
13681         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
13682         (_FP_CMP_EQ): Likewise.
13683         (_FP_CMP_UNORD): Likewise.
13684         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
13685         (FP_CMP_EQ_D): Likewise.
13686         (FP_CMP_UNORD_D): Likewise.
13687         * soft-fp/extended.h (FP_CMP_E): Likewise.
13688         (FP_CMP_EQ_E): Likewise.
13689         (FP_CMP_UNORD_E): Likewise.
13690         * soft-fp/quad.h (FP_CMP_Q): Likewise.
13691         (FP_CMP_EQ_Q): Likewise.
13692         (FP_CMP_UNORD_Q): Likewise.
13693         * soft-fp/single.h (FP_CMP_S): Likewise.
13694         (FP_CMP_EQ_S): Likewise.
13695         (FP_CMP_UNORD_S): Likewise.
13696         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
13697         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
13698         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
13699         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
13700         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
13701         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
13702         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
13703         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
13704         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
13705         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
13706         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
13707         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
13708         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
13709         to FP_CMP_Q.
13710         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
13711         FP_CMP_Q.
13712         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
13713         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
13714         FP_CMP_EQ_Q.
13715         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
13716         FP_CMP_Q.
13717         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
13718         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
13719         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
13720         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
13721         FP_CMP_EQ_Q.
13722         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
13723         FP_CMP_Q.
13724         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
13725         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
13726         FP_CMP_EQ_Q.
13727         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
13728         FP_CMP_Q.
13729         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
13730         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
13731         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
13732         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
13733         FP_CMP_EQ_Q.
13735         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
13736         a subnormal result, set the underflow exception if trapping on
13737         underflow is enabled.
13738         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
13739         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
13740         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13741         redefine to 0.
13742         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13743         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13744         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13745         * soft-fp/extendxftf2.c (__extendxftf2): Use
13746         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13748         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13749         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13750         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13751         FP_HANDLE_EXCEPTIONS.
13752         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13753         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13754         FP_HANDLE_EXCEPTIONS.
13755         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13756         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13757         FP_HANDLE_EXCEPTIONS.
13758         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
13759         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13760         FP_HANDLE_EXCEPTIONS.
13762 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
13764         [BZ #14132]
13765         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
13766         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
13767         use INTUSE.
13768         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
13769         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
13770         Remove alias.
13771         (__adjtimex): Define using libc_hidden_ver.
13772         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
13773         Remove declaration.
13774         (ntp_gettime): Call __adjtimex directly.
13775         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
13776         Remove declaration.
13777         (ntp_gettimex): Call __adjtimex directly.
13778         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
13779         __adjtimex_internal alias.
13781 2014-10-08  Roland McGrath  <roland@hack.frob.com>
13783         [BZ #17460]
13784         * nscd/nscd.c (more_help): Rewrite list of tables collection
13785         using xstrdup and asprintf.
13787         * nscd/nscd_conf.c: Remove local xstrdup declaration.
13789 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13790             Roland McGrath  <roland@hack.frob.com>
13792         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13793         (do_lookup_unique): ... local function 'enter' here; update callers.
13795 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
13797         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
13798         compat_symbol calls on [SHARED].
13799         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
13800         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
13801         Remove.
13802         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13803         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
13804         (oldsetrlimit): Remove.
13805         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13807         (lchown): New syscall entry.
13808         (oldsetrlimit): Remove.
13809         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13810         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
13811         (oldsetrlimit): Remove.
13812         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13814         [BZ #14138]
13815         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
13816         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
13817         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
13818         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
13819         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13820         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
13821         (fchown): Likewise.
13822         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
13823         (fchown): Likewise.
13824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
13825         Likewise.
13827 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13829         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
13830         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
13831         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
13832         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
13833         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
13834         Likewise.
13835         (__old_sem_post): Likewise.
13837 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
13839         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
13840         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
13841         HAVE_CLOCK_GETTIME_VSYSCALL macros.
13842         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
13843         Use INLINE_VSYSCALL macro.
13844         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
13845         __vdso_clock_gettime.
13846         * sysdeps/unix/sysv/linux/tile/init-first.c
13847         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
13848         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
13849         __vdso_clock_gettime.
13851         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
13852         to set up frame more cleanly.
13854         * sysdeps/tile/memcmp.c: New file.
13856         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
13858         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
13859         * sysdeps/tile/tilegx/strcasestr.c: New file.
13860         * sysdeps/tile/tilegx/strnlen.c: New file.
13861         * sysdeps/tile/tilegx/strstr.c: New file.
13863         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
13865 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
13867         * nptl/tst-setuid3.c: Write errors to stdout.
13869 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13871         * elf/dl-deps.c
13872         (preload): New functions broken out of _dl_map_object_deps.
13873         (_dl_map_object_deps):  Remove a nested function. Update call sites.
13875 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
13877         [BZ #14138]
13878         * sysdeps/unix/sysv/linux/execve.c: Remove file.
13879         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
13881 2014-10-01  Steve Ellcey  <sellcey@mips.com>
13883         * sysdeps/mips/strcmp.S: New.
13885 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
13887         [BZ #14138]
13888         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
13889         (linkat): Likewise.
13890         (mkdirat): Likewise.
13891         (readlinkat): Likewise.
13892         (renameat): Likewise.
13893         (symlinkat): Likewise.
13894         (unlinkat): Likewise.
13895         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
13896         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
13897         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
13898         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
13899         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13900         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
13901         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
13903 2014-09-30  Will Newton  <will.newton@linaro.org>
13905         * math/math.h: Define long double math functions if
13906         _LIBC_TEST is defined.
13907         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
13909         * localedata/Makefile: Move assignment to tests-special
13910         into an ifdef testing run-built-tests.
13911         * timezone/Makefile: Likewise.
13913 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
13915         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
13916         with $(BASH) not $(SHELL).
13918 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
13919             Matthew LeGendre  <legendre1@llnl.gov>
13921         [BZ #17411]
13922         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
13923         l_reloc_result.
13925 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13927         * stdio-common/printf_fp.c
13928         (hack_digit): New function, broken out of ...
13929         (__printf_fp): ... local function here.  Update call sites.
13930         hack_digit now takes an additional parameter that is a pointer
13931         to a struct of the referenced locals.  Those locals moved inside
13932         the struct and references updated.
13934 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
13936         * aclocal.m4: Require autoconf 2.69.
13937         * configure: Regenerated.
13938         * sysdeps/aarch64/configure: Likewise.
13939         * sysdeps/alpha/configure: Likewise.
13940         * sysdeps/arm/armv7/configure: Likewise.
13941         * sysdeps/arm/configure: Likewise.
13942         * sysdeps/ia64/configure: Likewise.
13943         * sysdeps/mach/configure: Likewise.
13944         * sysdeps/mips/configure: Likewise.
13945         * sysdeps/s390/configure: Likewise.
13946         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
13947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
13949         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
13950         file.
13951         * sysdeps/ia64/configure.ac: Likewise.
13953 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
13955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
13956         specify symbol version for ld.so.  Do not include entry for
13957         libpthread.
13958         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13959         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13960         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13962         [BZ #14171]
13963         * Makeconfig [$(build-shared) = yes]
13964         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
13965         makefiles.
13966         [$(build-shared) = yes && $(soversions.mk-done) = t]
13967         ($(common-objpfx)gnu/lib-names.h): Remove rule.
13968         [$(build-shared) = yes && $(soversions.mk-done) = t]
13969         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
13970         to Makerules.
13971         [$(build-shared) = yes && $(soversions.mk-done) = t]
13972         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
13973         here.
13974         [$(build-shared) = yes && $(soversions.mk-done) = t]
13975         (common-generated): Don't append gnu/lib-names.h and
13976         gnu/lib-names.stmp here.
13977         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
13978         (lib-names-h-abi): New variable.
13979         [$(build-shared) = yes && $(soversions.mk-done) = t]
13980         (lib-names-stmp-abi): Likewise.
13981         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13982         abi-variants] (before-compile): Append
13983         $(common-objpfx)$(lib-names-h-abi).
13984         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13985         abi-variants] (common-generated): Append gnu/lib-names.h.
13986         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13987         abi-variants] (install-others-nosubdir): Depend on
13988         $(inst_includedir)/$(lib-names-h-abi).
13989         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13990         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
13991         [$(build-shared) = yes && $(soversions.mk-done) = t]
13992         ($(common-objpfx)$(lib-names-h-abi)): New rule.
13993         [$(build-shared) = yes && $(soversions.mk-done) = t]
13994         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
13995         [$(build-shared) = yes && $(soversions.mk-done) = t]
13996         (common-generated): Append $(lib-names-h-abi) and
13997         $(lib-names-stmp-abi).
13998         * scripts/lib-names.awk: Do not handle multi being set.
13999         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
14000         Remove variable.
14001         (abi-lp64_be-ld-soname): Likewise.
14002         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
14003         Likewise.
14004         (abi-hard-ld-soname): Likewise.
14005         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
14006         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
14007         Remove variable.
14008         (abi-o32_hard-ld-soname): Likewise.
14009         (abi-o32_soft_2008-ld-soname): Likewise.
14010         (abi-o32_hard_2008-ld-soname): Likewise.
14011         (abi-n32_soft-ld-soname): Likewise.
14012         (abi-n32_hard-ld-soname): Likewise.
14013         (abi-n32_soft_2008-ld-soname): Likewise.
14014         (abi-n32_hard_2008-ld-soname): Likewise.
14015         (abi-n64_soft-ld-soname): Likewise.
14016         (abi-n64_hard-ld-soname): Likewise.
14017         (abi-n64_soft_2008-ld-soname): Likewise.
14018         (abi-n64_hard_2008-ld-soname): Likewise.
14019         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
14020         Likewise.
14021         (abi-64-v2-ld-soname): Likewise.
14022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
14023         ld.so entries.
14024         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
14025         variable.
14026         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
14027         entry.
14028         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
14029         variable.
14030         (abi-64-ld-soname): Likewise.
14031         (abi-x32-ld-soname): Likewise.
14032         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
14033         entry.
14034         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14036 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
14038         [BZ #14138]
14039         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
14040         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
14041         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
14042         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
14043         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
14044         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
14045         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
14046         syscall entry for GLIBC_2.2 symbol version.
14047         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
14048         Likewise.
14049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14050         (setrlimit): Likewise.
14051         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
14052         Likewise.
14054 2014-09-23  Will Newton  <will.newton@linaro.org>
14056         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
14057         _LINUX_ARM_SYSDEP_H include guard too.
14058         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
14059         define.
14061 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14063         * sysdeps/unix/sysv/linux/eventfd.c:
14064         Make first argument unsigned.
14065         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
14066         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
14068 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
14070         * socket/recvmmsg.c (recvmmsg): Drop const argument.
14071         * socket/sys/socket.h: Likewise
14072         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
14074 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14076         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
14078 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
14080         * time/tst-ftime.c: New test.
14081         * time/Makefile (tests): Add tst-ftime.
14083 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
14085         * soft-fp/extended.h: Fix comment formatting.
14086         * soft-fp/op-1.h: Likewise.
14087         * soft-fp/op-2.h: Likewise.
14088         * soft-fp/op-4.h: Likewise.
14089         * soft-fp/op-8.h: Likewise.
14090         * soft-fp/op-common.h: Likewise.
14091         * soft-fp/soft-fp.h: Likewise.
14093         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
14095 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
14097         [BZ #6652]
14098         * Makeconfig (soversions-default-setname): Remove variable.
14099         ($(common-objpfx)soversions.i): Don't pass default_setname to
14100         soversions.awk.
14101         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
14102         oldest_abi to abi-versions.awk.
14103         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
14104         * config.make.in (oldest-abi): Remove variable.
14105         * configure.ac (--enable-oldest-abi): Remove configure option.
14106         * configure: Regenerated.
14107         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
14108         text.
14109         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
14110         * scripts/soversions.awk: Do not handle default_setname variable.
14111         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
14112         variable.
14113         * sysdeps/mach/hurd/configure: Regenerated.
14114         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
14115         variable.
14116         * sysdeps/unix/sysv/linux/configure: Regenerated.
14118 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14120         * elf/Makefile (CFLAGS-interp.c): Remove.
14121         ($(elf-objpfx)runtime-linker.h): Generate header with linker
14122         path string.
14123         * elf/interp.c: Include generated runtime-linker.h
14125         * Makerules (lib%.so): Don't include $(+interp) in
14126         prerequisites.
14127         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
14128         * dlfcn/eval.c: Remove file.
14130         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
14131         macros.
14133         [BZ #17266]
14134         * misc/sys/cdefs.h: Define __extern_always_inline for clang
14135         4.2 and newer.
14137         [BZ #17370]
14138         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
14140 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14141             Jakub Jelinek  <jakub@redhat.com>
14143         [BZ #17266]
14144         * libio/stdio.h: Check definition of __fortify_function
14145         instead of __extern_always_inline to include bits/stdio2.h.
14146         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
14147         check if __extern_always_inline is defined.
14148         [__USE_MISC || __USE_XOPEN]: Likewise.
14149         [__USE_ISOC99] Likewise.
14150         * misc/sys/cdefs.h (__fortify_function): Define only if
14151         __extern_always_inline is defined.
14152         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
14153         __extern_always_inline and __extern_inline only for g++-4.3
14154         and newer or a compatible gcc.
14156 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
14158         [BZ #17371]
14159         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14160         last change to handle zero prefix length.
14162 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14164         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
14165         _SC_REGEX_VERSION.
14167         * posix/getconf.c (vars): Add _POSIX_IPV6 and
14168         _POSIX_RAW_SOCKETS.
14170 2014-09-13  Allan McRae  <allan@archlinux.org>
14172         * po/ru.po: Update Russian translation from translation project.
14174 2014-09-12  Roland McGrath  <roland@hack.frob.com>
14176         * locale/programs/locale.c (show_locale_vars): Inline local function
14177         into its sole call site.  Clean up some style nits.
14178         (print_item): New function, broken out of ...
14179         (show_info): ... local function here.  Clean up style nits.
14181         * locale/programs/ld-ctype.c (set_one_default): New function, broken
14182         out of ...
14183         (set_class_defaults): ... local function set_default here.
14184         Define set_default as a macro locally to pass constant parameters.
14185         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
14186         rather than a shared local.
14188         * stdlib/rpmatch.c (try): New function, broken out of ...
14189         (rpmatch): ... local function here.  Also, prototypify definition.
14191 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
14193         * scripts/soversions.awk: Do not handle configuration names.
14194         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
14195         vendor and os variables to soversions.awk.
14196         * configure.ac: Do not modify gnu-* host_os.
14197         * configure: Regenerated
14198         * shlib-versions: Remove first column with configuration names.
14199         * nptl/shlib-versions: Likewise.
14200         * nptl_db/shlib-versions: Likewise.
14201         * sysdeps/hppa/shlib-versions: Likewise.
14202         * sysdeps/m68k/shlib-versions: Likewise.
14203         * sysdeps/mach/hurd/shlib-versions: Likewise.
14204         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
14205         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
14206         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
14207         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
14208         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
14209         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
14210         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
14211         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
14212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14213         Likewise.
14214         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14215         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14216         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14217         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14218         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14219         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
14220         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14221         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14224         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
14225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14226         Regenerated.
14227         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
14228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14229         Condition symbol version definitions on [HAVE_ELFV2_ABI].
14231         * shlib-versions: Remove OS-specific entries.  Moved to files in
14232         sysdeps.
14233         * sysdeps/mach/hurd/shlib-versions: New file.
14234         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14236         * nptl/shlib-versions: Remove architecture-specific entries.
14237         Moved to files in sysdeps.
14238         * shlib-versions: Likewise.
14239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
14240         file.
14241         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14242         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14243         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14244         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14246         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
14247         (UDP_NO_CHECK6_RX): Likewise.
14249 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14251         * sysdeps/posix/sysconf.c (__sysconf): Spell
14252         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
14254 2014-08-12  Florian Weimer  <fweimer@redhat.com>
14256         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
14257         loading.
14258         * iconv/Versions (__gconv_transliterate): Export for use from
14259         gconv modules.
14260         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
14261         (struct __gconv_trans_data, __gconv_trans_fct,
14262         __gconv_trans_context_fct, __gconv_trans_query_fct,
14263         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
14264         definitions.
14265         (struct __gconv_step_data): Remove __trans member.
14266         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
14267         longer hidden.  Remove unused trans_data argument.
14268         * iconv/gconv_int.h (struct trans_struct): Remove definition.
14269         (__gconv_translit_find): Remove declaration.
14270         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
14271         prototype.
14272         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
14273         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
14274         trans_data argument.  Add hidden definition.
14275         (__gconv_translit_find): Remove.
14276         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
14277         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
14278         * iconv/skeleton.c: Remove transliteration initialization.
14279         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
14280         __gconv_step_data initialization.
14281         * libio/iofwide.c (__libio_translit_): Remove.
14282         (_IO_fwide): Adjust struct __gconv_step_data initialization.
14283         * wcsmbs/btowc.c (__btowc): Likewise.
14284         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14285         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14286         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
14287         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
14288         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
14289         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
14290         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
14291         * wcsmbs/wctob.c (wctob): Likewise.
14293 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14295         [BZ #16194]
14296         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
14297         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
14298         register usage.
14299         * sysdeps/x86/Makefile: Adjust.
14301 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14302             Roland McGrath  <roland@hack.frob.com>
14304         * locale/weight.h: Add include guard.
14305         (findidx): Make static rather than auto; take new parameters
14306         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
14307         * locale/weightwc.h: Likewise.
14308         * posix/fnmatch_loop.c
14309         (FCT): Change type of EXTRA from int32_t to wint_t.
14310         Don't include either header inside the function.
14311         Call FINDIDX rather than findidx, and pass new arguments.
14312         #undef FINDIDX at the end of the file.
14313         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
14314         FINDIDX before including fnmatch_loop.c for the non-wide version.
14315         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
14316         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
14317         for the wide version.
14318         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
14319         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
14320         Pass new arguments to findidx.
14321         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
14322         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
14323         Don't #include it inside the function.  Pass new arguments to findidx.
14324         * posix/regex_internal.h
14325         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
14326         (re_string_elem_size_at): Don't #include it inside the function.
14327         Pass new arguments to findidx.
14328         * string/strcoll_l.c: #include WEIGHT_H at top level.
14329         (get_next_seq): Don't #include it inside the function.
14330         Pass new arguments to findidx.
14331         (get_next_seq_nocache): Likewise.
14332         * string/strxfrm_l.c: #include WEIGHT_H at top level.
14333         (STRXFRM): Don't #include it inside the function.
14334         Pass new arguments to findidx.
14336 2014-09-11  Florian Weimer  <fweimer@redhat.com>
14338         [BZ #17344]
14339         * malloc/malloc.c (unlink): Turn asserts into a call to
14340         malloc_printerr.
14342 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
14344         [BZ #17370]
14345         * libio/wfileops (do_ftell_wide): Free OUT.
14347 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
14349         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
14351 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14353         [BZ #17363]
14354         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
14355         group if the current group is empty.
14357 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14359         * benchtests/bench-memset.c (test_main): Add more test from size
14360         from 32 to 512 bytes.
14361         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14362         Add POWER8 memset object.
14363         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14364         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
14365         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
14366         implementation.
14367         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
14368         Likewise.
14369         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
14370         multiarch POWER8 memset optimization.
14371         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
14372         POWER8 memset optimization.
14374         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14375         Remove bzero multiarch objects.
14376         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
14377         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
14378         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
14379         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
14380         Remove define.
14381         [__bzero]: Redefine to specific name.
14382         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
14383         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
14384         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
14385         define.
14386         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14387         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14389 2014-09-10  Florian Weimer  <fweimer@redhat.com>
14391         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
14392         warnings into errors.
14394         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
14395         __cxa_thread_atexit_impl prototype.
14397 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14399         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
14400         Fix capitalization of error message.
14402 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14404         * sysdeps/mips/preconfigure: Modify ABI tests.
14406 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
14408         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
14410 2014-09-07  Roland McGrath  <roland@hack.frob.com>
14411             Carlos O'Donell  <carlos@systemhalted.org>
14413         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
14414         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
14415         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
14416         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
14417         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
14418         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
14419         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
14420         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
14421         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
14422         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
14423         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
14424         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
14425         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
14426         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
14427         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
14428         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
14429         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
14430         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
14431         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
14432         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
14433         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
14434         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
14435         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
14436         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
14437         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
14438         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
14439         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
14440         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
14441         Deconditionalize the code that was previously under [RESET_PID].
14442         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
14443         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
14444         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
14445         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
14446         include sysdep.h.
14448 2014-09-08  Allan McRae  <allan@archlinux.org>
14450         * version.h (RELEASE): Set to "development".
14451         (VERSION): Set to "2.20.90"
14453 2014-09-07  Allan McRae  <allan@archlinux.org
14455         * version.h (RELEASE): Set to "stable".
14456         (VERSION): Set to "2.20"
14457         * include/features.h (__GLIBC_MINOR__): Set to 20.
14459         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
14460         Liebler.
14462         * po/ko.po: Update Korean translation from translation project.
14464 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
14466         [BZ #17354]
14467         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
14468         macro for handling signed relocations.
14470 2014-09-03  Florian Weimer  <fweimer@redhat.com>
14472         [BZ #17325]
14473         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
14474         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
14475         assert.
14476         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
14477         * iconvdata/ibm935.c (BODY): Likewise.
14478         * iconvdata/ibm937.c (BODY): Likewise.
14479         * iconvdata/ibm939.c (BODY): Likewise.
14480         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
14481         assert.
14482         * iconvdata/Makefile (iconv-test.out): Pass module list to test
14483         script.
14484         * iconvdata/run-iconv-test.sh: New test loop for checking for
14485         decoder crashers.
14487 2014-09-02  Khem Raj  <raj.khem@gmail.com>
14489         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
14490         libm_hidden_ver.
14492 2014-09-01  Allan McRae  <allan@archlinux.org>
14494         * po/eo.po: Update Esperanto translation from translation project.
14496         * po/ca.po: Update Catalan translation from translation project.
14498 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14500         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
14501         __proc_dostop call.
14503 2014-08-27  Mark Wielaard  <mjw@redhat.com>
14505         [BZ #17319]
14506         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
14507         to call set_thread_area instead of hand written asm.
14508         (__NR_set_thread_area): Removed define.
14509         (TLS_FLAG_WRITABLE): Likewise.
14510         (__ASSUME_SET_THREAD_AREA): Remove check.
14511         (TLS_EBX_ARG): Remove define.
14512         (TLS_LOAD_EBX): Likewise.
14514 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14516         Simplify atomicity of socket creation in bind.
14518         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
14519         looking up the name after linking the file.
14521 2014-08-27  Allan McRae  <allan@archlinux.org>
14523         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14525 2014-08-26  Florian Weimer  <fweimer@redhat.com>
14527         [BZ #17187]
14528         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
14529         trans_compare, open_translit, __gconv_translit_find):
14530         Remove module loading code.
14532 2014-08-26  Allan McRae  <allan@archlinux.org>
14534         * po/vi.po: Update Vietnamese translation from translation project.
14536         * po/uk.po: Update Ukrainian translation from translation project.
14538         * po/fr.po: Update French translation from translation project.
14540         * po/ru.po: Update Russian translation from translation project.
14542         * po/pl.po: Update Polish translation from translation project.
14544         * po/cs.po: Update Czech translation from translation project.
14546         * po/de.po: Update German translation from translation project.
14548         * po/bg.po: Update Bulgarian translation from translation project.
14550         * po/sv.po: Update Sweedish translation from translation project.
14552         * po/nl.po: Update Dutch translation from translation project.
14554         * po/es.po: Update Spanish translation from translation project.
14556 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14558         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
14560         * catgets/Makefile (CPPFLAGS-gencat): Remove.
14561         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
14562         (CPPFLAGS-iconvconfig): Likewise.
14563         * timezone/Makefile (CPPFLAGS-zic): Likewise.
14565         * include/libc-symbols.h: Remove unnecessary check for
14566         NOT_IN_libc.
14567         * nptl/pthreadP.h: Likewise.
14568         * sysdeps/aarch64/setjmp.S: Likewise.
14569         * sysdeps/alpha/setjmp.S: Likewise.
14570         * sysdeps/arm/sysdep.h: Likewise.
14571         * sysdeps/i386/setjmp.S: Likewise.
14572         * sysdeps/m68k/setjmp.c: Likewise.
14573         * sysdeps/posix/getcwd.c: Likewise.
14574         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14575         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14576         * sysdeps/s390/s390-32/setjmp.S: Likewise.
14577         * sysdeps/s390/s390-64/setjmp.S: Likewise.
14578         * sysdeps/sh/sh3/setjmp.S: Likewise.
14579         * sysdeps/sh/sh4/setjmp.S: Likewise.
14580         * sysdeps/unix/alpha/sysdep.h: Likewise.
14581         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14582         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14583         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14584         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14587         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14588         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14589         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14590         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14591         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14592         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14593         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14594         * sysdeps/x86_64/setjmp.S: Likewise.
14596 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
14598         [BZ #17263]
14599         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
14600         <stdint.h>.
14601         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
14602         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
14604 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14606         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
14608         [BZ #17262]
14609         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
14610         and __x86_64__ when disabling x87 inline functions.
14612 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
14614         [BZ #17259]
14615         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
14616         asm statement with __cpuid_count.
14618 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
14620         * configure.ac: Change __ehdr_start code to dereference the struct.
14621         Run readelf on the output to look for relocations.
14622         * configure: Regenerated.
14624 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
14626         [BZ #17261]
14627         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
14628         value to 0.
14629         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
14631 2014-08-12  Roland McGrath  <roland@hack.frob.com>
14633         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
14635 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
14637         [BZ #16892]
14638         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
14639         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
14641 2014-08-12  Sean Anderson  <seanga2@gmail.com>
14643         * malloc/malloc.c: Fix typo in comment.
14645 2014-08-09  Allan McRae  <allan@archlinux.org>
14647         * Regenerate libc.po.
14649 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
14651         * intl/tst-gettext2.sh: Check every lang file for creation.
14653 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14655         * sysdeps/aarch64/fpu/math_private.h
14656         (libc_feholdsetround_noex_aarch64_ctx): New function.
14658 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14660         * sysdeps/arm/armv6/strcpy.S (strcpy):
14661         Fix performance issue in misaligned cases.
14663 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14665         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14666         Move definition from termios.h.
14667         (struct termio): Likewise.
14668         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14669         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14670         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14671         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14672         Likewise.
14673         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
14674         Move definition to ioctl-types.h
14675         (struct termio): Likewise.
14676         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14677         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14678         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14679         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14680         Likewise.
14682 2014-08-05  Richard Henderson  <rth@redhat.com>
14684         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
14685         exceptions.
14686         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
14687         Add fraiseexcpt.
14688         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
14689         Use __feraiseexcept.
14690         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
14691         Protect libm symbols with IS_IN_libm.
14693         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14695 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
14697         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
14699 2014-08-04  Will Newton  <will.newton@linaro.org>
14701         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
14702         file.
14704 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
14706         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
14707         variants for each function.
14709 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14711         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
14712         appended ...
14713         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
14714         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
14715         appended ...
14716         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
14717         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
14718         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
14719         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
14720         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
14721         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14722         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
14723         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
14724         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
14725         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
14726         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
14727         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
14728         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
14729         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
14730         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
14731         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
14732         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
14733         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
14734         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
14735         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
14736         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
14737         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
14738         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
14739         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
14740         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14741         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14742         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14743         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14744         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14745         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14746         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14747         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14748         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14749         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14750         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14751         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14752         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14753         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14754         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14755         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14756         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14757         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14758         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
14759         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
14760         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
14761         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
14762         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
14763         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
14764         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
14765         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
14766         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
14767         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
14768         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
14769         Update #include.
14770         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
14771         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
14773 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14775         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
14776         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
14777         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
14778         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
14779         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
14780         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
14782 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14784         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
14785         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
14786         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14787         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
14789 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14791         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
14792         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
14793         (__libc_vfork): Define function under this name.
14794         (__vfork): Define as an alias.
14795         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
14796         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
14798 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14800         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
14801         that was previously under [RESET_PID].
14802         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
14804 2014-08-04  Andreas Schwab  <schwab@suse.de>
14806         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
14808 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
14810         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
14811         (main): Likewise.
14813 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14815         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
14817 2014-08-01  Richard Henderon  <rth@redhat.com>
14819         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
14820         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
14821         typo in exact zero test.
14822         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14823         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14824         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14826 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14828         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
14829         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
14830         * sysdeps/arm/sysdep.h: ... here.
14831         [!__ASSEMBLER__]: Include <stdint.h>.
14833 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14835         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
14836         (HAVE_WCTYPE_H): Likewise.
14837         (HAVE_ISWCTYPE): Likewise.
14838         (ENABLE_NLS): Likewise.
14839         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
14840         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
14842         * posix/regex_internal.c: Check if DEBUG is defined and is
14843         set.
14845         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
14846         (HAVE_MBSRTOWCS): Likewise.
14847         * posix/fnmatch.c: Include string.h unconditionally.
14849 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14851         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
14852         reversal.
14854 2014-07-31  Roland McGrath  <roland@hack.frob.com>
14856         * sysdeps/generic/safe-fatal.h: New file.
14857         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
14858         * nptl/forward.c: Include it.
14859         (__pthread_unwind): Use __safe_fatal as default action, rather
14860         than a bogus use of INTERNAL_SYSCALL that could never work.
14862         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
14863         * configure.ac (libc_cv_builtin_trap): New test.
14864         * configure: Regenerated.
14865         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
14866         (ABORT_INSTRUCTION): Define using __builtin_trap.
14868         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
14869         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
14870         * sysdeps/nptl/nptl-signals.h: New file.
14871         * nptl/pthreadP.h: Include <nptl-signals.h>.
14873 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14875         * sysdeps/s390/s390-64/utf16-utf32-z9.c
14876         (ONE_DIRECTION): Define.
14877         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14878         (ONE_DIRECTION): Define.
14879         * sysdeps/s390/s390-64/utf8-utf32-z9.c
14880         (ONE_DIRECTION): Define.
14882 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14884         * sysdeps/s390/Makefile: Delete file.
14885         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
14886         * sysdeps/s390/__longjmp.c: Delete file.
14887         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
14888         Remove fields __flags and __reserved.
14889         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
14890         and add versioning.
14891         * sysdeps/s390/rtld-__longjmp.c: Delete file.
14892         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
14893         * sysdeps/s390/rtld-setjmp.S: Likewise.
14894         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
14895         * sysdeps/s390/s390-32/__longjmp.c: ... here.
14896         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
14897         * sysdeps/s390/s390-32/setjmp.S: ... here.
14898         Add versioning.
14899         (__sigsetjmp): Remove setting __flags field.
14900         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
14901         * sysdeps/s390/s390-64/__longjmp.c: ... here.
14902         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
14903         * sysdeps/s390/s390-64/setjmp.S: ... here.
14904         Add versioning.
14905         (__sigsetjmp): Remove setting __flags field.
14906         * sysdeps/s390/setjmp.S: Delete file.
14907         * sysdeps/s390/sigjmp.c: Likewise.
14908         * sysdeps/s390/v1-longjmp.c: Likewise.
14909         * sysdeps/s390/v1-setjmp.h: Likewise.
14910         * sysdeps/s390/v1-sigjmp.c: Likewise.
14911         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
14912         Remove v1-longjmp_chk.
14913         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
14914         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
14915         Include debug/longjmp_chk.c and add versioning.
14916         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
14917         Include nptl/pt-longjmp.c and add versioning.
14918         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
14919         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
14920         Include __longjmp.c.
14921         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14922         Move to ...
14923         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
14924         (__getcontext): Remove setting __flags field.
14925         Add versioning.
14926         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14927         Don't restore upper high grps.
14928         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
14929         Likewise.
14930         (__swapcontext): Remove setting uc_flags field.
14931         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
14932         Delete file.
14933         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14934         Include __longjmp.c.
14935         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14936         Move to ...
14937         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
14938         (__getcontext): Remove setting __flags field.
14939         Add versioning.
14940         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
14941         (__swapcontext): Remove setting uc_flags field.
14942         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
14943         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
14944         Remove fields uc_high_gprs and __reserved.
14945         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
14946         New file with reverted content.
14947         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
14948         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
14949         Regenerated.
14950         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
14951         Regenerated.
14953 2014-07-31  Andreas Schwab  <schwab@suse.de>
14955         * config.h.in (HAVE_IFUNC): Define to 0.
14956         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
14957         definedness.
14959 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
14961         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14962         memmove-avx-unaligned, memcpy-avx-unaligned and
14963         mempcpy-avx-unaligned.
14964         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14965         Add tests for AVX memcpy functions.
14966         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
14967         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
14968         memcpy_chk.
14969         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
14970         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
14971         memmove_chk.
14972         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
14973         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
14974         mempcpy_chk.
14975         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
14976         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
14977         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
14979 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14981         [BZ #17213]
14982         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
14983         powerpc64le.
14985 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
14987         [BZ #16839]
14988         * manual/llio.texi: Add section about open file description locks.
14989         * manual/examples/ofdlocks.c: Example of open file description
14990         lock usage.
14991         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
14992         F_OFD_SETLK, and F_OFD_SETLKW.
14994 2014-07-23  Allan McRae  <allan@archlinux.org>
14996         * po/es.po: Update Spanish translation from translation project.
14998 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
15000         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
15002 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
15004         [BZ #17078]
15005         * sysdeps/arm/dl-machine.h (elf_machine_rela)
15006         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
15007         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
15009 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
15011         [BZ #17088]
15012         * math/fesetenv.c (__fesetenv)
15013         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
15014         * math/feupdateenv.c (__feupdateenv)
15015         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
15017         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
15018         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15019         (__ASSUME_SOCKETCALL): Do not define.
15021         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
15022         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
15023         (__ASSUME_SOCKETCALL): Do not define.
15024         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
15025         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15026         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15027         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15028         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15029         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
15030         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15031         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15033         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
15034         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
15035         (__ASSUME_SOCKETCALL): Do not define.
15036         (__ASSUME_IPC64): Define unconditionally.
15037         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15038         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15039         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15040         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15041         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
15042         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15043         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
15044         Likewise.
15046         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
15047         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
15048         (__ASSUME_SOCKETCALL): Do not define.
15049         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
15050         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15051         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15052         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15053         (__ASSUME_REQUEUE_PI): Define unconditionally.
15054         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
15055         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15056         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15057         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
15058         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15059         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15061         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
15062         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
15063         (__ASSUME_SOCKETCALL): Do not define.
15064         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
15065         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15066         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15067         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
15068         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15069         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15071         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
15072         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
15073         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15074         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
15075         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15076         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
15077         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15078         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
15079         (__ASSUME_GETCPU_SYSCALL): Likewise.
15081         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
15082         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
15083         cases for individual architectures.
15084         * sysdeps/gnu/configure: Regenerated.
15085         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
15086         LIBC_SLIBDIR_RTLDDIR.
15087         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
15088         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
15089         LIBC_SLIBDIR_RTLDDIR.
15090         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
15091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
15092         LIBC_SLIBDIR_RTLDDIR.
15093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15094         Regenerated.
15095         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
15096         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
15097         file.
15098         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
15099         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
15100         file.
15101         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
15102         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
15103         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
15104         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
15106         * sysdeps/aarch64/shlib-versions: Move to ...
15107         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
15108         * sysdeps/alpha/shlib-versions: Move to ...
15109         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
15110         * sysdeps/arm/shlib-versions: Move to ...
15111         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
15112         * sysdeps/hppa/shlib-versions: Move all contents except for
15113         libgcc_s entry to ...
15114         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
15115         entry from ...
15116         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
15117         * sysdeps/ia64/shlib-versions: Move to ...
15118         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
15119         entry from ...
15120         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
15121         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
15122         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
15123         * sysdeps/microblaze/shlib-versions: Move to ...
15124         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
15125         * sysdeps/mips/shlib-versions: Move to ...
15126         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
15127         entry from ...
15128         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
15129         * sysdeps/tile/shlib-versions: Move to ...
15130         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
15131         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
15132         from ...
15133         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
15134         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
15135         entry from ...
15136         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
15138 2014-07-17  Will Newton  <will.newton@linaro.org>
15140         * sysdeps/arm/bits/atomic.h
15141         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
15142         (__arch_compare_and_exchange_bool_16_int): Likewise.
15143         (__arch_compare_and_exchange_bool_64_int): Likewise.
15145         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
15146         into an #else block.
15148 2014-07-16  Roland McGrath  <roland@hack.frob.com>
15150         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
15151         just Linux configurations.  Test empirically that the compiler sets
15152         __ARM_EABI__, rather than using the tuple to decide.
15153         * sysdeps/arm/preconfigure: Regenerated.
15154         * sysdeps/unix/sysv/linux/arm/configure: File removed.
15155         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
15156         contents appended ...
15157         * sysdeps/arm/configure.ac: ... here.
15158         * sysdeps/arm/configure: Regenerated.
15160 2014-07-15  Roland McGrath  <roland@hack.frob.com>
15162         * nptl/pthread_kill.c: New file.
15163         * nptl/pthread_sigmask.c: New file.
15164         * nptl/pthread_sigqueue.c: New file.
15166         * sysdeps/nptl/lowlevellock.h: New file.
15167         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
15168         * sysdeps/nptl/lowlevellock-futex.h: New file.
15170         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
15171         Remove dead declarations.
15173 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
15175         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
15176         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
15177         config-cflags-avx2.
15178         * sysdeps/x86_64/configure.ac: Likewise.
15179         * sysdeps/i386/configure: Regenerated.
15180         * sysdeps/x86_64/configure: Likewise.
15181         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15182         memset-avx2 only if config-cflags-avx2 is yes.
15183         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15184         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
15185         defined.
15186         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
15187         only if HAVE_AVX2_SUPPORT is defined.
15188         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15190 2014-07-14  Alan Modra  <amodra@gmail.com>
15192         [BZ #17153]
15193         * elf/elf.h (DT_PPC64_NUM): Correct value.
15194         * NEWS: Add to fixed bug list.
15196 2014-07-13  Jim Meyering  <meyering@fb.com>
15198         [BZ 17150]
15199         regex: don't deref NULL upon heap allocation failure
15200         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
15201         failure in one more place.
15202         To trigger the segfault, configure grep -with-included-regex,
15203         build it, and run these commands:
15204         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
15206 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
15208         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15210 2014-07-11  Richard Henderson  <rth@redhat.com>
15212         * sysdeps/aarch64/libm-test-ulps: Update.
15214 2014-07-10  Florian Weimer  <fweimer@redhat.com>
15216         [BZ #17135]
15217         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
15218         * nptl/allocatestack.c (__nptl_setxid_error): New function.
15219         (__nptl_setxid): Initialize error member.  Call
15220         __nptl_setxid_error.
15221         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
15222         * nptl/descr.h (struct xid_command): Add error member.
15223         * nptl/tst-setuid3.c: New file.
15224         * nptl/Makefile (tests): Add it.
15226 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15228         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
15229         New define.
15230         (__lll_trylock): Use __lll_base_trylock.
15231         (__lll_cond_trylock): Likewise.
15233 2014-07-10  Roland McGrath  <roland@hack.frob.com>
15235         * nptl/pthread_create.c (start_thread): Use atomic_or and
15236         lll_futex_wake directly rather than lll_robust_dead.
15237         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15238         (lll_robust_dead): Macro removed.
15239         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
15240         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15241         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15242         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15243         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15244         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15245         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15246         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15247         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15248         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15249         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15250         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15251         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15252         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15253         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15255         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
15256         Use atomic_compare_and_exchange_val_acq directly rather than
15257         lll_robust_trylock.
15258         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15259         (__lll_robust_trylock, lll_robust_trylock): Removed.
15260         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15261         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15262         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15263         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15264         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15265         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15266         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15267         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15268         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15269         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15270         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15271         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15272         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15273         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15275 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15277         * manual/locale.texi (Locale Names): New section documenting
15278         locale name syntax.  Adjust menu and node chaining accordingly.
15279         (Choosing Locale): Reference Locale Names, Locale Categories.
15280         Mention setting LC_ALL=C.  Reflect that name syntax is now
15281         documented.
15282         (Locale Categories): New section title.  Reference Locale Names.
15283         LC_ALL is an environment variable, but not a category.
15284         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
15285         description, now in Locale Name.  Reference that section.  Locale
15286         name syntax is now documented.
15288 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15290         [BZ #17137]
15291         * locale/findlocale.c (name_present, valid_locale_name): New
15292         functions.
15293         (_nl_find_locale): Use the loc_name variable to store name
15294         candidates.  Call name_present and valid_locale_name to check and
15295         validate locale names.  Return an error if the locale is invalid.
15297 2014-07-02  Florian Weimer  <fweimer@redhat.com>
15299         * locale/setlocale.c (setlocale): Use strdup for allocating
15300         composite name copy.
15302 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15304         Sync up with gnulib.
15305         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
15306         [!_LIBC && ENABLE_NLS]: Include gettext.h.
15307         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
15308         and _GL_ARG_NONNULL.
15309         [USE_UNLOCKED_IO]: Include unlocked-io.h.
15310         [!_LIBC]: Include code for Windows and Cygwin.
15311         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
15312         Include prototype for int strerror_r.
15313         [!_LIBC] (is_open): New function.
15314         (flush_stdout): New function.
15315         (print_errno_message): Use it.
15316         (error): Likewise.
15317         (error_at_line): Likewise.
15318         (error_tail) Add function attribute macros.  Use
15319         __builtin_expect.
15321         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
15323         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
15325         * io/ftw.c: Include sys/param.h unconditionally.
15327         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
15329         [BZ #17125]
15330         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
15331         libc_freeres_ptr.
15332         (freecache): New function to free CACHE on exit.
15334         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
15335         initialization.
15337 2014-07-09  David S. Miller  <davem@davemloft.net>
15339         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15341         * sysdeps/sparc/nptl/internaltypes.h: Delete.
15342         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
15343         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
15344         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
15345         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
15346         * sysdeps/sparc/nptl/sem_init.c: Likewise.
15347         * sysdeps/sparc/nptl/sem_post.c: Likewise.
15348         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
15349         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
15350         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
15351         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
15352         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
15353         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
15355 2014-07-09  Andreas Schwab  <schwab@suse.de>
15357         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
15358         output.
15359         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
15360         (do_test): Likewise.
15362         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15364 2014-07-09  Will Newton  <will.newton@linaro.org>
15366         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
15367         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
15368         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
15369         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
15370         * sysdeps/hppa/start.S (_start): Likewise.
15372 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
15374         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
15376         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
15377         defined.
15379 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15381         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
15382         after checking that it is non-NULL.
15384         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
15386 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15388         * sysdeps/powerpc/memmove.c: Remove file.
15389         * sysdeps/powerpc/powerpc32/power4/memcopy.h
15390         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
15391         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15392         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
15393         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
15394         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
15395         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
15396         string memmove instead of removed powerpc one.
15398         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15399         [weak_alias]: Fix compiler warning due trailing data.
15400         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
15401         [weak_alias]: Likewise.
15402         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
15403         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
15405         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15406         (__libc_ifunc_impl_list): Add memmove functions.
15408 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15410         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
15411         Remove code.
15412         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
15413         Likewise
15414         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
15415         Likewise
15416         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
15417         Likewise
15418         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
15419         Likewise
15420         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
15421         Likewise
15422         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
15423         Likewise
15424         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
15425         Likewise
15426         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
15427         Likewise
15428         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
15429         Likewise
15430         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
15431         Likewise
15432         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
15433         Likewise
15434         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
15435         Likewise
15436         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
15437         Likewise
15438         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
15439         Likewise
15440         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
15441         Likewise
15442         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
15443         Likewise
15445 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15447         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
15448         to avoid alignment traps in non-cacheable memory.
15449         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15451         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
15452         multiarch objects.
15453         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
15454         file: multiarch power7 memmove.
15455         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
15456         multiarch default memmove.
15457         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
15458         multiarch memove for powerpc32/power4.
15460         * string/bcopy.c: Use full path to include memmove.c.
15461         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
15462         multiarch objects.
15463         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
15464         bcopy for powerpc64.
15465         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
15466         bcopy for powerpc64.
15467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
15468         and memmove implementations.
15469         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
15470         optimized multiarch memmove for POWER7/powerpc64.
15471         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
15472         default multiarch memmove for powerpc64.
15473         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
15474         multiarch for powerpc64.
15475         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
15476         for POWER7/powerpc64.
15477         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
15478         memmove for POWER7/powerpc64.
15480         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
15481         glibc default one.
15483         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
15484         __ELF_NATIVE_CLASS equal to 64.
15486 2014-07-07  Roland McGrath  <roland@hack.frob.com>
15488         * sysdeps/nptl/lowlevellock.h: File removed.
15490         * NEWS: NPTL is no longer an add-on!
15491         * nptl/internaltypes.h: Moved ...
15492         * sysdeps/nptl/internaltypes.h: ... here.
15493         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
15494         * sysdeps/nptl/fork.c: Likewise.
15495         * sysdeps/nptl/gai_misc.h: Likewise.
15496         * sysdeps/nptl/librt-cancellation.c: Likewise.
15497         * sysdeps/nptl/jmp-unwind.c: Likewise.
15498         * sysdeps/nptl/setxid.h: Likewise.
15499         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
15500         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
15501         * sysdeps/unix/sysv/linux/arm/Implies: New file.
15502         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
15503         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
15504         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
15505         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
15506         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
15507         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
15508         * sysdeps/unix/sysv/linux/mips/Implies: New file.
15509         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
15510         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
15511         * sysdeps/unix/sysv/linux/sh/Implies: New file.
15512         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
15513         * sysdeps/unix/sysv/linux/tile/Implies: New file.
15514         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
15515         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
15516         * nptl/Makeconfig: Moved ...
15517         * sysdeps/nptl/Makeconfig: ... here.
15518         * nptl/configure: File removed.
15519         * nptl/ANNOUNCE: File removed.
15520         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
15521         * sysdeps/unix/sysv/linux/configure: Regenerated.
15523         * nptl/Makefile (routines): Add libc_pthread_init,
15524         libc_multiple_threads, register-atfork and unregister-atfork.
15525         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
15526         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
15527         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
15528         pthread-pi-defines.sym, structsem.sym.
15529         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
15530         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
15531         [$(subdir) = nptl] (tests): Add tst-setgetname.
15532         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
15533         * sysdeps/unix/sysv/linux/sigaction.c: Just include
15534         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
15535         [!LIBC_SIGACTION]: Remove aliases.
15536         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15537         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15538         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15539         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
15540         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15541         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15542         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15543         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15544         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15545         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
15546         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
15547         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
15548         __libc_allocate_rtsig_private.
15549         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
15550         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
15551         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
15552         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
15553         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
15554         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
15555         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
15556         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
15557         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
15558         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
15559         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
15560         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
15561         * nptl/internaltypes.h: ... here.
15562         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
15563         * sysdeps/nptl/jmp-unwind.c: ... here.
15564         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
15565         * nptl/libc-lowlevellock.c: ... here.
15566         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
15567         * nptl/libc_multiple_threads.c: ... here.
15568         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
15569         * nptl/libc_pthread_init.c: ... here.
15570         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
15571         * nptl/lowlevelbarrier.sym: ... here.
15572         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
15573         * nptl/lowlevelcond.sym: ... here.
15574         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
15575         * nptl/lowlevellock.c: ... here.
15576         * nptl/lowlevellock.h: Moved ...
15577         * sysdeps/nptl/lowlevellock.h: ... here.
15578         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
15579         * nptl/lowlevelrobustlock.c: ... here.
15580         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
15581         * nptl/lowlevelrobustlock.sym: ... here.
15582         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
15583         * nptl/lowlevelrwlock.sym: ... here.
15584         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
15585         * nptl/pt-fork.c: ... here.
15586         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
15587         * nptl/pthread-pi-defines.sym: ... here.
15588         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
15589         * nptl/pthread_attr_getaffinity.c: ... here.
15590         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
15591         * nptl/pthread_attr_setaffinity.c: ... here.
15592         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
15593         * nptl/pthread_mutex_cond_lock.c: ... here.
15594         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15595         Update #include.
15596         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
15597         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
15598         * nptl/pthread_once.c: ... here, replacing old file.
15599         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
15600         * nptl/pthread_yield.c: ... here.
15601         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
15602         * nptl/register-atfork.c: ... here.
15603         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
15604         * nptl/sem_post.c: ... here.
15605         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
15606         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
15607         * nptl/sem_timedwait.c: ... here.
15608         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
15609         * nptl/sem_trywait.c: ... here.
15610         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
15611         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
15612         * nptl/sem_wait.c: ... here.
15613         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
15614         * nptl/structsem.sym: ... here.
15615         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
15616         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
15617         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
15618         * nptl/unregister-atfork.c: ... here.
15619         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
15620         * nptl/unwindbuf.sym: ... here.
15621         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
15622         * sysdeps/nptl/fork.c: ... here.
15623         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
15624         * sysdeps/nptl/fork.h: ... here.
15625         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
15626         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
15627         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
15628         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
15629         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
15630         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
15631         * sysdeps/unix/sysv/linux/getpid.c: ... here.
15632         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
15633         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
15634         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
15635         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
15636         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
15637         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
15638         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
15639         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
15640         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
15641         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
15642         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
15643         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
15644         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
15645         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
15646         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
15647         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
15648         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
15649         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
15650         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
15651         * sysdeps/unix/sysv/linux/raise.c: ... here.
15652         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
15653         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
15654         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
15655         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
15656         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
15657         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
15658         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
15659         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
15660         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
15661         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
15662         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
15663         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
15664         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
15665         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
15666         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
15668 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15670         * sysdeps/generic/memcopy.h: Add comment for
15671         MEMCPY_OK_FOR_FWD_MEMMOVE.
15673 2014-07-04  Will Newton  <will.newton@linaro.org>
15675         * string/memchr.c: Merge from gnulib.
15676         [_LIBC]: Remove conditionals.
15677         (__ptr_t): Remove define.
15678         (LONG_MAX_32_BITS): Likewise.
15679         (LONG_MAX): Likewise.
15680         (MEMCHR): Use ANSI prototype and optimize algorithm.
15682         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
15684 2014-07-03  Roland McGrath  <roland@hack.frob.com>
15686         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
15687         (lll_futex_timed_wait_bitset): Fix syscall argument count.
15689         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
15690         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
15691         in a bare environment with no <stdlib.h> installed.
15692         * sysdeps/nptl/configure: Regenerated.
15694         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
15696         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
15697         AC_EGREP_CPP for kernel header checks, so they only succeed if
15698         including <linux/version.h> actually works right.
15699         * sysdeps/unix/sysv/linux/configure: Regenerated.
15701         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
15702         value so it's not diagnosed as unused.
15704         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
15705         thing) with "ifeq ($(subdir),rt)".
15707 2014-07-03  Richard Henderson  <rth@redhat.com>
15709         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
15710         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
15711         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
15713         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
15714         (math_force_eval): New.
15716         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
15717         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
15719         * sysdeps/alpha/fpu/s_round.c: Remove file.
15720         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
15722         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
15723         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
15724         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15725         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
15726         (_dl_start, print_statistics): Likewise.
15727         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
15728         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
15730         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15731         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15732         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15733         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15734         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15735         (HP_SMALL_TIMING_AVAIL): Define.
15736         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15737         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15738         (HP_SMALL_TIMING_AVAIL): Define.
15739         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15740         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15742         * sysdeps/aarch64/hp-timing.h: New file.
15744         * sysdeps/generic/hp-timing.h: Remove dead comment.
15745         * sysdeps/generic/hp-timing-common.h: New file.
15746         * sysdeps/alpha/hp-timing.h: Include it.
15747         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15748         * sysdeps/i386/i686/hp-timing.h: Likewise.
15749         * sysdeps/ia64/hp-timing.h: Likewise.
15750         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15751         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15752         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15753         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15754         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15755         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15756         (hp_timing_t): New.
15758         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
15759         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
15760         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
15761         * elf/rtld.c (_dl_start_final): Likewise.
15762         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
15763         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15764         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15765         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15766         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15767         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15768         (HP_TIMING_DIFF_INIT): Remove.
15769         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15770         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15771         (HP_TIMING_DIFF_INIT): Remove.
15772         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15773         * sysdeps/i386/i686/hp-timing.c: Remove file.
15774         * sysdeps/x86_64/hp-timing.c: Remove file.
15775         * sysdeps/ia64/hp-timing.c: Remove file.
15776         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
15777         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
15778         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
15779         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
15781         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
15782         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
15783         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
15784         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15785         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15786         (HP_TIMING_ACCUM): Remove.
15787         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15788         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
15789         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15791         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
15792         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
15793         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
15794         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
15795         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
15796         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15797         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
15798         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15800         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
15802 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
15804         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
15806 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15808         Sync up with gettext.
15809         * intl/loadmsgcat.c: Define O_BINARY if not defined.
15810         [_MSC_VER]: Include malloc.h
15811         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
15812         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
15813         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
15814         TEMP_FAILURE_RETRY.  Cast return of alloca.
15815         [!_LIBC] Call gl_rwlock_init.
15816         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
15818 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15820         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
15821         before checking its value.
15823 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15825         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
15827         * debug/memcpy_chk.c: Don't include pagecopy.h.
15828         * debug/mempcpy_chk.c: Likewise.
15829         * string/memcpy.c: Likewise.
15830         * string/memmove.c: Likewise.
15831         * sysdeps/powerpc/memmove.c: Likewise.
15832         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
15833         definition of PAGE_COPY_FWD_MAYBE here...
15834         * sysdeps/generic/pagecopy.h: ... from here.
15835         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
15837 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15838             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15840         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
15841         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
15842         optimizations.
15843         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15844         (__libc_ifunc_impl_list): Likewise.
15845         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
15846         multiarch strcat for PPC64.
15847         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
15848         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
15850 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15852         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
15854 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15856         * intl/loadmsgcat.c: Remove declaration of
15857         get_sysdep_segment_value.
15858         (get_sysdep_segment_value): Use ISO C style.
15859         (_nl_load_domain): Use ISO C style.  Get rid of redundant
15860         semicolon.  Fix typo and formatting in comment.
15861         (_nl_unload_domain): Use ISO C style.
15863         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
15865 2014-07-02  Will Newton  <will.newton@linaro.org>
15867         * malloc/obstack.c: Merge from gnulib master.
15868         [HAVE_CONFIG_H]: Remove conditional code.
15869         [!_LIBC]: Include config.h.
15870         [!ELIDE_CODE]: Don't include inttypes.h, include
15871         stdint.h unconditionally.
15872         (print_and_abort): Mark as _Noreturn.
15873         (_obstack_allocated_p): Mark as __attribute_pure__.
15874         (obstack_free): Rename to __obstack_free.
15875         [!__attribute__]: Remove conditional code.
15876         * malloc/obstack.h: Merge from gnulib master.
15877         [__cplusplus]: Move conditional down.
15878         [!__attribute_pure__]: Define __attribute_pure__ here
15879         if it is not already defined.
15880         (_obstack_memory_used): Mark as __attribute_pure__.
15881         [!__obstack_free]: Define as obstack_free.
15882         [__GNUC__]: Remove check for ancient NeXT gcc.
15884 2014-07-02  Will Newton  <will.newton@linaro.org>
15885             Paul Eggert  <eggert@cs.ucla.edu>
15887         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
15889 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15891         * resolv/gethnamaddr.c: Add comment warning that the file is
15892         not maintained.
15894 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
15896         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
15897         entries.
15899         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
15900         entry for aio_cancel and aio_cancel64.
15901         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
15902         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
15903         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
15904         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
15905         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
15906         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
15907         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
15908         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
15909         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
15910         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
15911         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
15912         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
15913         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
15915 2014-07-01  Roland McGrath  <roland@hack.frob.com>
15917         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
15918         * nptl/pthread_mutex_lock.c: Likewise.
15919         * nptl/pthread_mutex_timedlock.c: Likewise.
15920         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
15922 2014-07-01  Richard henderson  <rth@redhat.com>
15924         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
15925         (__isnan, __isnanl): Remove.
15926         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
15928         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15930 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15932         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15934 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15936         * resolv/nss_dns/dns-host.c (getanswer_r)
15937         [MULTI_PTRS_ARE_ALIASES]: Remove code.
15939 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
15941         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15942         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
15943         undefine.
15944         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
15945         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
15947 2014-07-01  Roland McGrath <roland@hack.frob.com>
15949         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
15950         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
15952         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
15953         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
15955         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
15956         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
15957         ... here.
15958         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
15959         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
15961         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
15962         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
15963         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
15964         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
15966         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
15967         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
15968         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
15969         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
15970         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
15971         Moved ...
15972         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
15973         ... here.
15974         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
15975         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
15976         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
15977         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
15978         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
15979         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
15980         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
15981         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
15982         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
15983         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
15984         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
15985         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
15986         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
15987         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
15988         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
15989         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
15990         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
15991         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
15992         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
15993         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
15994         ... here.
15995         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
15996         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
15997         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
15998         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
15999         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
16000         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
16001         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
16002         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
16004 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
16006         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
16007         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
16008         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
16009         Add sysdep.
16011 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16013         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16015 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
16017         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16018         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16020         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16022         * sysdeps/arm/libm-test-ulps: Regenerated.
16024 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
16025             Roland McGrath <roland@hack.frob.com>
16027         * test-skeleton.c (signal_handler): Kill the whole process group
16028         before killing the child individually.
16029         (main): Report any failure on `setpgid'.
16031 2014-06-30  Roland McGrath  <roland@hack.frob.com>
16033         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
16034         from _TLS_H to _ARM_NPTL_TLS_H.
16035         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
16036         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
16038 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
16040         [BZ #16539]
16041         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
16042         (__expm1l): Return argument unchanged when small but not
16043         subnormal.
16045         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
16046         include macro name.
16047         (_FP_UNPACK_RAW_1_P): Likewise.
16048         (_FP_PACK_RAW_1): Likewise.
16049         (_FP_PACK_RAW_1_P): Likewise.
16050         (_FP_MUL_MEAT_1_wide): Likewise.
16051         (_FP_MUL_MEAT_DW_1_hard): Likewise.
16052         (_FP_MUL_MEAT_1_hard): Likewise.
16053         (_FP_DIV_MEAT_1_imm): Likewise.
16054         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
16055         (_FP_DIV_MEAT_1_udiv): Likewise.
16056         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
16057         (_FP_UNPACK_RAW_2): Likewise.
16058         (_FP_UNPACK_RAW_2_P): Likewise.
16059         (_FP_PACK_RAW_2): Likewise.
16060         (_FP_PACK_RAW_2_P): Likewise.
16061         (_FP_MUL_MEAT_DW_2_wide): Likewise.
16062         (_FP_MUL_MEAT_2_wide): Likewise.
16063         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
16064         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
16065         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
16066         (_FP_MUL_MEAT_2_gmp): Likewise.
16067         (_FP_DIV_MEAT_2_udiv): Likewise.
16068         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
16069         (_FP_FRAC_SRL_4): Likewise.
16070         (_FP_FRAC_SRST_4): Likewise.
16071         (_FP_FRAC_SRS_4): Likewise.
16072         (_FP_UNPACK_RAW_4): Likewise.
16073         (_FP_UNPACK_RAW_4_P): Likewise.
16074         (_FP_PACK_RAW_4): Likewise.
16075         (_FP_PACK_RAW_4_P): Likewise.
16076         (_FP_MUL_MEAT_DW_4_wide): Likewise.
16077         (_FP_MUL_MEAT_4_wide): Likewise.
16078         (_FP_MUL_MEAT_4_gmp): Likewise.
16079         (umul_ppppmnnn): Likewise.
16080         (_FP_DIV_MEAT_4_udiv): Likewise.
16081         (__FP_FRAC_ADD_4): Likewise.
16082         (__FP_FRAC_SUB_3): Likewise.
16083         (__FP_FRAC_SUB_4): Likewise.
16084         (__FP_FRAC_DEC_3): Likewise.
16085         (__FP_FRAC_DEC_4): Likewise.
16086         (__FP_FRAC_ADDI_4): Likewise.
16087         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
16088         (_FP_FRAC_SRL_8): Likewise.
16089         (_FP_FRAC_SRS_8): Likewise.
16091         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
16092         include macro name.
16093         (FP_UNPACK_RAW_EP): Likewise.
16094         (FP_PACK_RAW_E): Likewise.
16095         (FP_PACK_RAW_EP): Likewise.
16096         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
16097         (_FP_ISSIGNAN): Likewise.
16098         (_FP_ADD_INTERNAL): Likewise.
16099         (_FP_FMA): Likewise.
16100         (_FP_CMP): Likewise.
16101         (_FP_SQRT): Likewise.
16102         (_FP_TO_INT): Likewise.
16103         (_FP_FROM_INT): Likewise.
16104         (FP_EXTEND): Likewise.
16105         (_FP_DIV_MEAT_N_loop): Likewise.
16107 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
16109         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
16110         throughout.
16112 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
16114         [BZ #17097]
16115         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
16116         result with correct sign in case of exponents that produce
16117         overflow except for X very close to 1.
16119 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
16121         mktime: merge #if/#ifdef usage from glibc
16122         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
16123         as that works with both Glibc's and Gnulib's style.
16124         See thread starting at Siddhesh Poyarekar's bug report at:
16125         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
16127 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16129         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
16130         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
16131         * sysdeps/tile/tilegx/memmove.c: Remove file.
16133 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
16135         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
16136         abi-name definition.
16137         * scripts/soversions.awk: Do not handle or generate ABI lines.
16138         * shlib-versions: Remove ABI entries.
16139         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
16140         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
16142 2014-06-27  Roland McGrath  <roland@hack.frob.com>
16144         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
16145         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
16146         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
16147         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
16148         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
16149         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
16150         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
16151         Moved ...
16152         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16153         ... here.
16154         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
16155         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
16156         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
16157         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
16158         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
16159         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
16160         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
16161         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
16162         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
16163         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
16164         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
16165         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
16166         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
16167         Moved ...
16168         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
16169         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
16170         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
16171         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
16172         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
16173         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
16174         Moved ...
16175         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
16176         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
16177         Moved ...
16178         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
16179         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
16180         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
16181         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
16182         Moved ...
16183         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
16184         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
16185         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
16186         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
16187         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
16188         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
16189         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
16190         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
16191         Moved ...
16192         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
16193         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
16194         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
16195         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
16196         Moved ...
16197         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
16198         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
16199         Moved ...
16200         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
16201         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
16202         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
16203         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
16204         Moved ...
16205         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
16206         ... here.
16207         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
16208         Identical file removed.
16209         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
16210         Moved ...
16211         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
16212         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
16213         Identical file removed.
16214         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
16215         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
16216         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
16217         Moved ...
16218         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
16219         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
16220         Identical file removed.
16221         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
16222         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
16223         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
16224         Identical file removed.
16225         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
16226         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
16227         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
16228         Identical file removed.
16229         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
16230         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
16231         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
16232         Identical file removed.
16233         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
16234         Moved ...
16235         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
16236         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
16237         Identical file removed.
16238         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
16239         Moved ...
16240         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
16241         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
16242         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
16243         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
16244         Identical file removed.
16245         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
16246         Moved ...
16247         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
16248         ... here.
16249         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
16250         Identical file removed.
16251         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
16252         Moved ...
16253         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
16254         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
16255         Identical file removed.
16256         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
16257         Moved ...
16258         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
16259         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
16260         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
16261         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
16262         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
16263         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
16264         Moved ...
16265         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
16266         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
16267         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
16269         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
16270         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
16271         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
16272         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
16273         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
16275 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
16277         [BZ #17092]
16278         * nscd/nscd.c (monitor_child): Return exit status of child
16279         instead of return value from wait syscall.
16281 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
16283         * configure.ac (libc_commonpagesize): Remove variable.
16284         (libc_relro_required): Likewise.
16285         (libc_cv_z_relro): Remove configure test.
16286         * configure: Regenerated.
16287         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
16288         variable.
16289         (libc_relro_required): Likewise.
16290         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
16291         (libc_relro_required): Likewise.
16292         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
16293         (libc_relro_required): Likewise.
16294         * sysdeps/arm/preconfigure: Regenerated.
16295         * sysdeps/ia64/preconfigure: Remove file.
16296         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
16297         variable.
16298         (libc_relro_required): Likewise.
16300         [BZ #16561]
16301         [BZ #16562]
16302         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
16303         (__ieee754_yn): Set FE_TONEAREST mode internally and then
16304         recompute overflowing results in original rounding mode.
16305         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
16306         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
16307         recompute overflowing results in original rounding mode.
16308         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
16309         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16310         recompute overflowing results in original rounding mode.
16311         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
16312         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16313         recompute overflowing results in original rounding mode.
16314         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
16315         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16316         recompute overflowing results in original rounding mode.
16317         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
16318         (libc_feholdsetround_ctx): New macro.
16319         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
16320         * sysdeps/i386/fpu/libm-test-ulps: Update.
16321         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
16323 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16325         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
16326         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
16327         corresponding .cpsetup call.
16329 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16331         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
16332         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
16333         * sysdeps/arm/Makefile [$(subdir) = csu]
16334         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
16335         (static-only-routines): Add aeabi_read_tp here.
16336         (shared-only-routines): Add libc-aeabi_read_tp here.
16337         (CFLAGS-libc-start.c): Add -fexceptions here.
16338         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
16339         (sysdep_routines, static-only-routines, shared-only-routines):
16340         Don't add to these here.
16341         (CFLAGS-libc-start.c): Likewise.
16343         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
16344         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16345         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
16346         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16347         * sysdeps/arm/Makefile [$(subdir) = rt]
16348         (librt-sysdep_routines, librt-shared-only-routines):
16349         Append rt-aeabi_unwind_cpp_pr1 here.
16350         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
16351         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
16352         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
16353         (libpthread-sysdep_routines, libpthread-shared-only-routines):
16354         Append nptl-aeabi_unwind_cpp_pr1 here.
16355         (tests): Filter out tst-cleanupx4 here.
16356         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
16357         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
16358         Don't do those here.
16360 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16362         * scripts/list-sources.sh: Do not handle ports specially.
16364 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16366         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
16367         * sysdeps/arm/feupdateenv.c: Likewise.
16369         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
16371 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16373         * manual/texinfo.tex: Update to version 2014-05-05.10 with
16374         trailing whitespace removed.
16375         * scripts/config.guess: Update to version 2014-03-23.
16376         * scripts/config.sub: Update to version 2014-05-01
16377         * scripts/install-sh: Update to version 2013-12-25.23.
16378         * scripts/move-if-change: Update from gnulib.
16380 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16382         * debug/memmove_chk.c: Remove pagecopy.h include.
16384 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
16386         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
16387         identical to gnulib mktime.
16389 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16391         * configure.ac: Do not test for machine being rs6000.  Do not test
16392         for powerpc*-*soft.
16393         * configure: Regenerated.
16395         [BZ #11505]
16396         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
16397         test.
16398         * configure: Regenerated.
16399         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
16400         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
16401         Remove configure test.
16402         * sysdeps/arm/configure: Regenerated.
16403         * sysdeps/nptl/configure.ac: Do not check
16404         libc_cv_asm_cfi_directives.
16405         * sysdeps/nptl/configure: Regenerated.
16406         * sysdeps/x86_64/nptl/configure.ac: Remove file.
16407         * sysdeps/x86_64/nptl/configure: Remove generated file.
16408         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
16409         unconditional.
16410         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
16412 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16414         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
16415         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
16416         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
16417         it is defined.
16419         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
16420         instead of whether it is defined.
16421         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
16422         * sysdeps/hppa/dl-machine.h: Likewise.
16423         * sysdeps/ia64/dl-machine.h: Likewise.
16424         * sysdeps/m68k/dl-machine.h: Likewise.
16425         * sysdeps/microblaze/dl-machine.h: Likewise.
16426         * sysdeps/mips/dl-machine.: Likewise.
16427         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16428         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16429         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16430         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16431         * sysdeps/sh/dl-machine.h: Likewise.
16432         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16433         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16434         * sysdeps/tile/dl-machine.h: Likewise.
16435         * sysdeps/x86_64/dl-machine.h: Likewise.
16437         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
16438         code.
16439         (verify_persistent_db): Likewise.
16441 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16443         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
16444         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
16445         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
16446         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
16447         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16448         Moved ...
16449         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16450         ... here.
16451         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
16452         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
16453         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
16454         Identical file removed.
16455         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
16456         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
16457         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
16458         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
16459         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
16460         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
16461         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
16462         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
16463         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
16464         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
16465         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16466         Moved ...
16467         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
16468         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
16469         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
16470         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
16471         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
16472         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16473         Moved ...
16474         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
16475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
16476         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
16477         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
16478         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
16479         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16480         Identical file removed.
16481         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
16482         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
16483         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
16484         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
16485         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16486         Moved ...
16487         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16488         ... here.
16489         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
16490         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
16491         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
16492         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
16493         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
16494         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
16495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
16496         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
16497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
16498         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
16499         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16500         Moved ...
16501         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
16502         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
16503         Moved ...
16504         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
16505         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
16506         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
16507         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16508         Moved ...
16509         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
16510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
16511         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
16513         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
16514         folded into ...
16515         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
16516         * sysdeps/unix/sysv/linux/s390/Versions
16517         (libpthread: GLIBC_2.19): New version set.
16518         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
16519         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
16520         (librt: GLIBC_2.3.3): New version set.
16521         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
16522         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
16523         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
16524         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
16525         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
16526         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
16527         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
16528         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
16529         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
16530         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
16531         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
16532         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
16533         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
16534         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
16535         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
16536         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
16537         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
16538         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
16539         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
16540         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
16541         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
16542         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
16543         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
16544         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
16545         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
16546         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
16547         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
16548         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
16549         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
16550         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
16551         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
16552         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
16553         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
16554         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
16555         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
16556         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
16557         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
16558         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
16559         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
16560         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
16561         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
16562         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
16563         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
16564         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
16565         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
16567         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
16568         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
16569         (__libc_vfork): Define the function under this name.
16570         [!NOT_IN_libc] (__vfork): Make this an alias.
16571         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16572         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
16573         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
16574         (__libc_vfork): Define the function under this name.
16575         [!NOT_IN_libc] (__vfork): Make this an alias.
16576         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16577         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
16578         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
16579         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
16580         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
16581         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16583         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
16584         code that was previously under [RESET_PID].
16585         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
16586         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
16587         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
16589         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
16590         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
16591         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
16592         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
16593         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
16594         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
16595         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
16596         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
16597         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
16598         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
16599         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
16600         Moved ...
16601         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
16602         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
16603         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
16604         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
16605         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
16606         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
16607         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
16608         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
16609         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
16610         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
16611         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
16612         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
16613         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
16614         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
16615         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
16616         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
16617         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
16618         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
16619         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
16620         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
16621         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
16622         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
16623         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
16624         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
16625         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
16626         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
16627         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
16628         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
16629         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
16631 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16633         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
16634         that was previously under [RESET_PID].
16635         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
16637 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16639         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
16640         not undefine and redefine.
16641         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
16642         [O_CLOEXEC]: Make code unconditional.
16643         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
16644         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
16645         <kernel-features.h>.
16646         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
16647         conditional variable definition.
16648         (shm_open) [O_CLOEXEC]: Make code unconditional.
16649         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
16650         code.
16652         * configure.ac (USE_REGPARMS): Don't define here.
16653         * configure: Regenerated.
16654         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
16655         * sysdeps/i386/configure: Regenerated.
16657         * nptl/createthread.c: Don't include kernel-features.h.
16658         * nptl/pthread_cancel.c: Likewise.
16659         * nptl/pthread_condattr_setclock.c: Likewise.
16660         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
16661         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
16662         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
16663         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
16664         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16665         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
16666         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16667         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
16668         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16669         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16670         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
16671         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
16672         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
16673         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
16674         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
16675         * nscd/gai.c: Likewise.
16676         * nss/nss_db/db-open.c: Likewise.
16677         * sysdeps/generic/ldsodefs.h: Likewise.
16678         * sysdeps/sh/nptl/tls.h: Likewise.
16679         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16680         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
16681         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
16682         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
16683         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
16684         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16685         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
16686         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16687         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16688         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16689         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16690         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16691         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
16692         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
16693         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
16694         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
16695         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16696         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
16697         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
16698         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
16699         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16700         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16701         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
16702         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16703         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16704         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16705         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
16706         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16707         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16708         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
16709         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
16710         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
16711         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
16712         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16713         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16714         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16715         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16716         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
16717         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
16718         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16719         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16720         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
16721         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
16722         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16723         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
16724         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
16725         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
16726         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
16727         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
16728         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16729         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16730         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16731         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16732         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16733         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
16734         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16735         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16736         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
16737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
16739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
16740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
16759         * sysdeps/unix/sysv/linux/pread.c: Likewise.
16760         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
16761         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
16762         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
16763         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
16764         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
16765         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
16766         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
16767         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
16768         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16769         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
16770         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16771         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
16772         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
16773         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
16774         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
16775         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16776         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
16777         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
16778         * sysdeps/unix/sysv/linux/system.c: Likewise.
16779         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
16780         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16781         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16782         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16783         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16784         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16785         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16787         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
16788         * configure: Regenerated.
16789         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
16791         * configure.ac (base_machine): Do not set specially for particular
16792         machines here.
16793         * configure: Regenerated.
16794         * sysdeps/powerpc/preconfigure: Move machine and base_machine
16795         settings from configure.ac.
16796         * sysdeps/i386/preconfigure: New file.
16797         * sysdeps/s390/preconfigure: Likewise.
16798         * sysdeps/sh/preconfigure: Likewise.
16799         * sysdeps/sparc/preconfigure: Likewise.
16801 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16803         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
16804         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
16805         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
16806         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
16807         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
16808         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
16809         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
16810         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
16811         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
16812         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
16813         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
16814         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
16815         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
16816         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
16817         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
16818         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
16819         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
16820         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
16821         * sysdeps/sparc/sparc64/Makefile: ... appended here.
16823         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
16824         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
16825         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
16826         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
16827         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
16828         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
16829         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
16830         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
16831         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
16832         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
16833         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
16834         * sysdeps/sparc/sparc32/sem_post.c: ... here.
16835         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
16836         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
16837         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
16838         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
16839         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
16840         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
16841         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
16842         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
16843         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
16844         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
16845         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
16846         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
16847         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
16848         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
16849         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
16850         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
16851         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
16852         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
16853         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
16854         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
16855         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
16856         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
16857         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
16858         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
16859         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
16860         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
16862         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
16863         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
16864         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
16865         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
16866         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16867         Moved ...
16868         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16869         ... here.
16870         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
16871         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
16872         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
16873         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
16874         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
16875         Moved ...
16876         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
16877         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
16878         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
16879         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
16880         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
16881         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
16882         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
16883         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16884         Moved ...
16885         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
16886         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16887         Moved ...
16888         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
16889         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
16890         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
16891         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16892         Moved ...
16893         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
16894         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
16895         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
16896         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
16897         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
16898         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
16899         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
16900         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
16901         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
16902         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16903         Moved ...
16904         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16905         ... here.
16906         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
16907         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
16908         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
16909         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
16910         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
16911         Moved ...
16912         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
16913         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
16914         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
16915         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
16916         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
16917         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
16918         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
16919         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16920         Moved ...
16921         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
16922         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16923         Moved ...
16924         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
16925         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
16926         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
16927         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16928         Moved ...
16929         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
16930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
16931         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
16932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
16933         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
16935 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16937         * timezone/checktab.awk: Update from tzcode 2014e.
16938         * timezone/private.h: Likewise.
16939         * timezone/tzfile.h: Likewise.
16940         * timezone/zdump.c: Likewise.
16941         * timezone/zic.c: Likewise.
16943         * sysdeps/unix/sysv/linux/kernel-features.h
16944         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
16945         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
16946         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
16947         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16948         Remove conditional code.
16950 2014-06-25  Will Newton  <will.newton@linaro.org>
16952         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
16953         (_dl_arm_cap_flags): Add HWCAP2 values.
16954         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
16955         (_DL_HWCAP_COUNT): Increase to 37.
16956         (_DL_HWCAP_LAST): New define.
16957         (_DL_HWCAP2_LAST): New define.
16958         (_dl_procinfo): Add support for printing
16959         AT_HWCAP2 entries.
16960         (_dl_string_hwcap): Use _dl_hwcap_string.
16962 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16966 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16968         * README: Do not mention ports directory.
16970         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
16971         Remove macro.
16972         * sysdeps/unix/sysv/linux/futimes.c: Do not include
16973         <kernel-features.h>.
16974         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
16975         conditional variable definition.
16976         (__futimes): Update comment.
16977         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
16978         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
16980         [BZ #16560]
16981         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
16982         arguments close to 0.
16983         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
16984         Likewise.
16985         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
16986         Likewise.
16987         * math/auto-libm-test-in: Add more tests of exp10.
16988         * math/auto-libm-test-out: Regenerated.
16989         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16991         * sysdeps/unix/sysv/linux/kernel-features.h
16992         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
16993         * sysdeps/unix/sysv/linux/readv.c: Do not include
16994         <kernel-features.h>.
16995         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16996         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16997         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16998         unconditional.
16999         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17000         conditional code.
17001         * sysdeps/unix/sysv/linux/writev.c: Do not include
17002         <kernel-features.h>.
17003         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17004         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17005         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17006         unconditional.
17007         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17008         conditional code.
17010 2014-06-25  Will Newton  <will.newton@linaro.org>
17012         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
17013         comment changes throughout the file.  Remove checks
17014         for HAVE_*_H definitions that are not required.
17015         (__gen_tempname): Call abort if an unknown kind value is
17016         passed.
17018 2014-06-25  Andreas Schwab  <schwab@suse.de>
17020         [BZ #17086]
17021         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
17022         scalbln, scalblnf, scalblnl in libc.
17024 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17026         [BZ #17086]
17027         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
17028         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17029         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17031 2014-06-24  Roland McGrath  <roland@hack.frob.com>
17033         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
17034         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
17035         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
17036         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
17037         Update #include.
17038         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
17039         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
17040         Update #include.
17041         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
17042         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
17043         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
17044         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
17045         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
17046         * sysdeps/x86/bits/pthreadtypes.h: ... here.
17047         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
17048         * sysdeps/x86/bits/semaphore.h: ... here.
17049         * sysdeps/x86/nptl/elide.h: Moved ...
17050         * sysdeps/x86/elide.h: ... here.
17051         * sysdeps/x86_64/nptl/Implies: File removed.
17052         * sysdeps/i386/nptl/Implies: File removed.
17054 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
17056         [BZ #16539]
17057         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
17058         return the argument for normal arguments with exponent below -64.
17059         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17060         Likewise.
17061         * math/auto-libm-test-in: Add another test of expm1.
17062         * math/auto-libm-test-out: Regenerated.
17064         [BZ #16287]
17065         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
17066         calling __erfcl for arguments at least 16.
17067         * math/auto-libm-test-in: Add more tests of erf.
17068         * math/auto-libm-test-out: Regenerated.
17070         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
17071         individual architectures.
17072         * sysdeps/unix/sysv/linux/configure: Regenerated.
17073         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
17074         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
17075         * sysdeps/unix/sysv/linux/powerpc/configure.ac
17076         (ldd_rewrite_script): Define variable.
17077         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
17079         file.
17080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
17081         generated file.
17082         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
17083         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
17084         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
17085         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
17086         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
17087         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
17088         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
17089         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
17091 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17093         [BZ #17084]
17094         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
17095         Rename member __data.d to __data.__elision_data.
17097 2014-06-24  Wilco  <wdijkstr@arm.com>
17099         * NEWS: Add 16918 to fixed bug list.
17101 2014-06-24  Wilco  <wdijkstr@arm.com>
17103         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
17105 2014-06-24  Wilco  <wdijkstr@arm.com>
17107         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
17108         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
17109         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
17110         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
17111         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
17112         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
17113         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
17114         Use _FPU_MASK_RM.
17116 2014-06-24  Wilco  <wdijkstr@arm.com>
17118         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
17120 2014-06-24  Wilco  <wdijkstr@arm.com>
17122         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
17123         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
17124         * sysdeps/arm/fesetround.c (fesetround): Remove space.
17125         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
17127 2014-06-24  Wilco  <wdijkstr@arm.com>
17129         [BZ #16918]
17130         * sysdeps/arm/feupdateenv.c (feupdateenv):
17131         Rewrite to reduce FPSCR accesses and fix return value.
17133 2014-06-24  Wilco  <wdijkstr@arm.com>
17135         * sysdeps/arm/fclrexcpt.c (feclearexcept):
17136         Optimize to avoid unnecessary FPSCR writes.
17137         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
17138         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
17139         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
17140         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
17142 2014-06-24  Wilco  <wdijkstr@arm.com>
17144         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
17145         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
17146         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
17147         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
17148         Call libc_fetestexcept_vfp.
17149         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
17150         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
17151         __SOFTFP__ ifdef so that they can be built for softfp.
17153 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17155         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
17156         argument type signed char.
17158         * Makerules (check-abi): Dump diff of symlist if the test
17159         fails.
17161 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17163         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
17164         using abort.
17166         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17167         Remove unused variable ST.
17169 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17171         [BZ #16354]
17172         [BZ #17061]
17173         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
17174         small arguments before calling __expm1.
17175         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
17176         small arguments before calling __expm1f.
17177         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
17178         small arguments before calling __expm1l.
17179         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17180         Likewise.
17181         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
17182         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
17183         spurious underflow for some cosh tests.
17184         * math/auto-libm-test-out: Regenerated.
17185         * sysdeps/i386/fpu/libm-test-ulps: Update.
17187         [BZ #17050]
17188         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
17189         (__ieee754_y1): Set errno if return value overflows.
17190         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
17191         (__ieee754_y1f): Set errno if return value overflows.
17192         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
17193         (__ieee754_y1l): Set errno if return value overflows.
17194         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
17195         (__ieee754_y1l): Set errno if return value overflows.
17196         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
17197         * math/auto-libm-test-out: Regenerated.
17199         * math/gen-auto-libm-tests.c: Document use of
17200         ignore-zero-inf-sign.
17201         (input_flag_type): Add value flag_ignore_zero_inf_sign.
17202         (input_flags): Add ignore-zero-inf-sign.
17203         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
17204         * math/gen-libm-test.pl (generate_testfile): Handle
17205         ignore-zero-inf-sign.
17206         * math/auto-libm-test-in: Mark some cpow tests with
17207         ignore-zero-inf-sign and some with xfail-rounding.
17208         * math/auto-libm-test-out: Regenerated.
17209         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
17210         * sysdeps/i386/fpu/libm-test-ulps: Update.
17211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17213         [BZ #16315]
17214         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
17215         overflowing or underflowing operations take place with sign of
17216         result.
17217         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17218         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17219         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
17220         (__ieee754_pow): Recompute overflowing and underflowing results in
17221         original rounding mode.
17222         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
17223         (__powl_helper): Allow negative argument X and scale negated value
17224         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
17225         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
17226         overflowing or underflowing operations take place with sign of
17227         result.
17228         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
17229         Include <math.h>.
17230         * math/auto-libm-test-in: Add more tests of pow.
17231         * math/auto-libm-test-out: Regenerated.
17232         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
17233         (pow_tonearest_test_data): Remove.
17234         (pow_test_tonearest): Likewise.
17235         (pow_towardzero_test_data): Likewise.
17236         (pow_test_towardzero): Likewise.
17237         (pow_downward_test_data): Likewise.
17238         (pow_test_downward): Likewise.
17239         (pow_upward_test_data): Likewise.
17240         (pow_test_upward): Likewise.
17241         (main): Don't call removed functions.
17242         * sysdeps/i386/fpu/libm-test-ulps: Update.
17243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17245 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
17248         Moved ...
17249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
17250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17251         Moved ...
17252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
17253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
17254         Moved ...
17255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
17256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17257         Moved ...
17258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
17259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17260         File removed.
17261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
17262         File removed.
17263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
17264         File removed.
17265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
17266         File removed.
17267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
17268         File removed.
17269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
17270         File removed.
17271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
17272         File removed.
17273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17274         File removed.
17275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
17276         File removed.
17277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
17278         File removed.
17279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
17280         File removed.
17281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
17282         File removed.
17283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
17284         Moved ...
17285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
17286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
17287         Moved ...
17288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17289         ... here.
17290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
17291         Moved ...
17292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
17293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
17294         Moved ...
17295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
17296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
17297         Moved ...
17298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
17299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
17300         Moved ...
17301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
17302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
17303         Moved ...
17304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
17305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
17306         Moved ...
17307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
17308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
17309         Moved ...
17310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
17311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
17312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
17313         ... here.
17314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
17315         Moved ...
17316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
17317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17318         Moved ...
17319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17320         ... here.
17321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
17322         Moved ...
17323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17324         ... here.
17325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17326         Moved ...
17327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
17328         ... here.
17329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17330         Moved ...
17331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
17332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17333         Moved ...
17334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
17335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
17336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
17337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17338         Moved ...
17339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
17340         ... here.
17341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17342         Moved ...
17343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
17344         ... here.
17345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17346         Moved ...
17347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
17348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17349         Moved ...
17350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
17351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17352         Moved ...
17353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
17354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17355         Moved ...
17356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
17357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17358         Moved ...
17359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
17360         ... here.
17361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17362         Moved ...
17363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
17364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17365         Moved ...
17366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
17367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17368         Moved ...
17369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
17370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17371         Moved ...
17372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
17373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
17374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
17375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17376         Moved ...
17377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
17378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17379         Moved ...
17380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
17381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17382         Moved ...
17383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17384         ... here.
17385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17386         Moved ...
17387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17388         ... here.
17389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17390         Moved ...
17391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17392         ... here.
17393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17394         Moved ...
17395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
17396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17397         Moved ...
17398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
17399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17400         Moved ...
17401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
17402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17403         Moved ...
17404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17405         ... here.
17406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17407         Moved ...
17408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17409         ... here.
17410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17411         Moved ...
17412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17413         ... here.
17414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17415         Moved ...
17416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
17417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17418         Moved ...
17419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
17421 2014-06-23  Will Newton  <will.newton@linaro.org>
17422             Wilco  <wdijkstr@arm.com>
17424         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
17425         implementation.  Include get-rounding-mode.h.
17426         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
17427         [!libc_feholdsetround_noex_ctx]: Define
17428         libc_feholdsetround_noex_ctx.
17429         [!libc_feholdsetround_noexf_ctx]: Define
17430         libc_feholdsetround_noexf_ctx.
17431         [!libc_feholdsetround_noexl_ctx]: Define
17432         libc_feholdsetround_noexl_ctx.
17433         (libc_feholdsetround_ctx): New function.
17434         (libc_feresetround_ctx): New function.
17435         (libc_feholdsetround_noex_ctx): New function.
17436         (libc_feresetround_noex_ctx): New function.
17438 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17440         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
17441         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
17442         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
17443         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
17444         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
17445         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
17447         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
17448         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
17449         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
17450         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
17451         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
17452         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
17453         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
17454         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
17455         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
17456         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
17457         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
17458         Moved ...
17459         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17460         ... here.
17461         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
17462         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
17463         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
17464         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
17465         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
17466         Moved ...
17467         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
17468         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
17469         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
17470         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
17471         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
17472         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
17473         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
17474         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
17475         Moved ...
17476         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
17477         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
17478         Moved ...
17479         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
17480         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
17481         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
17482         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
17483         Moved ...
17484         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
17485         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
17486         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
17487         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
17488         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
17489         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
17490         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
17491         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
17492         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
17493         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
17494         Moved ...
17495         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17496         ... here.
17497         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
17498         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
17499         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
17500         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
17501         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
17502         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
17503         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
17504         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
17505         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
17506         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
17507         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
17508         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
17509         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
17510         Moved ...
17511         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
17512         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
17513         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
17514         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
17515         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
17516         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
17517         Moved ...
17518         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
17519         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
17520         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
17521         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
17522         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
17524         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
17525         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
17526         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
17527         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
17528         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
17529         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
17530         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
17531         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
17532         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
17533         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
17534         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
17535         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
17536         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
17537         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
17538         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
17539         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
17540         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
17541         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
17542         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
17543         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
17544         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
17545         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
17546         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
17547         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
17548         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
17549         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
17550         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
17551         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
17553 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17555         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
17556         (FALLOC_FL_COLLAPSE_RANGE): New macro.
17557         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
17558         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
17559         (IPV6_PMTUDISC_INTERFACE): Likewise.
17560         (IPV6_PMTUDISC_OMIT): Likewise.
17562 2014-06-23  Andreas Schwab  <schwab@suse.de>
17564         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
17565         Remove unused errout label.
17567 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17569         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
17570         macro: hardware supports Vector Crypto instructions.
17572 2014-06-23  Will Newton  <will.newton@linaro.org>
17574         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
17575         rather than __builtin_expect.
17577         * elf/dl-lookup.c (undefined_msg): Remove variable.
17578         (_dl_lookup_symbol_x): Replace undefined_msg with string
17579         literal.
17581         * elf/dl-lookup.c (do_lookup_unique): New function.
17582         (do_lookup_x): Move STB_GNU_UNIQUE handling code
17583         to a separate function.
17585 2014-06-23  Andreas Schwab  <schwab@suse.de>
17587         [BZ #17079]
17588         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
17589         before reading the next line.
17591 2014-06-23  Will Newton  <will.newton@linaro.org>
17593         * test-skeleton.c (signal_handler): Use printf and %m
17594         rather than perror.  Use printf rather than fprintf to
17595         stderr.  Use puts rather than fputs to stderr.
17596         (main): Likewise.
17598 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
17600         * nscd/nscd.c (thread_info_t): Remove typedef.
17601         (thread_info): Remove variable.
17603 2014-06-21  Allan McRae  <allan@archlinux.org>
17605         * NEWS: Mention CVE-2014-4043.
17607 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17609         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
17610         * nptl/smp.h: ... here.
17612         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
17614         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
17615         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
17616         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
17617         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
17619         * nptl/allocatestack.c: Include <stack-aliasing.h>.
17620         * nptl/stack-aliasing.h: New file.
17621         * sysdeps/i386/i686/stack-aliasing.h: New file.
17622         * sysdeps/i386/i686/nptl/Makefile: File removed.
17623         * sysdeps/x86_64/stack-aliasing.h: New file.
17624         * sysdeps/x86_64/nptl/Makefile
17625         (CFLAGS-pthread_create.c): Variable removed.
17627         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
17628         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
17629         old file.
17630         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
17631         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
17632         old file.
17634 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
17636         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17637         (__ASSUME_SIGFRAME_V2): Remove macro.
17638         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
17639         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
17640         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
17641         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
17642         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
17643         Declare as function.  Remove conditional macro definitions.
17644         (__default_rt_sa_restorer): Likewise.
17645         (__default_sa_restorer_v1): Remove declaration.
17646         (__default_sa_restorer_v2): Likewise.
17647         (__default_rt_sa_restorer_v1): Likewise.
17648         (__default_rt_sa_restorer_v2): Likewise.
17649         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
17650         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
17651         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
17653 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17655         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
17656         (libpthread-routines): Add sysdep.
17657         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
17658         * sysdeps/unix/sysv/linux/sparc/Versions
17659         (libpthread: GLIBC_2.3.3): New version set.
17660         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
17661         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
17662         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
17663         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
17664         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
17665         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
17666         Moved ...
17667         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
17668         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17669         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
17670         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
17671         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
17672         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
17673         * sysdeps/sparc/nptl/sem_init.c: ... here.
17674         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
17675         * sysdeps/sparc/nptl/sem_post.c: ... here.
17676         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
17677         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
17678         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
17679         * sysdeps/sparc/nptl/sem_wait.c: ... here.
17680         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
17681         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
17682         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
17683         (libpthread-routines): Add cpu_relax.
17684         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
17685         File removed.
17686         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
17687         (librt: GLIBC_2.3.3): New version set.
17688         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
17689         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
17690         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
17691         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
17692         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
17693         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
17694         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
17695         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
17696         Moved ...
17697         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
17698         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
17699         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
17700         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
17701         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
17702         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
17703         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
17704         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
17705         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
17706         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
17707         Moved ...
17708         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
17709         Update #include.
17710         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
17711         Moved ...
17712         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
17713         Update #include.
17714         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
17715         Moved ...
17716         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
17717         Update #include.
17718         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
17719         Moved ...
17720         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
17721         Update #include.
17722         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
17723         Moved ...
17724         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
17725         Update #include.
17726         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
17727         Moved ...
17728         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
17729         Update #include.
17730         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
17731         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
17732         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
17733         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
17734         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
17735         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
17736         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
17737         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
17738         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
17739         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
17740         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17741         Moved ...
17742         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17743         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17744         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17745         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17746         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17748 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17750         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17751         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17752         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17753         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17754         * nscd/nscd.c: Likewise.
17755         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17756         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17757         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17758         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
17760         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
17761         <kernel-features.h>.
17762         (init_mq_netlink): Remove conditional have_sock_cloexec
17763         definitions.  Remove code conditional on have_sock_cloexec < 0.
17764         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
17765         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
17766         * sysdeps/unix/sysv/linux/opensock.c: Do not include
17767         <kernel-features.h>.
17768         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
17769         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
17771 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17773         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17774         Add tests for memset_chk and memset.
17776         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
17777         with AVX2_Usable.
17779 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17781         [BZ #16046]
17782         * elf/tst-dl-iter-static.c: New file.
17783         * elf/Makefile (tests-static): Add tst-dl-iter-static.
17785         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
17786         error.
17788 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17790         * sysdeps/unix/sysv/linux/kernel-features.h
17791         (__ASSUME_F_GETOWN_EX): Remove macro.
17792         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
17793         <kernel-features.h>.
17794         (miss_F_GETOWN_EX): Remove variable or macro.
17795         (do_fcntl): Do not check miss_F_GETOWN_EX.
17796         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
17798         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
17799         Remove macro.
17800         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
17801         [!__ASSUME_AT_RANDOM]: Remove conditional code.
17802         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
17804         * sysdeps/unix/sysv/linux/kernel-features.h
17805         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
17806         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
17807         [ADJ_OFFSET_SS_READ]: Make code unconditional.
17808         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
17810 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17812         [BZ #17075]
17813         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
17814         Fix calculation of the symbol's value.
17815         * sysdeps/arm/tst-armtlsdescloc.c: New file.
17816         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
17817         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
17818         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
17819         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
17820         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
17821         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
17822         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
17823         (modules-names): Add `tst-armtlsdescmod',
17824         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
17825         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
17826         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17827         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
17828         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
17829         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17830         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
17831         ($(objpfx)tst-armtlsdescloc): New dependency.
17832         ($(objpfx)tst-armtlsdescextnow): Likewise.
17833         ($(objpfx)tst-armtlsdescextlazy): Likewise.
17834         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
17835         TLS scheme support.
17836         * sysdeps/arm/configure: Regenerate.
17838 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17840         * include/fcntl.h (__atfct_seterrno): Remove prototype.
17841         (__atfct_seterrno_2): Likewise.
17842         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
17843         <kernel-features.h>.
17844         (__ASSUME_ATFCTS): Do not undefine and redefine.
17845         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
17846         (__have_atfcts): Remove conditional definition.
17847         (__fxstatat([__NR_fstatat64]: Make code unconditional.
17848         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
17849         unreachable if [__ASSUME_ATFCTS].
17850         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
17851         not undefine and redefine.
17852         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
17853         <kernel-features.h>.
17854         (faccessat) [__NR_faccessat]: Make code unconditional.
17855         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
17856         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
17857         <kernel-features.h>.
17858         (fchmodat) [__NR_fchmodat]: Make code unconditional.
17859         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17860         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
17861         <kernel-features.h>.
17862         (fchownat) [__NR_fchownat]: Make code unconditional.
17863         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
17864         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
17865         <kernel-features.h>.
17866         (futimesat) [__NR_futimesat]: Make code unconditional.
17867         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
17868         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17869         <kernel-features.h>.
17870         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17871         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17872         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17873         <kernel-features.h>.
17874         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
17875         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17876         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
17877         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17878         <kernel-features.h>.
17879         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
17880         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17881         * sysdeps/unix/sysv/linux/linkat.c: Do not include
17882         <kernel-features.h>.
17883         (linkat) [__NR_linkat]: Make code unconditional.
17884         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17885         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
17886         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
17887         <kernel-features.h>.
17888         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
17889         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17890         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
17891         <kernel-features.h>.
17892         (mkdirat) [__NR_mkdirat]: Make code unconditional.
17893         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
17894         * sysdeps/unix/sysv/linux/openat.c: Do not include
17895         <kernel-features.h>.
17896         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
17897         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
17898         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
17899         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
17900         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
17901         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
17902         <kernel-features.h>.
17903         (readlinkat) [__NR_readlinkat]: Make code unconditional.
17904         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
17905         result of INLINE_SYSCALL directly, not via int variable.
17906         * sysdeps/unix/sysv/linux/renameat.c: Do not include
17907         <kernel-features.h>.
17908         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
17909         (renameat) [__NR_renameat]: Make code unconditional.
17910         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
17911         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
17912         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
17913         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
17914         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
17915         (__ASSUME_ATFCTS): Do not undefine and redefine.
17916         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
17917         <kernel-features.h>.
17918         (symlinkat) [__NR_symlinkat]: Make code unconditional.
17919         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17920         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
17921         <kernel-features.h>.
17922         (unlinkat) [__NR_unlinkat]: Make code unconditional.
17923         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17924         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
17925         (__ASSUME_ATFCTS): Do not undefine and redefine.
17926         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17927         <kernel-features.h>.
17928         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17929         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17930         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17931         <kernel-features.h>.
17932         (__xmknodat) [__NR_mknodat]: Make code unconditional.
17933         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17935 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17937         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
17939 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
17941         [BZ #17069]
17942         * posix/regcomp.c (parse_reg_exp): Deallocate partially
17943         constructed tree before returning error.
17944         * posix/bug-regexp36.c: Expand test case.
17946 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17948         [BZ #6803]
17949         * math/libm-test.inc (scalbln_test_date):
17950         Add errno expectations.
17951         * math/w_scalblnf.c: New File.
17952         Add wrapper which checks for setting errno to ERANGE.
17953         Add weak_alias for corresponding scalbln function.
17954         * math/w_scalbln.c: Likewise.
17955         * math/w_scalblnl.c: Likewise.
17956         * math/Makefile (libm-calls): Add w_scalbln.
17957         * sysdeps/ieee754/flt-32/s_scalblnf.c:
17958         Remove weak_alias for corresponding scalbln function.
17959         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17960         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17961         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17962         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17963         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
17964         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17965         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
17966         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17967         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
17968         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
17969         Remove long_double_symbol for scalblnl function in libm, libc.
17970         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
17971         Add wrapper which checks for setting errno to ERANGE.
17972         Add long_double_symbol for scalblnl function in libm, libc.
17973         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
17974         Remove long_double_symbol for scalblnl in libm.
17975         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
17976         Add wrapper which checks for setting errno to ERANGE.
17977         Add long_double_symbol for scalblnl function in libm.
17978         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
17979         Do not use wrapper because of own implementation.
17981 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
17983         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
17984         3 bytes for __pad1 for x32.
17985         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
17987 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
17988             H.J. Lu  <hongjiu.lu@intel.com>
17990         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
17991         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
17992         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17993         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17994         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17996 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
17998         [BZ #17069]
17999         * posix/regcomp.c (parse_expression): Deallocate partially
18000         constructed tree before returning error.
18001         * posix/Makefile.c (tests): Add bug-regex36.
18002         (generated): Add bug-regex36.mtrace.
18003         (tests-special): Add $(objpfx)bug-regex36-mem.out
18004         (bug-regex36-ENV): New variable.
18005         ($(objpfx)bug-regex36-mem.out): New rule.
18006         * posix/bug-regex36.c: New file.
18008 2014-06-19  Will Newton  <will.newton@linaro.org>
18010         * malloc/malloc.c (systrim): If extra is zero then return
18011         early.
18013 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18015         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
18017 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
18019         * sysdeps/aarch64/strchr.S: New file.
18021 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
18023         [BZ #17022]
18024         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
18025         from arguments -2 or below.
18026         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18027         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18029 2014-06-18  Andreas Schwab  <schwab@suse.de>
18031         [BZ #17062]
18032         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
18033         of a bracket expr not to run off the end of the string.
18034         * posix/Makefile (tests): Add tst-fnmatch3.
18035         * posix/tst-fnmatch3.c: New file.
18037 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
18039         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
18040         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18041         [$(cross-compiling) = no]: Likewise.
18042         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18043         [$(cross-compiling) = no]: Likewise.
18045 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18047         [BZ #17031]
18048         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
18049         double, adjusted for any remainder from the high double.
18050         * math/libm-test.inc (nearbyint): Add tests.
18051         (rint): Likewise.
18053 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18055         * nptl/sysdeps/powerpc/Makefile: Moved ...
18056         * sysdeps/powerpc/nptl/Makefile: ... here.
18057         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
18058         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
18059         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
18060         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
18061         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
18062         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
18063         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
18064         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
18065         * nptl/sysdeps/powerpc/tls.h: Moved ...
18066         * sysdeps/powerpc/nptl/tls.h: ... here.
18068 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
18070         [BZ #16681]
18071         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
18072         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
18073         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
18074         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
18075         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
18076         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
18077         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
18078         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
18079         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
18081 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
18083         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18085 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
18087         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
18088         defined operator.
18090         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
18091         $TIMEOUTFACTOR.
18093 2014-06-16  Florian Weimer  <fweimer@redhat.com>
18095         [BZ #17058]
18096         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
18097         non-executed part of the test.
18099 2014-06-16  Andreas Schwab  <schwab@suse.de>
18101         * string/bits/string2.h (strdup, strndup): Update feature guard.
18103 2014-06-14  David S. Miller  <davem@davemloft.net>
18105         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18107 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
18109         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
18110         that was previously under [RESET_PID].
18111         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
18113         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
18114         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
18115         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
18116         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18117         (__libc_vfork): New strong alias.
18118         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
18120 2014-06-14 Andi Kleen  <ak@linux.intel.com>
18122         * sysdeps/generic/elide.h: New file.
18124 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18126         * Makefile (installed-headers): Adjust path of pthread.h header.
18128 2014-06-13  Roland McGrath  <roland@hack.frob.com>
18130         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
18131         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
18132         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
18133         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
18135         * nptl/sysdeps/s390/Makefile: Moved ...
18136         * sysdeps/s390/nptl/Makefile: ... here.
18137         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
18138         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
18139         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
18140         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
18141         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
18142         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
18143         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
18144         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
18145         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
18146         * sysdeps/s390/nptl/pthreaddef.h: ... here.
18147         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
18148         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
18149         * nptl/sysdeps/s390/tls.h: Moved ...
18150         * sysdeps/s390/nptl/tls.h: ... here.
18152         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
18153         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
18155 2014-06-13  David S. Miller  <davem@davemloft.net>
18157         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
18158         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
18159         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
18160         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
18161         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
18162         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
18163         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
18164         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
18165         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
18166         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
18167         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
18168         Remove RESET_PID cpp guards.
18169         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
18170         Remove RESET_PID cpp guards.
18171         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
18173 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
18175         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
18176         __sp to uintptr_t.
18178 2014-06-13  Andi Kleen  <ak@linux.intel.com>
18180         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
18181         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
18182         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
18183         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
18184         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
18185         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
18186         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
18187         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
18188         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
18189         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
18190         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
18191         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
18192         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
18193         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
18194         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
18195         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
18196         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
18197         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
18198         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
18199         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
18201         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
18202         (pthread_rwlock_rdlock): Add elision.
18203         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
18204         (pthread_rwlock_wrlock): Add elision.
18205         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
18206         (pthread_rwlock_trywrlock): Add elision.
18207         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
18208         (pthread_rwlock_tryrdlock): Add elision.
18209         * nptl/pthread_rwlock_unlock.c: Include elide.h.
18210         (pthread_rwlock_tryrdlock): Add elision unlock.
18211         * nptl/sysdeps/pthread/pthread.h:
18212         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
18213         (PTHREAD_RWLOCK_INITIALIZER,
18214         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
18215         Handle new elision field.
18216         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
18217         * sysdeps/arm/nptl/bits/pthreadtypes.h
18218         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18219         * sysdeps/sh/nptl/bits/pthreadtypes.h
18220         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18221         * sysdeps/tile/nptl/bits/pthreadtypes.h
18222         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18223         * sysdeps/a/nptl/bits/pthreadtypes.h
18224         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18225         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18226         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18227         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18228         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18229         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
18230         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18231         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18232         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18233         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18234         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18235         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18236         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18237         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18238         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18239         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
18240         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18241         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
18242         (elision_init): Set try_xbegin to zero when no RTM.
18243         * sysdeps/x86/nptl/bits/pthreadtypes.h
18244         (pthread_rwlock_t): Change __pad1 to __rwelision.
18245         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18247 2014-06-13  Andi Kleen  <ak@linux.intel.com>
18249         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
18250         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
18251         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
18252         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
18254 2014-06-13  Meador Inge  <meadori@codesourcery.com>
18256         [BZ #16996]
18257         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
18258         that the cached result has been set before returning it.
18260 2014-06-12  Roland McGrath  <roland@hack.frob.com>
18262         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
18263         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
18264         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
18265         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
18266         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
18267         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
18269         * nptl/sysdeps/sparc/Makefile: Moved ...
18270         * sysdeps/sparc/nptl/Makefile: ... here.
18271         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
18272         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
18273         * nptl/sysdeps/sparc/tls.h: Moved ...
18274         * sysdeps/sparc/nptl/tls.h: ... here.
18275         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
18276         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
18277         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
18278         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
18279         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
18280         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
18281         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
18282         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
18283         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
18284         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
18285         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
18286         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
18287         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
18288         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
18289         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
18290         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
18291         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
18292         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
18293         Update #include.
18294         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
18295         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
18296         Update #include.
18297         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
18298         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
18299         Update #include.
18300         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
18301         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
18302         Update #include.
18304         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18306         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
18307         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
18309         * sysdeps/pthread/posix-timer.h: Include <list.h>.
18310         (struct list_links): Type removed.
18311         (struct thread_node, struct timer_node): Replace struct list_links
18312         with struct list_head.
18313         (list_unlink_ip): Likewise.
18314         * sysdeps/pthread/timer_routines.c
18315         (timer_free_list, thread_free_list, thread_active_list): Likewise.
18316         (list_append, list_insbefore): Likewise.
18317         (list_init): Function removed.
18318         (thread_init, init_module): Use INIT_LIST_HEAD instead.
18319         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
18320         * sysdeps/pthread/Makefile: ... here, new file.
18322         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
18323         * sysdeps/nptl/Implies: ... here.
18324         * sysdeps/unix/sysv/linux/Implies: Add nptl.
18325         * nptl/sysdeps/pthread/list.h: Moved ...
18326         * include/list.h: ... here.
18327         * nptl/sysdeps/pthread/createthread.c: Moved ...
18328         * nptl/createthread.c: ... here.
18329         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
18330         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
18331         * nptl/pt-longjmp.c: ... here.
18332         * nptl/sysdeps/pthread/Makefile: Moved ...
18333         * sysdeps/nptl/Makefile: ... here.
18334         * nptl/sysdeps/pthread/Subdirs: Moved ...
18335         * sysdeps/nptl/Subdirs: ... here.
18336         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
18337         * sysdeps/nptl/aio_misc.h: ... here.
18338         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
18339         * sysdeps/nptl/bits/libc-lock.h: ... here.
18340         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
18341         * sysdeps/nptl/bits/libc-lockP.h: ... here.
18342         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
18343         * sysdeps/nptl/bits/stdio-lock.h: ... here.
18344         * nptl/sysdeps/pthread/configure: Moved ...
18345         * sysdeps/nptl/configure: ... here.
18346         * nptl/sysdeps/pthread/configure.ac: Moved ...
18347         * sysdeps/nptl/configure.ac: ... here.
18348         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
18349         * sysdeps/nptl/gai_misc.h: ... here.
18350         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
18351         * sysdeps/nptl/librt-cancellation.c: ... here.
18352         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
18353         * sysdeps/nptl/malloc-machine.h: ... here.
18354         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
18355         * sysdeps/nptl/pthread-functions.h: ... here.
18356         * nptl/sysdeps/pthread/pthread.h: Moved ...
18357         * sysdeps/nptl/pthread.h: ... here.
18358         * nptl/sysdeps/pthread/setxid.h: Moved ...
18359         * sysdeps/nptl/setxid.h: ... here.
18360         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
18361         * sysdeps/nptl/sigfillset.c: ... here.
18362         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
18363         * sysdeps/nptl/tcb-offsets.h: ... here.
18364         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
18365         * sysdeps/nptl/tst-mqueue8x.c: ... here.
18366         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
18367         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
18368         * nptl/sysdeps/pthread/allocalim.h: Moved ...
18369         * sysdeps/pthread/allocalim.h: ... here.
18370         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
18371         * sysdeps/pthread/bits/sigthread.h: ... here.
18372         * nptl/sysdeps/pthread/flockfile.c: Moved ...
18373         * sysdeps/pthread/flockfile.c: ... here.
18374         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
18375         * sysdeps/pthread/ftrylockfile.c: ... here.
18376         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
18377         * sysdeps/pthread/funlockfile.c: ... here.
18378         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
18379         * sysdeps/pthread/posix-timer.h: ... here.
18380         * nptl/sysdeps/pthread/timer_create.c: Moved ...
18381         * sysdeps/pthread/timer_create.c: ... here.
18382         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
18383         * sysdeps/pthread/timer_delete.c: ... here.
18384         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
18385         * sysdeps/pthread/timer_getoverr.c: ... here.
18386         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
18387         * sysdeps/pthread/timer_gettime.c: ... here.
18388         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
18389         * sysdeps/pthread/timer_routines.c: ... here.
18390         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
18391         * sysdeps/pthread/timer_settime.c: ... here.
18392         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
18393         * sysdeps/pthread/tst-timer.c: ... here.
18394         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
18395         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
18397         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
18398         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
18400         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
18401         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
18402         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
18403         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
18404         Update #include target.
18405         * nptl/sysdeps/i386/i686/Makefile: Moved ...
18406         * sysdeps/i386/i686/nptl/Makefile: ... here.
18407         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
18408         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
18409         Update #include target.
18410         * nptl/sysdeps/i386/i686/tls.h: Moved ...
18411         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
18412         * nptl/sysdeps/i386/Makefile: Moved ...
18413         * sysdeps/i386/nptl/Makefile: ... here.
18414         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
18415         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
18416         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
18417         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
18418         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
18419         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
18420         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
18421         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
18422         * sysdeps/i386/nptl/pthreaddef.h: ... here.
18423         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
18424         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
18425         * nptl/sysdeps/i386/tls.h: Moved ...
18426         * sysdeps/i386/nptl/tls.h: ... here.
18428         * sysdeps/sh/Makefile [$(subdir) = csu]
18429         (gen-as-const-headers): Add tcb-offsets.sym.
18430         * nptl/sysdeps/sh/Makefile: File removed.
18431         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
18432         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
18433         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
18434         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
18435         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
18436         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
18437         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
18438         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
18439         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
18440         * sysdeps/sh/nptl/pthreaddef.h: ... here.
18441         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
18442         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
18443         * nptl/sysdeps/sh/tls.h: Moved ...
18444         * sysdeps/sh/nptl/tls.h: ... here.
18445         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
18446         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
18447         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
18448         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
18449         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
18450         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
18451         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
18452         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
18453         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
18454         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
18455         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
18456         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
18457         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
18458         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
18459         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
18460         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
18461         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
18462         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
18463         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
18464         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
18465         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
18466         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
18467         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
18468         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
18469         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
18470         Moved ...
18471         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
18472         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
18473         Moved ...
18474         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
18475         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
18476         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
18477         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
18478         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
18479         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
18480         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
18481         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
18482         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
18483         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
18484         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
18485         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
18486         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
18487         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
18488         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
18489         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
18490         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
18491         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
18492         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
18494 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18496         * posix/spawn_faction_addopen.c: Include string.h.
18498 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18500         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
18501         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
18502         * nptl/sysdeps/x86_64/Makefile: Moved ...
18503         * sysdeps/x86_64/nptl/Makefile: ... here.
18504         * nptl/sysdeps/x86_64/configure: Moved ...
18505         * sysdeps/x86_64/nptl/configure: ... here.
18506         * nptl/sysdeps/x86_64/configure.ac: Moved ...
18507         * sysdeps/x86_64/nptl/configure.ac: ... here.
18508         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
18509         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
18510         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
18511         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
18512         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
18513         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
18514         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
18515         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
18516         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
18517         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
18518         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
18519         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
18520         * nptl/sysdeps/x86_64/tls.h: Moved ...
18521         * sysdeps/x86_64/nptl/tls.h: ... here.
18522         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
18523         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
18524         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
18525         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
18527         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
18529 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18531         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18533 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
18535         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
18536         type.
18537         [POSIX] (off_t): Likewise.
18538         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
18539         [POSIX] (S_ISBLK): Require macro.
18540         [POSIX] (S_ISCHR): Likewise.
18541         [POSIX] (S_ISDIR): Likewise.
18542         [POSIX] (S_ISFIFO): Likewise.
18543         [POSIX] (S_ISREG): Likewise.
18544         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
18545         optional-macro.
18546         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
18547         type.
18548         [POSIX] (time_t): Likewise.
18549         [POSIX] (timer_t): Likewise.
18551 2014-06-11  Florian Weimer  <fweimer@redhat.com>
18553         [BZ #17048]
18554         * posix/spawn_int.h (struct __spawn_action): Make the path string
18555         non-const to support deallocation.
18556         * posix/spawn_faction_addopen.c
18557         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
18558         * posix/spawn_faction_destroy.c
18559         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
18560         path in all spawn_do_open actions.
18561         * posix/tst-spawn.c (do_test): Exercise the copy operation in
18562         posix_spawn_file_actions_addopen.
18564 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
18566         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
18567         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
18568         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
18569         conditional code always true.
18570         (__libc_vfork): New alias.
18572 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18574         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18575         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
18577         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
18579         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18580         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
18582         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18583         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
18585         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18586         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
18588 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18590         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
18591         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
18592         multiarch strcmp for PPC64.
18593         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
18594         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
18595         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
18596         multiarch optimizations.
18597         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18598         (__libc_ifunc_impl_list): Likewise.
18600 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18602         * benchtests/scripts/validate_benchout.py: New script.
18603         * benchtests/Makefile (bench-func): Call it.
18604         * benchtests/scripts/benchout.schema.json: New file.
18606 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
18608         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
18609         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
18610         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
18611         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
18612         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
18613         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18614         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
18615         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
18616         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
18617         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
18618         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
18619         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
18620         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
18621         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
18622         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
18623         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
18624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
18625         Moved ...
18626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
18627         ... here.
18628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
18629         Moved ...
18630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
18631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
18632         Moved ...
18633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
18634         ... here.
18635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
18636         Moved ...
18637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
18638         ... here.
18639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
18640         Moved ...
18641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
18642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
18643         Moved ...
18644         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
18645         ... here.
18646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
18647         Moved ...
18648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
18649         ... here.
18650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
18651         Moved ...
18652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
18653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
18654         Moved ...
18655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
18656         ... here.
18657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
18658         Moved ...
18659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
18660         ... here.
18661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
18662         Moved ...
18663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
18664         ... here.
18665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
18666         Moved ...
18667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
18668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
18669         Moved ...
18670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
18671         ... here.
18672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
18673         Moved ...
18674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
18675         ... here.
18676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
18677         Moved ...
18678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
18679         ... here.
18680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
18681         Moved ...
18682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
18683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
18684         Moved ...
18685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
18686         ... here.
18687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
18688         Moved ...
18689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
18690         ... here.
18691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
18692         Moved ...
18693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
18694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
18695         Moved ...
18696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
18697         ... here.
18698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
18699         Moved ...
18700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
18701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
18702         Moved ...
18703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
18704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
18705         Moved ...
18706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
18707         ... here.
18708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
18709         Moved ...
18710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
18711         ... here.
18712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
18713         Moved ...
18714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
18715         ... here.
18716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
18717         Moved ...
18718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
18719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
18720         Moved ...
18721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
18722         ... here.
18723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
18724         Moved ...
18725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
18726         ... here.
18727         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
18728         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
18729         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
18730         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
18731         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
18732         Moved ...
18733         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18734         ... here.
18735         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
18736         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
18737         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
18738         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
18739         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
18740         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18741         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18742         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18743         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18744         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18745         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18746         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18747         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
18748         Moved ...
18749         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18750         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
18751         Moved ...
18752         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18753         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18754         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18755         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
18756         Moved ...
18757         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18758         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
18759         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
18760         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
18761         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
18762         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
18763         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
18765 2014-06-10  Wilco  <wdijkstr@arm.com>
18767         * math/test-fenv-return.c: New file.
18768         * math/Makefile: Add new test test-fenv-return.
18770 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
18772         [BZ #17042]
18773         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
18774         when x - 1 is zero.
18775         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
18776         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18777         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
18778         0.0L for an argument of 1.0L.
18779         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18780         Likewise.
18781         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
18782         value when x - 1 is zero.
18783         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
18784         * sysdeps/i386/fpu/libm-test-ulps: Update.
18785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18787 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
18789         [BZ #15119]
18790         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
18792 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18794         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
18795         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
18797 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18799         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18800         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
18802         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18803         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
18805         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18806         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
18808         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18809         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
18811         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
18812         if not already defined.
18813         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
18814         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
18815         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
18816         (TLS_INIT_TP): Use it.
18817         (TLS_DEFINE_INIT_TP): New macro.
18818         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
18820 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
18822         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
18823         constant.
18824         [POSIX] (IXANY): Likewise.
18825         [POSIX] (OLCUC): Likewise.
18826         [POSIX || POSIX2008] (CBAUD): Do not allow.
18827         [POSIX || POSIX2008] (DEFECHO): Likewise.
18828         [POSIX || POSIX2008] (ECHOCTL): Likewise.
18829         [POSIX || POSIX2008] (ECHOKE): Likewise.
18830         [POSIX || POSIX2008] (ECHOPRT): Likewise.
18831         [POSIX || POSIX2008] (EXTA): Likewise.
18832         [POSIX || POSIX2008] (EXTB): Likewise.
18833         [POSIX || POSIX2008] (FLUSHO): Likewise.
18834         [POSIX || POSIX2008] (LOBLK): Likewise.
18835         [POSIX || POSIX2008] (PENDIN): Likewise.
18836         [POSIX || POSIX2008] (SWTCH): Likewise.
18837         [POSIX || POSIX2008] (VDISCARD): Likewise.
18838         [POSIX || POSIX2008] (VDSUSP): Likewise.
18839         [POSIX || POSIX2008] (VLNEXT): Likewise.
18840         [POSIX || POSIX2008] (VREPRINT): Likewise.
18841         [POSIX || POSIX2008] (VSTATUS): Likewise.
18842         [POSIX || POSIX2008] (VWERASE): Likewise.
18843         (B*): Change to B[0123456789]*.
18844         * conform/data/time.h-data [POSIX || UNIX98]
18845         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
18846         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18847         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
18848         [POSIX] (tm_*): Do not allow.
18850 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
18852         * Makefile (install): Don't set LANGUAGE.
18853         * Makefile.in (install): Likewise.
18854         * assert/Makefile (test-assert-ENV): Remove variable.
18855         (test-assert-perr-ENV): Likewise.
18856         * elf/Makefile (neededtest4-ENV): Likewise.
18857         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18858         [$(cross-compiling) = no]: Don't set LANGUAGE.
18859         * io/ftwtest-sh (LANG): Remove variable.
18860         * libio/Makefile (tst-widetext-ENV): Likewise.
18861         * manual/install.texi (Running make install): Don't refer to
18862         environment settings for make install.
18863         * INSTALL: Regenerated.
18864         * nptl/tst-tls6.sh: Don't set LANG.
18865         * posix/globtest.sh (LANG): Remove variable.
18866         * string/Makefile (tester-ENV): Likewise.
18867         (inl-tester-ENV): Likewise.
18868         (noinl-tester-ENV): Likewise.
18869         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18870         [$(cross-compiling) = no]: Don't set LANGUAGE.
18871         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
18872         without explicit environment settings.
18874 2014-06-06  Roland McGrath  <roland@hack.frob.com>
18876         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
18877         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
18878         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
18879         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
18881 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
18883         * crypt/crypt-private.h [DOS]: Add some includes taken from the
18884         other files in the crypt directory.
18885         * crypt/crypt.c: Remove duplicate includes.
18886         * crypt/crypt-entry.c: Likewise.
18887         * crypt/crypt_util.c: Likewise.
18889 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
18891         * Makeconfig (run-program-env): New variable.
18892         (run-program-prefix-before-env): Likewise.
18893         (run-program-prefix-after-env): Likewise.
18894         (run-program-prefix): Define in terms of new variables.
18895         (built-program-cmd-before-env): New variable.
18896         (built-program-cmd-after-env): Likewise.
18897         (built-program-cmd): Define in terms of new variables.
18898         (test-program-prefix-before-env): New variable.
18899         (test-program-prefix-after-env): Likewise.
18900         (test-program-prefix): Define in terms of new variables.
18901         (test-program-cmd-before-env): New variable.
18902         (test-program-cmd-after-env): Likewise.
18903         (test-program-cmd): Define in terms of new variables.
18904         * Rules (make-test-out): Use $(run-program-env).
18905         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
18906         (help): Do not mention environment variables.  Mention
18907         --timeoutfactor option.
18908         (timeoutfactor): New variable.
18909         (blacklist_exports): Remove function.
18910         (exports): Remove variable.
18911         (command): Do not include ${exports}.
18912         * manual/install.texi (Configuring and compiling): Do not mention
18913         test wrappers preserving environment variables.  Mention that last
18914         assignment to a variable must take precedence.
18915         * INSTALL: Regenerated.
18916         * benchtests/Makefile (run-bench): Use $(run-program-env).
18917         * catgets/Makefile ($(objpfx)test1.cat): Use
18918         $(built-program-cmd-before-env), $(run-program-env) and
18919         $(built-program-cmd-after-env).
18920         ($(objpfx)test2.cat): Do not specify environment variables
18921         explicitly.
18922         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
18923         $(run-program-env) and $(built-program-cmd-after-env).
18924         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
18925         $(run-program-env) and $(test-program-cmd-after-env).
18926         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
18927         explicitly.
18928         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
18929         run_program_env and test_program_cmd_after_env arguments.
18930         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
18931         * elf/tst-pathopt.sh: Use run_program_env argument.
18932         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
18933         $(test-wrapper-env) and $(run-program-env).
18934         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
18935         run_program_env arguments.
18936         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
18937         * intl/Makefile ($(objpfx)tst-gettext.out): Use
18938         $(test-program-prefix-before-env), $(run-program-env) and
18939         $(test-program-prefix-after-env).
18940         ($(objpfx)tst-gettext2.out): Likewise.
18941         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
18942         run_program_env and test_program_prefix_after_env arguments.
18943         * intl/tst-gettext2.sh: Likewise.
18944         * intl/tst-gettext4.sh: Do not set environment variables
18945         explicitly.
18946         * intl/tst-gettext6.sh: Likewise.
18947         * intl/tst-translit.sh: Likewise.
18948         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
18949         $(test-program-prefix-before-env), $(run-program-env) and
18950         $(test-program-prefix-after-env).
18951         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
18952         run_program_env and test_program_prefix_after_env arguments.
18953         * math/Makefile (run-regen-ulps): Use $(run-program-env).
18954         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
18955         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
18956         explicitly with each use of ${test_wrapper_env}.
18957         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
18958         $(test-program-prefix-before-env), $(run-program-env) and
18959         $(test-program-prefix-after-env).
18960         * posix/tst-getconf.sh: Do not set environment variables
18961         explicitly.
18962         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
18963         run_program_env and test_program_prefix_after_env arguments.
18964         * stdio-common/tst-printf.sh: Do not set environment variables
18965         explicitly.
18966         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
18967         $(test-program-prefix-before-env), $(run-program-env) and
18968         $(test-program-prefix-after-env).
18969         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
18970         run_program_env and test_program_prefix_after_env arguments.
18971         Split $test calls into $test_pre and $test.
18972         * timezone/Makefile (build-testdata): Use
18973         $(built-program-cmd-before-env), $(run-program-env) and
18974         $(built-program-cmd-after-env).
18976 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18978         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
18979         strlen for non SHARED builds.
18981 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18983         * nptl/allocatestack.c (check_list): Inlined function...
18984         (__reclaim_stacks): ... here.
18986 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18988         [BZ #15698]
18989         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18990         memory overrun.
18992 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
18994         * Rules (make-test-out): Include
18995         LOCPATH=$(common-objpfx)localedata in default environment.
18996         * debug/Makefile (tst-chk1-ENV): Remove variable.
18997         (tst-chk2-ENV): Likewise.
18998         (tst-chk3-ENV): Likewise.
18999         (tst-chk4-ENV): Likewise.
19000         (tst-chk5-ENV): Likewise.
19001         (tst-chk6-ENV): Likewise.
19002         (tst-lfschk1-ENV): Likewise.
19003         (tst-lfschk2-ENV): Likewise.
19004         (tst-lfschk3-ENV): Likewise.
19005         (tst-lfschk4-ENV): Likewise.
19006         (tst-lfschk5-ENV): Likewise.
19007         (tst-lfschk6-ENV): Likewise.
19008         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
19009         (tst-iconv7-ENV): Likewise.
19010         * intl/Makefile (LOCPATH-ENV): Likewise.
19011         (tst-codeset-ENV): Likewise.
19012         (tst-gettext3-ENV): Likewise.
19013         (tst-gettext5-ENV): Likewise.
19014         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
19015         (tst-fopenloc-ENV): Likewise.
19016         (tst-fgetws-ENV): Remove variable.
19017         (tst-ungetwc1-ENV): Likewise.
19018         (tst-ungetwc2-ENV): Likewise.
19019         (bug-ungetwc2-ENV): Likewise.
19020         (tst-swscanf-ENV): Likewise.
19021         (bug-ftell-ENV): Likewise.
19022         (tst-fgetwc-ENV): Likewise.
19023         (tst-fseek-ENV): Likewise.
19024         (tst-ftell-partial-wide-ENV): Likewise.
19025         (tst-ftell-active-handler-ENV): Likewise.
19026         (tst-ftell-append-ENV): Likewise.
19027         * posix/Makefile (tst-fnmatch-ENV): Likewise.
19028         (tst-regexloc-ENV): Likewise.
19029         (bug-regex1-ENV): Likewise.
19030         (tst-regex-ENV): Likewise.
19031         (tst-regex2-ENV): Likewise.
19032         (bug-regex5-ENV): Likewise.
19033         (bug-regex6-ENV): Likewise.
19034         (bug-regex17-ENV): Likewise.
19035         (bug-regex18-ENV): Likewise.
19036         (bug-regex19-ENV): Likewise.
19037         (bug-regex20-ENV): Likewise.
19038         (bug-regex22-ENV): Likewise.
19039         (bug-regex23-ENV): Likewise.
19040         (bug-regex25-ENV): Likewise.
19041         (bug-regex26-ENV): Likewise.
19042         (bug-regex30-ENV): Likewise.
19043         (bug-regex32-ENV): Likewise.
19044         (bug-regex33-ENV): Likewise.
19045         (bug-regex34-ENV): Likewise.
19046         (bug-regex35-ENV): Likewise.
19047         (tst-rxspencer-ENV): Likewise.
19048         (tst-rxspencer-no-utf8-ENV): Likewise.
19049         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
19050         (tst-sscanf-ENV): Likewise.
19051         (tst-swprintf-ENV): Likewise.
19052         (tst-swscanf-ENV): Likewise.
19053         (test-vfprintf-ENV): Likewise.
19054         (scanf13-ENV): Likewise.
19055         (bug14-ENV): Likewise.
19056         (tst-grouping-ENV): Likewise.
19057         * stdlib/Makefile (tst-strtod-ENV): Likewise.
19058         (tst-strtod3-ENV): Likewise.
19059         (tst-strtod4-ENV): Likewise.
19060         (tst-strtod5-ENV): Likewise.
19061         (testmb2-ENV): Likewise./
19062         * string/Makefile (tst-strxfrm-ENV): Likewise.
19063         (tst-strxfrm2-ENV): Likewise.
19064         (bug-strcoll1-ENV): Likewise.
19065         (test-strcasecmp-ENV): Likewise.
19066         (test-strncasecmp-ENV): Likewise.
19067         * time/Makefile (tst-strptime-ENV): Likewise.
19068         (tst-ftime_l-ENV): Likewise.
19069         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
19070         (tst-mbrtowc-ENV): Likewise.
19071         (tst-wcrtomb-ENV): Likewise.
19072         (tst-mbrtowc2-ENV): Likewise.
19073         (tst-c16c32-1-ENV): Likewise.
19074         (tst-mbsnrtowcs-ENV): Likewise.
19076 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
19078         * manual/resource.texi (How to get information about the memory
19079         subsystem?): Fix typo.
19080         Reported by Peon de la Parra Ivan <peon@keba.com>
19082 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
19084         [BZ #16882]
19085         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
19086         (pthread_spin_lock): Branch out of spin loop to proper location.
19087         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
19088         (pthread_spin_lock): Likewise.
19090         * nptl/tst-spin4.c: New test.
19091         * nptl/Makefile (tests): Add tst-spin4.
19093 2014-06-03  Andreas Schwab  <schwab@suse.de>
19095         [BZ #15946]
19096         * resolv/res_send.c (send_dg): Reload file descriptor after
19097         calling reopen.
19099 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
19101         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19103 2014-06-03  Richard Henderson  <rth@redhat.com>
19105         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
19106         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
19107         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
19108         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
19109         in the SAVE_PID block.
19110         (__libc_vfork): New alias.
19111         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
19113         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
19114         child in registers, not on the stack.  Remove RESET_PID conditionals.
19115         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
19117 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19119         * sysdeps/aarch64/libm-test-ulps: Regenerate.
19121 2014-06-03  Wilco  <wdijkstr@arm.com>
19123         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
19124         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
19125         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19126         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
19127         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
19128         Likewise.
19130 2014-06-03  Wilco  <wdijkstr@arm.com>
19132         * sysdeps/aarch64/fpu/math_private.h
19133         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
19134         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
19135         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
19136         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19137         Fix declarations.
19139 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19141         * crypt/crypt-private.h: Include ufc-crypt.h.
19142         (__b64_from_24bit): Declare extern.
19143         * crypt/crypt_util.c(__b64_from_24bit): New function.
19144         (b64t): New static const variable.
19145         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
19146         (b64t): Remove variable.
19147         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
19148         * crypt/sha256-crypt.c: Include crypt-private.h.
19149         (b64t): Remove variable.
19150         (__sha256_crypt_r): Remove b64_from_24bit and replace
19151         with __b64_from_24bit.
19152         * crypt/sha512-crypt.c: Likewise.
19154 2014-06-02  Roland McGrath  <roland@hack.frob.com>
19156         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
19157         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
19158         Label the code __libc_vfork rather than __vfork.
19159         [!NOT_IN_libc] (vfork): Define as weak alias.
19160         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
19161         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
19162         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
19164 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19166         * malloc/malloc.c (malloc_info): Fix format specifier for
19167         n_mmaps.
19169 2014-06-02  Wilco  <wdijkstr@arm.com>
19171         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
19172         FPCR write.
19174 2014-06-02  Wilco  <wdijkstr@arm.com>
19176         [BZ #17009]
19177         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
19178         Rewrite to reduce FPCR/FPSR accesses.
19180 2014-06-01  David S. Miller  <davem@davemloft.net>
19182         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19184 2014-05-31  David S. Miller  <davem@davemloft.net>
19186         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
19187         to occur in round to nearest mode when |x| >= 2.0
19189 2014-05-30  Richard Henderson  <rth@twiddle.net>
19191         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
19192         (PSEUDO_RET_NOERRNO): Remove.
19193         (ret): Don't redefine.
19194         (ret_NOERRNO): Define in terms of ret.
19195         (ret_ERRVAL): Likewise.
19197         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
19198         use of PSEUDO_RET; perform the error check directly.
19200 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
19202         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
19203         with __int128_t.
19205 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19207         * malloc/malloc (malloc_info): Fix formatting.
19209 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19210             Roland McGrath  <roland@hack.frob.com>
19212         * malloc/malloc (malloc_info): Also print mmapped statistics.
19214 2014-05-30  Roland McGrath  <roland@hack.frob.com>
19216         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
19217         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
19219 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
19221         * malloc/malloc.c (malloc_info): Inline mi_arena.
19223 2014-05-29  Richard Henderson  <rth@twiddle.net>
19225         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
19226         Remove comma before expanding ASM_ARGS_##nr.
19227         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
19228         Make _x0 a strict output; make _x8 a strict input; adjust expansion
19229         of ASM_ARGS_##nr.
19230         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
19231         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
19232         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
19233         (ASM_ARGS_1): Add leading comma.
19235         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
19236         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
19237         to __errno_location.
19238         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
19239         Remove the expected plt for __errno_location.
19241         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19242         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
19243         call to __read_tp.
19245         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19246         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
19247         it and break it down.
19248         (DOCARGS_0, DOCARGS_1): Do nothing.
19249         (DOCARGS_2): Update to store into the new stack frame.
19250         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
19251         (UNDOCARGS_1): Update to restore from the new stack frame.
19252         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
19253         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
19255         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19256         (SINGLE_THREAD_P): New parameter for result regno.
19257         (PSEUDO): Update to match; use cbz instead of beq.
19259         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19260         Use ENTRY to define the _nocancel entry point.  Share the syscall
19261         and syscall error check paths with the cancel path.
19262         (PSEUDO_END): New.
19264         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
19265         whitespace; tabs before and after asm mnemonics.
19267 2014-05-29  Eric Wong  <normalperson@yhbt.net>
19269         [BZ #15132]
19270         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19271         Call fstat64 or stat64 internally, depending on arguments passed.
19272         Replace stat buffer argument with file descriptor argument.
19273         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
19274         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19275         Pass fd to __internal_statvfs instead of calling fstat64.
19276         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
19277         Pass fd to __internal_statvfs64 instead of calling fstat64.
19278         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
19279         Pass -1 to __internal_statvfs instead of calling stat64.
19280         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
19281         Pass -1 to __internal_statvfs64 instead of calling stat64.
19283 2014-05-28  Roland McGrath  <roland@hack.frob.com>
19285         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
19286         that was previously under [RESET_PID].
19287         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
19289         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
19290         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
19292 2014-05-27  Roland McGrath  <roland@hack.frob.com>
19294         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
19296         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
19297         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
19299 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
19301         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
19303 2014-05-27  Andreas Schwab  <schwab@suse.de>
19305         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
19306         TLS_INIT_TP macro.
19307         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
19308         * elf/rtld.c (init_tls, dl_main): Likewise.
19309         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
19310         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
19311         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
19312         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
19313         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
19314         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
19315         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
19316         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
19317         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
19318         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
19319         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
19320         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
19321         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
19322         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
19323         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
19324         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
19325         * sysdeps/generic/tls.h: Update description.
19327 2014-05-27  Will Newton  <will.newton@linaro.org>
19329         [BZ #16990]
19330         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
19331         and restore r2 rather than just restoring.
19333 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19335         [BZ #16724]
19336         * libio/tst-ftell-append.c: New test case.
19337         * libio/Makefile (tests): Add test case.
19338         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
19339         append mode.
19340         * libio/wfileops.c (do_ftell_wide): Likewise.
19342 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19344         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19346         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
19347         ...
19348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
19349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19350         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
19351         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
19352         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
19353         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
19354         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
19355         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
19356         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19357         Moved ...
19358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
19359         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19360         Moved ...
19361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
19362         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
19363         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
19364         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
19365         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
19366         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
19367         ...
19368         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
19369         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
19370         Moved ...
19371         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
19372         here.
19373         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
19374         ...
19375         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
19376         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
19377         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
19379         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
19380         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
19381         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
19382         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
19384         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
19385         merge into ...
19386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
19387         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
19388         ...
19389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
19390         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
19391         ...
19392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
19393         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19394         Moved ...
19395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
19396         here.
19397         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19398         Moved ...
19399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
19400         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19401         Moved ...
19402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
19404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
19405         conditional [RESET_PID].
19406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
19407         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
19408         removed.
19409         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
19410         removed.
19412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
19413         <tcb-offsets.h>.
19414         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19415         (__libc_vfork): New strong alias.
19416         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
19417         removed.
19418         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
19419         Removed.
19421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
19422         <tcb-offsets.h>.
19423         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
19424         (__libc_vfork): New strong alias.
19425         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
19426         removed.
19427         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
19428         removed.
19430 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
19432         * malloc/malloc.c (mi_arena): New function.
19433         (malloc_info): Remove nested function mi_arena. Call non-nosted
19434         function mi_arena.
19436 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19438         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
19439         by insrwi.
19440         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
19441         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
19442         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
19443         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
19444         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
19445         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
19446         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
19448 2014-05-26  Andreas Schwab  <schwab@suse.de>
19450         [BZ #16984]
19451         * locale/programs/repertoire.c (repertoire_read): Add slash
19452         between I18NPATH element and file name.
19453         * locale/programs/locfile.c (locfile_read): Likewise.
19455 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19457         * nptl/pthread_mutexattr_settype.c
19458         (__pthread_mutexattr_settype):
19459         Disable lock elision for PTHREAD_MUTEX_NORMAL.
19461 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19463         * nptl/tst-mutex5 (do_test):
19464         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
19466 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19468         * benchtests/README: Document 'init' directive.
19469         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
19470         BENCH_INIT.
19471         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
19472         (parse_file): Recognize 'init' directive.
19474 2014-05-26  Kyle McMartin  <kyle@redhat.com>
19476         [BZ #16796]
19477         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
19478         alignment of struct pthread.
19480 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19482         [BZ #16878]
19483         * nscd/netgroupcache.c (addgetnetgrentX): Look for
19484         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19485         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
19486         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19488 2014-05-25  Richard Henderson  <rth@twiddle.net>
19490         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19491         (SINGLE_THREAD_P_PIC): Remove.
19492         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
19493         (SINGLE_THREAD_P_PIC): Remove.
19495         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
19496         branch to syscall error ...
19497         (PSEUDO): ... here.
19498         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
19499         from __local_syscall_error to .Lsyscall_error.
19500         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
19501         (SYSCALL_ERROR): Update label name.
19503         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19504         Do not use DOARGS/UNDOARGS.
19505         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
19506         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
19507         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
19508         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
19509         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
19511         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
19512         block comment.
19514         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
19515         define if !NOT_IN_libc.
19516         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
19517         define with non-default symbol versions.
19519 2014-05-23  Richard Henderson  <rth@twiddle.net>
19521         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
19522         (vfork, __vfork): Define via compat_symbol.
19524         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
19525         [!HAVE_IFUNC] (vfork_compat): Remove.
19526         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
19528 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19530         [BZ #16978]
19531         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
19532         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
19533         variable.
19535 2014-05-23  Richard Henderson  <rth@twiddle.net>
19537         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
19538         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
19539         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
19540         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
19542         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
19543         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
19544         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
19545         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
19546         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
19547         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
19548         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
19549         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
19550         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
19551         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
19552         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
19553         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
19554         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
19555         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
19556         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
19557         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
19558         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
19559         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
19560         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
19561         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
19562         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
19563         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
19564         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
19565         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
19566         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
19567         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
19568         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
19569         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
19570         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
19571         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
19572         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
19573         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
19574         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
19575         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
19576         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
19577         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
19578         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
19579         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
19580         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
19581         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
19582         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
19583         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
19584         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
19585         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
19586         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
19587         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
19588         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
19589         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
19590         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
19591         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
19592         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
19593         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
19594         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
19595         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
19596         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
19597         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
19599         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
19600         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
19601         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
19602         before exiting on error.
19603         (__libc_vfork): New strong alias.
19604         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
19605         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
19607         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
19608         that was previously under [RESET_PID].
19609         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
19611         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
19613 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19615         [BZ #16977]
19616         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
19617         value when x - 1 is zero.
19618         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
19619         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19620         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
19621         0.0L for an argument of 1.0L.
19622         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
19623         Likewise.
19624         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
19625         value when x - 1 is zero.
19626         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
19627         * sysdeps/i386/fpu/libm-test-ulps: Update.
19628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19630 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19632         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
19633         alphasort and versionsort.
19635 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19637         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
19638         macro.
19639         [copysignf]: Likewise.
19641 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19643         * crypt/md5-crypt.c: Fix formatting.
19645 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19647         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
19648         (b64_from_24bit): New function.
19650 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19652         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
19653         libc_hidden_builtin_def to ifunc.
19654         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19655         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
19657 2014-05-21  Roland McGrath  <roland@hack.frob.com>
19659         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
19660         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
19662 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
19664         * nscd/Depend (linuxthreads): Remove.
19665         (nptl): Add.
19666         * resolv/Depend (linuxthreads): Remove.
19667         * rt/Depend (linuxthreads): Remove.
19669         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
19670         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
19671         $(common-objpfx)elf/.
19672         (link-libc-before-gnulib): Likewise.
19673         (elfobjdir): Remove variable.
19674         * Makefile (install): Use $(elf-objpfx) instead of
19675         $(common-objpfx)elf/.
19676         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
19677         $(elfobjdir)/.
19678         (link-libc-deps): Likewise.
19679         ($(common-objpfx)libc.so): Likewise.
19680         ($(common-objpfx)linkobj/libc.so): Likewise.
19681         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
19682         instead of $(common-objpfx)elf/.
19683         (symbolic-link-list): Likewise.
19684         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19685         [$(cross-compiling) = no]: Likewise.
19686         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
19687         $(elfobjdir)/.
19688         (static-gnulib-arch): Likewise.
19689         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19690         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
19691         $(common-objpfx)elf/.
19693 2014-05-21  Richard Henderson  <rth@redhat.com>
19695         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19696         (SINGLE_THREAD_P): Use the correct width load.  Fold
19697         into the ldr offset.
19699         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
19700         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
19702 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
19704         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
19705         (libgcc_s_resume): Use __attribute_used__.
19706         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
19707         Likewise.
19709 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19711         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
19712         optimization when used with float constants.
19714         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19716 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
19718         [BZ #16915]
19719         * locale/nl_langinfo_l.c: Make direct reference to every
19720         _nl_current_CATEGORY symbol.
19721         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
19722         (tests-static): Add tst-langinfo-static.
19723         (tests-special): Add tst-langinfo-static.out.
19724         ($(objpfx)tst-langinfo.out): Redirect output.
19725         ($(objpfx)tst-langinfo-static.out): New.
19726         * localedata/tst-langinfo.sh: Send output to stdout.
19727         * localedata/tst-langinfo-static.c: New file.
19729         [BZ #16965]
19730         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
19731         when the shift amount is modulo the limb size.
19733 2014-05-20  Richard Henderson  <rth@redhat.com>
19735         [BZ #16967]
19736         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
19737         Change type of sa_flags from unsigned int to int.
19739         [BZ #16966]
19740         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
19742         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19744 2014-05-20  Will Newton  <will.newton@linaro.org>
19746         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19747         Test the return value of the system call in the nocancel case.
19749 2014-05-20  Will Newton  <will.newton@linaro.org>
19750             Yvan Roux  <yvan.roux@linaro.org>
19752         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19753         #include of asm/ptrace.h.
19754         (PTRACE_GET_THREAD_AREA): Remove #undef.
19755         (PTRACE_GETHBPREGS): Likewise.
19756         (PTRACE_SETHBPREGS): Likewise.
19757         (struct user_regs_struct): New structure.
19758         (struct user_fpsimd_struct): New structure.
19759         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
19760         #include of asm/ptrace.h and second #include of sys/user.h.
19761         (PTRACE_GET_THREAD_AREA): Remove #undef.
19762         (PTRACE_GETHBPREGS): Likewise.
19763         (PTRACE_SETHBPREGS): Likewise.
19764         (ELF_NGREG): Use new struct user_regs_struct.
19765         (elf_fpregset_t): Use new struct user_fpsimd_struct.
19767 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19769         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
19770         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
19772 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
19774         [BZ #16958]
19775         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
19776         membar to avoid block loads/stores to overlap previous stores.
19778 2014-05-17  Richard Henderson  <rth@redhat.com>
19780         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
19781         Create the __##syscall_name##_nocancel entry point.
19782         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
19783         Remove; let the sysdep-cancel.h code create it.
19785 2014-05-17  David S. Miller  <davem@davemloft.net>
19787         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
19788         Protect with __USE_GNU.
19789         (TIOCSET_TEMPT): Likewise.
19790         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19791         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
19792         these are already provided in bits/ioctl-types.h
19794 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19796         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
19797         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
19799         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
19800         Use wait4 regardless of [__NR_waitpid].
19802 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19804         PR libgcc/60166
19805         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19806         (_FP_NANSIGN_Q): Set the quiet bit.
19808 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
19810         * benchtests/Makefile
19811         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
19812         not $(common-objpfx)math/libm.so.
19813         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
19814         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
19815         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
19816         $(common-objpfx)dlfcn/libdl.so.
19817         ($(objpfx)tst-audit8): Depend on $(libm), not
19818         $(common-objpfx)math/libm.so.
19819         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
19820         not $(common-objpfx)dlfcn/libdl.so.
19821         * math/Makefile
19822         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19823         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
19824         [$(build-shared) = yes].
19825         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
19826         $(common-objpfx)nptl/libpthread.so.
19827         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
19828         $(common-objpfx)math/libm.so$(libm.so-version) or
19829         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
19830         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
19831         $(common-objpfx)dlfcn/libdl.so.
19832         * setjmp/Makefile (link-libm): Remove variable.
19833         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
19834         * stdio-common/Makefile (link-libm): Remove variable.
19835         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
19836         * stdlib/Makefile (link-libm): Remove variable.
19837         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
19838         ($(objpfx)tst-strtod-round): Likewise.
19839         ($(objpfx)tst-tininess): Likewise.
19840         ($(objpfx)tst-strtod-underflow): Likewise.
19841         ($(objpfx)tst-strtod6): Likewise.
19842         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
19843         $(libdl), not $(common-objpfx)nptl/libpthread.so and
19844         $(common-objpfx)dlfcn/libdl.so.
19846 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19848         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
19849         BSD terminal modes definitions.
19851 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19853         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
19854         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
19856         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
19857         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
19858         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
19859         Don't do #include_next.
19860         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
19861         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
19862         Don't do #include_next.
19863         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
19864         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
19865         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
19866         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
19868 2014-05-16  Allan McRae  <allan@archlinux.org>
19870         * po/sv.po: Update Swedish translation from translation project.
19872         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
19873         in sed expression.
19875 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
19877         [BZ #16917]
19878         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
19879         errno if the TIOCGPTN ioctl fails with an error different than
19880         EINVAL.
19881         * login/tst-ptsname.c: New file.
19882         * login/Makefile (tests): Add tst-ptsname.
19884         [BZ #16943]
19885         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
19886         and prlimit64.
19888 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19890         [BZ #16849]
19891         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
19892         herrno to return EAI_AGAIN.
19894 2014-05-14  Roland McGrath  <roland@hack.frob.com>
19896         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
19897         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
19898         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
19899         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
19900         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
19901         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
19902         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
19903         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
19904         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
19905         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
19906         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
19907         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
19908         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
19909         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
19910         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
19911         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
19912         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
19913         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
19914         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
19915         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
19916         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
19917         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
19918         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
19919         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
19920         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
19921         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
19922         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
19923         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
19924         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
19925         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
19926         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
19927         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
19928         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
19929         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
19930         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19931         Moved ...
19932         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
19933         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
19934         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
19935         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
19936         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
19937         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
19938         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
19939         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
19940         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
19941         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
19942         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
19943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
19944         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
19945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
19946         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
19947         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
19948         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
19949         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
19950         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
19951         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
19952         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
19953         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
19954         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
19955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
19956         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
19957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
19958         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
19959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19960         Moved ...
19961         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
19962         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
19963         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
19964         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
19965         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
19966         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
19967         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
19968         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
19969         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
19970         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
19971         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
19972         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
19973         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
19974         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
19975         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
19976         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
19977         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
19978         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
19979         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
19980         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19981         Moved ...
19982         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
19983         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
19984         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
19986         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
19987         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
19988         (libpthread-sysdep_routines): Add elision-related stuff here instead.
19989         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
19990         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
19991         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
19992         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
19993         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
19994         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
19995         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
19996         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
19997         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
19998         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
19999         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
20000         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
20001         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
20002         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
20003         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
20004         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
20005         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
20006         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
20007         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
20008         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
20009         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
20010         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
20011         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
20012         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
20013         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
20014         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
20015         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
20016         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
20018         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
20019         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
20021         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
20022         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
20023         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
20024         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
20025         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
20026         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
20027         Moved ...
20028         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
20029         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
20030         Moved ...
20031         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
20032         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
20033         Moved ...
20034         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
20035         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
20036         Moved ...
20037         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
20038         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
20039         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
20040         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
20041         Moved ...
20042         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
20043         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
20044         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
20045         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
20046         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
20047         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
20048         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
20049         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
20050         Moved ...
20051         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
20052         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20053         Moved ...
20054         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20055         ... here.
20056         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
20057         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
20058         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
20059         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
20060         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20061         Moved ...
20062         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20063         ... here.
20064         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
20065         Moved ...
20066         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
20067         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
20068         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
20069         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
20070         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
20071         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
20072         Moved ...
20073         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
20074         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
20075         Moved ...
20076         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
20077         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
20078         Moved ...
20079         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
20080         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
20081         Moved ...
20082         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
20083         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
20084         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
20085         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
20086         Moved ...
20087         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
20088         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
20089         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
20090         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
20091         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
20092         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
20093         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
20094         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
20095         Moved ...
20096         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
20097         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20098         Moved ...
20099         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20100         ... here.
20101         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
20102         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
20103         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
20104         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
20105         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20106         Moved ...
20107         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20108         ... here.
20109         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
20110         Moved ...
20111         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
20112         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
20113         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
20114         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
20115         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
20116         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
20117         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
20118         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
20119         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
20120         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
20121         Moved ...
20122         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
20123         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
20124         Moved ...
20125         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
20126         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
20127         Moved ...
20128         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
20129         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
20130         Moved ...
20131         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
20132         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
20133         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
20134         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
20135         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
20136         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
20137         Moved ...
20138         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
20139         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
20140         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
20141         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
20142         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
20143         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
20144         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
20145         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
20146         Moved ...
20147         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
20148         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20149         Moved ...
20150         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20151         ... here.
20152         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
20153         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
20154         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
20155         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
20156         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20157         Moved ...
20158         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20159         ... here.
20160         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
20161         Moved ...
20162         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
20163         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
20164         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
20165         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
20166         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
20167         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
20168         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
20169         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
20170         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
20171         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
20172         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
20174         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
20175         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
20177         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
20178         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
20180         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
20181         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
20182         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
20183         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
20184         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
20185         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
20186         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
20187         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
20188         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
20189         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
20190         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
20191         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
20192         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
20193         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
20194         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
20195         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
20196         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
20197         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
20198         Moved ...
20199         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
20200         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
20201         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
20202         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
20203         Moved ...
20204         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
20205         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
20206         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
20207         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
20208         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
20209         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
20210         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
20211         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
20212         Moved ...
20213         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
20214         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
20215         Moved ...
20216         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
20217         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
20218         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
20219         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
20220         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
20221         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
20222         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
20223         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
20224         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
20225         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
20226         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
20227         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
20228         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
20229         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
20230         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
20231         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
20232         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
20234         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
20235         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
20236         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
20237         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
20238         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
20240         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
20241         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
20242         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
20243         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
20244         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
20245         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
20246         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
20247         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
20248         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
20249         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
20251         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
20252         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
20254         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
20255         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
20256         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
20257         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
20258         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
20259         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
20260         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
20261         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
20262         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
20263         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
20264         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
20265         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
20266         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
20267         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
20268         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
20269         Update #include.
20270         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
20271         Likewise.
20272         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20273         Likewise.
20274         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20275         Likewise.
20276         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20277         Likewise.
20278         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
20279         Likewise.
20280         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
20281         Likewise.
20282         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
20283         Likewise.
20284         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
20285         Likewise.
20286         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
20287         Likewise.
20288         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
20289         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
20290         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
20291         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
20292         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
20293         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
20294         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
20295         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
20296         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
20297         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
20298         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
20299         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
20300         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
20301         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
20302         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
20304         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
20305         that was previously under [RESET_PID].
20306         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20307         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
20308         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
20310         * sysdeps/i386/nptl/Implies: New file.
20311         * sysdeps/x86_64/nptl/Implies: New file.
20312         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
20313         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
20314         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
20315         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
20317         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
20318         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20319         (__libc_vfork): New strong alias.
20320         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
20321         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
20323         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
20324         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20325         (__libc_vfork): New strong alias.
20326         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
20327         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
20329         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
20330         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20331         (__libc_vfork): New strong alias.
20332         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
20333         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
20334         * nptl/pt-vfork.c: New file.
20335         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
20336         (libpthread: GLIBC_2.20): New version set (empty).
20338 2014-05-14  Will Newton  <will.newton@linaro.org>
20340         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
20341         rather than #if.
20343 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20345         [BZ #16564]
20346         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
20347         arguments with exponent 65 or above.
20348         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
20349         arguments 0x1p113L or above.
20350         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
20351         to arguments 0x1p107L or above.
20352         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
20353         positive arguments with exponent 65 or above.
20354         * math/auto-libm-test-in: Add more tests of log1p.
20355         * math/auto-libm-test-out: Regenerated.
20357         [BZ #16928]
20358         * math/s_cacos.c (__cacos): Ensure zero real part of result from
20359         non-finite arguments is +0.
20360         * math/s_cacosf.c (__cacosf): Likewise.
20361         * math/s_cacosl.c (__cacosl): Likewise.
20362         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
20363         * sysdeps/i386/fpu/libm-test-ulps: Update.
20364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20366         [BZ #16927]
20367         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
20368         value.
20369         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
20370         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
20371         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
20372         for explicit high bit of mantissa when testing for argument equal
20373         to 1.
20374         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
20375         * sysdeps/i386/fpu/libm-test-ulps: Update.
20376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20378         [BZ #16516]
20379         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
20380         (__erf): Scale by 16 instead of 8 in potentially underflowing
20381         case.  Ensure exception if result actually underflows.
20382         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
20383         (__erff): Scale by 16 instead of 8 in potentially underflowing
20384         case.  Ensure exception if result actually underflows.
20385         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
20386         (efx8): Remove variable.
20387         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20388         case.  Ensure exception if result actually underflows.
20389         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
20390         (efx8): Remove variable.
20391         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20392         case.  Ensure exception if result actually underflows.
20393         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
20394         (efx8): Remove variable.
20395         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20396         case.  Ensure exception if result actually underflows.
20397         * math/auto-libm-test-in: Add more tests of erf.
20398         * math/auto-libm-test-out: Regenerated.
20400 2014-05-14  Andreas Schwab  <schwab@suse.de>
20402         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
20403         Remove code conditionalized on USE___THREAD.
20405         * config.h.in (HAVE_PT_CHOWN): Define as 0.
20406         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
20407         not definedness.
20409 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20411         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
20412         Define unconditionally.
20413         (__ASSUME_O_CLOEXEC): Likewise.
20414         (__ASSUME_SOCK_CLOEXEC): Likewise.
20415         (__ASSUME_IN_NONBLOCK): Likewise.
20416         (__ASSUME_PIPE2): Likewise.
20417         (__ASSUME_EVENTFD2): Likewise.
20418         (__ASSUME_SIGNALFD4): Likewise.
20419         (__ASSUME_DUP3): Likewise.
20420         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20421         (__ASSUME_DUP3): Do not define.
20422         (__ASSUME_EVENTFD2): Likewise.
20423         (__ASSUME_IN_NONBLOCK): Likewise.
20424         (__ASSUME_O_CLOEXEC): Likewise.
20425         (__ASSUME_PIPE2): Likewise.
20426         (__ASSUME_SIGNALFD4): Likewise.
20427         (__ASSUME_SOCK_CLOEXEC): Likewise.
20428         (__ASSUME_UTIMES): Undefine.
20429         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20430         (__ASSUME_UTIMES): Do not define.
20431         (__ASSUME_O_CLOEXEC): Likewise.
20432         (__ASSUME_SOCK_CLOEXEC): Likewise.
20433         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
20434         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
20435         0x020621].
20436         (__ASSUME_PIPE2): Likewise.
20437         (__ASSUME_EVENTFD2): Likewise.
20438         (__ASSUME_SIGNALFD4): Likewise.
20439         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
20440         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
20441         Do not define.
20442         (__ASSUME_EVENTFD2): Likewise.
20443         (__ASSUME_SIGNALFD4): Likewise.
20444         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20445         (__ASSUME_32BITUIDS): Likewise.
20446         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20447         (__ASSUME_IPC64): Likewise.
20448         (__ASSUME_ST_INO_64_BIT): Likewise.
20449         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
20450         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
20451         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20452         (__ASSUME_UTIMES): Do not define.
20453         (__ASSUME_PSELECT): Likewise.
20454         (__ASSUME_PPOLL): Likewise.
20455         (__ASSUME_O_CLOEXEC): Likewise.
20456         (__ASSUME_SOCK_CLOEXEC): Likewise.
20457         (__ASSUME_IN_NONBLOCK): Likewise.
20458         (__ASSUME_PIPE2): Likewise.
20459         (__ASSUME_EVENTFD2): Likewise.
20460         (__ASSUME_SIGNALFD4): Likewise.
20461         (__ASSUME_DUP3): Likewise.
20462         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20463         (__ASSUME_UTIMES): Likewise.
20464         (__ASSUME_O_CLOEXEC): Likewise.
20465         (__ASSUME_SOCK_CLOEXEC): Likewise.
20466         (__ASSUME_IN_NONBLOCK): Likewise.
20467         (__ASSUME_PIPE2): Likewise.
20468         (__ASSUME_EVENTFD2): Likewise.
20469         (__ASSUME_SIGNALFD4): Likewise.
20470         (__ASSUME_DUP3): Likewise.
20471         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20472         (__ASSUME_UTIMES): Likewise.
20473         (__ASSUME_O_CLOEXEC): Likewise.
20474         (__ASSUME_SOCK_CLOEXEC): Likewise.
20475         (__ASSUME_IN_NONBLOCK): Likewise.
20476         (__ASSUME_PIPE2): Likewise.
20477         (__ASSUME_EVENTFD2): Likewise.
20478         (__ASSUME_SIGNALFD4): Likewise.
20479         (__ASSUME_DUP3): Likewise.
20480         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
20481         Likewise.
20482         (__ASSUME_UTIMES): Likewise.
20483         (__ASSUME_EVENTFD2): Likewise.
20484         (__ASSUME_SIGNALFD4): Likewise.
20485         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20486         (__ASSUME_O_CLOEXEC): Likewise.
20487         (__ASSUME_SOCK_CLOEXEC): Likewise.
20488         (__ASSUME_IN_NONBLOCK): Likewise.
20489         (__ASSUME_PIPE2): Likewise.
20490         (__ASSUME_EVENTFD2): Likewise.
20491         (__ASSUME_SIGNALFD4): Likewise.
20492         (__ASSUME_DUP3): Likewise.
20493         (__ASSUME_UTIMES): Undefine.
20495         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
20496         feclearexcept.  Remove symbol versioning code.
20497         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
20498         symbol versioning code.
20499         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
20500         symbol versioning code.
20501         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
20502         feupdateenv.  Remove symbol versioning code.
20503         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
20504         fegetexceptflag.  Remove symbol versioning code.
20505         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
20506         fesetexceptflag.  Remove symbol versioning code.
20507         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
20508         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
20509         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
20510         (__posix_fadvise64_l32): Remove prototype.
20511         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
20512         code.
20514 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20516         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
20517         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
20518         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
20519         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
20521 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
20523         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
20524         current working directory
20526 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20528         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
20529         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
20530         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
20531         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
20532         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
20533         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
20534         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
20535         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
20536         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
20537         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
20538         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
20539         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
20540         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
20541         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
20542         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
20543         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
20544         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
20545         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
20546         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
20547         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
20548         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
20549         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
20550         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
20551         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
20552         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
20553         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
20554         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
20555         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
20556         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
20557         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
20558         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
20559         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
20560         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
20561         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
20562         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
20563         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
20564         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
20565         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
20566         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
20567         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
20568         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
20569         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
20571         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
20572         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
20574         * sysdeps/unix/sysv/linux/arm/Makefile
20575         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20576         Add rt-aeabi_unwind_cpp_pr1.
20577         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
20578         Add nptl-aeabi_unwind_cpp_pr1.
20579         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
20580         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
20581         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
20582         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20583         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
20584         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20586         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
20587         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
20588         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
20589         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
20591         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
20592         Deconditionalize the code that was previously under [RESET_PID].
20593         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
20595         * sysdeps/generic/exit-thread.h: New file.
20596         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
20597         * include/unistd.h (__exit_thread): Remove declaration.
20598         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
20599         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
20600         * csu/libc-start.c: Include <exit-thread.h>.
20601         (LIBC_START_MAIN): Pass no argument to __exit_thread.
20602         * nptl/pthread_create.c: Include <exit-thread.h>.
20603         (start_thread): Call __exit_thread in place of __exit_thread_inline.
20604         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
20605         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
20606         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
20607         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
20608         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
20609         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
20610         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
20611         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
20612         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
20613         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
20614         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
20615         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
20616         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
20617         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
20618         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
20619         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
20621 2014-05-13  Andreas Schwab  <schwab@suse.de>
20623         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
20625 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
20627         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20628         (__ASSUME_UTIMES): Do not condition on kernel version.
20629         (__ASSUME_PSELECT): Define unconditionally.
20630         (__ASSUME_PPOLL): Likewise.
20631         (__ASSUME_ATFCTS): Likewise.
20632         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
20633         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
20634         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
20635         (__ASSUME_UTIMENSAT): Define unconditionally.
20636         (__ASSUME_PRIVATE_FUTEX): Likewise.
20637         (__ASSUME_FALLOCATE): Likewise.
20638         (__ASSUME_O_CLOEXEC): Likewise.
20639         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
20640         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
20641         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
20642         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
20643         (__ASSUME_IN_NONBLOCK): Likewise.
20644         (__ASSUME_PIPE2): Likewise.
20645         (__ASSUME_EVENTFD2): Likewise.
20646         (__ASSUME_SIGNALFD4): Likewise.
20647         (__ASSUME_DUP3): Likewise.
20648         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20649         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
20650         (__ASSUME_AT_RANDOM): Likewise.
20651         (__ASSUME_PREADV): Likewise.
20652         (__ASSUME_PWRITEV): Likewise.
20653         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
20654         (__ASSUME_F_GETOWN_EX): Define unconditionally.
20655         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
20656         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20657         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
20658         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20659         (__ASSUME_O_CLOEXEC): Define unconditionally.
20660         (__ASSUME_PSELECT): Do not undefine conditionally.
20661         (__ASSUME_PPOLL): Likewise.
20662         (__ASSUME_ATFCTS): Likewise.
20663         (__ASSUME_SET_ROBUST_LIST): Likewise.
20664         (__ASSUME_UTIMENSAT): Likewise.
20665         (__ASSUME_FDATASYNC): Define unconditionally.
20666         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20667         (__ASSUME_SIGFRAME_V2): Likewise.
20668         )__ASSUME_EVENTFD2): Likewise.
20669         (__ASSUME_SIGNALFD4): Likewise.
20670         (__ASSUME_PSELECT): Do not undefine conditionally.
20671         (__ASSUME_PPOLL): Likewise.
20672         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20673         (__ASSUME_PSELECT): Define unconditionally.
20674         (__ASSUME_PPOLL): Likewise.
20675         (__ASSUME_O_CLOEXEC): Likewise.
20676         (__ASSUME_SOCK_CLOEXEC): Likewise.
20677         (__ASSUME_IN_NONBLOCK): Likewise.
20678         (__ASSUME_PIPE2): Likewise.
20679         (__ASSUME_EVENTFD2): Likewise.
20680         (__ASSUME_SIGNALFD4): Likewise.
20681         (__ASSUME_DUP3): Likewise.
20682         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20683         (__ASSUME_O_CLOEXEC): Likewise.
20684         (__ASSUME_SOCK_CLOEXEC): Likewise.
20685         (__ASSUME_IN_NONBLOCK): Likewise.
20686         (__ASSUME_PIPE2): Likewise.
20687         (__ASSUME_EVENTFD2): Likewise.
20688         (__ASSUME_SIGNALFD4): Likewise.
20689         (__ASSUME_DUP3): Likewise.
20690         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20691         (__ASSUME_EVENTFD2): Likewise.
20692         (__ASSUME_SIGNALFD4): Likewise.
20693         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20695 2014-05-12  Andreas Schwab  <schwab@suse.de>
20697         [BZ #16932]
20698         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
20699         (_nss_nis_gethostbyname4_r): Return error if item length is larger
20700         than maximum RPC packet size.
20701         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
20702         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
20703         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
20704         (_nss_nis_getservbyport_r): Likewise.
20706 2014-05-12  Will Newton  <will.newton@linaro.org>
20708         * malloc/Makefile (tests): Add tst-mallopt.
20709         * malloc/tst-mallopt.c: New file.
20711 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20713         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20714         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
20716 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20718         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
20719         (tst-tlsmod6.so): Likewise.
20721 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20723         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20725 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
20727         [BZ #16064]
20728         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
20729         and <dl-procinfo.h>.
20730         (__fegetenv): Save SSE state in envp->__eip if supported.
20731         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
20732         envp->__eip if supported.
20733         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
20734         and <dl-procinfo.h>.
20735         (__fesetenv): Always set __eip, __cs_selector, __opcode,
20736         __data_offset and __data_selector in environment to 0.  Set SSE
20737         state if supported.
20738         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20739         test-fenv-sse.
20740         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20741         -mfpmath=sse.
20742         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20744 2014-05-09  Will Newton  <will.newton@linaro.org>
20746         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20747         and libc_relro_required for ARM.
20748         * sysdeps/arm/preconfigure: Regenerate.
20750 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
20751             Stefan Liebler  <stli@linux.vnet.ibm.com>
20753         * config.make.in (enable-lock-elision): New Makefile variable.
20754         * configure.ac: Likewise.
20755         * configure: Regenerate.
20756         * sysdeps/s390/configure.ac:
20757         Add check for gcc transactions support.
20758         * sysdeps/s390/configure: Regenerate.
20759         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
20760         Build elision files if enabled.
20761         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
20762         Add lock elision support for s390.
20763         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20764         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
20765         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
20766         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20767         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
20768         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20769         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20770         Likewise.
20771         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
20772         Likewise.
20773         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
20774         Likewise.
20775         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
20776         Likewise.
20777         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
20778         (__lll_timedlock_elision, __lll_lock_elision)
20779         (__lll_unlock_elision, __lll_trylock_elision)
20780         (lll_timedlock_elision, lll_lock_elision)
20781         (lll_unlock_elision, lll_trylock_elision): Add.
20782         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20783         (pthread_mutex_t): Add lock elision support for s390.
20785 2014-05-14  Wilco  <wdijkstr@arm.com>
20787         * sysdeps/arm/fclrexcpt.c: Cleanup.
20788         * sysdeps/arm/fedisblxcpt.c: Cleanup.
20789         * sysdeps/arm/feenablxcpt.c: Cleanup.
20790         * sysdeps/arm/fegetenv.c: Cleanup.
20791         * sysdeps/arm/fegetexcept.c: Cleanup.
20792         * sysdeps/arm/fegetround.c: Cleanup.
20793         * sysdeps/arm/feholdexcpt.c: Cleanup.
20794         * sysdeps/arm/fesetenv.c: Cleanup.
20795         * sysdeps/arm/fesetround.c: Cleanup.
20796         * sysdeps/arm/feupdateenv.c: Cleanup.
20797         * sysdeps/arm/fgetexcptflg.c: Cleanup.
20798         * sysdeps/arm/fraiseexcpt.c: Cleanup.
20799         * sysdeps/arm/fsetexcptflg.c: Cleanup.
20800         * sysdeps/arm/ftestexcept.c: Cleanup.
20801         * sysdeps/arm/get-rounding-mode.h: Cleanup.
20802         * sysdeps/arm/setfpucw.c: Cleanup.
20804 2014-05-09  Will Newton  <will.newton@linaro.org>
20806         * sysdeps/arm/armv7/strcmp.S: New file.
20807         * NEWS: Mention addition of ARMv7 optimized strcmp.
20809 2014-05-08  Roland McGrath  <roland@hack.frob.com>
20811         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
20812         look for %.ac rather than %.in.
20814         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
20815         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
20816         * sysdeps/mach/hurd/configure: Regenerated.
20817         * sysdeps/unix/sysv/linux/configure: Regenerated.
20819         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
20821 2014-05-07  Steve Ellcey  <sellcey@mips.com>
20823         [BZ# 16922]
20824         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
20825         (LONG_SUB): Ditto.
20826         (PTR_SUB): Ditto.
20828 2014-05-07  Andreas Schwab  <schwab@suse.de>
20830         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
20831         when skipping over non-matching result from nscd.
20833 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
20835         [BZ #16876]
20836         * nptl/sockperf.c (client): Check socket return value.
20838         [BZ #16877]
20839         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
20840         nscd security class.
20842 2014-05-06  Roland McGrath  <roland@hack.frob.com>
20844         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
20845         * sysdeps/arm/unwind.h: ... here.
20847 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
20849         [BZ# 16916]
20850         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
20851         Define.
20853 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20855         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
20856         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
20857         multiarch strncpy for PPC64.
20858         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
20859         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
20860         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
20861         multiarch optimizations.
20862         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20863         (__libc_ifunc_impl_list): Likewise.
20864         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
20865         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
20866         multiarch stpncpy for PPC64.
20867         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
20868         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
20870 2014-05-06  Andreas Schwab  <schwab@suse.de>
20872         [BZ #16912]
20873         * gmon/mcount.c (_MCOUNT_DECL): Use
20874         atomic_compare_and_exchange_bool_acq instead of
20875         catomic_compare_and_exchange_bool_acq.
20877 2014-05-05  Roland McGrath  <roland@hack.frob.com>
20879         * elf/Makefile (others, install-bin): Remove pldd.
20880         (pldd-modules): Variable removed.
20881         ($(objpfx)pldd): Target removed.
20882         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
20883         (others, install-bin): Append pldd here.
20884         ($(objpfx)pldd): New target.
20886         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
20887         to 0, so the first #if test emitted later doesn't see it undefined.
20888         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
20889         * sysdeps/gnu/errlist.c: Regenerated.
20891 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20893         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20894         [libc_hidden_builtin_def]: Define to empty value.
20895         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
20896         [libc_hidden_builtin_def]: Likewise.
20897         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
20898         [libc_hidden_builtin_def]: Likewise.
20899         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
20900         [libc_hidden_builtin_def]: Likewise.
20901         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
20902         __redirect_memcpy and define ifunc as default hidden symbol.
20903         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
20904         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
20906 2014-05-04  Adam Conrad  <adconrad@0c3.net>
20908         * locale/iso-4217.def: Reintroduce XDR currency.
20910 2014-05-04  Allan McRae  <allan@archlinux.org>
20912         * po/eo.po: Update Esperanto translation from translation project.
20914 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
20916         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
20917         and FEATURE_INDEX_MAX to 1.
20918         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
20920 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20922         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
20923         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
20924         * iconvdata/big5.c (ONE_DIRECTION): Define.
20925         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
20926         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
20927         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
20928         * iconvdata/cp932.c (ONE_DIRECTION): Define.
20929         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
20930         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
20931         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
20932         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
20933         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
20934         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
20935         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
20936         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
20937         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
20938         * iconvdata/gbk.c (ONE_DIRECTION): Define.
20939         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
20940         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
20941         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
20942         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
20943         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
20944         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
20945         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
20946         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
20947         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
20948         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
20949         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
20950         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
20951         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
20952         * iconvdata/iso646.c (ONE_DIRECTION): Define.
20953         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
20954         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
20955         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
20956         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
20957         * iconvdata/johab.c (ONE_DIRECTION): Define.
20958         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
20959         * iconvdata/sjis.c (ONE_DIRECTION): Define.
20960         * iconvdata/t.61.c (ONE_DIRECTION): Define.
20961         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
20962         * iconvdata/tscii.c (ONE_DIRECTION): Define.
20963         * iconvdata/uhc.c (ONE_DIRECTION): Define.
20964         * iconvdata/unicode.c (ONE_DIRECTION): Define.
20965         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
20966         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
20967         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
20969 2014-05-01  Roland McGrath  <roland@hack.frob.com>
20971         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
20972         (_IO_JUMPS_OFFSET): Define to 0.
20974         * nptl/sysdeps/pthread/bits/libc-lock.h
20975         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20976         (__libc_lock_define_initialized_recursive): Always define using
20977         initializer.  Modern compilers treat uninitialized (implicit zero) and
20978         explicit zero initializers the same (i.e. put the datum in bss).
20980 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20982         * nscd/nscd-client.h: Include <string.h>.
20984 2014-05-01  David S. Miller  <davem@davemloft.net>
20986         [BZ #16885]
20987         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
20988         multiple zero bytes exist at the end of a string.
20989         Reported by Aurelien Jarno <aurelien@aurel32.net>
20991         * string/test-strcmp.c (check): Add explicit test for situations where
20992         there are multiple zero bytes after the first.
20994 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20996         [BZ #16890]
20997         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
20998         when compiling wprintf.
20999         * stdio-common/tstdiomisc.c (t3): New function.
21000         (main): Call it.
21002 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21004         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
21005         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
21006         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
21007         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
21009 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21011         * stdlib/longlong.h: Updated from GCC.
21013 2014-05-01  Will Newton  <will.newton@linaro.org>
21014             Bernard Ogden  <bernie.ogden@linaro.org>
21016         * NEWS: Update fixed bug list.
21018         [BZ #15119]
21019         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
21021 2014-04-30  David S. Miller  <davem@davemloft.net>
21023         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
21024         (libc_feholdexcept_setround_sparc_ctx): New function.
21025         (libc_fesetenv_sparc_ctx): Likewise.
21026         (libc_feupdateenv_sparc_ctx): Likewise.
21027         (libc_feholdsetround_sparc_ctx): Likewise.
21028         (libc_feholdexcept_setround_ctx): Define.
21029         (libc_feholdexcept_setroundf_ctx): Likewise.
21030         (libc_feholdexcept_setroundl_ctx): Likewise.
21031         (libc_fesetenv_ctx): Likewise.
21032         (libc_fesetenvf_ctx): Likewise.
21033         (libc_fesetenvl_ctx): Likewise.
21034         (libc_feupdateenv_ctx): Likewise.
21035         (libc_feupdateenvf_ctx): Likewise.
21036         (libc_feupdateenvl_ctx): Likewise.
21037         (libc_feresetround_ctx): Likewise.
21038         (libc_feresetroundf_ctx): Likewise.
21039         (libc_feresetroundl_ctx): Likewise.
21040         (libc_feholdsetround_ctx): Likewise.
21041         (libc_feholdsetroundf_ctx): Likewise.
21042         (libc_feholdsetroundl_ctx): Likewise.
21044         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21045         with __USE_GNU instead of XOPEN cpp guards.
21047         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
21048         0.
21050         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21051         with XOPEN cpp guards.
21053 2014-04-30  Julian Brown  <julian@codesourcery.com>
21055         [BZ #16888]
21056         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
21057         handling.
21059 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
21061         [BZ #9894]
21062         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
21063         Change to 2.6.32.
21064         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
21065         * sysdeps/unix/sysv/linux/configure: Regenerated.
21066         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
21067         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
21068         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
21069         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
21070         * README: Update reference to required Linux kernel version.
21071         * manual/install.texi (Linux): Update reference to required Linux
21072         kernel headers version.
21073         * INSTALL: Regenerated.
21075         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
21076         header inclusion.
21077         [POSIX] (limits.h): Likewise.
21078         [POSIX] (math.h): Likewise.
21079         [POSIX] (sys/wait.h): Likewise.
21080         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
21081         function.
21082         [POSIX] (stddef.h): Do not allow header inclusion.
21084 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21086         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
21088 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
21090         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21091         Return immediately after lll_futex_wake.
21093 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21095         [BZ #16791]
21096         * nscd/nscd-client.h (datahead_init_common): Initialize entire
21097         structure.
21098         (datahead_init_pos): Call datahead_init_common early.
21099         (datahead_init_neg): Likewise.
21101         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
21102         datahead_init_neg): New functions.
21103         * nscd/aicache.c (addhstaiX): Use them.
21104         * nscd/grpcache.c (cache_addgr): Likewise.
21105         * nscd/hstcache.c (cache_addhst): Likewise.
21106         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21107         * nscd/netgroupcache.c (do_notfound): Likewise.
21108         (addgetnetgrentX): Likewise.
21109         (addinnetgrX): Likewise.
21110         * nscd/pwdcache.c (cache_addpw): Likewise.
21111         * nscd/servicescache.c (cache_addserv): Likewise.
21113 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21114             Atsushi Onoe  <atsushi@onoe.org>
21116         [BZ #14308]
21117         [BZ #12994]
21118         [BZ #13651]
21119         * resolv/res_query.c (__libc_res_nsearch): Return if at least
21120         one response is valid.
21121         * resolv/res_send.c (send_dg): Check for validity of other
21122         response if the current response is a referral.
21124 2014-04-29  Steve Ellcey  <sellcey@mips.com>
21126         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
21128 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
21130         [BZ #16823]
21131         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
21132         Always divide by positive zero when computing -Inf result.
21133         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21134         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
21136 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21138         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
21139         FPSCR if value do not change.
21140         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21141         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
21142         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21143         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21144         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
21145         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
21146         function.
21148 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
21150         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
21151         * sysdeps/unix/sysv/linux/hppa: Move directory from
21152         ports/systeps/unix/sysv/linux/hppa.
21153         * README: Update listing for hppa-*-linux-gnu.
21155 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
21157         [BZ #16754]
21158         * manual/stdio.texi (Hook functions): Fix types of stream hook
21159         functions.
21160         [BZ #16854]
21161         * socket/sys/socket.h: Fix typo in comment.
21163 2014-04-28  Wilco  <wdijkstr@arm.com>
21165         * sysdeps/arm/fenv_private.h: New file.
21166         * sysdeps/arm/math_private.h: New file.
21167         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
21169 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
21171         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
21172         with __int128_t.
21173         (La_x86_64_retval): Likewise.
21175 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
21177         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
21178         fpsr if value didn't change.
21179         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
21180         to fpcr if value didn't change.
21181         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
21182         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
21183         fpsr or fpcr if value didn't change.
21184         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21185         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
21186         fpcr if value didn't change.
21187         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
21188         to fpsr if value didn't change.
21190 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21192         * nptl/tst-sem3.c: Use test-skeleton.c
21193         (main): Rename to do_test.  Use return instead of
21194         exit.
21195         * nptl/tst-sem4.c: Use test-skeleton.c
21196         (main): Rename to do_test.
21198 2014-04-22  David S. Miller  <davem@davemloft.net>
21200         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
21201         (struct sigaction): New struct member __glibc_reserved0, change
21202         type of sa_flags to int.
21204 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
21206         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
21207         (COUNT_LEADING_ZEROS_0): Define for AArch64.
21209 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21211         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
21212         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
21214 2014-04-22  Will Newton  <will.newton@linaro.org>
21215             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
21217         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
21218         (__longjmp): Add longjmp and longjmp_target SystemTap
21219         probes.
21220         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
21221         (__sigsetjmp): Add setjmp SystemTap probe.
21223 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
21225         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
21226         match manual order.
21228 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21230         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
21232         * sysdeps/powerpc/fpu/fenv_private.h
21233         (libc_feholdexcept_setroundl_ctx): Define to
21234         libc_feholdexcept_setround_ppc_ctx.
21235         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
21236         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
21237         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
21238         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
21240 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
21242         * sysdeps/aarch64/math-tests.h: New file.
21244 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
21246         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
21247         New.
21248         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21249         Check and set bit_AVX2_Usable.
21250         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
21251         macro.
21252         (bit_AVX2): Likewise.
21253         (index_AVX2_Usable): Likewise.
21254         (CPUID_AVX2): Likewise.
21255         (HAS_AVX2): Likewise.
21257 2014-04-17  Will Newton  <will.newton@linaro.org>
21259         * manual/setjmp.texi (System V contexts): Add note that
21260         calling setcontext on a context created by a call to a
21261         signal handler is undefined.  Update text to note that
21262         setcontext from a signal handler is possible but not
21263         recommended.
21265         [BZ #16629]
21266         * stdlib/tst-setcontext.c: Include signal.h.
21267         (main): Check that the signal stack before and
21268         after swapcontext is the same.
21270         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
21271         Re-implement to restore registers in user code and avoid
21272         rt_sigreturn system call.
21274 2014-04-17  Wilco  <wdijkstr@arm.com>
21276         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
21277         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
21278         * math/test-fenv.c: Skip exception trap tests on targets which only
21279         support non-stop mode.
21281 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
21282             Wilco Dijkstra  <wilco.dijkstra@arm.com>
21284         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
21285         (libc_feholdsetround_aarch64_ctx)
21286         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
21287         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
21288         (libc_feresetround_ctx, libc_feresetroundf_ctx)
21289         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
21290         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
21291         (libc_feresetround_noexl_ctx): Define.
21293 2014-04-16  Richard Henderson  <rth@redhat.com>
21295         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
21297         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
21298         unwind tables.
21300         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
21301         const from the non-libc, non-ldso copy.
21303         * sysdeps/alpha/libm-test-ulps: Regenerate.
21305 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
21306             Wilco Dijkstra  <wilco.dijkstra@arm.com>
21308         * sysdeps/aarch64/fpu/math_private.h: New file.
21310 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21312         * sysdeps/aarch64/libm-test-ulps: Regenerate.
21314 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
21316         [BZ #16275]
21317         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
21318         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
21319         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
21320         Intel MPX bound registers before _dl_profile_fixup.
21321         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
21322         registers after _dl_profile_fixup.  Save and restore bound
21323         registers bnd0/bnd1 when calling _dl_call_pltexit.
21324         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
21325         (LR_BND_OFFSET): Likewise.
21326         (LRV_BND0_OFFSET): Likewise.
21327         (LRV_BND1_OFFSET): Likewise.
21329 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21331         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
21332         to...
21333         * sysdeps/mach/hurd/i386/tls.h: ... here.
21334         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
21335         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
21336         fields.
21338 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21340         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
21342 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21344         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21346 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21348         [BZ #14770]
21349         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
21350         * sysdeps/s390/configure: Regenerate.
21352         [BZ #16824]
21353         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
21354         Set round-to-nearest internally to reduce error accumulation.
21356 2014-04-16  Alan Modra  <amodra@gmail.com>
21358         [BZ #16740]
21359         [BZ #16619]
21360         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
21361         * math/libm-test.inc (frexp_test_data): Add tests.
21362         * NEWS: Update fixed bug list.
21364 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21366         * benchtests/Makefile: Depend on libraries in build directory.
21367         (bench-math): Separate out math tests.
21368         (bench-pthread): Separate out pthread tests.
21369         (bench): Include math and pthread tests.
21371 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
21373         [BZ #16831]
21374         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
21375         _dl_debug_initialize.
21377         * configure.ac: Remove SELinux header check.
21378         * configure: Regenerate.
21379         * nscd/selinux.c (perms): Array of const char* to permission names.
21380         (nscd_request_avc_has_perm): Call security_deny_unknown to find
21381         default policy. Call string_to_security_class and string_to_av_perm to
21382         translate strings. Enforce default policy and call avs_has_perm with
21383         results of translated strings.
21385 2014-04-13  David S. Miller  <davem@davemloft.net>
21387         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21389 2014-04-12  Allan McRae  <allan@archlinux.org>
21391         [BZ #16838]
21392         * manual/string.texi (Collation Functions): Fix qsort argument
21393         order in example.
21394         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21396 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
21398         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
21399         Make the test a no-op if there are no exceptions defined.
21401 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21403         * elf/Makefile (tests): make tst-dlopen-aout conditional on
21404         enable-hardcoded-path-in-tests
21406 2014-04-11  Will Newton  <will.newton@linaro.org>
21408         * benchtests/Makefile (extra-objs): Add json-lib.o.
21409         (bench-func): Tidy up JSON output.
21410         * benchtests/bench-skeleton.c: Include json-lib.h.
21411         (main): Use JSON library functions to do output of
21412         benchmark results.
21413         * benchtests/bench-timing-type.c (main): Output the
21414         timing type simply, leaving formatting to the user.
21415         * benchtests/json-lib.c: New file.
21416         * benchtests/json-lib.h: Likewise.
21418 2014-04-11  Torvald Riegel  <triegel@redhat.com>
21420         [BZ #15215]
21421         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
21422         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
21423         memory barriers.  Add comments.
21424         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
21425         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
21426         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
21427         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
21428         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
21429         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
21431 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21433         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
21434         * sysdeps/s390/s390-64/configure.ac: ... this ...
21435         * sysdeps/s390/configure.ac: ... to here.
21436         * sysdeps/s390/s390-32/configure: Delete file.
21437         * sysdeps/s390/s390-64/configure: Delete file.
21438         * sysdeps/s390/configure: Regenerate.
21440 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
21442         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
21444 2014-04-11  Will Newton  <will.newton@linaro.org>
21446         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
21447         to zero if it is not defined elsewhere.  (mtrim): Test
21448         the value of MALLOC_DEBUG with #if rather than #ifdef.
21450 2014-04-10 Torvald Riegel  <triegel@redhat.com>
21452         * benchtests/pthread_once-inputs: New file.
21453         * benchtests/pthread_once-source.c: New file.
21454         * benchtests/README: Update documentation.
21456 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21457             H.J. Lu  <hongjiu.lu@intel.com>
21459         [BZ #16275]
21460         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
21461         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
21462         * sysdeps/x86_64/configure: Regenerated.
21463         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
21464         macro.
21465         (REGISTER_SAVE_RAX): Likewise.
21466         (REGISTER_SAVE_RCX): Likewise.
21467         (REGISTER_SAVE_RDX): Likewise.
21468         (REGISTER_SAVE_RSI): Likewise.
21469         (REGISTER_SAVE_RDI): Likewise.
21470         (REGISTER_SAVE_R8): Likewise.
21471         (REGISTER_SAVE_R9): Likewise.
21472         (REGISTER_SAVE_BND0): Likewise.
21473         (REGISTER_SAVE_BND1): Likewise.
21474         (REGISTER_SAVE_BND2): Likewise.
21475         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
21476         bound registers when calling _dl_fixup.
21478 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21480         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
21481         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
21482         of its definition.
21483         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
21484         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
21485         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
21486         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
21487         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
21488         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
21489         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
21491 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
21493         [BZ #15514]
21494         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
21495         pathconf(_PC_NAME_MAX).
21497 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21499         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
21500         Remove macro usage.
21501         (__PTHREAD_SPINS): Move definition to ...
21502         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21503         (__PTHREAD_SPINS): ... here.
21504         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21505         (__PTHREAD_SPIN): Likewise.
21506         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
21507         (__PTHREAD_SPIN): Likewise.
21508         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
21509         (__PTHREAD_SPIN): Likewise.
21510         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
21511         (__PTHREAD_SPIN): Likewise.
21512         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
21513         (__PTHREAD_SPIN): Likewise.
21514         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
21515         (__PTHREAD_SPIN): Likewise.
21516         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
21517         (__PTHREAD_SPIN): Likewise.
21518         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
21519         (__PTHREAD_SPIN): Likewise.
21520         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
21521         (__PTHREAD_SPIN): Likewise.
21522         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
21523         (__PTHREAD_SPIN): Likewise.
21524         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
21525         (__PTHREAD_SPIN): Likewise.
21526         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
21527         (__PTHREAD_SPIN): Likewise.
21529         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
21530         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
21531         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
21532         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
21533         imply folder.
21534         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
21535         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
21536         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
21537         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
21538         correct imply path.
21539         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
21540         strlen symbol for non multi-arch builds.
21541         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
21542         missing hidden_def and weak_alias.
21544 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
21546         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
21548 2014-04-07  Will Newton  <will.newton@linaro.org>
21550         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
21551         and contents.  [!_LIBC] Remove #ifndef and contents.
21552         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
21553         * string/memccpy.c (__memccpy): Use ANSI prototype.
21554         * string/memfrob.c (memfrob): Likewise.
21555         * string/strcoll.c (STRCOLL): Likewise.
21556         * string/strlen.c (strlen): Likewise.
21557         * string/strtok.c (STRTOK): Likewise.
21558         * string/strcat.c: Remove unused #include of memcopy.h.
21559         (strcat): Use ANSI prototype.
21560         * string/strchr.c: Remove unused #include of memcopy.h.
21561         (strchr): Use ANSI prototype.
21562         * string/strcmp.c: Remove unused #include of memcopy.h.
21563         (strcmp): Use ANSI prototype.
21564         * string/strcpy.c: Remove unused #include of memcopy.h.
21565         (strcpy): Use ANSI prototype.
21567 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21569         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
21570         * config.make.in (config-extra-cppflags): Set it from
21571         libc_extra_cppflags.
21572         * configure.ac (libc_extra_cflags): Make it accumulate over
21573         configure fragments.
21574         (libc_extra_cppflags): New flag.
21575         * configure. Regenerate.
21576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21577         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
21578         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
21579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21581         [BZ #16815]
21582         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
21583         result for FE_DOWNWARD rounding mode.
21584         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21585         Likewise.
21586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21588 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
21590         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
21591         in function argument name.
21593 2014-04-03  David Svoboda  <svoboda@cert.org>
21595         [BZ #5666]
21596         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
21597         explicitly.
21599 2014-04-03  Roland McGrath  <roland@hack.frob.com>
21601         * elf/dl-unmap-segments.h: New file.
21602         * sysdeps/generic/ldsodefs.h
21603         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
21604         * elf/dl-close.c: Include <dl-unmap-segments.h>.
21605         * elf/dl-fptr.c: Likewise.
21606         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
21607         * sysdeps/aarch64/tlsdesc.c: Likewise.
21608         * sysdeps/arm/tlsdesc.c: Likewise.
21609         * sysdeps/i386/tlsdesc.c: Likewise.
21610         * sysdeps/tile/dl-runtime.c: Likewise.
21611         * sysdeps/x86_64/tlsdesc.c: Likewise.
21612         * elf/dl-load.h: New file.
21613         * elf/dl-load.c: Include it.
21614         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
21615         Macros moved to dl-load.h.
21616         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
21617         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
21618         Use _dl_unmap_segments in place of __munmap.
21619         Break out segment-mapping loop into ...
21620         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
21622 2014-04-03  Will Newton  <will.newton@linaro.org>
21624         * elf/dl-lookup.c (do_lookup_x): Remove comment
21625         referring to nested function and move variable
21626         declarations down to before first use.
21628 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
21630         [BZ #16799]
21631         [BZ #16800]
21632         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
21633         with 0 numerator.
21634         * math/s_catanf.c (__catanf): Likewise.
21635         * math/s_catanh.c (__catanh): Likewise.
21636         * math/s_catanhf.c (__catanhf): Likewise.
21637         * math/s_catanhl.c (__catanhl): Likewise.
21638         * math/s_catanl.c (__catanl): Likewise.
21639         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
21640         by positive zero when computing -Inf result.
21641         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
21642         (catanh_test): Likewise.
21643         * sysdeps/i386/fpu/libm-test-ulps: Update.
21644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21646         [BZ #16789]
21647         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
21648         instead of using underflowing value in computing result.
21649         * math/s_clog10.c (__clog10): Likewise.
21650         * math/s_clog10f.c (__clog10f): Likewise.
21651         * math/s_clog10l.c (__clog10l): Likewise.
21652         * math/s_clogf.c (__clogf): Likewise.
21653         * math/s_clogl.c (__clogl): Likewise.
21654         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
21655         (clog10_test): Likewise.
21656         * sysdeps/i386/fpu/libm-test-ulps: Update.
21657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21659 2014-04-02  Alan Modra  <amodra@gmail.com>
21661         [BZ #16739]
21662         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
21663         output when value is near a power of two.  Use int64_t for lx and
21664         remove casts.  Use decimal rather than hex exponent constants.
21665         Don't use long double multiplication when double will suffice.
21666         * math/libm-test.inc (nextafter_test_data): Add tests.
21667         * NEWS: Add 16739 and 16786 to bug list.
21669         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
21671         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
21673 2014-04-01  Will Newton  <will.newton@linaro.org>
21675         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
21676         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
21678 2014-04-01  Florian Weimer  <fweimer@redhat.com>
21680         [BZ #13347]
21681         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
21682         * nptl/tst-setuid2.c: New file.
21683         * nptl/Makefile (xtests): Add tst-setuid2.
21685 2014-04-01  Alan Modra  <amodra@gmail.com>
21687         [BZ #16786]
21688         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
21690 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21692         [BZ #6803]
21693         [BZ #6804]
21694         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
21695         set errno as appropriate.
21696         * math/w_scalbf.c (__scalbf): Likewise.
21697         * math/w_scalbl.c (__scalbl): Likewise.
21698         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
21699         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
21700         * math/libm-test.inc (scalb_test_data): Add errno expectations.
21701         Add more NaN tests.
21703         [BZ #16349]
21704         * math/w_atan2.c: Include <errno.h>.
21705         (__atan2): Set errno for result underflowing to zero.
21706         * math/w_atan2f.c: Include <errno.h>.
21707         (__atan2f): Set errno for result underflowing to zero.
21708         * math/w_atan2l.c: Include <errno.h>.
21709         (__atan2l): Set errno for result underflowing to zero.
21710         * math/auto-libm-test-in: Don't allow missing errno for some atan2
21711         tests.
21712         * math/auto-libm-test-out: Regenerated.
21714 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21716         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21717         Encode instruction correctly in little endian.
21718         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21719         Likewise.
21720         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21721         Likewise.
21722         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21723         Likewise.
21724         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21725         Likewise.
21727 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21729         [BZ #9894]
21730         * sysdeps/unix/sysv/linux/kernel-features.h
21731         [__sparc__ && !__arch64__ && !__sparc_v9__]
21732         (__ASSUME_SET_ROBUST_LIST): Do not define.
21733         [__sparc__ && !__arch64__ && !__sparc_v9__]
21734         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21735         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
21736         Likewise.
21737         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21738         (__ASSUME_FUTEX_LOCK_PI): Undefine.
21739         (__ASSUME_REQUEUE_PI): Likewise.
21740         (__ASSUME_SET_ROBUST_LIST): Likewise.
21741         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21742         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21743         Undefine.
21744         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21745         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21746         Likewise.
21747         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21748         Likewise.
21749         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21750         Likewise.
21751         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21752         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21753         Undefine.
21754         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21755         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21756         Likewise.
21758         [BZ #16648]
21759         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21760         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
21761         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
21763 2014-03-31  Will Newton  <will.newton@linaro.org>
21765         * benchtests/Makefile (bench): Add ffs and ffsll to list
21766         of tests.
21767         * benchtests/ffs-inputs: New file.
21768         * benchtests/ffsll-inputs: Likewise.
21770 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
21772         [BZ #16770]
21773         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
21774         too large before casting to int.
21775         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
21776         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
21777         * math/libm-test.inc (scalb_test_data): Add more tests.
21779 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21781         * benchtests/Makefile (DETAILED_OPT): New make option.
21782         (bench-func): Run benchmark program with -d if DETAILED_OPT is
21783         set.
21784         * benchtests/bench-skeleton.c: Include stdbool.h.
21785         (main): Store and print timings per input.
21786         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
21787         member to each argument value.
21788         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
21789         (_print_arg_data): Initialize per-input timing to 0.
21791         * benchtests/Makefile (timing-type): New binary.
21792         (bench-clean): Also remove bench-timing-type.
21793         (bench): New target for timing-type.
21794         (bench-func): Print output in JSON format.
21795         * benchtests/bench-skeleton.c (main): Print output in JSON
21796         format.
21797         * benchtests/bench-timing-type.c: New file.
21798         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
21799         (TIMING_PRINT_STATS): Remove.
21800         * benchtests/scripts/bench.py (_print_arg_data): Store variant
21801         name separately.
21803         * benchtests/bench-modf.c: Remove.
21804         * benchtests/modf-inputs: New inputs file.
21806 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
21808         [BZ #16362]
21809         * math/s_clog10.c (M_PI_LOG10E): New macro.
21810         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
21811         imaginary parts are 0.
21812         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
21813         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
21814         imaginary parts are 0.
21815         * math/s_clog10l.c (M_PI_LOG10El): New macro.
21816         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
21817         imaginary parts are 0.
21818         * math/libm-test.inc (clog10_test_data): Update expected results
21819         for when real and imaginary parts are 0.
21821 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
21823         * elf/dl-load.c: Finish conversion of __builtin_expect into
21824         __glibc_{un}likely.
21826 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
21828         [BZ #16348]
21829         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
21830         1+x for argument with exponent below -67.
21831         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
21832         Likewise.
21833         * math/auto-libm-test-in: Add more tests of exp.
21834         * math/auto-libm-test-out: Regenerated.
21836 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21838         [BZ #16759]
21839         * inet/getnetgrent_r.c (get_nonempty_val): New function.
21840         (nscd_getnetgrent): Use it.
21842         [BZ #16760]
21843         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
21844         of stpcpy.
21846 2014-03-27  Andi Kleen  <ak@linux.intel.com>
21848         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
21849         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21850         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21851         (lll_robust_unlock): Remove out of line section. Use cfi
21852         intrinsics.
21853         (LLL_STUB_UNWIND_INFO*): Remove.
21854         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
21855         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21856         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21857         (lll_robust_unlock): Remove out of line section. Use cfi
21858         intrinsics.
21859         (LLL_STUB_UNWIND_INFO*): Remove.
21861 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21863         [BZ #16758]
21864         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
21865         blank values.
21867 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21869         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
21871 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
21873         [BZ #16198]
21874         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
21875         fnstenv.
21876         * math/test-fenv-preserve.c: New file.
21877         * math/Makefile (tests): Add test-fenv-preserve.
21879 2014-03-26  Will Newton <will.newton@linaro.org>
21881         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
21883 2014-03-25  Roland McGrath  <roland@hack.frob.com>
21885         * scripts/versionlist.awk: Partition the version sets and emit all
21886         GLIBC_* (sorted) before all others (sorted).
21888 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21890         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
21891         GLIBC_2.2.5 version.
21893 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21895         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
21896         calls.
21898         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
21899         previous change.
21901         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21903 2014-03-25  Andreas Schwab  <schwab@suse.de>
21905         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
21906         label to be used after in6ailist is initialized.
21908 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21910         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21911         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21913 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21915         [BZ #16357]
21916         [BZ #16599]
21917         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
21918         min_plus_half.
21919         (fp_formats): Update initializers.
21920         (init_fp_formats): Initialize new field.
21921         (output_for_one_input_case): Allow underflow for results up to
21922         min_plus_half.
21923         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
21924         * math/auto-libm-test-in: Don't mark some underflows from asin and
21925         atanh as spurious.
21926         * math/auto-libm-test-out: Regenerated.
21927         * sysdeps/i386/fpu/libm-test-ulps: Update.
21928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21930 2014-03-25  Andreas Schwab  <schwab@suse.de>
21932         * libio/Makefile (tst-ftell-partial-wide-ENV)
21933         (tst-ftell-active-handler-ENV): Define.
21935 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
21937         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
21939 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21941         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
21943 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21945         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
21946         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21947         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21949 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21951         [BZ #16634]
21952         * elf/dl-load.c (open_verify): Add mode parameter.
21953         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
21954         (open_path): Change from boolean 'secure' to complete flag 'mode'
21955         (_dl_map_object): Adjust.
21956         * elf/Makefile (tests): Add tst-dlopen-aout.
21957         * elf/tst-dlopen-aout.c: New test.
21959 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
21961         [BZ #16714]
21962         * sysdeps/unix/sysv/linux/s390/bits/stat.h
21963         (struct stat): Rename member pad0 to __glibc_reserved0.
21965         [BZ #16712]
21966         * sysdeps/s390/s390-32/bits/wordsize.h
21967         (__WORDSIZE32_SIZE_ULONG): New define.
21968         * sysdeps/s390/s390-64/bits/wordsize.h
21969         (__WORDSIZE32_SIZE_ULONG): Likewise.
21970         * sysdeps/generic/stdint.h (SIZE_MAX):
21971         Define as UL if __WORDSIZE32_SIZE_ULONG.
21973         [BZ #16713]
21974         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
21975         (__glibc_reserved0): New variable.
21976         (sa_flags): Change type to int.
21978         * posix/Makefile (before-compile): Use += before-compile instead
21979         of a :=.
21981         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21982         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21984 2014-03-20  Andreas Schwab  <schwab@suse.de>
21986         [BZ #16743]
21987         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
21988         non-matching result from nscd.
21990 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21992         * scripts/bench.py: Moved to ...
21993         * benchtests/scripts/bench.py: ... here.
21994         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
21996 2014-03-24  Andreas Schwab  <schwab@suse.de>
21998         [BZ #16002]
21999         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
22000         alloca_account and account alloca use for struct in6ailist.
22002 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
22004         [BZ #16284]
22005         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
22006         rounding mode to recompute results that overflow to infinity or
22007         underflow to zero.
22008         * math/auto-libm-test-in: Don't mark tests as expected to fail for
22009         bug 16284.
22010         * math/auto-libm-test-out: Regenerated.
22011         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
22012         (ccosh_test): Likewise.
22013         (csin_test_data): Use plus_oflow.
22014         (csin_test): Use ALL_RM_TEST.
22015         (csinh_test_data): Use plus_oflow.
22016         (csinh_test): Use ALL_RM_TEST.
22017         * sysdeps/i386/fpu/libm-test-ulps: Update.
22018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22020 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
22022         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
22023         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
22024         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
22026         [BZ #16731]
22027         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
22028         when x - 1 is zero.
22029         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
22030         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
22031         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22032         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
22033         argument is 1.
22034         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
22035         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
22036         zero.
22037         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
22038         * sysdeps/i386/fpu/libm-test-ulps: Update.
22039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22041 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22043         * scripts/bench.pl: Remove file.
22044         * scripts/bench.py: New benchmark script.
22045         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
22046         * benchtests/README: Mention python dependency.
22047         * scripts/pylintrc: New file.
22048         * scripts/pylint: New file.
22050         * bits/mathdef.h: Use #ifdef instead of #if.
22051         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
22052         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22053         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
22054         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22055         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
22056         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22058 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22059             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22061         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
22062         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
22063         and strpbrk-ppc64 objects.
22064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22065         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
22066         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
22067         multiarch strpbrk for POWER7.
22068         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
22069         multiarch strpbrk for PPC64.
22070         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
22071         ifunc selector.
22072         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
22073         strpbrk for POWER7.
22075 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
22077         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
22078         (atan_test): Likewise.
22079         (atanh_test_data): Use NO_TEST_INLINE for two tests.
22080         (atanh_test): Use ALL_RM_TEST.
22081         (atan2_test_data): Likewise.
22082         (cabs_test): Likewise.
22083         (cacosh_test): Likewise.
22084         (carg_test): Likewise.
22085         (casin_test): Likewise.
22086         (casinh_test): Likewise.
22087         (cbrt_test): Likewise.
22088         (csqrt_test): Likewise.
22089         (erf_test): Likewise.
22090         (erfc_test): Likewise.
22091         (pow10_test): Likewise.
22092         (exp2_test): Likewise.
22093         (hypot_test): Likewise.
22094         (j0_test): Likewise.
22095         (j1_test): Likewise.
22096         (lgamma_test): Likewise.
22097         (gamma_test): Likewise.
22098         (sincos_test): Likewise.
22099         (tanh_test): Likewise.
22100         (y0_test): Likewise.
22101         (y1_test): Likewise.
22102         * sysdeps/i386/fpu/libm-test-ulps: Update.
22103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22105 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22107         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
22108         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
22109         and strcspn-ppc64 objects.
22110         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22111         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
22112         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
22113         multiarch strcspn for POWER7.
22114         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
22115         multiarch strcspn for PPC64.
22116         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
22117         ifunc selector.
22118         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
22119         strcspn for POWER7.
22121 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
22123         * math/gen-libm-test.pl (generate_testfile): Expect only function
22124         name as argument to AUTO_TESTS_* and pass results for all rounding
22125         modes to parse_args.
22126         (parse_auto_input): Separate inputs of automatic tests from
22127         outputs before storing in %auto_tests.
22128         * math/libm-test.inc (acos_test_data): Update call to
22129         AUTO_TESTS_f_f.
22130         (acos_test): Use ALL_RM_TEST.
22131         (acos_tonearest_test_data): Remove.
22132         (acos_test_tonearest): Likewise.
22133         (acos_towardzero_test_data): Likewise.
22134         (acos_test_towardzero): Likewise.
22135         (acos_downward_test_data): Likewise.
22136         (acos_test_downward): Likewise.
22137         (acos_upward_test_data): Likewise.
22138         (acos_test_upward): Likewise.
22139         (acosh_test_data): Update call to AUTO_TESTS_f_f.
22140         (asin_test_data): Likewise.
22141         (asin_test): Use ALL_RM_TEST.
22142         (asin_tonearest_test_data): Remove.
22143         (asin_test_tonearest): Likewise.
22144         (asin_towardzero_test_data): Likewise.
22145         (asin_test_towardzero): Likewise.
22146         (asin_downward_test_data): Likewise.
22147         (asin_test_downward): Likewise.
22148         (asin_upward_test_data): Likewise.
22149         (asin_test_upward): Likewise.
22150         (asinh_test_data): Update call to AUTO_TESTS_f_f.
22151         (atan_test_data): Likewise.
22152         (atanh_test_data): Likewise.
22153         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
22154         (cabs_test_data): Update call to AUTO_TESTS_c_f.
22155         (carg_test_data): Likewise.
22156         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
22157         (ccos_test_data): Update call to AUTO_TESTS_c_c.
22158         (ccosh_test_data): Likewise.
22159         (cexp_test_data): Likewise.
22160         (clog_test_data): Likewise.
22161         (clog10_test_data): Likewise.
22162         (cos_test_data): Update call to AUTO_TESTS_f_f.
22163         (cos_test): Use ALL_RM_TEST.
22164         (cos_tonearest_test_data): Remove.
22165         (cos_test_tonearest): Likewise.
22166         (cos_towardzero_test_data): Likewise.
22167         (cos_test_towardzero): Likewise.
22168         (cos_downward_test_data): Likewise.
22169         (cos_test_downward): Likewise.
22170         (cos_upward_test_data): Likewise.
22171         (cos_test_upward): Likewise.
22172         (cosh_test_data): Update call to AUTO_TESTS_f_f.
22173         (cosh_test): Use ALL_RM_TEST.
22174         (cosh_tonearest_test_data): Remove.
22175         (cosh_test_tonearest): Likewise.
22176         (cosh_towardzero_test_data): Likewise.
22177         (cosh_test_towardzero): Likewise.
22178         (cosh_downward_test_data): Likewise.
22179         (cosh_test_downward): Likewise.
22180         (cosh_upward_test_data): Likewise.
22181         (cosh_test_upward): Likewise.
22182         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
22183         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
22184         (ctan_test_data): Likewise.
22185         (ctan_test): Use ALL_RM_TEST.
22186         (ctan_tonearest_test_data): Remove.
22187         (ctan_test_tonearest): Likewise.
22188         (ctan_towardzero_test_data): Likewise.
22189         (ctan_test_towardzero): Likewise.
22190         (ctan_downward_test_data): Likewise.
22191         (ctan_test_downward): Likewise.
22192         (ctan_upward_test_data): Likewise.
22193         (ctan_test_upward): Likewise.
22194         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
22195         (ctanh_test): Use ALL_RM_TEST.
22196         (ctanh_tonearest_test_data): Remove.
22197         (ctanh_test_tonearest): Likewise.
22198         (ctanh_towardzero_test_data): Likewise.
22199         (ctanh_test_towardzero): Likewise.
22200         (ctanh_downward_test_data): Likewise.
22201         (ctanh_test_downward): Likewise.
22202         (ctanh_upward_test_data): Likewise.
22203         (ctanh_test_upward): Likewise.
22204         (erf_test_data): Update call to AUTO_TESTS_f_f.
22205         (erfc_test_data): Likewise.
22206         (exp_test_data): Likewise.
22207         (exp_test): Use ALL_RM_TEST.
22208         (exp_tonearest_test_data): Remove.
22209         (exp_test_tonearest): Likewise.
22210         (exp_towardzero_test_data): Likewise.
22211         (exp_test_towardzero): Likewise.
22212         (exp_downward_test_data): Likewise.
22213         (exp_test_downward): Likewise.
22214         (exp_upward_test_data): Likewise.
22215         (exp_test_upward): Likewise.
22216         (exp10_test_data): Update call to AUTO_TESTS_f_f.
22217         (exp10_test): Use ALL_RM_TEST.
22218         (exp10_tonearest_test_data): Remove.
22219         (exp10_test_tonearest): Likewise.
22220         (exp10_towardzero_test_data): Likewise.
22221         (exp10_test_towardzero): Likewise.
22222         (exp10_downward_test_data): Likewise.
22223         (exp10_test_downward): Likewise.
22224         (exp10_upward_test_data): Likewise.
22225         (exp10_test_upward): Likewise.
22226         (exp2_test_data): Update call to AUTO_TESTS_f_f.
22227         (expm1_test_data): Likewise.
22228         (expm1_test): Use ALL_RM_TEST.
22229         (expm1_tonearest_test_data): Remove.
22230         (expm1_test_tonearest): Likewise.
22231         (expm1_towardzero_test_data): Likewise.
22232         (expm1_test_towardzero): Likewise.
22233         (expm1_downward_test_data): Likewise.
22234         (expm1_test_downward): Likewise.
22235         (expm1_upward_test_data): Likewise.
22236         (expm1_test_upward): Likewise.
22237         (fma_test_data): Update call to AUTO_TESTS_fff_f.
22238         (fma_test): Use ALL_RM_TEST.
22239         (fma_towardzero_test_data): Remove.
22240         (fma_test_towardzero): Likewise.
22241         (fma_downward_test_data): Likewise.
22242         (fma_test_downward): Likewise.
22243         (fma_upward_test_data): Likewise.
22244         (fma_test_upward): Likewise.
22245         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
22246         (j0_test_data): Update call to AUTO_TESTS_f_f.
22247         (j1_test_data): Likewise.
22248         (jn_test_data): Update call to AUTO_TESTS_if_f.
22249         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
22250         (log_test_data): Update call to AUTO_TESTS_f_f.
22251         (log10_test_data): Likewise.
22252         (log1p_test_data): Likewise.
22253         (log2_test_data): Likewise.
22254         (pow_test_data): Update call to AUTO_TESTS_ff_f.
22255         (pow_tonearest_test_data): Likewise.
22256         (sin_test_data): Update call to AUTO_TESTS_f_f.
22257         (sin_test): Use ALL_RM_TEST.
22258         (sin_tonearest_test_data): Remove.
22259         (sin_test_tonearest): Likewise.
22260         (sin_towardzero_test_data): Likewise.
22261         (sin_test_towardzero): Likewise.
22262         (sin_downward_test_data): Likewise.
22263         (sin_test_downward): Likewise.
22264         (sin_upward_test_data): Likewise.
22265         (sin_test_upward): Likewise.
22266         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
22267         (sinh_test_data): Update call to AUTO_TESTS_f_f.
22268         (sinh_test): Use ALL_RM_TEST.
22269         (sinh_tonearest_test_data): Remove.
22270         (sinh_test_tonearest): Likewise.
22271         (sinh_towardzero_test_data): Likewise.
22272         (sinh_test_towardzero): Likewise.
22273         (sinh_downward_test_data): Likewise.
22274         (sinh_test_downward): Likewise.
22275         (sinh_upward_test_data): Likewise.
22276         (sinh_test_upward): Likewise.
22277         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
22278         (sqrt_test): Use ALL_RM_TEST.
22279         (sqrt_tonearest_test_data): Remove.
22280         (sqrt_test_tonearest): Likewise.
22281         (sqrt_towardzero_test_data): Likewise.
22282         (sqrt_test_towardzero): Likewise.
22283         (sqrt_downward_test_data): Likewise.
22284         (sqrt_test_downward): Likewise.
22285         (sqrt_upward_test_data): Likewise.
22286         (sqrt_test_upward): Likewise.
22287         (tan_test_data): Update call to AUTO_TESTS_f_f.
22288         (tan_test): Use ALL_RM_TEST.
22289         (tan_tonearest_test_data): Remove.
22290         (tan_test_tonearest): Likewise.
22291         (tan_towardzero_test_data): Likewise.
22292         (tan_test_towardzero): Likewise.
22293         (tan_downward_test_data): Likewise.
22294         (tan_test_downward): Likewise.
22295         (tan_upward_test_data): Likewise.
22296         (tan_test_upward): Likewise.
22297         (tanh_test_data): Update call to AUTO_TESTS_f_f.
22298         (tgamma_test_data): Likewise.
22299         (y0_test_data): Likewise.
22300         (y1_test_data): Likewise.
22301         (yn_test_data): Update call to AUTO_TESTS_if_f.
22302         (main): Do not call removed functions.
22304 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
22306         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
22307         (ldexp_test_data): Remove.
22308         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
22309         scalbn_test_data.
22310         (scalb_test): Use ALL_RM_TEST.
22312 2014-03-19  Andreas Schwab  <schwab@suse.de>
22314         * nscd/nscd.service: Also invalidate netgroup cache on reload.
22316 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
22318         [BZ #16649]
22319         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22320         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
22321         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
22322         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22323         (__ASSUME_PREADV): Undefine.
22324         (__ASSUME_PWRITEV): Likewise.
22326 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22328         * bits/mman-linux.h: Add comment about non-Linux use.
22329         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
22330         bits/mman-linux.h resting place.
22332         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
22333         * bits/mman-linux.h: ... here.
22335 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22337         * conform/conformtest.pl: Add standard definition when calling C
22338         preprocessor on data files.
22339         (checknamespace): Remove unused variable.
22341 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22343         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
22344         minus_oflow, plus_uflow and minus_uflow in expected results.
22345         * math/libm-test.inc (scalbn_test_data): Add more tests of
22346         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
22347         minus_uflow.
22348         (scalbn_test): Use ALL_RM_TEST.
22349         (scalbln_test_data): Add more tests of negative arguments.  Use
22350         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
22351         (scalbln_test): Use ALL_RM_TEST.
22353 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22355         * scripts/abilist.awk: Ignore symbols marked with .hidden.
22357 2014-03-18  Will Newton  <will.newton@linaro.org>
22359         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
22360         inaccurate comment.
22362 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22364         * Makerules [!subdir] (check-abi): Exit with error status if a
22365         test failed.
22367 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22369         * math/libm-test.inc (nearbyint_test_data): Include all tests used
22370         for rint.  Include results for all rounding modes.
22371         (nearbyint_test): Use ALL_RM_TEST.
22372         (rint_test_data): Include all tests used for nearbyint.
22374 2014-03-17  Will Newton  <will.newton@linaro.org>
22376         * nptl/sysdeps/pthread/pthread.h: Revert previous
22377         change.
22379         * sysdeps/generic/ldsodefs.h: Revert previous
22380         change.
22382         * libio/genops.c: Revert previous change.
22383         * libio/libioP.h: Likewise.
22384         * stdio-common/vfprintf.c: Likewise.
22386         * sysdeps/generic/math_private.h: Revert previous
22387         change.
22389         * sysdeps/generic/math_private.h: Check whether
22390         HAVE_RM_CTX is defined with #ifdef rather
22391         than #if.
22393         * argp/argp-fmtstream.h: Check whether
22394         __STRICT_ANSI__ is defined with #ifdef rather
22395         than #if.
22396         * argp/argp.h: Likewise.
22398         * libio/genops.c: Check whether
22399         _IO_JUMPS_OFFSET is defined with #ifdef rather
22400         than #if.
22401         * libio/libioP.h: Likewise.
22402         * stdio-common/vfprintf.c: Likewise.
22404         * sysdeps/generic/ldsodefs.h: Check whether
22405         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
22406         than #if.
22408         * nptl/sysdeps/pthread/pthread.h: Check
22409         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
22410         its value.
22412 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22414         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
22415         setting O_APPEND.
22416         * libio/tst-ftell-active-handler.c (do_append_test): Add a
22417         test case.
22419         [BZ #16680]
22420         * libio/fileops.c (_IO_file_open): Seek to end of file but
22421         don't cache the offset.
22422         (get_file_offset): Remove function.
22423         (do_ftell): Use cached offset when available.
22424         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
22425         don't cache the offset.
22426         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
22427         case.
22428         (do_one_test): Call it.
22429         (do_ftell_test): Fix up expected old offset for a+ mode.
22430         * libio/wfileops.c (do_ftell_wide): Used cached offset when
22431         available.
22433         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
22434         up test status with function return status.
22435         (do_write_test): Likewise.
22436         (do_append_test): Likewise.
22438         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
22439         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
22440         Remove.
22442 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22444         * math/gen-libm-test.pl (parse_args): Handle results specified for
22445         each rounding mode separately.
22446         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
22447         tests and results from lrint_tonearest_test_data,
22448         lrint_towardzero_test_data, lrint_downward_test_data and
22449         lrint_upward_test_data.
22450         (lrint_test): Use ALL_RM_TEST.
22451         (lrint_tonearest_test_data): Remove.
22452         (lrint_test_tonearest): Likewise.
22453         (lrint_towardzero_test_data): Likewise.
22454         (lrint_test_towardzero): Likewise.
22455         (lrint_downward_test_data): Likewise.
22456         (lrint_test_downward): Likewise.
22457         (lrint_upward_test_data): Likewise.
22458         (lrint_test_upward): Likewise.
22459         (llrint_test_data): Merge in per-rounding-mode tests and results
22460         from llrint_tonearest_test_data, llrint_towardzero_test_data,
22461         llrint_downward_test_data and llrint_upward_test_data.
22462         (llrint_test): Use ALL_RM_TEST.
22463         (llrint_tonearest_test_data): Remove.
22464         (llrint_test_tonearest): Likewise.
22465         (llrint_towardzero_test_data): Likewise.
22466         (llrint_test_towardzero): Likewise.
22467         (llrint_downward_test_data): Likewise.
22468         (llrint_test_downward): Likewise.
22469         (llrint_upward_test_data): Likewise.
22470         (llrint_test_upward): Likewise.
22471         (rint_test_data): Merge in per-rounding-mode tests and results
22472         from rint_tonearest_test_data, rint_towardzero_test_data,
22473         rint_downward_test_data and rint_upward_test_data.  Add
22474         per-rounding-mode results for tests not in those arrays.
22475         (rint_test): Use ALL_RM_TEST.
22476         (rint_tonearest_test_data): Remove.
22477         (rint_test_tonearest): Likewise.
22478         (rint_towardzero_test_data): Likewise.
22479         (rint_test_towardzero): Likewise.
22480         (rint_downward_test_data): Likewise.
22481         (rint_test_downward): Likewise.
22482         (rint_upward_test_data): Likewise.
22483         (rint_test_upward): Likewise.
22484         (main): Don't call removed functions.
22486 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22488         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
22489         "Compiled on ..." crapola.  It is anti-useful.
22491 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
22493         * scripts/evaluate-test.sh: Handle fourth argument to determine
22494         whether test run should stop on failure.
22495         * Makeconfig (stop-on-test-failure): New variable.
22496         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
22497         $(stop-on-test-failure).
22498         * Makefile (tests): Give a summary of results from testing and
22499         exit with failure status if they include an ERROR or FAIL.
22500         (xtests): Likewise.
22501         * manual/install.texi (Configuring and compiling): Mention
22502         stop-on-test-failure=y.
22503         * INSTALL: Regenerated.
22505 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22507         * scripts/versionlist.awk: New file.
22508         * Makerules [$(build-shared) = yes]
22509         (postclean-generated): Add Versions.def, not Versions.def.v and
22510         Versions.def.v.i.
22511         ($(common-objpfx)Versions.def.v.i): Target removed.
22512         ($(common-objpfx)Versions.def): New target.
22513         ($(common-objpfx)Versions.all): Depend on that rather that
22514         $(common-objpfx)Versions.def.v.
22515         * Versions.def: File removed.
22517         * Makeconfig (+gccwarn): Add -Wundef.
22518         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
22519         a dl-sysdep.h breaking its contract.
22520         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
22521         * include/stackinfo.h: New file.
22522         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
22523         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
22524         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
22525         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
22526         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
22527         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
22528         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22529         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22530         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22531         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22532         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22533         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
22534         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22535         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22536         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22538 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22540         [BZ #16707]
22541         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
22542         implementation.
22543         * math/libm-test.inc (round_test_data): Add more tests.
22545         [BZ #16706]
22546         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
22547         implementation.
22548         * math/libm-test.inc (nearbyint_test_data): Add more tests.
22550         [BZ #16701]
22551         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
22552         implementation.
22553         * math/libm-test.inc (ceil_test_data): Add more tests.
22555         * math/libm-test.inc (trunc_test_data): Add more tests related to
22556         BZ#16414.
22558 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22560         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
22561         with #if rather than #ifdef.
22562         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
22564 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
22566         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
22567         first.  Disable AVX-512 GCC support if assembler doesn't support
22568         it.
22569         * sysdeps/x86_64/configure: Regenerated.
22571 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
22573         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
22574         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
22575         (__old_pthread_attr_setstack): Likewise.
22576         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
22577         [!_STACK_GROWS_DOWN]: Likewise.
22579 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
22581         * config.make.in (have-bash2): Delete.
22582         * configure.ac (libc_cv_have_bash2): Delete.
22583         * configure: Regenerate.
22584         * elf/Makefile (common-ldd-rewrite): Rename to ...
22585         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
22586         (sh-ldd-rewrite): Delete.
22587         (bash-ldd-rewrite): Delete.
22588         (have-bash2): Delete checks.
22589         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
22590         ldd-rewrite.
22592         * config.make.in (have-ksh): Delete.
22593         (KSH): Delete.
22594         * configure.ac (libc_cv_have_ksh): Delete.
22595         * configure: Regenerate.
22597         * elf/Makefile: Delete $(have-ksh) check.
22598         ($(objpfx)sotruss): Change KSH to BASH.
22599         * elf/sotruss.ksh: Rename to ...
22600         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
22601         function style to match POSIX.  Drop ksh vim mode setting.
22603         * manual/time.texi (Specifying the Time Zone with TZ): Change
22604         Tuesday to Thursday.
22606         * debug/tst-longjmp_chk2.c: Update header comment.
22607         (stackoverflow_handler): Add comment.  Call assert on pass value.
22609 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
22611         [BZ #16194]
22612         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
22613         (HAVE_AVX512_ASM_SUPPORT): Likewise.
22614         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
22615         (La_x86_64_vector): Add zmm.
22616         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
22617         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
22618         ($(objpfx)tst-audit10): New target.
22619         ($(objpfx)tst-audit10.out): Likewise.
22620         (tst-audit10-ENV): New.
22621         (AVX512-CFLAGS): Likewise.
22622         (CFLAGS-tst-audit10.c): Likewise.
22623         (CFLAGS-tst-auditmod10a.c): Likewise.
22624         (CFLAGS-tst-auditmod10b.c): Likewise.
22625         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
22626         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
22627         * sysdeps/x86_64/configure: Regenerated.
22628         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
22629         AVX-512 zmm register support.
22630         (_dl_x86_64_save_sse): Likewise.
22631         (_dl_x86_64_restore_sse): Likewise.
22632         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
22633         size vector registers.
22634         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
22635         (ZMM_SIZE): Likewise.
22636         * sysdeps/x86_64/tst-audit10.c: New file.
22637         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
22638         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
22640 2014-03-13  Roland McGrath  <roland@hack.frob.com>
22642         * configure.ac (HAVE_EHDR_START): New check.
22643         * configure: Regenerated.
22644         * config.h.in (HAVE_EHDR_START): New #undef.
22645         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
22646         assuming the lowest-addressed segment maps the start of the file.
22648 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
22650         * INSTALL: Regenerated.
22652 2014-03-13  Will Newton  <will.newton@linaro.org>
22654         * manual/setjmp.texi (System V contexts): Improve
22655         clarity and grammar of documentation.
22657 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22659         [BZ #16381]
22660         * elf/Makefile (tests): Add tst-pie2.
22661         (tests-pie): Add tst-pie2.
22662         * elf/tst-pie2.c: New file.
22663         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
22664         for ET_EXEC.
22665         * elf/rtld.c (map_doit): Load executable as lt_executable.
22666         (dl_main): Likewise.
22668 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
22670         [BZ #16642]
22671         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22672         (__ASSUME_PSELECT): Undefine.
22674 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22676         [BZ #16689]
22677         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
22678         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
22679         static build.
22680         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
22681         selector for static builds.
22683 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22685         [BZ #16695]
22686         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
22687         key in the buffer.
22689 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22691         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
22692         IFUNC selector for static builds.
22694 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
22696         * sysdeps/mips/math_private.h [__mips_hard_float]
22697         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
22698         libc_feresetround_mips_ctx.
22699         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
22700         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
22701         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
22703         [BZ #16677]
22704         * math/s_nextafter.c (__nextafter): Do not return value from
22705         overflowing computation.
22706         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
22707         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
22708         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
22709         Likewise.
22710         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22711         Likewise.
22712         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
22713         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
22715 2014-03-11  Roland McGrath  <roland@hack.frob.com>
22717         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
22718         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
22719         Move sfi_sp use from the load-multiple (that no longer sets sp) to
22720         the new mov targetting sp.
22722 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22724         [BZ #16683]
22725         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
22726         Define it for static builds as well.
22727         (NO_BZERO_IMPL): Likewise.
22729 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22731         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
22732         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
22733         multiarch strspn for PPC64.
22734         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
22735         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
22736         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22737         (__libc_ifunc_impl_list): Likewise.
22738         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
22739         multiarch optimizations
22740         * string/strspn.c (strspn): Using macro to redefine symbol name.
22742 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22743             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22745         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22746         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22747         multiarch strncat for PPC64.
22748         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22749         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22750         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22751         (__libc_ifunc_impl_list): Likewise.
22752         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22753         multiarch optimizations
22755 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22757         [BZ #16639]
22758         * nscd/nscd.service: Make service type forking.
22760 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22762         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
22763         sign in non default rounding modes.
22764         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
22766 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
22768         * math/libm-test.inc (ALL_RM_TEST): New macro.
22769         (ceil_test): Use ALL_RM_TEST.
22770         (cimag_test): Likewise.
22771         (conj_test): Likewise.
22772         (copysign_test): Likewise.
22773         (cproj_test): Likewise.
22774         (creal_test): Likewise.
22775         (fabs_test): Likewise.
22776         (floor_test): Likewise.
22777         (fmax_test): Likewise.
22778         (fmin_test): Likewise.
22779         (fmod_test): Likewise.
22780         (fpclassify_test): Likewise.
22781         (frexp_test): Likewise.
22782         (ilogb_test): Likewise.
22783         (isfinite_test): Likewise.
22784         (finite_test): Likewise.
22785         (isgreater_test): Likewise.
22786         (isgreaterequal_test): Likewise.
22787         (isinf_test): Likewise.
22788         (isless_test): Likewise.
22789         (islessequal_test): Likewise.
22790         (islessgreater_test): Likewise.
22791         (isnan_test): Likewise.
22792         (isnormal_test): Likewise.
22793         (issignaling_test): Likewise.
22794         (isunordered_test): Likewise.
22795         (logb_test): Likewise.
22796         (logb_downward_test_data): Remove.
22797         (logb_test_downward): Likewise.
22798         (lround_test): Use ALL_RM_TEST.
22799         (llround_test): Likewise.
22800         (modf_test): Likewise.
22801         (nexttoward_test): Likewise.
22802         (remainder_test): Likewise.
22803         (drem_test): Likewise.
22804         (remainder_tonearest_test_data): Likewise.
22805         (remainder_test_tonearest): Likewise.
22806         (drem_test_tonearest): Likewise.
22807         (remainder_towardzero_test_data): Likewise.
22808         (remainder_test_towardzero): Likewise.
22809         (drem_test_towardzero): Likewise.
22810         (remainder_downward_test_data): Likewise.
22811         (remainder_test_downward): Likewise.
22812         (drem_test_downward): Likewise.
22813         (remainder_upward_test_data): Likewise.
22814         (remainder_test_upward): Likewise.
22815         (drem_test_upward): Likewise.
22816         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
22817         (round_test): Use ALL_RM_TEST.
22818         (signbit_test): Likewise.
22819         (trunc_test): Likewise.
22820         (significand_test): Likewise.
22821         (main): Don't call removed functions.
22823 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22825         [BZ #16674]
22826         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
22827         || __USE_XOPEN2K8].
22828         (ILL_ILLOPN): Likewise.
22829         (ILL_ILLADR): Likewise.
22830         (ILL_ILLTRP): Likewise.
22831         (ILL_PRVOPC): Likewise.
22832         (ILL_PRVREG): Likewise.
22833         (ILL_COPROC): Likewise.
22834         (ILL_BADSTK): Likewise.
22835         (FPE_INTDIV): Likewise.
22836         (FPE_INTOVF): Likewise.
22837         (FPE_FLTDIV): Likewise.
22838         (FPE_FLTOVF): Likewise.
22839         (FPE_FLTUND): Likewise.
22840         (FPE_FLTRES): Likewise.
22841         (FPE_FLTINV): Likewise.
22842         (FPE_FLTSUB): Likewise.
22843         (SEGV_MAPERR): Likewise.
22844         (SEGV_ACCERR): Likewise.
22845         (BUS_ADRALN): Likewise.
22846         (BUS_ADRERR): Likewise.
22847         (BUS_OBJERR): Likewise.
22848         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22849         (TRAP_TRACE): Likewise.
22850         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22851         __USE_XOPEN2K8].
22852         (CLD_KILLED): Likewise.
22853         (CLD_DUMPED): Likewise.
22854         (CLD_TRAPPED): Likewise.
22855         (CLD_STOPPED): Likewise.
22856         (CLD_CONTINUED): Likewise.
22857         (POLL_IN): Likewise.
22858         (POLL_OUT): Likewise.
22859         (POLL_MSG): Likewise.
22860         (POLL_ERR): Likewise.
22861         (POLL_PRI): Likewise.
22862         (POLL_HUP): Likewise.
22863         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
22864         Likewise.
22865         (ILL_ILLOPN): Likewise.
22866         (ILL_ILLADR): Likewise.
22867         (ILL_ILLTRP): Likewise.
22868         (ILL_PRVOPC): Likewise.
22869         (ILL_PRVREG): Likewise.
22870         (ILL_COPROC): Likewise.
22871         (ILL_BADSTK): Likewise.
22872         (FPE_INTDIV): Likewise.
22873         (FPE_INTOVF): Likewise.
22874         (FPE_FLTDIV): Likewise.
22875         (FPE_FLTOVF): Likewise.
22876         (FPE_FLTUND): Likewise.
22877         (FPE_FLTRES): Likewise.
22878         (FPE_FLTINV): Likewise.
22879         (FPE_FLTSUB): Likewise.
22880         (SEGV_MAPERR): Likewise.
22881         (SEGV_ACCERR): Likewise.
22882         (BUS_ADRALN): Likewise.
22883         (BUS_ADRERR): Likewise.
22884         (BUS_OBJERR): Likewise.
22885         (BUS_MCEERR_AR): Likewise.
22886         (BUS_MCEERR_AO): Likewise.
22887         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22888         (TRAP_TRACE): Likewise.
22889         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22890         __USE_XOPEN2K8].
22891         (CLD_KILLED): Likewise.
22892         (CLD_DUMPED): Likewise.
22893         (CLD_TRAPPED): Likewise.
22894         (CLD_STOPPED): Likewise.
22895         (CLD_CONTINUED): Likewise.
22896         (POLL_IN): Likewise.
22897         (POLL_OUT): Likewise.
22898         (POLL_MSG): Likewise.
22899         (POLL_ERR): Likewise.
22900         (POLL_PRI): Likewise.
22901         (POLL_HUP): Likewise.
22902         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
22903         (ILL_ILLOPN): Likewise.
22904         (ILL_ILLADR): Likewise.
22905         (ILL_ILLTRP): Likewise.
22906         (ILL_PRVOPC): Likewise.
22907         (ILL_PRVREG): Likewise.
22908         (ILL_COPROC): Likewise.
22909         (ILL_BADSTK): Likewise.
22910         (FPE_INTDIV): Likewise.
22911         (FPE_INTOVF): Likewise.
22912         (FPE_FLTDIV): Likewise.
22913         (FPE_FLTOVF): Likewise.
22914         (FPE_FLTUND): Likewise.
22915         (FPE_FLTRES): Likewise.
22916         (FPE_FLTINV): Likewise.
22917         (FPE_FLTSUB): Likewise.
22918         (SEGV_MAPERR): Likewise.
22919         (SEGV_ACCERR): Likewise.
22920         (BUS_ADRALN): Likewise.
22921         (BUS_ADRERR): Likewise.
22922         (BUS_OBJERR): Likewise.
22923         (BUS_MCEERR_AR): Likewise.
22924         (BUS_MCEERR_AO): Likewise.
22925         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22926         (TRAP_TRACE): Likewise.
22927         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22928         __USE_XOPEN2K8].
22929         (CLD_KILLED): Likewise.
22930         (CLD_DUMPED): Likewise.
22931         (CLD_TRAPPED): Likewise.
22932         (CLD_STOPPED): Likewise.
22933         (CLD_CONTINUED): Likewise.
22934         (POLL_IN): Likewise.
22935         (POLL_OUT): Likewise.
22936         (POLL_MSG): Likewise.
22937         (POLL_ERR): Likewise.
22938         (POLL_PRI): Likewise.
22939         (POLL_HUP): Likewise.
22940         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
22941         Likewise.
22942         (ILL_ILLOPN): Likewise.
22943         (ILL_ILLADR): Likewise.
22944         (ILL_ILLTRP): Likewise.
22945         (ILL_PRVOPC): Likewise.
22946         (ILL_PRVREG): Likewise.
22947         (ILL_COPROC): Likewise.
22948         (ILL_BADSTK): Likewise.
22949         (ILL_BADIADDR): Likewise.
22950         (ILL_BREAK): Likewise.
22951         (FPE_INTDIV): Likewise.
22952         (FPE_INTOVF): Likewise.
22953         (FPE_FLTDIV): Likewise.
22954         (FPE_FLTOVF): Likewise.
22955         (FPE_FLTUND): Likewise.
22956         (FPE_FLTRES): Likewise.
22957         (FPE_FLTINV): Likewise.
22958         (FPE_FLTSUB): Likewise.
22959         (FPE_DECOVF): Likewise.
22960         (FPE_DECDIV): Likewise.
22961         (FPE_DECERR): Likewise.
22962         (FPE_INVASC): Likewise.
22963         (FPE_INVDEC): Likewise.
22964         (SEGV_MAPERR): Likewise.
22965         (SEGV_ACCERR): Likewise.
22966         (SEGV_PSTKOVF): Likewise.
22967         (BUS_ADRALN): Likewise.
22968         (BUS_ADRERR): Likewise.
22969         (BUS_OBJERR): Likewise.
22970         (BUS_MCEERR_AR): Likewise.
22971         (BUS_MCEERR_AO): Likewise.
22972         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22973         (TRAP_TRACE): Likewise.
22974         (TRAP_BRANCH): Likewise.
22975         (TRAP_HWBKPT): Likewise.
22976         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22977         __USE_XOPEN2K8].
22978         (CLD_KILLED): Likewise.
22979         (CLD_DUMPED): Likewise.
22980         (CLD_TRAPPED): Likewise.
22981         (CLD_STOPPED): Likewise.
22982         (CLD_CONTINUED): Likewise.
22983         (POLL_IN): Likewise.
22984         (POLL_OUT): Likewise.
22985         (POLL_MSG): Likewise.
22986         (POLL_ERR): Likewise.
22987         (POLL_PRI): Likewise.
22988         (POLL_HUP): Likewise.
22989         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
22990         (ILL_ILLOPN): Likewise.
22991         (ILL_ILLADR): Likewise.
22992         (ILL_ILLTRP): Likewise.
22993         (ILL_PRVOPC): Likewise.
22994         (ILL_PRVREG): Likewise.
22995         (ILL_COPROC): Likewise.
22996         (ILL_BADSTK): Likewise.
22997         (FPE_INTDIV): Likewise.
22998         (FPE_INTOVF): Likewise.
22999         (FPE_FLTDIV): Likewise.
23000         (FPE_FLTOVF): Likewise.
23001         (FPE_FLTUND): Likewise.
23002         (FPE_FLTRES): Likewise.
23003         (FPE_FLTINV): Likewise.
23004         (FPE_FLTSUB): Likewise.
23005         (SEGV_MAPERR): Likewise.
23006         (SEGV_ACCERR): Likewise.
23007         (BUS_ADRALN): Likewise.
23008         (BUS_ADRERR): Likewise.
23009         (BUS_OBJERR): Likewise.
23010         (BUS_MCEERR_AR): Likewise.
23011         (BUS_MCEERR_AO): Likewise.
23012         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23013         (TRAP_TRACE): Likewise.
23014         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23015         __USE_XOPEN2K8].
23016         (CLD_KILLED): Likewise.
23017         (CLD_DUMPED): Likewise.
23018         (CLD_TRAPPED): Likewise.
23019         (CLD_STOPPED): Likewise.
23020         (CLD_CONTINUED): Likewise.
23021         (POLL_IN): Likewise.
23022         (POLL_OUT): Likewise.
23023         (POLL_MSG): Likewise.
23024         (POLL_ERR): Likewise.
23025         (POLL_PRI): Likewise.
23026         (POLL_HUP): Likewise.
23027         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
23028         (ILL_ILLOPN): Likewise.
23029         (ILL_ILLADR): Likewise.
23030         (ILL_ILLTRP): Likewise.
23031         (ILL_PRVOPC): Likewise.
23032         (ILL_PRVREG): Likewise.
23033         (ILL_COPROC): Likewise.
23034         (ILL_BADSTK): Likewise.
23035         (FPE_INTDIV): Likewise.
23036         (FPE_INTOVF): Likewise.
23037         (FPE_FLTDIV): Likewise.
23038         (FPE_FLTOVF): Likewise.
23039         (FPE_FLTUND): Likewise.
23040         (FPE_FLTRES): Likewise.
23041         (FPE_FLTINV): Likewise.
23042         (FPE_FLTSUB): Likewise.
23043         (SEGV_MAPERR): Likewise.
23044         (SEGV_ACCERR): Likewise.
23045         (BUS_ADRALN): Likewise.
23046         (BUS_ADRERR): Likewise.
23047         (BUS_OBJERR): Likewise.
23048         (BUS_MCEERR_AR): Likewise.
23049         (BUS_MCEERR_AO): Likewise.
23050         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23051         (TRAP_TRACE): Likewise.
23052         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23053         __USE_XOPEN2K8].
23054         (CLD_KILLED): Likewise.
23055         (CLD_DUMPED): Likewise.
23056         (CLD_TRAPPED): Likewise.
23057         (CLD_STOPPED): Likewise.
23058         (CLD_CONTINUED): Likewise.
23059         (POLL_IN): Likewise.
23060         (POLL_OUT): Likewise.
23061         (POLL_MSG): Likewise.
23062         (POLL_ERR): Likewise.
23063         (POLL_PRI): Likewise.
23064         (POLL_HUP): Likewise.
23065         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
23066         (ILL_ILLOPN): Likewise.
23067         (ILL_ILLADR): Likewise.
23068         (ILL_ILLTRP): Likewise.
23069         (ILL_PRVOPC): Likewise.
23070         (ILL_PRVREG): Likewise.
23071         (ILL_COPROC): Likewise.
23072         (ILL_BADSTK): Likewise.
23073         (FPE_INTDIV): Likewise.
23074         (FPE_INTOVF): Likewise.
23075         (FPE_FLTDIV): Likewise.
23076         (FPE_FLTOVF): Likewise.
23077         (FPE_FLTUND): Likewise.
23078         (FPE_FLTRES): Likewise.
23079         (FPE_FLTINV): Likewise.
23080         (FPE_FLTSUB): Likewise.
23081         (SEGV_MAPERR): Likewise.
23082         (SEGV_ACCERR): Likewise.
23083         (BUS_ADRALN): Likewise.
23084         (BUS_ADRERR): Likewise.
23085         (BUS_OBJERR): Likewise.
23086         (BUS_MCEERR_AR): Likewise.
23087         (BUS_MCEERR_AO): Likewise.
23088         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23089         (TRAP_TRACE): Likewise.
23090         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23091         __USE_XOPEN2K8].
23092         (CLD_KILLED): Likewise.
23093         (CLD_DUMPED): Likewise.
23094         (CLD_TRAPPED): Likewise.
23095         (CLD_STOPPED): Likewise.
23096         (CLD_CONTINUED): Likewise.
23097         (POLL_IN): Likewise.
23098         (POLL_OUT): Likewise.
23099         (POLL_MSG): Likewise.
23100         (POLL_ERR): Likewise.
23101         (POLL_PRI): Likewise.
23102         (POLL_HUP): Likewise.
23103         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
23104         (ILL_ILLOPN): Likewise.
23105         (ILL_ILLADR): Likewise.
23106         (ILL_ILLTRP): Likewise.
23107         (ILL_PRVOPC): Likewise.
23108         (ILL_PRVREG): Likewise.
23109         (ILL_COPROC): Likewise.
23110         (ILL_BADSTK): Likewise.
23111         (ILL_DBLFLT): Likewise.
23112         (ILL_HARDWALL): Likewise.
23113         (FPE_INTDIV): Likewise.
23114         (FPE_INTOVF): Likewise.
23115         (FPE_FLTDIV): Likewise.
23116         (FPE_FLTOVF): Likewise.
23117         (FPE_FLTUND): Likewise.
23118         (FPE_FLTRES): Likewise.
23119         (FPE_FLTINV): Likewise.
23120         (FPE_FLTSUB): Likewise.
23121         (SEGV_MAPERR): Likewise.
23122         (SEGV_ACCERR): Likewise.
23123         (BUS_ADRALN): Likewise.
23124         (BUS_ADRERR): Likewise.
23125         (BUS_OBJERR): Likewise.
23126         (BUS_MCEERR_AR): Likewise.
23127         (BUS_MCEERR_AO): Likewise.
23128         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23129         (TRAP_TRACE): Likewise.
23130         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23131         __USE_XOPEN2K8].
23132         (CLD_KILLED): Likewise.
23133         (CLD_DUMPED): Likewise.
23134         (CLD_TRAPPED): Likewise.
23135         (CLD_STOPPED): Likewise.
23136         (CLD_CONTINUED): Likewise.
23137         (POLL_IN): Likewise.
23138         (POLL_OUT): Likewise.
23139         (POLL_MSG): Likewise.
23140         (POLL_ERR): Likewise.
23141         (POLL_PRI): Likewise.
23142         (POLL_HUP): Likewise.
23143         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
23144         (ILL_ILLOPN): Likewise.
23145         (ILL_ILLADR): Likewise.
23146         (ILL_ILLTRP): Likewise.
23147         (ILL_PRVOPC): Likewise.
23148         (ILL_PRVREG): Likewise.
23149         (ILL_COPROC): Likewise.
23150         (ILL_BADSTK): Likewise.
23151         (FPE_INTDIV): Likewise.
23152         (FPE_INTOVF): Likewise.
23153         (FPE_FLTDIV): Likewise.
23154         (FPE_FLTOVF): Likewise.
23155         (FPE_FLTUND): Likewise.
23156         (FPE_FLTRES): Likewise.
23157         (FPE_FLTINV): Likewise.
23158         (FPE_FLTSUB): Likewise.
23159         (SEGV_MAPERR): Likewise.
23160         (SEGV_ACCERR): Likewise.
23161         (BUS_ADRALN): Likewise.
23162         (BUS_ADRERR): Likewise.
23163         (BUS_OBJERR): Likewise.
23164         (BUS_MCEERR_AR): Likewise.
23165         (BUS_MCEERR_AO): Likewise.
23166         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23167         (TRAP_TRACE): Likewise.
23168         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23169         __USE_XOPEN2K8].
23170         (CLD_KILLED): Likewise.
23171         (CLD_DUMPED): Likewise.
23172         (CLD_TRAPPED): Likewise.
23173         (CLD_STOPPED): Likewise.
23174         (CLD_CONTINUED): Likewise.
23175         (POLL_IN): Likewise.
23176         (POLL_OUT): Likewise.
23177         (POLL_MSG): Likewise.
23178         (POLL_ERR): Likewise.
23179         (POLL_PRI): Likewise.
23180         (POLL_HUP): Likewise.
23181         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
23182         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23184         [BZ #16670]
23185         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
23186         before #include of <time.h>.
23187         [!__USE_XOPEN2K] (__need_timespec): Likewise.
23188         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
23189         (test-xfail-UNIX98/sched.h/conform): Likewise.
23191 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23193         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
23194         error absence of trapping exception support.
23195         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23197 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
23199         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
23200         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
23201         * timezone/Makefile (testdata): Move definition above include of
23202         Rules.
23203         (test-zones): New variable.
23204         (tests-special): Add zone files.
23205         (build-testdata): Use $(evaluate-test).
23207         * elf/Makefile (tests-special): Rename tests to end with .out.
23208         ($(objpfx)noload-mem): Likewise.
23209         ($(objpfx)tst-leaks1-mem): Likewise.
23210         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
23211         * iconv/Makefile (xtests-special): Change test-iconvconfig to
23212         $(objpfx)test-iconvconfig.out.
23213         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
23214         set -e inside subshell and redirect output to file.
23215         * iconvdata/Makefile (generated): Rename tests to end with .out.
23216         Correct type.
23217         (tests-special): Rename tests to end with .out.
23218         ($(objpfx)mtrace-tst-loading): Likewise.
23219         * intl/Makefile (generated): Likewise.
23220         (tests-special): Likewise.
23221         ($(objpfx)mtrace-tst-gettext): Likewise.
23222         * misc/Makefile (generated): Likewise.
23223         (tests-special): Likewise.
23224         ($(objpfx)tst-error1-mem): Likewise.
23225         * nptl/Makefile (tests-special): Likewise.
23226         ($(objpfx)tst-stack3-mem): Likewise.
23227         (generated): Likewise.
23228         * posix/Makefile (generated): Likewise.
23229         (tests-special): Likewise.
23230         (xtests-special): Likewise.
23231         ($(objpfx)tst-fnmatch-mem): Likewise.
23232         ($(objpfx)bug-regex2-mem): Likewise.
23233         ($(objpfx)bug-regex14-mem): Likewise.
23234         ($(objpfx)bug-regex21-mem): Likewise.
23235         ($(objpfx)bug-regex31-mem): Likewise.
23236         ($(objpfx)tst-vfork3-mem): Likewise.
23237         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23238         ($(objpfx)tst-pcre-mem): Likewise.
23239         ($(objpfx)tst-boost-mem): Likewise.
23240         ($(objpfx)bug-ga2-mem): Likewise.
23241         ($(objpfx)bug-glob2-mem): Likewise.
23242         * resolv/Makefile (generate): Likewise.
23243         (tests-special): Likewise.
23244         (xtests-special): Likewise.
23245         (generated): Likewise.
23246         ($(objpfx)mtrace-tst-leaks): Likewise.
23247         ($(objpfx)mtrace-tst-leaks2): Likewise.
23249         * scripts/merge-test-results.sh: New file.
23250         * Makefile (tests-special-notdir): New variable.
23251         (tests): Run merge-test-results.sh.
23252         (xtests): Likewise.
23253         * Rules (tests-special-notdir): New variable.
23254         (xtests-special-notdir): Likewise.
23255         (tests): Run merge-test-results.sh
23256         (xtests): Likewise.
23258         * Makeconfig (test-xfail-name): New variable.
23259         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
23260         compute variable name for expected failures.
23261         * conform/Makefile (conformtest-headers-data): New variable.
23262         (conformtest-standards): Likewise.
23263         (conformtest-headers-ISO): Likewise.
23264         (conformtest-headers-ISO99): Likewise.
23265         (conformtest-headers-ISO11): Likewise.
23266         (conformtest-headers-POSIX): Likewise.
23267         (conformtest-headers-XPG3): Likewise.
23268         (conformtest-headers-XPG4): Likewise.
23269         (conformtest-headers-UNIX98): Likewise.
23270         (conformtest-headers-XOPEN2K): Likewise.
23271         (conformtest-headers-POSIX2008): Likewise.
23272         (conformtest-headers-XOPEN2K8): Likewise.
23273         (conformtest-header-list-base): Likewise.
23274         (conformtest-header-list-tests): Likewise.
23275         (conformtest-header-base): Likewise.
23276         (conformtest-header-tests): Likewise.
23277         (tests-special): Add $(conformtest-header-list-tests).  If
23278         [$(fast-check) && !$(cross-compiling)], add
23279         $(conformtest-header-tests) instead of
23280         $(objpfx)run-conformtest.out.
23281         (generated): Add $(conformtest-header-list-base).  If
23282         [$(fast-check) && !$(cross-compiling)], add
23283         $(conformtest-header-base).  Remove previous setting.
23284         ($(conformtest-header-list-tests)): New target.
23285         (test-xfail-run-conformtest): Remove variable.
23286         ($(objpfx)run-conformtest.out): Remove target.
23287         (test-xfail-ISO11/complex.h/conform): New variable.
23288         (test-xfail-ISO11/stdalign.h/conform): Likewise.
23289         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
23290         (test-xfail-XPG3/varargs.h/conform): Likewise.
23291         (test-xfail-XPG4/varargs.h/conform): Likewise.
23292         (test-xfail-UNIX98/varargs.h/conform): Likewise.
23293         (test-xfail-XPG4/ndbm.h/conform): Likewise.
23294         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
23295         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
23296         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
23297         (test-xfail-XPG3/fcntl.h/conform): Likewise.
23298         (test-xfail-XPG3/ftw.h/conform): Likewise.
23299         (test-xfail-XPG3/grp.h/conform): Likewise.
23300         (test-xfail-XPG3/langinfo.h/conform): Likewise.
23301         (test-xfail-XPG3/limits.h/conform): Likewise.
23302         (test-xfail-XPG3/pwd.h/conform): Likewise.
23303         (test-xfail-XPG3/search.h/conform): Likewise.
23304         (test-xfail-XPG3/signal.h/conform): Likewise.
23305         (test-xfail-XPG3/stdio.h/conform): Likewise.
23306         (test-xfail-XPG3/stdlib.h/conform): Likewise.
23307         (test-xfail-XPG3/string.h/conform): Likewise.
23308         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
23309         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
23310         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
23311         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
23312         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
23313         (test-xfail-XPG3/sys/types.h/conform): Likewise.
23314         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
23315         (test-xfail-XPG3/termios.h/conform): Likewise.
23316         (test-xfail-XPG3/time.h/conform): Likewise.
23317         (test-xfail-XPG3/unistd.h/conform): Likewise.
23318         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
23319         (test-xfail-XPG4/fcntl.h/conform): Likewise.
23320         (test-xfail-XPG4/langinfo.h/conform): Likewise.
23321         (test-xfail-XPG4/netdb.h/conform): Likewise.
23322         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
23323         (test-xfail-XPG4/signal.h/conform): Likewise.
23324         (test-xfail-XPG4/stdio.h/conform): Likewise.
23325         (test-xfail-XPG4/stdlib.h/conform): Likewise.
23326         (test-xfail-XPG4/stropts.h/conform): Likewise.
23327         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
23328         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
23329         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
23330         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
23331         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
23332         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
23333         (test-xfail-XPG4/sys/time.h/conform): Likewise.
23334         (test-xfail-XPG4/sys/types.h/conform): Likewise.
23335         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
23336         (test-xfail-XPG4/termios.h/conform): Likewise.
23337         (test-xfail-XPG4/ucontext.h/conform): Likewise.
23338         (test-xfail-XPG4/unistd.h/conform): Likewise.
23339         (test-xfail-XPG4/utmpx.h/conform): Likewise.
23340         (test-xfail-POSIX/sched.h/conform): Likewise.
23341         (test-xfail-POSIX/signal.h/conform): Likewise.
23342         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23343         (test-xfail-POSIX/tar.h/conform): Likewise.
23344         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
23345         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
23346         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
23347         (test-xfail-UNIX98/netdb.h/conform): Likewise.
23348         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
23349         (test-xfail-UNIX98/sched.h/conform): Likewise.
23350         (test-xfail-UNIX98/signal.h/conform): Likewise.
23351         (test-xfail-UNIX98/stdio.h/conform): Likewise.
23352         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
23353         (test-xfail-UNIX98/stropts.h/conform): Likewise.
23354         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
23355         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
23356         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
23357         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
23358         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
23359         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
23360         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
23361         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
23362         (test-xfail-UNIX98/unistd.h/conform): Likewise.
23363         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
23364         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
23365         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
23366         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
23367         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
23368         (test-xfail-XOPEN2K/math.h/conform): Likewise.
23369         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
23370         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
23371         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
23372         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
23373         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
23374         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
23375         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
23376         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
23377         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
23378         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
23379         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
23380         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
23381         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
23382         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
23383         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
23384         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
23385         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
23386         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
23387         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
23388         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
23389         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
23390         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
23391         (test-xfail-POSIX2008/signal.h/conform): Likewise.
23392         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
23393         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
23394         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
23395         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
23396         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
23397         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
23398         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
23399         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
23400         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
23401         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
23402         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
23403         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
23404         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
23405         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
23406         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
23407         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
23408         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
23409         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
23410         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
23411         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
23412         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23413         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
23414         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
23415         (conformtest-cc-flags): Likewise.
23416         ($(conformtest-header-tests): New target.
23417         * conform/check-header-lists.sh: New file.
23418         * conform/run-conformtest.sh: Remove.
23420         * conform/conformtest.pl: Allow ' and \ in values given for
23421         constants.
23422         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
23423         inclusion.
23424         [POSIX] (sys/types.h): Likewise.
23425         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
23426         inclusion.
23427         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
23428         inclusion.
23429         * conform/data/signal.h-data (SIGIO): Remove expectation.
23430         [XPG3] (SIGBUS): Do not expect.
23431         [POSIX || XPG3] (SIGPOLL): Likewise.
23432         [POSIX || XPG3] (SIGPROF): Likewise.
23433         [POSIX || XPG3] (SIGSYS): Likewise.
23434         [XPG3] (SIGTRAP): Likewise.
23435         [POSIX || XPG3] (SIGURG): Likewise.
23436         [POSIX || XPG3] (SIGVTALRM): Likewise.
23437         [POSIX || XPG3] (SIGXCPU): Likewise.
23438         [POSIX || XPG3] (SIGXFSZ): Likewise.
23439         [POSIX] (SA_SIGINFO): Expect.
23440         [XPG3] (siginfo_t): Do not expect type or contents.
23441         [POSIX] (si_pid): Do not expect element.
23442         [POSIX] (si_uid): Likewise.
23443         [POSIX] (si_addr): Likewise.
23444         [POSIX] (si_status): Likewise.
23445         [POSIX] (si_band): Likewise.
23446         [XPG4] (si_value): Likewise.
23447         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
23448         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
23449         [POSIX || XPG3] (ILL_ILLADR): Likewise.
23450         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
23451         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
23452         [POSIX || XPG3] (ILL_PRVREG): Likewise.
23453         [POSIX || XPG3] (ILL_COPROC): Likewise.
23454         [POSIX || XPG3] (ILL_BADSTK): Likewise.
23455         [POSIX || XPG3] (FPE_INTDIV): Likewise.
23456         [POSIX || XPG3] (FPE_INTOVF): Likewise.
23457         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
23458         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
23459         [POSIX || XPG3] (FPE_FLTUND): Likewise.
23460         [POSIX || XPG3] (FPE_FLTRES): Likewise.
23461         [POSIX || XPG3] (FPE_FLTINV): Likewise.
23462         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
23463         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
23464         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
23465         [POSIX || XPG3] (BUS_ADRALN): Likewise.
23466         [POSIX || XPG3] (BUS_ADRERR): Likewise.
23467         [POSIX || XPG3] (BUS_OBJERR): Likewise.
23468         [POSIX || XPG3] (CLD_EXITED): Likewise.
23469         [POSIX || XPG3] (CLD_KILLED): Likewise.
23470         [POSIX || XPG3] (CLD_DUMPED): Likewise.
23471         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
23472         [POSIX || XPG3] (CLD_STOPPED): Likewise.
23473         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
23474         [POSIX || XPG3] (POLL_IN): Likewise.
23475         [POSIX || XPG3] (POLL_OUT): Likewise.
23476         [POSIX || XPG3] (POLL_MSG): Likewise.
23477         [POSIX || XPG3] (POLL_ERR): Likewise.
23478         [POSIX || XPG3] (POLL_PRI): Likewise.
23479         [POSIX || XPG3] (POLL_HUP): Likewise.
23480         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
23481         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
23482         (SIG*): Do not allow.
23483         [XPG3] (si_*): Likewise.
23484         [XPG3] (SI_*): Likewise.
23485         [XPG3 || XPG4] (sigev_*): Likewise.
23486         [XPG3 || XPG4] (SIGEV_*): Likewise.
23487         [XPG3 || XPG4] (sival_*): Likewise.
23488         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
23489         [POSIX || XPG3] (BUS_*): Likewise.
23490         [POSIX || XPG3] (CLD_*): Likewise.
23491         [POSIX || XPG3] (FPE_*): Likewise.
23492         [POSIX || XPG3] (ILL_*): Likewise.
23493         [POSIX || XPG3] (POLL_*): Likewise.
23494         [POSIX || XPG3] (SEGV_*): Likewise.
23495         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
23496         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
23497         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
23498         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
23499         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
23500         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
23501         Specify type and value.
23502         (TVERSLEN): Likewise.
23503         (REGTYPE): Likewise.
23504         (AREGTYPE): Likewise.
23505         (LNKTYPE): Likewise.
23506         (SYMTYPE): Likewise.
23507         (CHRTYPE): Likewise.
23508         (BLKTYPE): Likewise.
23509         (DIRTYPE): Likewise.
23510         (FIFOTYPE): Likewise.
23511         (CONTTYPE): Likewise.
23512         (TSUID): Likewise.
23513         (TSGID): Likewise.
23514         (TSVTX): Likewise.
23515         (TUREAD): Likewise.
23516         (TUWRITE): Likewise.
23517         (TUEXEC): Likewise.
23518         (TGREAD): Likewise.
23519         (TGWRITE): Likewise.
23520         (TGEXEC): Likewise.
23521         (TOREAD): Likewise.
23522         (TOWRITE): Likewise.
23523         (TOEXEC): Likewise.
23524         [POSIX] (TSVTX): Expect constant.
23526 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
23528         * Makefile (tests): Change dependencies to ....
23529         (tests-special): ... additions to this variable.
23530         (tests): Depend on $(tests-special).
23531         * Makerules (check-abi-list): New variable.
23532         (check-abi): Depend on $(check-abi-list).
23533         [$(subdir) = elf] (tests-special): Add
23534         $(objpfx)check-abi-libc.out.
23535         [$(build-shared) = yes && subdir] (tests-special): Add
23536         $(check-abi-list).
23537         [$(build-shared) = yes && subdir] (tests): Do not depend on
23538         check-abi.
23539         * Rules (tests): Depend on $(tests-special).
23540         (xtests): Depend on $(xtests-special).
23541         * catgets/Makefile (tests): Change dependencies to ....
23542         (tests-special): ... additions to this variable.
23543         * conform/Makefile (tests): Change dependencies to ....
23544         (tests-special): ... additions to this variable.
23545         * elf/Makefile (tests): Change dependencies to ....
23546         (tests-special): ... additions to this variable.
23547         * grp/Makefile (tests): Change dependencies to ....
23548         (tests-special): ... additions to this variable.
23549         * iconv/Makefile (xtests): Change dependencies to ....
23550         (xtests-special): ... additions to this variable.
23551         * iconvdata/Makefile (tests): Change dependencies to ....
23552         (tests-special): ... additions to this variable.
23553         * intl/Makefile (tests): Change dependencies to ....
23554         (tests-special): ... additions to this variable.  Also add
23555         $(objpfx)tst-gettext.out.
23556         * io/Makefile (tests): Change dependencies to ....
23557         (tests-special): ... additions to this variable.
23558         * libio/Makefile (tests): Change dependencies to ....
23559         (tests-special): ... additions to this variable.
23560         * malloc/Makefile (tests): Change dependencies to ....
23561         (tests-special): ... additions to this variable.
23562         * misc/Makefile (tests): Change dependencies to ....
23563         (tests-special): ... additions to this variable.
23564         * nptl/Makefile (tests): Change dependencies to ....
23565         (tests-special): ... additions to this variable.
23566         * nptl_db/Makefile (tests): Change dependencies to ....
23567         (tests-special): ... additions to this variable.
23568         * posix/Makefile (tests): Change dependencies to ....
23569         (tests-special): ... additions to this variable.
23570         (xtests): Change dependencies to ....
23571         (xtests-special): ... additions to this variable.
23572         * resolv/Makefile (tests): Change dependencies to ....
23573         (tests-special): ... additions to this variable.
23574         (xtests): Change dependencies to ....
23575         (xtests-special): ... additions to this variable.
23576         * stdio-common/Makefile (tests): Change dependencies to ....
23577         (tests-special): ... additions to this variable.
23578         (do-tst-unbputc): Remove target.
23579         (do-tst-printf): Likewise.
23580         * stdlib/Makefile (tests): Change dependencies to ....
23581         (tests-special): ... additions to this variable.
23582         * string/Makefile (tests): Change dependencies to ....
23583         (tests-special): ... additions to this variable.
23584         * sysdeps/x86/Makefile (tests): Change dependencies to ....
23585         (tests-special): ... additions to this variable.
23587         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
23588         whole file.
23589         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
23590         whole file.
23591         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
23592         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
23594         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
23595         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
23596         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
23597         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
23598         * conform/data/libgen.h-data [XPG3]: Likewise.
23599         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
23600         * conform/data/ndbm.h-data [XPG3]: Likewise.
23601         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23602         * conform/data/netdb.h-data [XPG3]: Likewise.
23603         * conform/data/netinet/in.h-data [XPG3]: Likewise.
23604         * conform/data/poll.h-data [XPG3]: Likewise.
23605         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23606         * conform/data/strings.h-data [XPG3]: Likewise.
23607         * conform/data/stropts.h-data [XPG3]: Likewise.
23608         * conform/data/sys/mman.h-data [XPG3]: Likewise.
23609         * conform/data/sys/resource.h-data [XPG3]: Likewise.
23610         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
23611         Likewise.
23612         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
23613         * conform/data/sys/time.h-data [XPG3]: Likewise.
23614         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
23615         * conform/data/sys/uio.h-data [XPG3]: Likewise.
23616         * conform/data/sys/un.h-data [XPG3]: Likewise.
23617         * conform/data/syslog.h-data [XPG3]: Likewise.
23618         * conform/data/ucontext.h-data [XPG3]: Likewise.
23619         * conform/data/utmpx.h-data [XPG3]: Likewise.
23620         * conform/data/varargs.h-data [UNIX98]: Enable file.
23622         * manual/Makefile (INSTALL_INFO): Remove variable setting.
23624         * math/libm-test.inc (struct test_f_f_data): Move expected results
23625         into structure for each rounding mode.
23626         (struct test_ff_f_data): Likewise.
23627         (struct test_ff_f_data_nexttoward): Likewise.
23628         (struct test_fi_f_data): Likewise.
23629         (struct test_fl_f_data): Likewise.
23630         (struct test_if_f_data): Likewise.
23631         (struct test_fff_f_data): Likewise.
23632         (struct test_c_f_data): Likewise.
23633         (struct test_f_f1_data): Likewise.
23634         (struct test_fF_f1_data): Likewise.
23635         (struct test_ffI_f1_data): Likewise.
23636         (struct test_c_c_data): Likewise.
23637         (struct test_cc_c_data): Likewise.
23638         (struct test_f_i_data): Likewise.
23639         (struct test_ff_i_data): Likewise.
23640         (struct test_f_l_data): Likewise.
23641         (struct test_f_L_data): Likewise.
23642         (struct test_fFF_11_data): Likewise.
23643         (RM_): New macro.
23644         (RM_FE_DOWNWARD): Likewise.
23645         (RM_FE_TONEAREST): Likewise.
23646         (RM_FE_TOWARDZERO): Likewise.
23647         (RM_FE_UPWARD): Likewise.
23648         (RUN_TEST_LOOP_f_f): Update references to expected results.
23649         (RUN_TEST_LOOP_2_f): Likewise.
23650         (RUN_TEST_LOOP_fff_f): Likewise.
23651         (RUN_TEST_LOOP_c_f): Likewise.
23652         (RUN_TEST_LOOP_f_f1): Likewise.
23653         (RUN_TEST_LOOP_fF_f1): Likewise.
23654         (RUN_TEST_LOOP_fI_f1): Likewise.
23655         (RUN_TEST_LOOP_ffI_f1): Likewise.
23656         (RUN_TEST_LOOP_c_c): Likewise.
23657         (RUN_TEST_LOOP_cc_c): Likewise.
23658         (RUN_TEST_LOOP_f_i): Likewise.
23659         (RUN_TEST_LOOP_f_i_tg): Likewise.
23660         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23661         (RUN_TEST_LOOP_f_b): Likewise.
23662         (RUN_TEST_LOOP_f_b_tg): Likewise.
23663         (RUN_TEST_LOOP_f_l): Likewise.
23664         (RUN_TEST_LOOP_f_L): Likewise.
23665         (RUN_TEST_LOOP_fFF_11): Likewise.
23666         * math/gen-libm-test.pl (parse_args): Output four copies of
23667         expected results for each test.
23669         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23670         (__ASSUME_UTIMES): Remove.
23671         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23672         (__ASSUME_UTIMES): Likewise.
23674         * math/gen-auto-libm-tests.c: Update comment on output format.
23675         (output_for_one_input_case): Generate before-rounding and
23676         after-rounding information as conditions on output flags not
23677         floating-point format.
23678         * math/auto-libm-test-out: Regenerated.
23679         * math/gen-libm-test.pl (cond_value): New function.
23680         (or_cond_value): Use cond_value.
23681         (generate_testfile): Handle conditional exceptions.
23683 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
23685         * math/libm-test.inc (max_valid_error): New variable.
23686         (init_max_error): Take new argument specifying whether function
23687         results are exactly determined.  Set max_valid_error and bound
23688         other variables for errors based on this argument.
23689         (set_max_error): Do not record results above max_valid_error.
23690         (check_float_internal): Only accept errors of up to 0.5ulps if
23691         also at most max_valid_error.
23692         (START): Take new argument EXACT and pass it to init_max_error.
23693         (acos_test): Update call to START.
23694         (acos_test_tonearest): Likewise.
23695         (acos_test_towardzero): Likewise.
23696         (acos_test_downward): Likewise.
23697         (acos_test_upward): Likewise.
23698         (acosh_test): Likewise.
23699         (asin_test): Likewise.
23700         (asin_test_tonearest): Likewise.
23701         (asin_test_towardzero): Likewise.
23702         (asin_test_downward): Likewise.
23703         (asin_test_upward): Likewise.
23704         (asinh_test): Likewise.
23705         (atan_test): Likewise.
23706         (atanh_test): Likewise.
23707         (atan2_test): Likewise.
23708         (cabs_test): Likewise.
23709         (cacos_test): Likewise.
23710         (cacosh_test): Likewise.
23711         (carg_test): Likewise.
23712         (casin_test): Likewise.
23713         (casinh_test): Likewise.
23714         (catan_test): Likewise.
23715         (catanh_test): Likewise.
23716         (cbrt_test): Likewise.
23717         (ccos_test): Likewise.
23718         (ccosh_test): Likewise.
23719         (ceil_test): Likewise.
23720         (cexp_test): Likewise.
23721         (cimag_test): Likewise.
23722         (clog_test): Likewise.
23723         (clog10_test): Likewise.
23724         (conj_test): Likewise.
23725         (copysign_test): Likewise.
23726         (cos_test): Likewise.
23727         (cos_test_tonearest): Likewise.
23728         (cos_test_towardzero): Likewise.
23729         (cos_test_downward): Likewise.
23730         (cos_test_upward): Likewise.
23731         (cosh_test): Likewise.
23732         (cosh_test_tonearest): Likewise.
23733         (cosh_test_towardzero): Likewise.
23734         (cosh_test_downward): Likewise.
23735         (cosh_test_upward): Likewise.
23736         (cpow_test): Likewise.
23737         (cproj_test): Likewise.
23738         (creal_test): Likewise.
23739         (csin_test): Likewise.
23740         (csinh_test): Likewise.
23741         (csqrt_test): Likewise.
23742         (ctan_test): Likewise.
23743         (ctan_test_tonearest): Likewise.
23744         (ctan_test_towardzero): Likewise.
23745         (ctan_test_downward): Likewise.
23746         (ctan_test_upward): Likewise.
23747         (ctanh_test): Likewise.
23748         (ctanh_test_tonearest): Likewise.
23749         (ctanh_test_towardzero): Likewise.
23750         (ctanh_test_downward): Likewise.
23751         (ctanh_test_upward): Likewise.
23752         (erf_test): Likewise.
23753         (erfc_test): Likewise.
23754         (exp_test): Likewise.
23755         (exp_test_tonearest): Likewise.
23756         (exp_test_towardzero): Likewise.
23757         (exp_test_downward): Likewise.
23758         (exp_test_upward): Likewise.
23759         (exp10_test): Likewise.
23760         (exp10_test_tonearest): Likewise.
23761         (exp10_test_towardzero): Likewise.
23762         (exp10_test_downward): Likewise.
23763         (exp10_test_upward): Likewise.
23764         (pow10_test): Likewise.
23765         (exp2_test): Likewise.
23766         (expm1_test): Likewise.
23767         (expm1_test_tonearest): Likewise.
23768         (expm1_test_towardzero): Likewise.
23769         (expm1_test_downward): Likewise.
23770         (expm1_test_upward): Likewise.
23771         (fabs_test): Likewise.
23772         (fdim_test): Likewise.
23773         (floor_test): Likewise.
23774         (fma_test): Likewise.
23775         (fma_test_towardzero): Likewise.
23776         (fma_test_downward): Likewise.
23777         (fma_test_upward): Likewise.
23778         (fmax_test): Likewise.
23779         (fmin_test): Likewise.
23780         (fmod_test): Likewise.
23781         (fpclassify_test): Likewise.
23782         (frexp_test): Likewise.
23783         (hypot_test): Likewise.
23784         (ilogb_test): Likewise.
23785         (isfinite_test): Likewise.
23786         (finite_test): Likewise.
23787         (isgreater_test): Likewise.
23788         (isgreaterequal_test): Likewise.
23789         (isinf_test): Likewise.
23790         (isless_test): Likewise.
23791         (islessequal_test): Likewise.
23792         (islessgreater_test): Likewise.
23793         (isnan_test): Likewise.
23794         (isnormal_test): Likewise.
23795         (issignaling_test): Likewise.
23796         (isunordered_test): Likewise.
23797         (j0_test): Likewise.
23798         (j1_test): Likewise.
23799         (jn_test): Likewise.
23800         (ldexp_test): Likewise.
23801         (lgamma_test): Likewise.
23802         (gamma_test): Likewise.
23803         (lrint_test): Likewise.
23804         (lrint_test_tonearest): Likewise.
23805         (lrint_test_towardzero): Likewise.
23806         (lrint_test_downward): Likewise.
23807         (lrint_test_upward): Likewise.
23808         (llrint_test): Likewise.
23809         (llrint_test_tonearest): Likewise.
23810         (llrint_test_towardzero): Likewise.
23811         (llrint_test_downward): Likewise.
23812         (llrint_test_upward): Likewise.
23813         (log_test): Likewise.
23814         (log10_test): Likewise.
23815         (log1p_test): Likewise.
23816         (log2_test): Likewise.
23817         (logb_test): Likewise.
23818         (logb_test_downward): Likewise.
23819         (lround_test): Likewise.
23820         (llround_test): Likewise.
23821         (modf_test): Likewise.
23822         (nearbyint_test): Likewise.
23823         (nextafter_test): Likewise.
23824         (nexttoward_test): Likewise.
23825         (pow_test): Likewise.
23826         (pow_test_tonearest): Likewise.
23827         (pow_test_towardzero): Likewise.
23828         (pow_test_downward): Likewise.
23829         (pow_test_upward): Likewise.
23830         (remainder_test): Likewise.
23831         (drem_test): Likewise.
23832         (remainder_test_tonearest): Likewise.
23833         (drem_test_tonearest): Likewise.
23834         (remainder_test_towardzero): Likewise.
23835         (drem_test_towardzero): Likewise.
23836         (remainder_test_downward): Likewise.
23837         (drem_test_downward): Likewise.
23838         (remainder_test_upward): Likewise.
23839         (drem_test_upward): Likewise.
23840         (remquo_test): Likewise.
23841         (rint_test): Likewise.
23842         (rint_test_tonearest): Likewise.
23843         (rint_test_towardzero): Likewise.
23844         (rint_test_downward): Likewise.
23845         (rint_test_upward): Likewise.
23846         (round_test): Likewise.
23847         (scalb_test): Likewise.
23848         (scalbn_test): Likewise.
23849         (scalbln_test): Likewise.
23850         (signbit_test): Likewise.
23851         (sin_test): Likewise.
23852         (sin_test_tonearest): Likewise.
23853         (sin_test_towardzero): Likewise.
23854         (sin_test_downward): Likewise.
23855         (sin_test_upward): Likewise.
23856         (sincos_test): Likewise.
23857         (sinh_test): Likewise.
23858         (sinh_test_tonearest): Likewise.
23859         (sinh_test_towardzero): Likewise.
23860         (sinh_test_downward): Likewise.
23861         (sinh_test_upward): Likewise.
23862         (sqrt_test): Likewise.
23863         (sqrt_test_tonearest): Likewise.
23864         (sqrt_test_towardzero): Likewise.
23865         (sqrt_test_downward): Likewise.
23866         (sqrt_test_upward): Likewise.
23867         (tan_test): Likewise.
23868         (tan_test_tonearest): Likewise.
23869         (tan_test_towardzero): Likewise.
23870         (tan_test_downward): Likewise.
23871         (tan_test_upward): Likewise.
23872         (tanh_test): Likewise.
23873         (tgamma_test): Likewise.
23874         (trunc_test): Likewise.
23875         (y0_test): Likewise.
23876         (y1_test): Likewise.
23877         (yn_test): Likewise.
23878         (significand_test): Likewise.
23880         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
23881         individual tests in comment.
23882         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
23883         (prev_max_error): New variable.
23884         (prev_real_max_error): Likewise.
23885         (prev_imag_max_error): Likewise.
23886         (compare_ulp_data): Don't refer to test names in comment.
23887         (find_test_ulps): Remove function.
23888         (find_function_ulps): Likewise.
23889         (find_complex_function_ulps): Likewise.
23890         (init_max_error): Take function name as argument.  Look up ulps
23891         for that function.
23892         (print_ulps): Remove function.
23893         (print_max_error): Use prev_max_error instead of calling
23894         find_function_ulps.
23895         (print_complex_max_error): Use prev_real_max_error and
23896         prev_imag_max_error instead of calling find_complex_function_ulps.
23897         (check_float_internal): Take max_ulp parameter instead of calling
23898         find_test_ulps.  Don't call print_ulps.
23899         (check_float): Update call to check_float_internal.
23900         (check_complex): Update calls to check_float_internal.
23901         (START): Pass argument to init_max_error.
23902         * math/gen-libm-test.pl (%results): Don't include "kind"
23903         information.
23904         (parse_ulps): Don't handle ulps of individual tests.
23905         (print_ulps_file): Likewise.
23906         (output_ulps): Likewise.
23907         * math/README.libm-test: Update.
23908         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
23909         individual tests.
23910         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
23911         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
23912         * sysdeps/arm/libm-test-ulps: Likewise.
23913         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23914         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
23915         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
23916         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
23917         * sysdeps/microblaze/libm-test-ulps: Likewise.
23918         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23919         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23920         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23921         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23922         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23923         * sysdeps/sh/libm-test-ulps: Likewise.
23924         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23925         * sysdeps/tile/libm-test-ulps: Likewise.
23926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23928 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
23930         * math/libm-test.inc (print_complex_max_error): Check separately
23931         whether real and imaginary errors are within allowed range and
23932         pass 0 to print_complex_function_ulps instead of value within
23933         allowed range.
23935 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23937         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
23938         formatting.
23939         (get_handles_fopen): Likewise.
23940         (do_write_test): Likewise.
23942         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
23944         * libio/fileops.c (do_ftell): Use cached offset when
23945         available.
23946         * libio/iofwide.c (do_ftell_wide): Likewise.
23947         * libio/iofdopen.c (_IO_new_fdopen): Don't use
23948         _IO_file_attach.
23949         * libio/wfileops.c (_IO_fwide): Don't cache offset.
23951         [BZ #16532]
23952         * libio/libioP.h (get_file_offset): New function.
23953         * libio/fileops.c (get_file_offset): Likewise.
23954         (do_ftell): Likewise.
23955         (_IO_new_file_seekoff): Split out ftell logic.
23956         * libio/wfileops.c (do_ftell_wide): Likewise.
23957         (_IO_wfile_seekoff): Split out ftell logic.
23958         * libio/tst-ftell-active-handler.c: New test case.
23959         * libio/Makefile (tests): Add it.
23961 2014-03-03  Roland McGrath  <roland@hack.frob.com>
23963         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
23964         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
23966 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23968         [BZ #16639]
23969         * nscd/connections.c (nscd_init): Call do_exit.
23970         (start_threads): Call do_exit and notify_parent.
23971         (begin_drop_privileges): Call do_exit.
23972         (finish_drop_privileges): Likewise.
23973         * nscd/selinux.c (preserve_capabilities): Likewise.
23974         (install_real_capabilities): Likewise.
23975         (nscd_selinux_enabled): Likewise.
23976         (avc_create_thread): Likewise.
23977         (avc_alloc_lock): Likewise.
23978         (nscd_avc_init): Likewise.
23979         * nscd/nscd.c (parent_fd): New static variable.
23980         (main): Create a pipe between parent and child processes.
23981         Skip closing parent_fd.
23982         (monitor_child): New function.
23983         (do_exit): Likewise.
23984         (notify_parent): Likewise.
23985         * nscd/nscd.h (notify_parent): Likewise.
23986         (do_exit): Likewise.
23988 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
23990         * malloc/malloc.c (__libc_calloc): Revert last change.
23992 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23994         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23996 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23998         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
23999         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
24000         implementation.
24001         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24002         (__libc_ifunc_impl_list): Likewise.
24003         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
24004         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
24005         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
24006         * string/strrchr.c: Define STRRCHR.
24008 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
24010         * benchtest/bench-strtok.c (simple_strtok): Delete.
24011         (strtok_string): Use as benchmark.
24012         * string/strtok (STRTOK): New macro.
24014 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
24016         * manual/threads.texi: Add header and standard comments to all
24017         functions.
24019         * elf/dl-lookup.c (check_match): New function.
24020         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
24021         (do_lookup_x): Remove nested function check_match. Use non-nested
24022         function check_match.
24024 2014-02-28  Roland McGrath  <roland@hack.frob.com>
24026         * csu/Makefile (generated, before-compile): Use += rather than =.
24027         * catgets/Makefile (generated, generated-dirs): Likewise.
24028         * debug/Makefile (generated): Likewise.
24029         * dlfcn/Makefile (generated): Likewise.
24030         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
24031         * iconvdata/Makefile (before-compile, generated): Likewise.
24032         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
24033         * libio/Makefile (generated): Likewise.
24034         * malloc/Makefile (generated): Likewise.
24035         * manual/Makefile (generated, generated-dirs): Likewise.
24036         * misc/Makefile (generated): Likewise.
24037         * posix/Makefile (generated): Likewise.
24038         * resolv/Makefile (generated): Likewise.
24039         * sunrpc/Makefile (generated, generated-dirs): Likewise.
24040         * timezone/Makefile (generated, generated-dirs): Likewise.
24042         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
24044 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24046         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24047         power8 implementation.
24048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
24049         file: POWER8 llround ifunc implementation.
24050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
24051         (__lllround): Add POWER8 implementation.
24052         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
24053         POWER8 llround implementation.
24055         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
24056         power8 implementation.
24057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
24058         file: POWER8 llrint ifunc implementation.
24059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
24060         Add POWER8 implementation.
24061         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
24062         POWER8 llrint implementation.
24064         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
24065         power8 implementation.
24066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
24067         file: POWER8 finite ifunc implementation.
24068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
24069         Add POWER8 implementation.
24070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
24071         Likewise.
24072         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
24073         POWER8 finite implementation.
24074         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
24076         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
24077         power8 implementation.
24078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
24079         file: POWER8 isinf ifunc implementation.
24080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
24081         POWER8 implementation.
24082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
24083         Likewise.
24084         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
24085         isinf implementation.
24086         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
24088         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24089         (INIT_ARCH): Add hwcap2 initialization.
24090         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24091         power8 implementation.
24092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
24093         file: POWER8 isnan ifunc implementation.
24094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
24095         POWER8 implementation.
24096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
24097         Likewise.
24098         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
24099         isnan implementation.
24100         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
24102 2014-02-27  Joey Ye  <joey.ye@arm.com>
24104         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
24105         (_FP_NANFRAC_Q): Set to zero.
24107 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24109         [BZ #16623]
24110         * math/auto-libm-test-in: New test inputs.
24111         * math/auto-libm-test-out: Regenerate.
24112         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
24113         and DA.
24114         (__cos): Likewise.
24115         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24117 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
24119         * scripts/evaluate-test.sh: Take new argument indicating whether
24120         failure is expected.
24121         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
24122         indicating whether failure is expected.
24123         * conform/Makefile (test-xfail-run-conformtest): New variable.
24124         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
24125         level.
24126         * posix/Makefile (test-xfail-annexc): New variable.
24127         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
24129 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
24131         * argp/Makefile: Include Makeconfig immediately after defining
24132         subdir.
24133         * assert/Makefile: Likewise.
24134         * benchtests/Makefile: Likewise.
24135         * catgets/Makefile: Likewise.
24136         * conform/Makefile: Likewise.
24137         * crypt/Makefile: Likewise.
24138         * csu/Makefile: Likewise.
24139         (all): Remove target.
24140         * ctype/Makefile: Include Makeconfig immediately after defining
24141         subdir.
24142         * debug/Makefile: Likewise.
24143         * dirent/Makefile: Likewise.
24144         * dlfcn/Makefile: Likewise.
24145         * gmon/Makefile: Likewise.
24146         * gnulib/Makefile: Likewise.
24147         * grp/Makefile: Likewise.
24148         * gshadow/Makefile: Likewise.
24149         * hesiod/Makefile: Likewise.
24150         * hurd/Makefile: Likewise.
24151         (all): Remove target.
24152         * iconvdata/Makefile: Include Makeconfig immediately after
24153         defining subdir.
24154         * inet/Makefile: Likewise.
24155         * intl/Makefile: Likewise.
24156         * io/Makefile: Likewise.
24157         * libio/Makefile: Likewise.
24158         (all): Remove target.
24159         * locale/Makefile: Include Makeconfig immediately after defining
24160         subdir.
24161         * login/Makefile: Likewise.
24162         * mach/Makefile: Likewise.
24163         (all): Remove target.
24164         * malloc/Makefile: Include Makeconfig immediately after defining
24165         subdir.
24166         (all): Remove target.
24167         * manual/Makefile: Include Makeconfig immediately after defining
24168         subdir.
24169         * math/Makefile: Likewise.
24170         * misc/Makefile: Likewise.
24171         * nis/Makefile: Likewise.
24172         * nss/Makefile: Likewise.
24173         * po/Makefile: Likewise.
24174         (all): Remove target.
24175         * posix/Makefile: Include Makeconfig immediately after defining
24176         subdir.
24177         * pwd/Makefile: Likewise.
24178         * resolv/Makefile: Likewise.
24179         * resource/Makefile: Likewise.
24180         * rt/Makefile: Likewise.
24181         * setjmp/Makefile: Likewise.
24182         * shadow/Makefile: Likewise.
24183         * signal/Makefile: Likewise.
24184         * socket/Makefile: Likewise.
24185         * soft-fp/Makefile: Likewise.
24186         * stdio-common/Makefile: Likewise.
24187         * stdlib/Makefile: Likewise.
24188         * streams/Makefile: Likewise.
24189         * string/Makefile: Likewise.
24190         * sunrpc/Makefile: Likewise.
24191         (all): Remove target.
24192         * sysvipc/Makefile: Include Makeconfig immediately after defining
24193         subdir.
24194         * termios/Makefile: Likewise.
24195         * time/Makefile: Likewise.
24196         * timezone/Makefile: Likewise.
24197         (all): Remove target.
24198         * wcsmbs/Makefile: Include Makeconfig immediately after defining
24199         subdir.
24200         * wctype/Makefile: Likewise.
24202 2014-02-26  Steve Ellcey  <sellcey@mips.com>
24204         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
24205         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
24206         (libc_feholdexcept_setround_mips): Ditto.
24207         (libc_feholdsetround): New.
24208         (libc_feholdsetroundf): New.
24209         (libc_feholdsetroundl): New.
24210         (libc_feupdateenv_test_mips): New.
24211         (libc_feupdateenv_test): New.
24212         (libc_feupdateenv_testf): New.
24213         (libc_feupdateenv_testl): New.
24214         (libc_feresetround): New.
24215         (libc_feresetroundf): New.
24216         (libc_feresetroundl): New.
24217         (libc_fetestexcept_mips): New.
24218         (libc_fetestexcept): New.
24219         (libc_fetestexceptf): New.
24220         (libc_fetestexceptl): New.
24221         (HAVE_RM_CTX): New.
24222         (libc_feholdexcept_setround_mips_ctx): New.
24223         (libc_feholdexcept_setround_ctx): New.
24224         (libc_feholdexcept_setroundf_ctx): New.
24225         (libc_feholdexcept_setroundl_ctx): New.
24226         (libc_fesetenv_mips_ctx): New.
24227         (libc_fesetenv_ctx): New.
24228         (libc_fesetenv_ctxf): New.
24229         (libc_fesetenv_ctxl): New.
24230         (libc_feupdateenv_mips_ctx): New.
24231         (libc_feupdateenv_ctx): New.
24232         (libc_feupdateenvf_ctx): New.
24233         (libc_feupdateenvl_ctx): New.
24234         (libc_feholdsetround_mips_ctx): New.
24235         (libc_feholdsetround_ctx): New.
24236         (libc_feholdsetroundf_ctx): New.
24237         (libc_feholdsetroundl_ctx): New.
24238         (libc_feresetround_mips_ctx): New.
24239         (libc_feresetround_ctx): New.
24240         (libc_feresetroundf_ctx): New.
24241         (libc_feresetroundl_ctx): New.
24243 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
24245         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
24247         * manual/ipc.texi: New file.
24248         * manual/Makefile (chapters): Add ipc.
24249         * manual/job.texi: Add "Inter-Process Communication" to next.
24250         * manual/process.texi: Add "Inter-Process Communication" to prev.
24252 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24256 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
24258         * malloc/malloc.c (__libc_calloc): Simplify implementation.
24260         * manual/arith.texi: Fix spaces after sentences.
24261         * manual/charset.texi: Likewise.
24262         * manual/errno.texi: Likewise.
24263         * manual/install.texi: Likewise.
24264         * manual/llio.texi: Likewise.
24265         * manual/locale.texi: Likewise.
24266         * manual/maint.texi: Likewise.
24267         * manual/math.texi: Likewise.
24268         * manual/memory.texi: Likewise.
24269         * manual/message.texi: Likewise.
24270         * manual/probes.texi: Likewise.
24271         * manual/resource.texi: Likewise.
24272         * manual/signal.texi: Likewise.
24273         * manual/socket.texi: Likewise.
24274         * manual/stdio.texi: Likewise.
24275         * manual/string.texi: Likewise.
24276         * manual/time.texi: Likewise.
24277         * manual/users.texi: Likewise.
24279 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
24281         [BZ #16632]
24282         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
24283         _DEFAULT_SOURCE is defined.
24285 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
24286             Carlos O'Donell  <carlos@redhat.com>
24288         [BZ #16613]
24289         * elf/dl-tls.c (_dl_count_modids): New function.
24290         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
24291         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
24292         audit library and increment generation counter.
24293         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
24294         * elf/tst-audit9.c: New file.
24295         * elf/tst-auditmod9a.c: New file.
24296         * elf/tst-auditmod9b.c: New file.
24297         * elf/Makefile: Add rules to build and run tst-audit9.
24299 2014-02-25  Florian Weimer  <fweimer@redhat.com>
24301         [BZ #15347]
24302         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
24304 2014-02-25  Will Newton  <will.newton@linaro.org>
24306         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
24307         (__longjmp): Restore sp and lr before restoring callee
24308         saved registers.  Add longjmp and longjmp_target
24309         SystemTap probe point.
24310         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
24311         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
24312         Define to zero to match jmpbuf layout.
24313         * sysdeps/arm/setjmp.S: Include stap-probe.h.
24314         (__sigsetjmp): Save sp and lr before saving callee
24315         saved registers.  Add setjmp SystemTap probe point.
24317 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24319         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24321 2014-02-24  Andreas Schwab  <schwab@suse.de>
24323         [BZ #15804]
24324         * elf/pldd.c (wait_for_ptrace_stop): New function.
24325         (main): Call it after attaching.
24327 2014-02-22  Roland McGrath  <roland@hack.frob.com>
24329         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
24330         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
24331         Versions files is now verboten.
24332         * hurd/Versions (libc: GLIBC_2.0):
24333         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
24334         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
24335         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
24336         * mach/Versions: Likewise.
24338         * csu/Versions: Remove unused %include.
24339         * resolv/Versions: Likewise.
24341 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
24343         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
24344         ($(objpfx)check-local-headers.out): Likewise.
24345         ($(objpfx)begin-end-check.out): Likewise.
24346         * Makerules (check-abi-%.out): Likewise.
24347         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
24348         ($(objpfx)test2.cat): Likewise.
24349         ($(objpfx)de/libc.cat): Likewise.
24350         ($(objpfx)test-gencat.out): Likewise.
24351         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
24352         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
24353         ($(objpfx)noload-mem): Likewise.
24354         ($(objpfx)tst-pathopt.out): Likewise.
24355         ($(objpfx)tst-rtld-load-self.out): Likewise.
24356         ($(objpfx)tst-array1-cmp.out): Likewise.
24357         ($(objpfx)tst-array1-static-cmp.out): Likewise.
24358         ($(objpfx)tst-array2-cmp.out): Likewise.
24359         ($(objpfx)tst-array3-cmp.out): Likewise.
24360         ($(objpfx)tst-array4-cmp.out): Likewise.
24361         ($(objpfx)tst-array5-cmp.out): Likewise.
24362         ($(objpfx)tst-array5-static-cmp.out): Likewise.
24363         ($(objpfx)check-textrel.out): Likewise.
24364         ($(objpfx)check-execstack.out): Likewise.
24365         ($(objpfx)check-localplt.out): Likewise.
24366         ($(objpfx)order2-cmp.out): Likewise.
24367         ($(objpfx)tst-leaks1-mem): Likewise.
24368         ($(objpfx)tst-leaks1-static-mem): Likewise.
24369         ($(objpfx)tst-initorder-cmp.out): Likewise.
24370         ($(objpfx)tst-initorder2-cmp.out): Likewise.
24371         ($(objpfx)tst-unused-dep.out): Likewise.
24372         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
24373         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
24374         * iconv/Makefile (test-iconvconfig): Likewise.
24375         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
24376         ($(objpfx)iconv-test.out): Likewise.
24377         ($(objpfx)tst-tables.out): Likewise.
24378         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
24379         ($(objpfx)tst-gettext.out): Likewise.
24380         ($(objpfx)tst-translit.out): Likewise.
24381         ($(objpfx)tst-gettext2.out): Likewise.
24382         ($(objpfx)tst-gettext4.out): Likewise.
24383         ($(objpfx)tst-gettext6.out): Likewise.
24384         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
24385         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
24386         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
24387         ($(objpfx)tst-fopenloc-mem.out): Likewise.
24388         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
24389         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
24390         * posix/Makefile ($(objpfx)globtest.out): Likewise.
24391         ($(objpfx)wordexp-tst.out): Likewise.
24392         ($(objpfx)annexc.out): Likewise.
24393         ($(objpfx)tst-fnmatch-mem): Likewise.
24394         ($(objpfx)bug-regex2-mem): Likewise.
24395         ($(objpfx)bug-regex14-mem): Likewise.
24396         ($(objpfx)bug-regex21-mem): Likewise.
24397         ($(objpfx)bug-regex31-mem): Likewise.
24398         ($(objpfx)tst-vfork3-mem): Likewise.
24399         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24400         ($(objpfx)tst-pcre-mem): Likewise.
24401         ($(objpfx)tst-boost-mem): Likewise.
24402         ($(objpfx)tst-getconf.out): Likewise.
24403         ($(objpfx)bug-ga2-mem): Likewise.
24404         ($(objpfx)bug-glob2-mem): Likewise.
24405         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
24406         ($(objpfx)mtrace-tst-leaks2): Likewise.
24407         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
24408         ($(objpfx)tst-printf.out): Likewise.
24409         ($(objpfx)tst-setvbuf1.out): Likewise.
24410         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
24411         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
24412         ($(objpfx)tst-fmtmsg.out): Likewise.
24413         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
24414         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
24416         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
24417         * bits/sigaction.h [__USE_MISC]: Likewise.
24418         * bits/waitstatus.h: Update #endif comments.
24419         * ctype/ctype.h: Likewise.
24420         * dirent/dirent.h: Likewise.
24421         [__USE_MISC]: Remove redundant conditionals.
24422         * grp/grp.h: Update #endif comments.
24423         [__USE_GNU]: Remove redundant conditionals.
24424         [__USE_MISC]: Likewise.
24425         * inet/netinet/in.h [__USE_GNU]: Likewise.
24426         * io/sys/stat.h [__USE_MISC]: Likewise.
24427         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
24428         * libio/bits/stdio.h: Update #endif comments.
24429         [__USE_MISC]: Remove redundant conditionals.
24430         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
24431         * libio/stdio.h: Update #endif comments.
24432         [__USE_MISC]: Remove redundant conditionals.
24433         * math/bits/math-finite.h [__USE_MISC]: Likewise.
24434         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
24435         * math/math.h: Update #else and #endif comments.
24436         [__USE_MISC]: Remove redundant conditionals.
24437         * misc/sys/uio.h: Update #endif comments.
24438         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
24439         * posix/glob.h [__USE_MISC]: Likewise.
24440         * posix/sys/types.h: Update #endif comments.
24441         [__USE_MISC]: Remove redundant conditionals.
24442         * posix/sys/wait.h: Update #endif comments.
24443         [__USE_MISC]: Remove redundant conditionals.
24444         * posix/unistd.h: Update #endif comments.
24445         [__USE_MISC]: Remove redundant conditionals.
24446         * pwd/pwd.h [__USE_GNU]: Likewise.
24447         [__USE_MISC]: Likewise.
24448         * resolv/netdb.h [__USE_GNU]: Likewise.
24449         * signal/signal.h: Update #endif comments.
24450         [__USE_MISC]: Remove redundant conditionals.
24451         * stdlib/stdlib.h: Update #else and #endif comments.
24452         [__USE_MISC]: Remove redundant conditionals.
24453         [__USE_GNU]: Likewise.
24454         * string/bits/string2.h [__USE_MISC]: Likewise.
24455         * string/string.h: Update #endif comments.
24456         [__USE_MISC]: Remove redundant conditionals.
24457         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
24458         Likewise.
24459         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
24460         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
24461         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
24462         Likewise.
24463         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
24464         Likewise.
24465         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
24466         comments.
24467         [__USE_MISC]: Remove redundant conditionals.
24468         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
24469         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
24470         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
24471         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
24472         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
24473         Likewise.
24474         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
24475         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
24476         Likewise.
24477         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
24478         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
24479         Likewise.
24480         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
24481         Likewise.
24482         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
24483         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
24484         Likewise.
24485         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
24486         Likewise.
24487         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
24488         * sysdeps/x86/bits/string.h: Update #endif comments.
24489         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
24490         conditionals.
24491         * time/sys/time.h: Update #endif comments.
24492         * time/time.h: Likewise.
24493         [__USE_MISC]: Remove redundant conditionals.
24495 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
24497         [BZ #16600]
24498         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
24500 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
24502         * Versions.def (librt): Add GLIBC_2.17.
24504 2014-02-21  Adam Conrad  <adconrad@0c3.net>
24506         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
24507         synonym for _SYS_AUXV_H to allow direct inclusion.
24508         * sysdeps/sparc/bits/hwcap.h: Likewise.
24509         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
24510         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
24511         * sysdeps/sparc/sysdep.h: Likewise.
24513 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24515         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
24517 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24519         * benchtests/bench-strrchr.c: Print length instead of position.
24521 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
24523         [BZ #16611]
24524         * sysdeps/unix/sysv/linux/kernel-features.h
24525         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
24526         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
24527         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
24528         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
24529         Likewise.
24530         [__i386__ || __powerpc__ || __sh__ || __sparc__]
24531         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24532         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
24533         (__ASSUME_SENDMMSG): Define instead of using previous
24534         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
24535         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24536         (__ASSUME_SENDMMSG_SYSCALL): Define.
24537         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24538         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
24539         Likewise.
24540         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24541         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24542         Likewise.
24543         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24544         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24545         Likewise.
24546         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
24547         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24548         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24549         [__ASSUME_SENDMMSG]: Change conditionals to
24550         [__ASSUME_SENDMMSG_SOCKETCALL].
24551         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24552         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
24553         Define.
24554         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24555         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
24556         Likewise.
24557         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
24558         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24559         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24560         [!__ASSUME_SENDMMSG]: Change conditional to
24561         [!__ASSUME_SENDMMSG_SOCKETCALL].
24562         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24563         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24564         Define.
24566         [BZ #16610]
24567         * sysdeps/unix/sysv/linux/kernel-features.h
24568         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
24569         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
24570         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
24571         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
24572         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24573         [__i386__ || __sparc__]
24574         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24575         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
24576         (__ASSUME_RECVMMSG): Define instead of using previous
24577         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
24578         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24579         (__ASSUME_RECVMMSG_SYSCALL): Define.
24580         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24581         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24582         Likewise.
24583         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24584         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24585         Likewise.
24586         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24587         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24588         Likewise.
24589         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
24590         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24591         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24592         [__ASSUME_RECVMMSG]: Change condition to
24593         [__ASSUME_RECVMMSG_SOCKETCALL].
24594         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24595         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24596         Define.
24597         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24598         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24599         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24600         Likewise.
24601         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
24602         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24603         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24604         [!__ASSUME_RECVMMSG]: Change condition to
24605         [!__ASSUME_RECVMMSG_SOCKETCALL].
24606         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24607         (__ASSUME_RECVMMSG_SYSCALL): Define.
24609         [BZ #16609]
24610         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
24611         __powerpc__ || __s390__ || __sh__ || __sparc__]
24612         (__ASSUME_SOCKETCALL): Define.
24613         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
24614         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
24615         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
24616         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
24617         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24618         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24619         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
24620         (__ASSUME_ACCEPT4): Define instead of using previous
24621         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
24622         __powerpc__ || __sparc__ || __s390__)] condition.
24623         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24624         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24625         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
24626         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24627         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24628         [!__ASSUME_ACCEPT4]: Change condition to
24629         [!__ASSUME_ACCEPT4_SOCKETCALL].
24630         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24631         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
24632         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
24633         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24634         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
24635         __ASSUME_ACCEPT4_SYSCALL.
24636         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
24637         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
24638         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24639         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
24640         __ASSUME_ACCEPT4_SYSCALL.
24641         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
24642         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24643         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24644         [__ASSUME_ACCEPT4]: Change condition to
24645         [__ASSUME_ACCEPT4_SOCKETCALL].
24646         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24647         (__ASSUME_SOCKETCALL): Define.
24648         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
24649         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24650         (__ASSUME_SOCKETCALL): Define.
24651         (__ASSUME_ACCEPT4): Remove.
24652         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
24653         Define.
24654         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24655         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
24656         Likewise.
24657         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24658         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24660         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
24661         macro.
24662         (HWCAP_ARM_LPAE): Likewise.
24663         (HWCAP_ARM_EVTSTRM): Likewise.
24664         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
24665         Add vpfd32, lpae and evtstrm.
24666         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
24667         Increase to 22.
24669 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
24671         * math/auto-libm-test-in: Add tests of clog10.
24672         * math/auto-libm-test-out: Regenerated.
24673         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
24674         * sysdeps/i386/fpu/libm-test-ulps: Update.
24675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24677 2014-02-18  Andreas Schwab  <schwab@suse.de>
24679         [BZ #16574]
24680         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24681         Store non-zero if the second buffer was newly allocated.
24682         (send_dg): Likewise.
24683         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
24684         to send_vc and send_dg.
24685         (res_nsend): Pass NULL for ansp2_malloced.
24686         * resolv/res_query.c (__libc_res_nquery): Add parameter
24687         answerp2_malloced and pass it down to __libc_res_nsend.
24688         (res_nquery): Pass additional NULL to __libc_res_nquery.
24689         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
24690         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
24691         second answer buffer if answerp2_malloced was set.
24692         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
24693         (__libc_res_nquerydomain): Add parameter
24694         answerp2_malloced and pass it down to __libc_res_nquery.
24695         (res_nquerydomain): Pass additional NULL to
24696         __libc_res_nquerydomain.
24697         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
24698         additional NULL to __libc_res_nsend and __libc_res_nquery.
24699         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24700         additional NULL to __libc_res_nsearch.
24701         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
24702         parameter of __libc_res_nsearch to check for separately allocated
24703         second buffer.
24704         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
24705         __libc_res_nquery.
24706         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
24707         additional NULL to __libc_res_nquery.
24708         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
24709         __libc_res_nsearch.
24710         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
24711         * include/resolv.h: Update prototypes of __libc_res_nquery,
24712         __libc_res_nsearch, __libc_res_nsend.
24714 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
24716         * math/auto-libm-test-in: Add tests of fma.
24717         * math/auto-libm-test-out: Regenerated.
24718         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
24719         (fma_towardzero_test_data): Likewise.
24720         (fma_downward_test_data): Likewise.
24721         (fma_upward_test_data): Likewise.
24722         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
24723         mpc_mode.
24724         (rounding_modes): Add values for new field.
24725         (func_calc_method): Add value mpfr_fff_f.
24726         (func_calc_desc): Add mpfr_fff_f union field.
24727         (test_function): Add field exact_args.
24728         (FUNC): Add macro argument EXACT_ARGS.
24729         (FUNC_mpfr_f_f): Update call to FUNC.
24730         (FUNC_mpfr_f_f): Likewise.
24731         (FUNC_mpfr_ff_f): Likewise.
24732         (FUNC_mpfr_if_f): Likewise.
24733         (FUNC_mpc_c_f): Likewise.
24734         (FUNC_mpc_c_c): Likewise.
24735         (test_functions): Add fma.  Update calls to FUNC.
24736         (handle_input_arg): Add argument exact_args.
24737         (add_test): Update call to handle_input_arg.
24738         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
24739         (output_for_one_input_case): Update call to calc_generic_results.
24740         Recalculate exact zero results in each rounding mode.
24742         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24743         non-negative before setting low bit.
24744         * math/auto-libm-test-in: Mark one asin test possibly having
24745         spurious underflow.
24746         * math/auto-libm-test-out: Regenerated.
24747         * sysdeps/i386/fpu/libm-test-ulps: Update.
24748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24750 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
24752         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24753         * sysdeps/unix/sysv/linux/microblaze: Move directory from
24754         ports/sysdeps/unix/sysv/linux/microblaze.
24755         * README: Add missing listing for microblaze*-*-linux-gnu.
24757 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
24759         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
24760         duplicate code
24762 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
24764         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
24765         * sysdeps/unix/sysv/linux/ia64: Move directory from
24766         ports/sysdeps/unix/sysv/linux/ia64.
24767         * README: Update listing for ia64-*-linux-gnu.
24769 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
24770             Joseph Myers  <joseph@codesourcery.com>
24772         * Makeconfig (test-name): New variable.
24773         (evaluate-test): Likewise.
24774         * Makerules (do-test-clean): Remove .test-result files.
24775         (common-mostlyclean): Likewise.
24776         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
24777         * scripts/evaluate-test.sh: New file.
24779 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
24781         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
24782         separate $(objpfx)tst-fopenloc-cmp.out and
24783         $(objpfx)tst-fopenloc-mem.out targets.
24784         (tests): Update dependencies.
24785         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
24786         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
24787         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
24788         (tst-rxspencer-no-utf8-ARGS): New variable.
24789         (tst-rxspencer-no-utf8-ENV): Likewise.
24790         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
24791         instead of $(objpfx)tst-rxspencer-mem.
24792         ($(objpfx)tst-rxspencer-mem): Change target to
24793         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
24794         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
24795         * posix/tst-rxspencer-no-utf8.c: New file.
24797         * elf/Makefile ($(objpfx)order.out): Remove rule.
24798         [$(run-built-tests) = yes] (tests): Depend on
24799         $(objpfx)order-cmp.out.
24800         ($(objpfx)order-cmp.out): New rule.
24801         [$(run-built-tests) = yes] (tests): Depend on
24802         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
24803         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
24804         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
24805         $(objpfx)tst-array5-static-cmp.out.
24806         ($(objpfx)tst-array1.out): Remove rule.
24807         ($(objpfx)tst-array1-cmp.out): New rule.
24808         ($(objpfx)tst-array1-static.out): Remove rule.
24809         ($(objpfx)tst-array1-static-cmp.out): New rule.
24810         ($(objpfx)tst-array2.out): Remove rule.
24811         ($(objpfx)tst-array2-cmp.out): New rule.
24812         ($(objpfx)tst-array3.out): Remove rule.
24813         ($(objpfx)tst-array3-cmp.out): New rule.
24814         ($(objpfx)tst-array4.out): Remove rule.
24815         ($(objpfx)tst-array4-cmp.out): New rule.
24816         ($(objpfx)tst-array5.out): Remove rule.
24817         ($(objpfx)tst-array5-cmp.out): New rule.
24818         ($(objpfx)tst-array5-static.out): Remove rule.
24819         ($(objpfx)tst-array5-static-cmp.out): New rule.
24820         [$(run-built-tests) = yes] (tests): Depend on
24821         $(objpfx)order2-cmp.out.
24822         ($(objpfx)order2.out): Remove rule.
24823         ($(objpfx)order2-cmp.out): New rule.
24824         ($(objpfx)tst-initorder.out): Remove rule.
24825         [$(run-built-tests) = yes] (tests): Depend on
24826         $(objpfx)tst-initorder-cmp.out.
24827         ($(objpfx)tst-initorder-cmp.out): New rule.
24828         ($(objpfx)tst-initorder2.out): Remove rule.
24829         [$(run-built-tests) = yes] (tests): Depend on
24830         $(objpfx)tst-initorder2-cmp.out.
24831         ($(objpfx)tst-initorder2-cmp.out): New rule.
24832         [$(run-built-tests) = yes] (tests): Depend on
24833         $(objpfx)tst-unused-dep-cmp.out.
24834         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
24835         ($(objpfx)tst-unused-dep-cmp.out): New rule.
24836         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
24837         on $(objpfx)tst-setvbuf1-cmp.out.
24838         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
24839         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
24840         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
24841         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
24842         ($(objpfx)tst-svc.out): Remove rule.
24843         ($(objpfx)tst-svc-cmp.out): New rule.
24845 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
24847         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
24848         * ctype/ctype.h [__USE_MISC]: Likewise.
24849         * dirent/dirent.h [__USE_MISC]: Likewise.
24850         * grp/grp.h [__USE_MISC]: Likewise.
24851         * io/fcntl.h [__USE_MISC]: Likewise.
24852         * io/sys/stat.h [__USE_MISC]: Likewise.
24853         * libio/stdio.h [__USE_MISC]: Likewise.
24854         * posix/unistd.h [__USE_MISC]: Likewise.
24855         * pwd/pwd.h [__USE_MISC]: Likewise.
24856         * stdlib.h [__USE_MISC]: Likewise.
24857         * string/bits/string2.h [__USE_MISC]: Likewise.
24858         * string/string.h [__USE_MISC]: Likewise.
24859         * time/time.h [__USE_MISC]: Likewise.
24861 2014-02-13  Andreas Schwab  <schwab@suse.de>
24863         [BZ #16574]
24864         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
24865         second answer buffer if it was separately allocated.
24867 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
24869         * sysdeps/mips/math-tests.h: Include <features.h>.
24870         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24871         (ROUNDING_TESTS_long_double): Do not define.
24872         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24873         (EXCEPTION_TESTS_long_double): Likewise.
24874         * sysdeps/mips/mips64/libm-test-ulps: Update.
24876         * include/features.h (__USE_BSD): Remove macro definitions.
24877         (__USE_SVID): Likewise.
24878         (_BSD_SOURCE): Likewise.
24879         (_SVID_SOURCE): Likewise.
24880         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
24881         from definition of _DEFAULT_SOURCE.
24882         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
24883         [_DEFAULT_SOURCE].
24884         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
24885         * bits/mman.h [__USE_BSD]: Likewise.
24886         * bits/termios.h [__USE_BSD]: Likewise.
24887         * bits/waitstatus.h [__USE_BSD]: Likewise.
24888         * ctype/ctype.h [__USE_SVID]: Likewise.
24889         * dirent/dirent.h [__USE_BSD]: Likewise.
24890         * grp/grp.h [__USE_SVID]: Likewise.
24891         [__USE_BSD]: Likewise.
24892         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
24893         * io/fcntl.h [__USE_BSD]: Likewise.
24894         * io/ftw.h [__USE_BSD]: Likewise.
24895         * io/sys/stat.h [__USE_BSD]: Likewise.
24896         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
24897         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
24898         * libio/stdio.h [__USE_SVID]: Likewise.
24899         [__USE_BSD]: Likewise.
24900         * math/math.h [__USE_SVID]: Likewise.
24901         [__USE_BSD]: Likewise.
24902         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
24903         * misc/bits/syslog.h [__USE_BSD]: Likewise.
24904         * misc/search.h [__USE_SVID]: Likewise.
24905         * misc/sys/mman.h [__USE_BSD]: Likewise.
24906         * misc/sys/syslog.h [__USE_BSD]: Likewise.
24907         * misc/sys/uio.h [__USE_BSD]: Likewise.
24908         * posix/bits/unistd.h [__USE_BSD]: Likewise.
24909         * posix/glob.h [__USE_BSD]: Likewise.
24910         * posix/regex.h [__USE_BSD]: Likewise.
24911         * posix/sys/types.h [__USE_BSD]: Likewise.
24912         [__USE_SVID]: Likewise.
24913         * posix/sys/utsname.h [__USE_SVID]: Likewise.
24914         * posix/sys/wait.h [__USE_BSD]: Likewise.
24915         [__USE_SVID]: Likewise.
24916         * posix/unistd.h [__USE_BSD]: Likewise.
24917         [__USE_SVID]: Likewise.
24918         * pwd/pwd.h [__USE_SVID]: Likewise.
24919         * resolv/netdb.h [__USE_BSD]: Likewise.
24920         * setjmp/setjmp.h [__USE_BSD]: Likewise.
24921         * signal/signal.h [__USE_BSD]: Likewise.
24922         [__USE_SVID]: Likewise.
24923         * socket/sys/socket.h [__USE_BSD]: Likewise.
24924         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
24925         * stdlib/stdlib.h [__USE_BSD]: Likewise.
24926         [__USE_SVID]: Likewise.
24927         * string/bits/string2.h [__USE_BSD]: Likewise.
24928         [__USE_SVID]: Likewise.
24929         * string/bits/string3.h [__USE_BSD]: Likewise.
24930         * string/endian.h [__USE_BSD]: Likewise.
24931         * string/string.h [__USE_SVID]: Likewise.
24932         [__USE_BSD]: Likewise.
24933         * string/strings.h [__USE_BSD]: Likewise.
24934         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
24935         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
24936         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
24937         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
24938         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
24939         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
24940         Likewise.
24941         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
24942         Likewise.
24943         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
24944         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
24945         Likewise.
24946         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
24947         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
24948         Likewise.
24949         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
24950         Likewise.
24951         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
24952         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
24953         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
24954         Likewise.
24955         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
24956         Likewise.
24957         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
24958         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
24959         * termios/termios.h [__USE_BSD]: Likewise.
24960         * time/sys/time.h [__USE_BSD]: Likewise.
24961         * time/time.h [__USE_BSD]: Likewise.
24962         [__USE_SVID]: Likewise.
24964         * Makefile (subdir_targets): Remove subdir_lint.out.
24966         * stdio-common/Makefile (do-tst-unbputc): Remove target.
24967         (do-tst-printf): Likewise.
24968         (tests): Depend directly on $(objpfx)tst-unbputc.out and
24969         $(objpfx)tst-printf.out.
24971         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
24973         * Makerules (check-abi-%): Change target to
24974         $(objpfx)check-abi-%.out.
24975         (check-abi target): Update dependencies.
24976         (check-abi-pattern variable): Redirect output of diff to $@.
24977         (check-abi variable): Likewise.
24978         * elf/Makefile (check-abi): Update dependencies.
24980         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
24981         unused.
24982         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
24983         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
24984         subnormal range.
24985         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
24986         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
24987         value has largest subnormal exponent.
24988         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
24989         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
24990         * sysdeps/aarch64/soft-fp/sfp-machine.h
24991         (_FP_TININESS_AFTER_ROUNDING): New macro.
24992         * sysdeps/alpha/soft-fp/sfp-machine.h
24993         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24994         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24995         Likewise.
24996         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
24997         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24998         * sysdeps/mips/soft-fp/sfp-machine.h
24999         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25000         * sysdeps/powerpc/soft-fp/sfp-machine.h
25001         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25002         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25003         Likewise.
25004         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25005         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25006         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25007         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25008         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25009         Likewise.
25011 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
25013         [BZ #16545]
25014         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
25015         model 1.
25017 2014-02-12  Richard Henderson  <rth@redhat.com>
25019         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
25020         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
25021         * sysdeps/unix/sysv/linux/alpha: Move directory from
25022         ports/sysdeps/unix/sysv/linux/alpha.
25023         * README: Update listing for alpha-*-linux-gnu.
25025 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
25027         * include/features.h: Update comment documenting feature test
25028         macros.
25029         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
25030         _DEFAULT_SOURCE.
25031         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
25032         (_SVID_SOURCE): Likewise.
25033         (_DEFAULT_SOURCE): Update description of default features.
25034         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
25035         with _GNU_SOURCE.
25036         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
25037         (S_ISVTX): Likewise.
25038         * manual/math.texi (Mathematical Constants): Likewise.
25039         * manual/signal.texi (Interrupted Primitives): Likewise.
25040         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
25041         * math/test-matherr.c (_SVID_SOURCE): Do not define.
25042         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
25043         Don't refer to _SVID_SOURCE in warning text.
25045         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25047         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
25048         already defined.
25049         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
25050         * sysdeps/mips/dl-lookup.c: Remove.
25051         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
25053 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25055         [BZ #16447]
25056         * math/auto-libm-test-in: Add testcase for expl.
25057         * math/auto-libm-test-out: Regenerate.
25058         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
25059         calculation of unsafe.
25060         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
25062 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25064         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
25065         * sysdeps/unix/sysv/linux/aarch64: Move directory from
25066         ports/sysdeps/unix/sysv/linux/aarch64.
25067         * README: Update listing for aarch64*-*-linux-gnu.
25069 2014-02-11  Will Newton  <will.newton@linaro.org>
25071         * manual/probes.texi (Mathematical Function Probes): Use
25072         "triggered" instead of "hit".
25074         * manual/probes.texi (Internal Probes): Add documentation
25075         of setjmp, longjmp and longjmp_target probes.
25077         * include/stap-probe.h: Add comment about probe argument
25078         format.
25080         * malloc/mtrace.c (attribute_hidden): Remove unused macro
25081         definition.  (tr_where, tr_freehook, tr_mallochook,
25082         tr_reallochook, tr_memalignhook): Use ANSI protoype.
25084 2014-02-11  David S. Miller  <davem@davemloft.net>
25086         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
25087         processing int_tests.
25089 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
25091         * sysdeps/mips: Move directory from ports/sysdeps/mips.
25092         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
25093         * sysdeps/unix/sysv/linux/mips: Move directory from
25094         ports/sysdeps/unix/sysv/linux/mips.
25095         * README: Update listing for mips-*-linux-gnu and
25096         mips64-*-linux-gnu.
25098 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
25100         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
25101         * sysdeps/unix/sysv/linux/m68k: Move directory from
25102         ports/sysdeps/unix/sysv/linux/m68k.
25103         * README: Update listing for m68k-*-linux-gnu.
25105 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
25107         * sysdeps/tile: Move directory from ports/sysdeps/tile.
25108         * sysdeps/unix/sysv/linux/generic: Move directory from
25109         ports/sysdeps/unix/sysv/linux/generic.
25110         * sysdeps/unix/sysv/linux/tile: Move directory from
25111         ports/sysdeps/unix/sysv/linux/tile.
25112         * README: Update listing for tile*-*-linux-gnu.
25114 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
25116         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
25117         __builtin_expect.
25118         * benchtests/bench-memmem.c (simple_memmem): Likewise.
25119         * catgets/open_catalog.c (__open_catalog): Likewise.
25120         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
25121         * debug/confstr_chk.c: Likewise.
25122         * debug/fread_chk.c (__fread_chk): Likewise.
25123         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
25124         * debug/getgroups_chk.c: Likewise.
25125         * debug/mbsnrtowcs_chk.c: Likewise.
25126         * debug/mbsrtowcs_chk.c: Likewise.
25127         * debug/mbstowcs_chk.c: Likewise.
25128         * debug/memcpy_chk.c: Likewise.
25129         * debug/memmove_chk.c: Likewise.
25130         * debug/mempcpy_chk.c: Likewise.
25131         * debug/memset_chk.c: Likewise.
25132         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25133         * debug/strcat_chk.c (__strcat_chk): Likewise.
25134         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
25135         * debug/strncat_chk.c (__strncat_chk): Likewise.
25136         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
25137         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
25138         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
25139         * debug/wcpncpy_chk.c: Likewise.
25140         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25141         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
25142         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
25143         * debug/wcsncpy_chk.c: Likewise.
25144         * debug/wcsnrtombs_chk.c: Likewise.
25145         * debug/wcsrtombs_chk.c: Likewise.
25146         * debug/wcstombs_chk.c: Likewise.
25147         * debug/wmemcpy_chk.c: Likewise.
25148         * debug/wmemmove_chk.c: Likewise.
25149         * debug/wmempcpy_chk.c: Likewise.
25150         * debug/wmemset_chk.c: Likewise.
25151         * dirent/scandirat.c (SCANDIRAT): Likewise.
25152         * dlfcn/dladdr1.c (dladdr1): Likewise.
25153         * dlfcn/dladdr.c (dladdr): Likewise.
25154         * dlfcn/dlclose.c (dlclose_doit): Likewise.
25155         * dlfcn/dlerror.c (__dlerror): Likewise.
25156         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
25157         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
25158         * dlfcn/dlopen.c (dlopen_doit): Likewise.
25159         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
25160         * dlfcn/dlsym.c (dlsym_doit): Likewise.
25161         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
25162         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
25163         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
25164         Likewise.
25165         * elf/dl-conflict.c: Likewise.
25166         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
25167         * elf/dl-dst.h: Likewise.
25168         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
25169         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
25170         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
25171         * elf/dl-init.c (call_init, _dl_init): Likewise.
25172         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
25173         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
25174         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
25175         Likewise.
25176         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
25177         Likewise.
25178         * elf/dl-minimal.c (__libc_memalign): Likewise.
25179         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
25180         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25181         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
25182         * elf/dl-sym.c (do_sym): Likewise.
25183         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
25184         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
25185         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
25186         * elf/dl-writev.h (_dl_writev): Likewise.
25187         * elf/ldconfig.c (search_dir): Likewise.
25188         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
25189         (dl_main): Likewise.
25190         * elf/setup-vdso.h (setup_vdso): Likewise.
25191         * grp/compat-initgroups.c (compat_call): Likewise.
25192         * grp/fgetgrent.c (fgetgrent): Likewise.
25193         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
25194         * grp/putgrent.c (putgrent): Likewise.
25195         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25196         Likewise.
25197         * hurd/hurdinit.c: Likewise.
25198         * iconvdata/8bit-gap.c (struct): Likewise.
25199         * iconvdata/ansi_x3.110.c : Likewise.
25200         * iconvdata/big5.c : Likewise.
25201         * iconvdata/big5hkscs.c : Likewise.
25202         * iconvdata/cp1255.c: Likewise.
25203         * iconvdata/cp1258.c : Likewise.
25204         * iconvdata/cp932.c : Likewise.
25205         * iconvdata/euc-cn.c: Likewise.
25206         * iconvdata/euc-jisx0213.c : Likewise.
25207         * iconvdata/euc-jp.c: Likewise.
25208         * iconvdata/euc-jp-ms.c : Likewise.
25209         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
25210         * iconvdata/gb18030.c : Likewise.
25211         * iconvdata/gbbig5.c (const): Likewise.
25212         * iconvdata/gbgbk.c: Likewise.
25213         * iconvdata/gbk.c : Likewise.
25214         * iconvdata/ibm1364.c : Likewise.
25215         * iconvdata/ibm930.c : Likewise.
25216         * iconvdata/ibm932.c: Likewise.
25217         * iconvdata/ibm933.c : Likewise.
25218         * iconvdata/ibm935.c : Likewise.
25219         * iconvdata/ibm937.c : Likewise.
25220         * iconvdata/ibm939.c : Likewise.
25221         * iconvdata/ibm943.c: Likewise.
25222         * iconvdata/iso_11548-1.c: Likewise.
25223         * iconvdata/iso-2022-cn.c : Likewise.
25224         * iconvdata/iso-2022-cn-ext.c : Likewise.
25225         * iconvdata/iso-2022-jp-3.c: Likewise.
25226         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
25227         * iconvdata/iso-2022-kr.c : Likewise.
25228         * iconvdata/iso646.c (gconv_end): Likewise.
25229         * iconvdata/iso_6937-2.c : Likewise.
25230         * iconvdata/iso_6937.c : Likewise.
25231         * iconvdata/iso8859-1.c: Likewise.
25232         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
25233         * iconvdata/shift_jisx0213.c : Likewise.
25234         * iconvdata/sjis.c : Likewise.
25235         * iconvdata/t.61.c : Likewise.
25236         * iconvdata/tcvn5712-1.c : Likewise.
25237         * iconvdata/tscii.c: Likewise.
25238         * iconvdata/uhc.c : Likewise.
25239         * iconvdata/unicode.c (gconv_end): Likewise.
25240         * iconvdata/utf-16.c (gconv_end): Likewise.
25241         * iconvdata/utf-32.c (gconv_end): Likewise.
25242         * iconvdata/utf-7.c (base64): Likewise.
25243         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
25244         * iconv/gconv_close.c (__gconv_close): Likewise.
25245         * iconv/gconv_open.c (__gconv_open): Likewise.
25246         * iconv/gconv_simple.c (internal_ucs4_loop_single)
25247         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
25248         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
25249         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
25250         (ucs4le_internal_loop_single): Likewise.
25251         * iconv/iconv.c (iconv): Likewise.
25252         * iconv/iconv_close.c: Likewise.
25253         * iconv/loop.c (SINGLE): Likewise.
25254         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
25255         * include/atomic.h: Likewise.
25256         * inet/inet6_option.c (option_alloc): Likewise.
25257         * intl/bindtextdom.c (set_binding_values): Likewise.
25258         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
25259         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
25260         * intl/localealias.c (read_alias_file): Likewise.
25261         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25262         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
25263         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
25264         * libio/fmemopen.c (fmemopen): Likewise.
25265         * libio/iofgets.c (_IO_fgets): Likewise.
25266         * libio/iofgets_u.c (fgets_unlocked): Likewise.
25267         * libio/iofgetws.c (fgetws): Likewise.
25268         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
25269         * libio/iogetdelim.c (_IO_getdelim): Likewise.
25270         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
25271         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
25272         * locale/findlocale.c (_nl_find_locale): Likewise.
25273         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
25274         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
25275         Likewise.
25276         * locale/setlocale.c (setlocale): Likewise.
25277         * login/programs/pt_chown.c (main): Likewise.
25278         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
25279         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
25280         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
25281         (mmap, mmap64, mremap, munmap): Likewise.
25282         * math/e_exp2l.c: Likewise.
25283         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
25284         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
25285         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
25286         * math/s_catan.c (__catan): Likewise.
25287         * math/s_catanf.c (__catanf): Likewise.
25288         * math/s_catanh.c (__catanh): Likewise.
25289         * math/s_catanhf.c (__catanhf): Likewise.
25290         * math/s_catanhl.c (__catanhl): Likewise.
25291         * math/s_catanl.c (__catanl): Likewise.
25292         * math/s_ccosh.c (__ccosh): Likewise.
25293         * math/s_ccoshf.c (__ccoshf): Likewise.
25294         * math/s_ccoshl.c (__ccoshl): Likewise.
25295         * math/s_cexp.c (__cexp): Likewise.
25296         * math/s_cexpf.c (__cexpf): Likewise.
25297         * math/s_cexpl.c (__cexpl): Likewise.
25298         * math/s_clog10.c (__clog10): Likewise.
25299         * math/s_clog10f.c (__clog10f): Likewise.
25300         * math/s_clog10l.c (__clog10l): Likewise.
25301         * math/s_clog.c (__clog): Likewise.
25302         * math/s_clogf.c (__clogf): Likewise.
25303         * math/s_clogl.c (__clogl): Likewise.
25304         * math/s_csin.c (__csin): Likewise.
25305         * math/s_csinf.c (__csinf): Likewise.
25306         * math/s_csinh.c (__csinh): Likewise.
25307         * math/s_csinhf.c (__csinhf): Likewise.
25308         * math/s_csinhl.c (__csinhl): Likewise.
25309         * math/s_csinl.c (__csinl): Likewise.
25310         * math/s_csqrt.c (__csqrt): Likewise.
25311         * math/s_csqrtf.c (__csqrtf): Likewise.
25312         * math/s_csqrtl.c (__csqrtl): Likewise.
25313         * math/s_ctan.c (__ctan): Likewise.
25314         * math/s_ctanf.c (__ctanf): Likewise.
25315         * math/s_ctanh.c (__ctanh): Likewise.
25316         * math/s_ctanhf.c (__ctanhf): Likewise.
25317         * math/s_ctanhl.c (__ctanhl): Likewise.
25318         * math/s_ctanl.c (__ctanl): Likewise.
25319         * math/w_pow.c: Likewise.
25320         * math/w_powf.c: Likewise.
25321         * math/w_powl.c: Likewise.
25322         * math/w_scalb.c (sysv_scalb): Likewise.
25323         * math/w_scalbf.c (sysv_scalbf): Likewise.
25324         * math/w_scalbl.c (sysv_scalbl): Likewise.
25325         * misc/error.c (error_tail): Likewise.
25326         * misc/pselect.c (__pselect): Likewise.
25327         * nis/nis_callback.c (__nis_create_callback): Likewise.
25328         * nis/nis_call.c (__nisfind_server): Likewise.
25329         * nis/nis_creategroup.c (nis_creategroup): Likewise.
25330         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
25331         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
25332         * nis/nis_getservlist.c (nis_getservlist): Likewise.
25333         * nis/nis_lookup.c (nis_lookup): Likewise.
25334         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
25335         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
25336         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
25337         * nis/nis_xdr.c (xdr_endpoint): Likewise.
25338         * nis/nss_compat/compat-grp.c (getgrent_next_file)
25339         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
25340         * nis/nss_compat/compat-initgroups.c (add_group)
25341         (internal_getgrent_r): Likewise.
25342         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
25343         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
25344         * nis/nss_compat/compat-spwd.c (getspent_next_file)
25345         (internal_getspnam_r): Likewise.
25346         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
25347         (_nss_nis_getaliasbyname_r): Likewise.
25348         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
25349         (_nss_nis_getntohost_r): Likewise.
25350         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
25351         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
25352         (_nss_nis_getgrgid_r): Likewise.
25353         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
25354         (internal_nis_gethostent_r, internal_gethostbyname2_r)
25355         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
25356         (_nss_nis_gethostbyname4_r): Likewise.
25357         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
25358         (initgroups_netid): Likewise.
25359         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
25360         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
25361         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
25362         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
25363         (_nss_nis_getprotobynumber_r): Likewise.
25364         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
25365         (_nss_nis_getsecretkey): Likewise.
25366         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
25367         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
25368         (_nss_nis_getpwuid_r): Likewise.
25369         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
25370         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
25371         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
25372         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
25373         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
25374         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
25375         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
25376         Likewise.
25377         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
25378         (_nss_nisplus_getntohost_r): Likewise.
25379         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
25380         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
25381         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
25382         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
25383         Likewise.
25384         * nis/nss_nisplus/nisplus-initgroups.c
25385         (_nss_nisplus_initgroups_dyn): Likewise.
25386         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
25387         (_nss_nisplus_getnetbyaddr_r): Likewise.
25388         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
25389         (_nss_nisplus_getprotobynumber_r): Likewise.
25390         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
25391         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
25392         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
25393         Likewise.
25394         * nis/nss_nisplus/nisplus-service.c
25395         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
25396         (_nss_nisplus_getservbyport_r): Likewise.
25397         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
25398         (_nss_nisplus_getspnam_r): Likewise.
25399         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
25400         Likewise.
25401         * nscd/aicache.c (addhstaiX): Likewise.
25402         * nscd/cache.c (cache_search, prune_cache): Likewise.
25403         * nscd/connections.c (register_traced_file, send_ro_fd)
25404         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
25405         (main_loop_epoll): Likewise.
25406         * nscd/grpcache.c (addgrbyX): Likewise.
25407         * nscd/hstcache.c (addhstbyX): Likewise.
25408         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25409         * nscd/mem.c (gc, mempool_alloc): Likewise.
25410         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
25411         (addinnetgrX): Likewise.
25412         * nscd/nscd-client.h (__nscd_acquire_maplock)
25413         (__nscd_drop_map_ref): Likewise.
25414         * nscd/nscd_getai.c (__nscd_getai): Likewise.
25415         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25416         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
25417         Likewise.
25418         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
25419         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25420         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
25421         (__nscd_get_map_ref): Likewise.
25422         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
25423         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
25424         Likewise.
25425         * nscd/pwdcache.c (addpwbyX): Likewise.
25426         * nscd/selinux.c (preserve_capabilities): Likewise.
25427         * nscd/servicescache.c (addservbyX): Likewise.
25428         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
25429         * posix/fnmatch.c (fnmatch): Likewise.
25430         * posix/getopt.c (_getopt_internal_r): Likewise.
25431         * posix/glob.c (glob, glob_in_dir): Likewise.
25432         * posix/wordexp.c (exec_comm_child): Likewise.
25433         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
25434         (getanswer_r, gaih_getanswer_slice): Likewise.
25435         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
25436         * resolv/res_init.c: Likewise.
25437         * resolv/res_mkquery.c (res_nmkquery): Likewise.
25438         * resolv/res_query.c (__libc_res_nquery): Likewise.
25439         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
25440         Likewise.
25441         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
25442         * stdio-common/perror.c (perror): Likewise.
25443         * stdio-common/printf_fp.c (___printf_fp): Likewise.
25444         * stdio-common/tmpnam.c (tmpnam): Likewise.
25445         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25446         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
25447         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25448         Likewise.
25449         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
25450         * stdlib/putenv.c (putenv): Likewise.
25451         * stdlib/setenv.c (__add_to_environ): Likewise.
25452         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25453         * stdlib/strtol_l.c (INTERNAL): Likewise.
25454         * string/memmem.c (memmem): Likewise.
25455         * string/strerror.c (strerror): Likewise.
25456         * string/strnlen.c (__strnlen): Likewise.
25457         * string/test-memmem.c (simple_memmem): Likewise.
25458         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
25459         * sunrpc/pm_getport.c (__get_socket): Likewise.
25460         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
25461         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
25462         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
25463         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
25464         Likewise.
25465         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
25466         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25467         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
25468         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
25469         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
25470         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
25471         Likewise.
25472         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
25473         Likewise.
25474         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25475         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25476         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25477         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25478         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
25479         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
25480         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
25481         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
25482         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
25483         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
25484         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25485         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
25486         Likewise.
25487         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
25488         Likewise.
25489         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
25490         Likewise.
25491         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
25492         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25493         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
25494         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
25495         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
25496         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
25497         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
25498         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
25499         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
25500         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
25501         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
25502         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25503         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25504         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
25505         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25506         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25507         Likewise.
25508         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
25509         Likewise.
25510         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
25511         Likewise.
25512         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
25513         Likewise.
25514         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25515         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25516         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
25517         Likewise.
25518         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
25519         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
25520         * sysdeps/posix/opendir.c (__opendirat): Likewise.
25521         * sysdeps/posix/sleep.c: Likewise.
25522         * sysdeps/posix/tempname.c: Likewise.
25523         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
25524         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25525         Likewise.
25526         * sysdeps/powerpc/powerpc32/dl-machine.h
25527         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
25528         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25529         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25530         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
25531         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
25532         Likewise.
25533         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
25534         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
25535         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25536         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
25537         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25538         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
25539         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
25540         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
25541         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25542         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
25543         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
25544         (elf_machine_lazy_rel): Likewise.
25545         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25546         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
25547         (elf_machine_lazy_rel): Likewise.
25548         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
25549         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
25550         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
25551         * sysdeps/unix/grantpt.c (grantpt): Likewise.
25552         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
25553         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
25554         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
25555         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25556         Likewise.
25557         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25558         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25559         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
25560         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
25561         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25562         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25563         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
25564         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
25565         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
25566         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25567         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25568         Likewise.
25569         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
25570         (__posix_fallocate64_l64): Likewise.
25571         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
25572         (posix_fallocate): Likewise.
25573         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25574         Likewise.
25575         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25576         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
25577         (getifaddrs_internal): Likewise.
25578         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
25579         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
25580         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25581         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25582         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25583         (__posix_fallocate64_l64): Likewise.
25584         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25585         Likewise.
25586         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
25587         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
25588         (__get_clockfreq): Likewise.
25589         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
25590         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25591         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
25592         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25593         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25594         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
25595         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
25596         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
25597         Likewise.
25598         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
25599         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
25600         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25601         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
25602         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25603         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
25604         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
25605         Likewise.
25606         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25607         (posix_fallocate): Likewise.
25608         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25609         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25610         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
25611         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
25612         (elf_machine_rela, elf_machine_rela_relative)
25613         (elf_machine_lazy_rel): Likewise.
25614         * time/asctime.c (asctime_internal): Likewise.
25615         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
25616         * time/tzset.c (__tzset_parse_tz): Likewise.
25617         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25618         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25619         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
25620         * wcsmbs/wcsmbsload.h: Likewise.
25622         [BZ #15894]
25623         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
25625         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
25626         (arena_get2): Remove THREAD_STATS conditionals.
25627         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
25628         (__malloc_stats, int): Likewise.
25630 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
25632         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
25633         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
25635         * manual/setjmp.texi: Fix typos/grammar errors.
25637         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
25638         Only return early when n is <= 0.  Delete unused return statement.
25640         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
25641         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25642         * debug/tst-longjmp_chk3.c: New file.
25644         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
25645         (test_main): Replace code with set_fortify_handler call.
25646         * debug/test-strcpy_chk.c: Likewise.
25647         * debug/tst-chk1.c: Likewise.
25648         * debug/tst-longjmp_chk.c: Likewise.
25649         * test-skeleton.c: Include fcntl.h & paths.h
25650         (set_fortify_handler): Define.
25652         * debug/tst-longjmp_chk.c: Add header comment and include
25653         ../test-skeleton.c.
25654         (do_test): Mark static.
25655         (TEST_FUNCTION): Define.
25657         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
25658         (IP_PMTUDISC_INTERFACE): Likewise.
25659         (IP_MULTICAST_IF): Likewise.
25660         (IP_MULTICAST_TTL): Likewise.
25661         (IP_MULTICAST_LOOP): Likewise.
25662         (IP_ADD_MEMBERSHIP): Likewise.
25663         (IP_DROP_MEMBERSHIP): Likewise.
25664         (IP_UNBLOCK_SOURCE): Likewise.
25665         (IP_BLOCK_SOURCE): Likewise.
25666         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
25667         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
25668         (IP_MSFILTER): Likewise.
25669         (MCAST_JOIN_GROUP): Likewise.
25670         (MCAST_BLOCK_SOURCE): Likewise.
25671         (MCAST_UNBLOCK_SOURCE): Likewise.
25672         (MCAST_LEAVE_GROUP): Likewise.
25673         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25674         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25675         (MCAST_MSFILTER): Likewise.
25676         (IP_MULTICAST_ALL): Likewise.
25677         (IP_UNICAST_IF): Likewise.
25679         * timezone/Makefile: Delete $(have-ksh) check.
25680         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
25681         * timezone/tzselect.ksh: Add +x mode bits.
25683         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
25684         (ANON_INODE_FS_MAGIC): Likewise.
25685         (BDEVFS_MAGIC): Likewise.
25686         (BINFMTFS_MAGIC): Likewise.
25687         (BTRFS_TEST_MAGIC): Likewise.
25688         (CRAMFS_MAGIC_WEND): Likewise.
25689         (DEBUGFS_MAGIC): Likewise.
25690         (ECRYPTFS_SUPER_MAGIC): Likewise.
25691         (EXT3_SUPER_MAGIC): Likewise.
25692         (EXT4_SUPER_MAGIC): Likewise.
25693         (FUTEXFS_SUPER_MAGIC): Likewise.
25694         (HOSTFS_SUPER_MAGIC): Likewise.
25695         (HUGETLBFS_MAGIC): Likewise.
25696         (MINIX3_SUPER_MAGIC): Likewise.
25697         (MTD_INODE_FS_MAGIC): Likewise.
25698         (NILFS_SUPER_MAGIC): Likewise.
25699         (OPENPROM_SUPER_MAGIC): Likewise.
25700         (PIPEFS_MAGIC): Likewise.
25701         (PSTOREFS_MAGIC): Likewise.
25702         (QNX6_SUPER_MAGIC): Likewise.
25703         (RAMFS_MAGIC): Likewise.
25704         (REISERFS_SUPER_MAGIC_STRING): Likewise.
25705         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
25706         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
25707         (SECURITYFS_MAGIC): Likewise.
25708         (SELINUX_MAGIC): Likewise.
25709         (SMACK_MAGIC): Likewise.
25710         (SOCKFS_MAGIC): Likewise.
25711         (SQUASHFS_MAGIC): Likewise.
25712         (STACK_END_MAGIC): Likewise.
25713         (TMPFS_MAGIC): Likewise.
25714         (USBDEVICE_SUPER_MAGIC): Likewise.
25715         (V9FS_MAGIC): Likewise.
25716         (XENFS_SUPER_MAGIC): Likewise.
25717         (CRAMFS_MAGIC): Fix typo in comment.
25718         (EXT2_SUPER_MAGIC): Update comment.
25719         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
25721 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
25723         * sysdeps/arm: Move directory from ports/sysdeps/arm.
25724         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
25725         * sysdeps/unix/sysv/linux/arm: Move directory from
25726         ports/sysdeps/unix/sysv/linux/arm.
25727         * README: Update listing for arm-*-linux-gnueabi.
25729         * README: Remove mention of am33.
25731 2014-02-07  Roland McGrath  <roland@hack.frob.com>
25733         * bits/sigset.h (__sigemptyset): Use a statement expression rather
25734         than the comma operator, to avoid "rhs of comma has no effect"
25735         compiler warnings.
25736         (__sigfillset, __sigandset, __sigorset): Likewise.
25737         * include/signal.h (__sigemptyset): Likewise.
25738         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
25740 2014-02-07  Allan McRae  <allan@archlinux.org>
25742         * version.h (RELEASE): Set to "development".
25743         (VERSION): Set to "2.19.90"
25744         * NEWS: Add 2.20 section.
25746 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
25748         [BZ #16529]
25749         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25751 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25753         * manual/contrib.texi: Update entry for Carlos O'Donell,
25754         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25756 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
25758         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
25760         * sysdeps/unix/sysv/linux/kernel-features.h
25761         [__LINUX_KERNEL_VERSION >= 0x020621]
25762         (__ASSUME_PROC_PID_TASK_COMM): Define.
25764 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25766         [BZ #16398]
25767         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
25768         conversion when destination buffer does not have enough space.
25769         * libio/tst-ftell-partial-wide.c: New test case.
25770         * libio/Makefile (tests): Add tst-ftell-partial-wide.
25772         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
25773         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
25774         Leonard and Allan McRae.
25776 2014-02-04  David S. Miller  <davem@davemloft.net>
25778         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
25779         32-bit.
25781 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25784         New file
25785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25786         New file
25787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25788         New file.
25789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25790         New file.
25791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25792         New file.
25793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25794         New file.
25795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25796         New file.
25797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25798         New file.
25799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25800         New file.
25801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25802         New file.
25803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25804         New file.
25805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25806         New file.
25807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25808         New file.
25810 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25812         * nptl/shlib-versions: Change powerpc*le start to 2.17.
25813         * shlib-versions: Likewise.
25815 2014-02-04  Roland McGrath  <roland@hack.frob.com>
25816             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25818         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
25819         (abilist-pattern): New variable, set to %-le.abilist.
25821         * Makerules (abilist-pattern): New variable.
25822         (vpath): Use $(abilist-pattern) in place of %.abilist.
25823         (check-abi-% pattern rule): Likewise.
25824         (check-abi, update-abi): Likewise.
25826 2014-02-04  Eric Wong  <normalperson@yhbt.net>
25828         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25830 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
25832         * manual/startup.texi: Add next, previous, and top entries for
25833         the `Program Arguments' and `Environment Variables' nodes.
25835 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
25837         * manual/macros.texi: Add comments before MTASC-safety macros.
25839         * manual/users.texi: Document MTASC-safety properties.
25841         * manual/threads.texi (pthread_key_create, pthread_key_delete)
25842         (pthread_getspecific, pthread_setspecific): Format with
25843         @deftypefun, and add @safety note.
25844         * manual/signal.texi: Move comments that analyze the above
25845         functions to their home place.
25847 2014-02-03  Allan McRae  <allan@archlinux.org>
25849         * po/sl.po: Update Slovenian translation from translation project.
25851 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
25853         * manual/time.texi (timegm): Add missing blank after @c.
25854         Reported by Joseph Myers <joseph@codesourcery.com>.
25856 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
25858         * manual/check-safety.sh: New.
25859         * manual/Makefile ($(objpfx)stamp-summary): Run it.
25861         * manual/terminal.texi: Document MTASC-safety properties.
25863         * manual/filesys.texi: Document MTASC-safety properties.
25865         * manual/errno.texi: Document MTASC-safety properties.
25867         * manual/intro.texi: Document safety identifiers and
25868         conditionals.
25870         * manual/string.texi (wcstok): Fix prototype.
25871         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
25873         * manual/time.texi: Document MTASC-safety properties.
25875         * manual/string.texi: Document MTASC-safety properties.
25877         * manual/threads.texi: Document MTASC-safety properties.
25879         * manual/stdio.texi: Document MTASC-safety properties.
25881         * manual/syslog.texi: Document MTASC-safety properties.
25883         * manual/sysinfo.texi: Document MTASC-safety properties.
25885         * manual/startup.texi: Document MTASC-safety properties.
25887         * manual/socket.texi: Document MTASC-safety properties.
25889         * manual/signal.texi: Document MTASC-safety properties.
25891 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
25893         * manual/setjmp.texi: Document MTASC-safety properties.
25895         * manual/search.texi: Document MTASC-safety properties.
25897         * manual/resource.texi: Document MTASC-safety properties.
25899         * manual/process.texi: Document MTASC-safety properties.
25901         * manual/platform.texi: Document MTASC-safety properties.
25903         * manual/pipe.texi: Document MTASC-safety properties.
25905         * manual/pattern.texi: Document MTASC-safety properties.
25907         * manual/message.texi: Document MTASC-safety properties.
25909         [BZ #12751]
25910         * manual/memory.texi: Document MTASC-safety properties.
25912         * manual/math.texi: Document MTASC-safety properties.
25914         * manual/locale.texi: Document MTASC-safety properties.
25916         * manual/llio.texi: Document MTASC-safety properties.
25918         * manual/libdl.texi: New.
25920         * manual/lang.texi: Document MTASC-safety properties.
25922         * manual/job.texi: Document MTASC-safety properties.
25924         * manual/getopt.texi: Document MTASC-safety properties.
25926         * manual/ctype.texi: Document MTASC-safety properties.
25928 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
25930         [BZ #16046]
25931         * csu/libc-tls.c (static_map): Remove variable.
25932         (__libc_setup_tls): Use main executable's link map for TLS data.
25933         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
25934         casing for LM_ID_BASE and GL(dl_nns).
25935         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
25936         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
25937         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
25938         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
25939         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
25940         member.
25941         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
25942         l_phnum members.
25944 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
25946         * manual/debug.texi: Document MTASC-safety properties.
25948 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
25950         [BZ #16510]
25951         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
25952         of __x86_64__ when disabling x87 inline functions.
25954 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
25956         * manual/charset.texi: Document MTASC-safety properties.
25958         * manual/crypt.texi: Document MTASC-safety properties.
25960         * manual/conf.texi: Document MTASC-safety properties.
25962         * manual/arith.texi: Document MTASC-safety properties.
25964         * manual/argp.texi: Document MTASC-safety properties.
25966         * manual/macros.texi: Introduce macros to document multi
25967         thread, asynchronous signal and asynchronous cancellation
25968         safety properties.
25969         * manual/intro.texi: Introduce the properties themselves.
25971 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25973         * sysdeps/sh/sh4/Makefile: New file.
25975 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
25977         * math/gen-libm-test.pl ($srcdir): New variable.
25978         ($auto_input): Use it.
25980 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25982         [BZ #16506]
25983         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
25984         access beyond array bounds when parsing netgroups file.
25986         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
25987         the old buffer before realloc.
25989 2014-01-27  Allan McRae  <allan@archlinux.org>
25991         * po/fr.po: Update French translation from translation project.
25993 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25995         * sysdeps/sh/libm-test-ulps: Regenerate.
25997 2014-01-24  David S. Miller  <davem@davemloft.net>
25999         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
26001 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26003         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
26004         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
26006 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26008         [BZ #16474]
26009         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
26010         string pointers after reallocation.
26012 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26014         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
26015         __SH4A__ instead of __SH_FPU_ANY__.
26017 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26019         * sysdeps/sh/fpu_control.h: New file.
26020         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
26021         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
26022         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
26023         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
26024         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
26025         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
26026         * sysdeps/sh/sys/ucontext.h: Remove.
26027         * sysdeps/sh/sys: Remove directory.
26029 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26031         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
26032         s390/sys/ucontext.h.
26033         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
26034         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
26036 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
26038         [BZ #15605]
26039         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
26041 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26043         [BZ#16431]
26044         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26045         Adjust the vDSO correctly for internal calls.
26046         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
26048 2014-01-20  Allan McRae  <allan@archlinux.org>
26050         * po/ca.po: Update Catalan translation from translation project.
26052 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
26054         * sysdeps/s390/sotruss-lib.c: New file.
26056 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26058         [BZ#16430]
26059         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
26060         (__GI___gettimeofday): Alias for a different internal symbol to avoid
26061         local calls issues by not having a PLT stub required for IFUNC calls.
26062         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
26064 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
26066         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
26067         * math/test-fpucw-static.c: Likewise.
26069 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26071         [BZ #16453]
26072         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
26074 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26076         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
26077         implementation for powerpc.
26079 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
26081         [BZ #14782]
26082         * sysdeps/posix/system.c (__libc_system): Do not enable
26083         asynchronous cancellation.
26085 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26087         [BZ #16427]
26088         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
26089         handling only for numbers special also in the IEEE case.
26091 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26093         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26095 2014-01-11  Allan McRae  <allan@archlinux.org>
26097         * po/bg.po: Update Bulgarian translation from translation project.
26099         * po/de.po: Update German translation from translation project.
26101 2014-01-10  Roland McGrath  <roland@hack.frob.com>
26103         * sysdeps/generic/gcc-compat.h: New file.
26105 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26107         * benchtests/asin-inputs: Correct slow inputs.
26108         * benchtests/acos-inputs: Likewise.
26110 2014-01-10  Allan McRae  <allan@archlinux.org>
26112         * po:sv.po: Update Swedish translation from translation project.
26114         * po/vi.po: Update Vietnamese translation from translation project.
26116         * po/eo.po: Update Esperanto translation from translation project.
26118         * po/cs.po: Update Czech translation from translation project.
26120         * po/nl.po: Update Dutch translation from translation project.
26122         * po/pl.po: Update Polish translation from translation project.
26124         * po/ru.po: Update Russian translation from translation project.
26126         * po/uk.po: Update Ukrainian translation from translation project.
26128 2014-01-08  Brooks Moses  <bmoses@google.com>
26130         * elf/dl-load.c: Fix comment typo.
26132 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
26134         * po/header.pot: Rename to...
26135         * po/pot.header: ... this.
26136         * po/Makefile: Use pot.header.
26138 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
26139             Maxim Kuvyrkov  <maxim@kugelworks.com>
26141         [BZ #16394]
26142         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
26143         SRC and DEST against LEN.
26145 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26147         [BZ #16414]
26148         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
26149         implementation.
26150         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
26152 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26154         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26156 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
26158         [BZ #16408]
26159         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
26160         for large positive arguments.
26162 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
26164         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26166         * math/auto-libm-test-in: Mark various tests with
26167         xfail-rounding:ldbl-128ibm.
26168         * math/auto-libm-test-out: Regenerated.
26170         [BZ #16407]
26171         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26172         Increase overflow threshold.
26174 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
26176         [BZ #14286]
26177         * stdio-common/vfprintf.c: Check for integer overflow.
26179 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26181         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
26182         the first argument and return value of __tls_get_addr_internal.
26184 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26186         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
26187         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
26189 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26191         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
26192         * sysdeps/s390/rtld-global-offsets.sym: New file.
26193         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
26194         GLIBC_2.19 symbol.
26195         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
26196         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
26197         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26198         ... this.
26199         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
26200         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26201         ... this.
26202         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26203         Regenerate.
26204         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26205         Regenerate.
26206         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
26207         halfs of GPRs for high_gprs contexts.
26208         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
26209         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
26210         field.
26211         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
26212         uc_flags field.
26213         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
26214         64 bit versions:
26215         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
26216         for high GPRs (uc_high_gprs) and for future extensions
26217         (__reserved).
26218         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
26219         for future extensions (__reserved).
26220         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
26221         64 bit versions:
26222         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
26223         SC_HIGHGPRS offset definition.
26224         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
26225         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
26227         * Versions.def: Add GLIBC_2.19 for libpthread.
26228         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
26229         siglongjmp for libpthread with GLIBC_2.19 symver.
26230         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
26231         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
26232         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
26233         * sysdeps/s390/__longjmp.c: New file.
26234         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
26235         * sysdeps/s390/longjmp.c: New file.
26236         * sysdeps/s390/setjmp.S: New file.
26237         * sysdeps/s390/sigjmp.S: New file.
26238         * sysdeps/s390/v1-longjmp.c: New file.
26239         * sysdeps/s390/v1-setjmp.h: New file.
26240         * sysdeps/s390/v1-sigjmp.c: New file.
26241         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
26242         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
26243         GLIBC_2.19 version.
26244         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
26245         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
26246         versioned symbols for ____longjmp_chk.
26247         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26248         Likewise.
26249         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26250         Regenerate.
26251         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26252         Regenerate.
26253         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26254         Regenerate.
26255         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26256         Regenerate.
26257         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
26258         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
26259         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
26260         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
26261         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
26262         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
26263         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
26264         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
26265         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
26266         * sysdeps/s390/rtld-__longjmp.c: New file.
26267         * sysdeps/s390/rtld-setjmp.S: New file.
26269 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
26271         [BZ #16400]
26272         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26273         Return -__logl (x) for small positive arguments without evaluating
26274         a polynomial.
26276 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
26278         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
26279         Rename to ...
26280         (__ptrace_peeksiginfo_args): ... this.
26281         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26282         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26283         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26285 2014-01-06  Allan McRae  <allan@archlinux.org>
26287         * inet/netinet/in.h: Fix typo in comment.
26289 2014-01-05  Andreas Jaeger  <aj@suse.de>
26291         * sysdeps/i386/fpu/libm-test-ulps: Update.
26293 2014-01-05  Allan McRae  <allan@archlinux.org>
26295         * po/libc.pot: Regenerated.
26297         * malloc/memusagestat.c: Fix gettext call formatting.
26299 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
26301         * nscd/nscd.c: Improve usage() output.
26303 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
26305         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
26306         * sysdeps/unix/sysv/linux/configure: Regenerated.
26307         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
26308         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
26310 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26312         [BZ #16390]
26313         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26314         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
26316 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26318         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
26319         extra tokens at end of #undef directive.
26320         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26321         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26322         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26324 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26326         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26328         * math/auto-libm-test-in: Mark various tests with
26329         xfail-rounding:ldbl-128ibm.
26330         * math/auto-libm-test-out: Regenerated.
26332 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
26334         [BZ #16386]
26335         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
26336         numbers with subnormal high part when calculating exponent.
26338         [BZ #16385]
26339         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
26340         fabs.
26342         [BZ #16384]
26343         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
26344         M_LN2l.
26345         (__ieee754_acoshl): Use __log1pl not __log1p.
26347 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
26349         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
26350         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
26351         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
26352         (grow_heap, heap_trim, _int_new_arena, get_free_list)
26353         (reused_arena, arena_get2): Convert to GNU style.
26354         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
26355         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
26356         (memalign_check, __malloc_set_state): Likewise.
26357         * malloc/mallocbug.c (main): Likewise.
26358         * malloc/malloc.c (__malloc_assert, malloc_init_state)
26359         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
26360         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
26361         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
26362         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
26363         (__posix_memalign, malloc_info): Likewise.
26364         * malloc/malloc.h: Likewise.
26365         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
26366         (mallochook, memalignhook, reallochook, mabort): Likewise.
26367         * malloc/mcheck.h: Likewise.
26368         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
26369         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
26370         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
26371         * malloc/morecore.c (__default_morecore): Likewise.
26372         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
26373         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
26374         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
26375         (print_and_abort): Likewise.
26376         * malloc/obstack.h: Likewise.
26377         * malloc/set-freeres.c (__libc_freeres): Likewise.
26378         * malloc/tst-mallocstate.c (main): Likewise.
26379         * malloc/tst-mtrace.c (main): Likewise.
26380         * malloc/tst-realloc.c (do_test): Likewise.
26382 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26384         [BZ #16366]
26385         * nscd/netgroupcache.c (do_notfound): New function.
26386         (addgetnetgrentX): Use it.
26388         [BZ # 16365]
26389         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
26390         NSS_STATUS_NOTFOUND.
26392 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
26394         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26397 2014-01-01  Allan McRae  <allan@archlinux.org>
26399         * scripts/update-copyrights: Update configure input file suffix.
26401         * NEWS: Update copyright year.
26402         * catgets/gencat.c: Likewise.
26403         * csu/version.c: Likewise.
26404         * debug/catchsegv.sh: Likewise.
26405         * debug/pcprofiledump.c: Likewise.
26406         * debug/xtrace.sh: Likewise.
26407         * elf/ldconfig.c: Likewise.
26408         * elf/ldd.bash.in: Likewise.
26409         * elf/pldd.c: Likewise.
26410         * elf/sotruss.ksh: Likewise.
26411         * elf/sprof.c: Likewise.
26412         * iconv/iconv_prog.c: Likewise.
26413         * iconv/iconvconfig.c: Likewise.
26414         * locale/programs/locale.c: Likewise.
26415         * locale/programs/localedef.c: Likewise.
26416         * login/programs/pt_chown.c: Likewise.
26417         * malloc/memusage.sh: Likewise.
26418         * malloc/memusagestat.c: Likewise.
26419         * malloc/mtrace.pl: Likewise.
26420         * manual/libc.texinfo: Likewise.
26421         * nscd/nscd.c: Likewise.
26422         * nss/getent.c: Likewise.
26423         * nss/makedb.c: Likewise.
26424         * posix/getconf.c: Likewise.
26425         * scripts/test-installation.pl: Likewise.
26427         * All files with FSF copyright notices: Update copyright dates
26428         using scripts/update-copyrights.
26429         * intl/plural.c: Regenerated.
26430         * locale/programs/charmap-kw.h: Likewise.
26431         * locale/programs/locfile-kw.h: Likewise.
26433 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
26435         * sysdeps/unix/sysv/linux/configure: Regenerated.
26436         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
26437         the linux/fanotify.h header.
26438         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
26439         HAVE_LINUX_FANOTIFY_H is defined.
26441 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26443         * benchtests/cos-inputs: New inputs.
26444         * benchtests/sin-inputs: Likewise.
26446         * benchtests/atan-inputs: New inputs. Fix name of multiple
26447         precision fallback inputs.
26449         * benchtests/atanh-inputs: New inputs.
26450         * benchtests/tanh-inputs: Likewise.
26452         * benchtests/acosh-inputs: New inputs.
26453         * benchtests/asinh-inputs: Likewise.
26455         * benchtests/cosh-inputs: New inputs.
26456         * benchtests/sinh-inputs: Likewise.
26458         * benchtests/acos-inputs: Add more inputs.
26459         * benchtests/asin-inputs: Likewise.
26461 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
26463         [BZ #16375]
26464         * manual/arith.texi: Fix spelling.
26465         * manual/charset.texi: Likewise.
26466         * manual/errno.texi: Likewise.
26467         * manual/filesys.texi: Likewise.
26468         * manual/lang.texi: Likewise.
26469         * manual/llio.texi: Likewise.
26470         * manual/locale.texi: Likewise.
26471         * manual/message.texi: Likewise.
26472         * manual/resource.texi: Likewise.
26473         * manual/search.texi: Likewise.
26474         * manual/setjmp.texi: Likewise.
26475         * manual/stdio.texi: Likewise.
26476         * manual/string.texi: Likewise.
26477         * manual/sysinfo.texi: Likewise.
26478         * manual/time.texi: Likewise.
26480 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
26482         * po/sl.po: New file.
26484 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
26486         * .gitignore: Add core/.gdbinit/.gdb_history.
26488 2013-12-27  Allan McRae  <allan@archlinux.org>
26490         [BZ #16369]
26491         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
26492         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
26494 2013-12-24  Brooks Moses  <bmoses@google.com>
26496         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
26497         all compilers that claim C++98 compliance, not just GCC.
26498         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26499         Likewise.
26501 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26503         * NEWS: Restore accidentally deleted bug-fix entries.
26505 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26506             Ondřej Bílka  <neleai@seznam.cz>
26508         [BZ #15073]
26509         * malloc/malloc.c (_int_free): Perform sanity check only if we
26510         have_lock.
26512 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
26514         [BZ #12986]
26515         * manual/stdio.texi (String Input Conversions): Clarify that character
26516         classes are not supported.
26518 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26520         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26522 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
26524         [BZ #16337]
26525         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26526         Calculate results for small negative arguments directly rather
26527         than using reflection formula with special underflow handling.
26529         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
26530         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
26531         sysdeps/unix/bsd/bsd4.4/syscalls.list.
26532         (fchflags): Likewise.
26533         (revoke): Likewise.
26534         (setlogin): Likewise.
26535         (sigaltstack): Likewise.
26536         (wait4): Likewise.
26537         (sigblock): Remove.
26538         (sigsetmask): Likewise.
26539         (wait3): Likewise.
26540         (waitpid): Likewise.
26541         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
26542         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
26543         file.
26544         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
26545         * sysdeps/unix/bsd/Makefile: ... here.
26546         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
26547         * sysdeps/unix/bsd/Versions: ... here.
26548         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
26549         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
26550         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
26551         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
26552         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
26553         * sysdeps/unix/bsd/sigblock.c: ... here.
26554         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
26555         * sysdeps/unix/bsd/sigsetmask.c: ... here.
26556         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
26557         * sysdeps/unix/bsd/sigvec.c: ... here.
26558         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
26559         * sysdeps/unix/bsd/tcdrain.c: ... here.
26560         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
26561         * sysdeps/unix/bsd/tcgetattr.c: ... here.
26562         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
26563         * sysdeps/unix/bsd/tcsetattr.c: ... here.
26564         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
26565         * sysdeps/unix/bsd/wait.c: ... here.
26566         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
26567         * sysdeps/unix/bsd/wait3.c: ... here.
26568         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
26569         * sysdeps/unix/bsd/waitpid.c: ... here.
26571 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
26573         [BZ #16356]
26574         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
26575         round-to-nearest for [!USE_AS_EXPM1L].
26576         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
26577         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
26578         more tests of exp and exp10.  Expect some exp10 tests to miss
26579         exceptions or fail in directed rounding modes.
26580         * math/auto-libm-test-out: Regenerated.
26581         * math/libm-test.inc (exp10_tonearest_test_data): New array.
26582         (exp10_test_tonearest): New function.
26583         (exp10_towardzero_test_data): New array.
26584         (exp10_test_towardzero): New function.
26585         (exp10_downward_test_data): New array.
26586         (exp10_test_downward): New function.
26587         (exp10_upward_test_data): New array.
26588         (exp10_test_upward): New function.
26589         (main): Call the new functions.
26590         * sysdeps/i386/fpu/libm-test-ulps: Update.
26591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26593 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
26595         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26596         asinh, atan, atan2, atanh, cbrt, cos and cosh.
26597         * math/auto-libm-test-out: Regenerated.
26598         * math/libm-test.inc (acosh_test_data): Add more tests.
26599         (atanh_test_data): Likewise.
26600         (ceil_test_data): Likewise.
26601         (copysign_test_data): Likewise.
26602         * sysdeps/i386/fpu/libm-test-ulps: Update.
26603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26605         * timezone/checktab.awk: Update from tzcode 2013i.
26606         * timezone/private.h: Likewise.
26607         * timezone/scheck.c: Likewise.
26608         * timezone/tzfile.h: Likewise.
26609         * timezone/tzselect.ksh: Likewise.
26610         * timezone/zdump.c: Likewise.
26611         * timezone/zic.c: Likewise.
26613         * math/auto-libm-test-in: Add tests of cpow.
26614         * math/auto-libm-test-out: Regenerated.
26615         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
26616         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26617         mpc_cc_c.
26618         (func_calc_desc): Add mpc_cc_c union field.
26619         (test_functions): Add cpow.
26620         (special_fill_2pi): New function.
26621         (special_real_inputs): Add 2pi.
26622         (calc_generic_results): Handle mpc_cc_c.
26623         * sysdeps/i386/fpu/libm-test-ulps: Update.
26624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26626         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
26627         csqrt, ctan and ctanh.
26628         * math/auto-libm-test-out: Regenerated.
26629         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26630         (TEST_COND_x86): Likewise.
26631         (ccos_test_data): Use AUTO_TESTS_c_c.
26632         (ccosh_test_data): Likewise.
26633         (cexp_test_data): Likewise.
26634         (clog_test_data): Likewise.
26635         (csqrt_test_data): Likewise.
26636         (ctan_test_data): Likewise.
26637         (ctan_tonearest_test_data): Likewise.
26638         (ctan_towardzero_test_data): Likewise.
26639         (ctan_downward_test_data): Likewise.
26640         (ctan_upward_test_data): Likewise.
26641         (ctanh_test_data): Likewise.
26642         (ctanh_tonearest_test_data): Likewise.
26643         (ctanh_towardzero_test_data): Likewise.
26644         (ctanh_downward_test_data): Likewise.
26645         (ctanh_upward_test_data): Likewise.
26646         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26647         mpc_c_c.
26648         (func_calc_desc): Add mpc_c_c union field.
26649         (FUNC_mpc_c_c): New macro.
26650         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
26651         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
26652         ctanh.
26653         (special_fill_min_subnorm_p120): New function.
26654         (special_real_inputs): Add min_subnorm_p120.
26655         (calc_generic_results): Handle mpc_c_c.
26656         * sysdeps/i386/fpu/libm-test-ulps: Update.
26657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26659 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26661         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
26662         (do_sin_slow): New functions.
26663         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
26664         (cslow2, csloww1, csloww2): Use the new functions.
26666         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
26667         Use M to change sign of result instead of X.  Assume X is
26668         positive.
26669         (csloww1): Likewise.
26670         (__sin): Adjust.
26671         (__cos): Adjust.
26673         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
26674         arguments A and DA.
26675         (__sin): Adjust.
26676         (__cos): Likewise.
26678         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
26679         (__cos): Likewise.
26680         (sloww1): Don't adjust sign of DX.
26681         (csloww1): Likewise.
26682         (sloww2): Use X directly and don't adjust sign of DX.
26683         (csloww2): Likewise.
26685 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26687         * math/auto-libm-test-in: Add tests of cabs and carg.
26688         * math/auto-libm-test-out: Regenerated.
26689         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
26690         (carg_test_data): Likewise.
26691         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26692         mpc_c_f.
26693         (func_calc_desc): Add mpc_c_f union field.
26694         (test_functions): Add cabs and carg.
26695         (calc_generic_results): Handle mpc_c_f.
26697         * sysdeps/powerpc/powerpc32/libgcc-compat.S
26698         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
26699         as a macro and a compat symbol.
26700         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26701         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26702         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26703         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26704         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
26705         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
26706         not use .hidden.
26707         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
26708         Likewise.
26709         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
26710         Likewise.
26711         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
26712         Likewise.
26713         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
26714         Likewise.
26715         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
26716         Likewise.
26717         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
26718         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
26719         from GLIBC_2.3.2.
26721 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26725 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26727         * manual/texinfo.tex: Update to version 2013-11-26.10 with
26728         trailing whitespace removed.
26729         * scripts/config.guess: Update to version 2013-11-29.
26730         * scripts/config.sub: Update to version 2013-10-01.
26732         * math/auto-libm-test-in: Add tests of sincos.
26733         * math/auto-libm-test-out: Regenerated.
26734         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
26735         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26736         mpfr_f_11.
26737         (func_calc_desc): Add mpfr_f_11 union field.
26738         (test_functions): Add sincos.
26739         (calc_generic_results): Handle mpfr_f_11.
26740         * sysdeps/i386/fpu/libm-test-ulps: Update.
26741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26743 2013-12-19  Andreas Schwab  <schwab@suse.de>
26745         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26746         CALL_MCOUNT.
26747         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26748         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26749         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26751 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26753         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26754         * sysdeps/i386/fpu/libm-test-ulps: Update.
26755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26757         [BZ #16293]
26758         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
26759         round-to-nearest mode when using frndint.
26760         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
26761         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26762         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26763         Likewise.
26764         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
26765         sinh test to fail.
26766         * math/auto-libm-test-out: Regenerated.
26767         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
26768         (TEST_COND_x86): Likewise.
26769         (expm1_tonearest_test_data): New array.
26770         (expm1_test_tonearest): New function.
26771         (expm1_towardzero_test_data): New array.
26772         (expm1_test_towardzero): New function.
26773         (expm1_downward_test_data): New array.
26774         (expm1_test_downward): New function.
26775         (expm1_upward_test_data): New array.
26776         (expm1_test_upward): New function.
26777         (main): Run the new test functions.
26778         * sysdeps/i386/fpu/libm-test-ulps: Update.
26779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26781         * include/features.h: Update comment documenting feature test
26782         macros.  Mention _DEFAULT_SOURCE in comment.
26783         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
26784         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
26785         _BSD_SOURCE and _SVID_SOURCE.
26786         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
26787         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
26788         !_SVID_SOURCE]: Likewise.
26789         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26790         (__USE_POSIX_IMPLICITLY): Define.
26791         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26792         (_POSIX_SOURCE): Undefine and redefine.
26793         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26794         (_POSIX_C_SOURCE): Likewise.
26795         * manual/creature.texi (_DEFAULT_SOURCE): Document.
26796         (Feature Test Macros): Update documentation of default features.
26798 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26800         * benchtests/Makefile: Add bench-strtok.
26801         * benchtests/bench-strtok.c: New file: strtok benchtest.
26803 2013-12-19  Allan McRae  <allan@archlinux.org>
26805         * manual/install.texi: Suppress menu for plain text output.
26806         * INSTALL: Regenerated.
26808 2013-12-18  Brooks Moses  <bmoses@google.com>
26810         [BZ #15846]
26811         * misc/getauxval.c: Include errno.h.
26812         (__getauxval): Set errno to ENOENT if the requested type is not
26813         found.
26814         * misc/sys/auxv.h (getauxval): Document that it may set errno;
26815         don't declare with __attribute_const__.
26816         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
26817         * manual/startup.texi: Document that getauxval sets errno.
26819 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26821         * math/auto-libm-test-in: Add tests of jn and yn.
26822         * math/auto-libm-test-out: Regenerated.
26823         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
26824         (yn_test_data): Likewise.
26825         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26826         mpfr_if_f.
26827         (func_calc_desc): Add mpfr_if_f union field.
26828         (FUNC_mpfr_if_f): New macro.
26829         (test_functions): Add jn and yn.
26830         (calc_generic_results): Assert type of second input for
26831         mpfr_ff_f.  Handle mpfr_if_f.
26832         (output_for_one_input_case): Disable all checking for arguments
26833         fitting floating-point types in case of an integer argument.
26834         * sysdeps/i386/fpu/libm-test-ulps: Update.
26835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26838         Don't expect fegetround reference in libm.so.
26840 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26842         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
26843         $(config-cflags-nofma).
26845 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26847         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
26848         * math/auto-libm-test-out: Regenerated.
26850         [BZ #16338]
26851         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
26852         to determine exponent and adjust argument to have exponent of -1.
26853         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26854         log2.
26855         * math/auto-libm-test-out: Regenerated.
26856         * sysdeps/i386/fpu/libm-test-ulps: Update.
26857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26859 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
26861         * manual/probes.texi: Remove cases when per-thread arenas are
26862         disabled.
26864 2013-12-18  Andreas Schwab  <schwab@suse.de>
26866         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
26867         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
26868         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
26869         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
26870         * sysdeps/i386/i686/multiarch/Makefile: Update.
26871         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
26873 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26875         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
26876         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
26878 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
26880         [BZ #15968]
26881         Support TZ transition times < 00:00:00.
26882         This is needed for version-3 tz-format files; it supports time
26883         stamps past 2037 for America/Godthab (the only entry in the tz
26884         database for which this change is relevant).
26885         * manual/time.texi (TZ Variable): Document transition times
26886         from -167:59:59 through -00:00:01.
26887         * time/tzset.c (tz_rule): Time of day is now signed.
26888         (__tzset_parse_tz): Parse negative time of day.
26890         Document TZ transition times >= 25:00:00.
26891         * manual/time.texi (TZ Variable): Document transition times from
26892         25:00:00 through 167:59:59.  These are already supported, and this
26893         support will help with version-3 tz-format files.
26895         * manual/time.texi (TZ Variable): Modernize North America example
26896         to reflect current (i.e., 2007-and-later) daylight saving rules.
26898         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
26900 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26902         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
26903         * sysdeps/unix/bsd/bits/stat.h: Likewise.
26904         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
26905         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26906         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
26907         * sysdeps/unix/bsd/bsdstat.h: Likewise.
26908         * sysdeps/unix/bsd/clock.c: Likewise.
26909         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
26910         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
26911         * sysdeps/unix/bsd/init-posix.c: Likewise.
26912         * sysdeps/unix/bsd/poll.c: Likewise.
26913         * sysdeps/unix/bsd/ptsname.c: Likewise.
26914         * sysdeps/unix/bsd/seekdir.c: Likewise.
26915         * sysdeps/unix/bsd/setegid.c: Likewise.
26916         * sysdeps/unix/bsd/seteuid.c: Likewise.
26917         * sysdeps/unix/bsd/setgid.c: Likewise.
26918         * sysdeps/unix/bsd/setrgid.c: Likewise.
26919         * sysdeps/unix/bsd/setruid.c: Likewise.
26920         * sysdeps/unix/bsd/setsid.c: Likewise.
26921         * sysdeps/unix/bsd/setuid.c: Likewise.
26922         * sysdeps/unix/bsd/sigaction.c: Likewise.
26923         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
26924         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
26925         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
26926         * sysdeps/unix/bsd/telldir.c: Likewise.
26927         * sysdeps/unix/bsd/times.c: Likewise.
26928         * sysdeps/unix/bsd/usleep.c: Likewise.
26930         * misc/Makefile (install-lib): Remove libbsd-compat.a.
26931         ($(objpfx)libbsd-compat.a): Remove rule.
26933         * include/features.h (__FAVOR_BSD): Do not define.
26934         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
26935         features conflicting with POSIX.
26936         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
26937         (_BSD_SOURCE): Remove description of not being a subset of other
26938         feature test macros.
26939         * manual/job.texi (getpgrp): Do not document BSD version.
26940         (getpgid): Do not document by reference to BSD getpgrp.
26941         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
26942         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
26943         * signal/signal.h [__FAVOR_BSD]: Likewise.
26944         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
26945         instead of making contents conditional on [__FAVOR_BSD].
26946         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
26948 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26950         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26952 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26954         [BZ #16314]
26955         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
26956         values below 2**-450, not 2**-500.
26957         * math/auto-libm-test-in: Don't allow spurious underflow from
26958         hypot.
26959         * math/auto-libm-test-out: Regenerated.
26961         [BZ #16316]
26962         [BZ #16330]
26963         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
26964         values of ha and hb and sort them after adjusting subnormal
26965         arguments.
26966         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26967         Likewise.
26968         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
26969         values of ea and eb and sort them after adjusting subnormal
26970         arguments.
26971         * math/auto-libm-test-in: Do not expect some hypot tests of
26972         subnormals to fail.  Add more hypot tests.
26973         * math/auto-libm-test-out: Regenerated.
26975 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26977         [BZ #13304]
26978         * sysdeps/sh/s_fma.c: New file.
26979         * sysdeps/sh/s_fmaf.c: New file.
26980         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
26981         version.
26982         * sysdeps/sh/Implies: Add sh/soft-fp.
26984 2013-12-16  Roland McGrath  <roland@hack.frob.com>
26986         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
26987         level of indirection to members `objname', `errstring', `malloced'.
26988         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
26989         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
26990         it as the __longjmp argument (just pass 1 instead).
26991         (_dl_catch_error): Initialize C with argument pointers and address of
26992         volatile local ERRCODE rather than copying values out of C at return.
26994 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
26996         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
26997         * math/auto-libm-test-out: Regenerated.
26998         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
26999         (hypot_test_data): Likewise.
27000         (pow_test_data): Likewise.
27001         (pow_tonearest_test_data): Likewise.
27002         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27003         mpfr_ff_f.
27004         (func_calc_desc): Add mpfr_ff_f union field.
27005         (FUNC_mpfr_ff_f): New macro.
27006         (test_functions): Add atan2, hypot and pow.
27007         (special_fill_min): New function.
27008         (special_fill_minus_min): Likewise.
27009         (special_fill_min_subnorm): Likewise.
27010         (special_fill_minus_min_subnorm): Likewise.
27011         (special_real_inputs): Add min, -min, min_subnorm and
27012         -min_subnorm.
27013         (calc_generic_results): Handle mpfr_ff_f.
27014         * sysdeps/i386/fpu/libm-test-ulps: Update.
27015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27017 2013-12-16  Will Newton  <will.newton@linaro.org>
27019         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
27020         (Aligned Memory Blocks): Add documentation for aligned_alloc
27021         and suggest it as an alternative to posix_memalign.
27022         (Hooks for Malloc): Document __memalign_hook is also called
27023         for aligned_alloc.  (Summary of Malloc): Add summary for
27024         aligned alloc.  Document __memalign_hook is also called
27025         for aligned_alloc.
27027 2013-12-16  Will Newton  <will.newton@linaro.org>
27029         * manual/memory.texi (Malloc Examples): Clarify default
27030         alignment documentation.  Suggest posix_memalign rather
27031         than memalign or valloc.
27032         (Aligned Memory Blocks): Remove suggestion to use memalign
27033         or valloc.  Remove obsolete comment about BSD.
27034         Document memalign errno values and mark the function obsolete.
27035         Document posix_memalign returned error codes.  Mark valloc
27036         as obsolete.  (Hooks for Malloc): __memalign_hook is also
27037         called for posix_memalign and valloc.
27038         (Summary of Malloc): Add posix_memalign to function summary.
27039         __memalign_hook is also called for posix_memalign and valloc.
27041 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27043         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
27044         TAYLOR_SIN.
27045         (__sin): Adjust.
27046         (__cos): Likewise.
27047         (sloww): Use mynumber union.  Expand ternary operator into
27048         if-else statements.
27049         (cslow): use mynumber union.
27051 2013-12-16  Allan McRae  <allan@archlinux.org>
27053         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
27054         * configure: Regenerated.
27056         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
27058         [BZ #14120]
27059         * configure.ac: Added --enable-maintainer-mode. Check for
27060         autoconf when enabled.
27061         * configure: Regenerated.
27063         * nscd/nscd.service: New file.
27064         * nscd/nscd.tmpfiles: New file.
27066 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
27068         [BZ #12100]
27069         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
27070         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
27071         * sysdeps/x86_64/multiarch/strstr.c: ... here.
27072         (strstr): Add __strstr_sse2_unaligned ifunc.
27073         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
27074         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
27075         (strcasestr): Remove __strcasestr_sse42 ifunc.
27076         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
27077         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27078         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27080 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27082         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
27083         * sysdeps/sh/bits/fenv.h: ... here.
27084         * sysdeps/sh/sh4/fpu/bits: Remove directory.
27086 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27088         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
27090         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
27091         hypotf multiarch implementations.
27092         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
27093         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
27094         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
27095         multiarch hypot for PPC64.
27096         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
27097         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
27098         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
27099         multiarch hypotf for PPC64.
27101         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
27102         modff multiarch implementations.
27103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
27104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
27105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
27106         multiarch modf for PPC64.
27107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
27108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
27109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
27110         multiarch modff for PPC64.
27112         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
27113         and logl multiarch implementations.
27114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
27115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
27116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
27117         multiarch logb for PPC64.
27118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
27119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
27120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
27121         multiarch logb for PPC64.
27122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
27123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
27124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
27125         multiarch logb for PPC64.
27127         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
27128         isinff multiarch implementation.
27129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
27130         file.
27131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
27132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
27133         multiarch isinf for PPC64.
27134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
27135         file.
27136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
27137         multiarch isinff for PPC64.
27139         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
27140         finitef multiarch implementation.
27141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
27142         file.
27143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
27144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
27145         multiarch finite for PPC64.
27146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
27147         file.
27148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
27149         multiarch finitef for PPC64.
27151         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
27152         lrint multiarch implementation.
27153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
27154         file.
27155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
27156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
27157         multiarch llrint for PPC64.
27158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
27159         multiarch lrint for PPC64.
27161         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
27162         copysignf multiarch implementation.
27163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
27164         file.
27165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
27166         file.
27167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
27168         multiarch copysign for PPC64.
27169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
27170         multiarch copysignf for PPC64.
27172         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
27173         multiarch implementation.
27174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
27175         file.
27176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
27177         file.
27178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
27179         file.
27180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
27181         file.
27182         multiarch llround for PPC64.
27183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
27184         multiarch trunc for PPC64.
27185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
27186         multiarch truncf for PPC64.
27188         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
27189         multiarch implementation.
27190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
27191         file.
27192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
27193         file.
27194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
27195         file.
27196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
27197         file.
27198         multiarch llround for PPC64.
27199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
27200         multiarch round for PPC64.
27201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
27202         multiarch roundf for PPC64.
27204         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
27205         multiarch implementation.
27206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
27207         file.
27208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
27209         file.
27210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
27211         file.
27212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
27213         file.
27214         multiarch llround for PPC64.
27215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
27216         multiarch floor for PPC64.
27217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
27218         multiarch floorf for PPC64.
27220         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
27221         multiarch implementation.
27222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
27223         file.
27224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
27225         file.
27226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
27227         file.
27228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
27229         file.
27230         multiarch llround for PPC64.
27231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
27232         multiarch ceil for PPC64.
27233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
27234         multiarch ceilf for PPC64.
27236         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
27237         multiarch implementation.
27238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
27239         file.
27240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
27241         file.
27242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
27243         file.
27244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
27245         multiarch llround for PPC64.
27246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
27247         multiarch lround for PPC64.
27249         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
27250         multiarch implementation.
27251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
27252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
27253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
27254         file.
27255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
27256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
27257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
27258         multiarch isnan for PPC64.
27259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
27260         multiarch isnanf for PPC64.
27262         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
27263         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
27264         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
27265         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
27266         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
27267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
27269         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
27270         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27271         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27272         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27274         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
27275         multiarch implementations.
27276         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27277         (__libc_ifunc_impl_list): Likewise.
27278         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
27279         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
27280         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
27281         multiarch stpcpy for PPC64.
27283         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
27284         multiarch implementations.
27285         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27286         (__libc_ifunc_impl_list): Likewise.
27287         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
27288         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
27289         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
27290         multiarch strcpy for PPC64.
27292         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
27293         redefine function name.
27294         (_wordcopy_fwd_dest_aligned): Likewise.
27295         (_wordcopy_bwd_aligned): Likewise.
27296         (_wordcopy_bwd_dest_aligned): Likewise.
27297         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
27298         multiarch implementations.
27299         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27300         (__libc_ifunc_impl_list): Likewise.
27301         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
27302         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
27303         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
27304         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
27305         multiarch wcscpy for PPC64.
27307         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
27308         multiarch implementations.
27309         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27310         (__libc_ifunc_impl_list): Likewise.
27311         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
27312         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
27313         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
27314         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
27315         multiarch wcscpy for PPC64.
27317         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
27318         multiarch implementations.
27319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27320         (__libc_ifunc_impl_list): Likewise.
27321         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
27322         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
27323         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
27324         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
27325         multiarch wcsrchr for PPC64.
27327         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
27328         multiarch implementations.
27329         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27330         (__libc_ifunc_impl_list): Likewise.
27331         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
27332         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
27333         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
27334         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
27335         multiarch wcschr for PPC64.
27337         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
27338         multiarch implementations.
27339         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27340         (__libc_ifunc_impl_list): Likewise.
27341         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
27342         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
27343         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
27344         multiarch strchrnul for PPC64.
27346         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
27347         implementations.
27348         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27349         (__libc_ifunc_impl_list): Likewise.
27350         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
27351         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
27352         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
27353         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
27354         strchr for PPC64.
27356         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
27357         implementations.
27358         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27359         (__libc_ifunc_impl_list): Likewise.
27360         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
27361         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
27362         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
27363         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
27364         strncmp for PPC64.
27366         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
27367         multiarch implementations.
27368         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27369         (__libc_ifunc_impl_list): Likewise.
27370         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
27371         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
27372         strncasecmp for PPC64.
27373         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
27374         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
27375         multiarch strncasecmp_l for PPC64.
27377         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
27378         multiarch implementations.
27379         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27380         (__libc_ifunc_impl_list): Likewise.
27381         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
27382         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
27383         multiarch strcasecmp for PPC64.
27384         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
27385         file.
27386         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
27387         multiarch strcasecmp_l for PPC64.
27389         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
27390         implementations.
27391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27392         (__libc_ifunc_impl_list): Likewise.
27393         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
27394         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
27395         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
27396         strnlen for PPC64.
27398         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
27399         implementations.
27400         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27401         (__libc_ifunc_impl_list): Likewise.
27402         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
27403         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
27404         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
27405         strlen for PPC64.
27407         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
27408         implementations.
27409         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27410         (__libc_ifunc_impl_list): Likewise.
27411         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
27412         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
27413         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
27414         rawmemrchr for PPC64.
27416         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
27417         implementation.
27418         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27419         (__libc_ifunc_impl_list): Likewise.
27420         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
27421         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
27422         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
27423         memrchr for PPC64.
27425         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
27426         implementation.
27427         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27428         (__libc_ifunc_impl_list): Likewise.
27429         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
27430         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
27431         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
27432         memchr for PPC64.
27434         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
27435         implementation.
27436         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27437         (__libc_ifunc_impl_list): Likewise.
27438         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
27439         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
27440         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
27441         mempcpy for PPC64.
27443         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
27444         avoid cretion of __bzero symbol.
27445         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
27446         Likewise.
27447         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
27448         Likewise.
27449         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
27450         Likewise.
27451         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
27452         multiarch implementations.
27453         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27454         (__libc_ifunc_impl_list): Likewise.
27455         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
27456         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
27457         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
27458         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
27459         bzero for PPC32.
27460         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
27461         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
27462         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
27463         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
27464         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
27465         memset for PPC64.
27466         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
27468         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
27469         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
27470         implementations.
27471         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27472         (__libc_ifunc_impl_list): Likewise.
27473         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
27474         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
27475         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
27476         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
27477         memcmp for PPC64.
27479         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
27480         multiarch for POWER/PPC64.
27481         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
27482         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
27483         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
27484         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
27485         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
27486         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
27487         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
27488         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
27489         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
27490         memcpy for PPC64.
27492         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
27493         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
27494         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
27495         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
27496         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
27497         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
27498         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
27499         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
27500         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
27501         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
27502         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
27503         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
27504         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
27505         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
27506         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
27507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
27508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
27509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
27510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
27511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
27512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
27513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
27515 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27517         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
27519 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27521         * benchtests/Makefile (bench): Add exp2 and log2.
27522         (LDLIBS-bench-exp2): Add -lm.
27523         (LDLIBS-bench-log2): Likewise.
27524         * benchtests/exp2-inputs: New inputs file.
27525         * benchtests/log2-inputs: New inputs file.
27526         * benchtests/log-inputs: Add new inputs.
27527         * benchtests/tan-inputs: Likewise.
27529 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27531         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
27532         definition...
27533         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
27534         (csloww2): ... from here.
27536         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
27537         instead of structures.
27538         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
27539         (POLYNOMIAL): Likewise.
27540         (TAYLOR_SLOW): Likewise.
27541         (__sin): Likewise.
27542         (__cos): Likewise.
27543         (slow1): Likewise.
27544         (slow2): Likewise.
27545         (sloww): Likewise.
27546         (sloww1); Likewise.
27547         (sloww2): Likewise.
27548         (bsloww1): Likewise.
27549         (bsloww2): Likewise.
27550         (cslow2): Likewise.
27551         (csloww): Likewise.
27552         (csloww1): Likewise.
27553         (csloww2): Likewise.
27555 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
27557         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
27558         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
27559         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
27560         * malloc/hooks.c (realloc_check): Likewise.
27562         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
27563         * malloc/arena.c: Remove PER_THREAD conditional.
27564         [!PER_THREAD]: Remove code.
27565         (ptmalloc_unlock_all2): Likewise.
27566         (ptmalloc_init): Likewise.
27567         (_int_new_arena): Likewise.
27568         (arena_get2): Likewise.
27569         * malloc/hooks.c (__malloc_get_state): Likewise.
27570         (__malloc_set_state): Likewise.
27571         * malloc/malloc.c: Likewise.
27572         (struct malloc_state): Likewise.
27573         (struct malloc_par): Likewise.
27574         (__libc_realloc): Likewise.
27575         (__libc_mallopt): Likewise.
27577 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27579         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
27581 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
27583         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
27584         macro to a function.  Check for zero perturb_byte.
27585         (_int_malloc, _int_free): Remove zero perturb_byte checks.
27587         * malloc/malloc.c: (force_reg): Remove.
27588         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
27589         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
27590         force_reg by atomic_forced_read.
27591         * malloc/arena.c (ptmalloc_init): Likewise.
27592         * malloc/hooks.c (top_check): Likewise.
27594 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27596         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27598 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
27600         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27602 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
27604         * math/auto-libm-test-in: Add tests of lgamma.
27605         * math/auto-libm-test-out: Regenerated.
27606         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
27607         (M_LOG_2_SQRT_PIl): Likewise.
27608         (lgamma_test_data): Use AUTO_TESTS_f_f1.
27609         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27610         mpfr_f_f1.
27611         (func_calc_desc): Add mpfr_f_f1 union field.
27612         (ARGS1): New macro.
27613         (ARGS2): Likewise.
27614         (ARGS3): Likewise.
27615         (ARGS4): Likewise.
27616         (RET1): Likewise.
27617         (RET2): Likewise.
27618         (CALC): Likewise.
27619         (FUNC): Likewise.
27620         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
27621         (test_functions): Add lgamma.
27622         (calc_generic_results): Handle mpfr_f_f1.
27623         * sysdeps/i386/fpu/libm-test-ulps: Update.
27624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27626 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27628         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
27629         __mpn_add_n for PowerPC64/POWER7.
27630         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
27631         __mpn_sub_n for PowerPC64/POWER7.
27633         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
27634         __mpn_addmul_1 for PowerPC64.
27635         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
27636         __mpn_submul_1 for PowerPC64.
27637         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
27638         for PowerPC64.
27639         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
27640         for PowerPC64.
27642 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
27644         [BZ #15089]
27645         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
27647 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27649         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
27651         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
27652         add multiarch folders.
27653         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
27654         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
27655         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
27656         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
27657         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
27658         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
27659         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
27660         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
27661         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
27662         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
27663         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
27664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
27665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
27667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
27668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
27669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
27671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27672         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
27673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
27674         New file.
27675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
27676         New file.
27677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
27678         multiarch __ieee754_hypot for PowerPC32.
27679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
27680         New file.
27681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
27682         New file.
27683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
27684         multiarch __ieee754_hypotf for PowerPC32.
27686         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
27687         long_double_symbol only if __logbl is defined.
27688         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
27689         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
27690         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
27691         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
27692         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27693         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
27694         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
27695         path for implementation.
27696         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
27697         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
27698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
27699         logb, and logbl multiarch implementations for PowerPC32.
27700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
27701         file.
27702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
27703         file.
27704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
27705         multiarch logb for PowerPC32.
27706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
27707         file.
27708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
27709         file.
27710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
27711         multiarch logbf for PowerPC32.
27712         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
27713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
27714         file.
27715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
27716         multiarch logbl implementation for PowerPC32.
27718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
27719         and modff multiarch implementations.
27720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
27721         New file.
27722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
27723         New file.
27724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
27725         multiarch modf for PowerPC32.
27726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
27727         New file.
27728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
27729         New file.
27730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
27731         multiarch modff for PowerPC32.
27733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
27734         and lrintf multiarch implementations.
27735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
27736         New file.
27737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
27738         New file.
27739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
27740         multiarch lrint for PowerPC32.
27741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27742         file: multiarch lrintf for PowerPC32.
27744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27745         and lroundf multiarch implementations.
27746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27747         New file.
27748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27749         New file.
27750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27751         New file.
27752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27753         multiarch lround for PowerPC32.
27754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27755         file: multiarch lroundf for PowerPC32.
27757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27758         copysign and copysignf multiarch implementations.
27759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
27760         New file.
27761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
27762         New file.
27763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
27764         file: multiarch copysign for PowerPC32.
27765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
27766         file: multiarch copysignf for PowerPC32.
27768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
27769         and truncf multiarch implementations.
27770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
27771         New file.
27772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
27773         file.
27774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
27775         multiarch trunc for PowerPC32.
27776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
27777         New file.
27778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
27779         New file.
27780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
27781         multiarch truncf for PowerPC32.
27783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
27784         and roundf multiarch implementations.
27785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
27786         New file.
27787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
27788         file.
27789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27790         multiarch round for PowerPC32.
27791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
27792         New file.
27793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
27794         New file.
27795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
27796         multiarch roundf for PowerPC32.
27798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
27799         and floorf multiarch implementations.
27800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
27801         New file.
27802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
27803         file.
27804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
27805         multiarch floor for PowerPC32.
27806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
27807         New file.
27808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
27809         New file.
27810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
27811         multiarch floorf for PowerPC32.
27813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
27814         and ceilf multiarch implementations.
27815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
27816         New file.
27817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
27818         file.
27819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
27820         multiarch ceil for PowerPC32.
27821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
27822         New file.
27823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
27824         file.
27825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
27826         multiarch ceilf for PowerPC32.
27828         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
27829         is defined.
27830         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
27831         FINITEF is defined.
27832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
27833         and finitef multiarch implementations.
27834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
27835         New file.
27836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
27837         file.
27838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
27839         multiarch finite for PowerPC32.
27840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
27841         New file.
27842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
27843         file: multiarch finitef for PowerPC32.
27845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
27846         and isinff multiarch implementations.
27847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
27848         file.
27849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
27850         file.
27851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
27852         multiarch isinf for PowerPC32.
27853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
27854         New file.
27855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
27856         multiarch isinff for PowerPC32.
27858         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
27859         alias when __isnan is defined.
27860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
27861         and isnanf multiarch implementations.
27862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
27863         file.
27864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
27865         file.
27866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
27867         file.
27868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
27869         file.
27870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
27871         multiarch isnan for PowerPC32.
27872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
27873         New file.
27874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
27875         New file.
27876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
27877         multiarch isnanf for PowerPC32.
27879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
27880         and sqrtf multiarch implementations.
27881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
27882         file.
27883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
27884         file.
27885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
27886         multiarch sqrt for PowerPC32.
27887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
27888         file.
27889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
27890         file.
27891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
27892         multiarch sqrtf for PowerPC32.
27894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
27895         and llroundf multiarch implementations.
27896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
27897         New file.
27898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
27899         New file.
27900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
27901         New file.
27902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
27903         file: multiarch llround for PowerPC32.
27904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
27905         file: multiarch llroundf for PowerPC32.
27907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
27908         multiarch PowerPC32 fpu implementations.
27909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
27910         New file.
27911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
27912         New file.
27913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
27914         multiarch llrint for PowerPC32.
27915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
27916         New file.
27917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
27918         New file.
27919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
27920         file.
27922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
27924         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
27925         file.
27926         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
27927         file.
27928         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
27929         file.
27930         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
27931         multiarch wordcopy for PPC32.
27932         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27933         wordcopy objects.
27934         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27935         (__libc_ifunc_impl_list): Likewise.
27936         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
27937         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
27938         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
27939         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
27940         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
27941         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
27943         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
27944         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
27945         file.
27946         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
27947         file.
27948         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
27949         file.
27950         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
27951         multiarch wcscpy for PPC32.
27952         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27953         multiarch objects.
27954         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27955         (__libc_ifunc_impl_list): Likewise.
27956         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27957         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27958         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
27959         sysdeps/powerpc/power6/wcscpy.c.
27961         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
27962         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
27963         file.
27964         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
27965         file.
27966         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
27967         file.
27968         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
27969         multiarch wcsrchr for PPC32.
27970         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27971         multiarch objects.
27972         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27973         (__libc_ifunc_impl_list): Likewise.
27974         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27975         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27976         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
27977         sysdeps/powerpc/power6/wcsrchr.c.
27979         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
27980         file.
27981         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
27982         file.
27983         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
27984         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
27985         multiarch wcschr for PPc32.
27986         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27987         multiarch objects.
27988         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27989         (__libc_ifunc_impl_list): Likewise.
27990         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
27991         * sysdeps/powerpc/power6/wcschr.c: ... to here.
27992         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
27993         sysdeps/powerpc/power6/wcschr.c.
27995         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
27996         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
27997         file.
27998         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
27999         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
28000         file: multiarch strchr for PPC32.
28001         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
28002         multiarch objects.
28003         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28004         (__libc_ifunc_impl_list): Likewise.
28006         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
28007         name.
28008         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
28009         file.
28010         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
28011         file.
28012         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
28013         multiarch strchrnul for PPC32.
28014         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
28015         multiarch objects.
28016         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28017         (__libc_ifunc_impl_list): Likewise.
28019         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
28020         file.
28021         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
28022         multiarch strncasecmp for PPC32.
28023         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
28024         file.
28025         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
28026         multiarch strncasecmp_l for PPC32.
28027         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
28028         strncasecmp multiarch objects.
28029         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28030         (__libc_ifunc_impl_list): Likewise.
28032         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
28033         file.
28034         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
28035         multiarch strncasecmp for PPC32.
28036         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28037         New file.
28038         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
28039         multiarch strcasecmp_l for PPC32.
28040         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
28041         multiarch objects.
28042         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28043         (__libc_ifunc_impl_list): Likewise.
28045         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
28046         file.
28047         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
28048         file.
28049         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
28050         multiarch strncmp for PPC32.
28051         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
28052         multiarch objects.
28053         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28054         (__libc_ifunc_impl_list): Likewise.
28056         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
28057         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
28058         file.
28059         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
28060         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
28061         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
28062         multiarch objects.
28063         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28064         (__libc_ifunc_impl_list): Likewise.
28066         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
28067         file.
28068         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
28069         file.
28070         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
28071         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
28072         multiarch objects.
28073         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28074         (__libc_ifunc_impl_list): Likewise.
28076         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
28077         file.
28078         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
28079         file.
28080         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
28081         multiarch rawmemchr for PPC32.
28082         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
28083         multiarch objects.
28084         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28085         (__libc_ifunc_impl_list): Likewise.
28087         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
28088         file.
28089         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
28090         file.
28091         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
28092         file: memrchr multiarch for PPC32.
28093         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
28094         multiarch objects.
28095         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28096         (__libc_ifunc_impl_list): Likewise.
28098         * string/memchr.c (__memchr): Using macro to redefine symbol name.
28099         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
28100         file.
28101         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
28102         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
28103         multiarch memchr for PPC32.
28104         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
28105         multiarch objects.
28106         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28107         (__libc_ifunc_impl_list): Likewise.
28109         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
28110         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
28111         file.
28112         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
28113         file.
28114         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
28115         file: multiarch mempcpy for PPC32.
28116         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
28117         multiarch objects.
28118         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28119         (__libc_ifunc_impl_list): Likewise.
28121         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
28122         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
28123         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
28124         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
28125         multiarch bzero for PPC32.
28126         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
28127         file.
28128         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
28129         file.
28130         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
28131         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
28132         file: multiarch memset for PPC32.
28133         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
28134         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
28135         memset multiarch objects.
28136         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28137         (__libc_ifunc_impl_list): Likewise.
28139         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
28140         file.
28141         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
28142         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
28143         memcmp for PPC32.
28144         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
28145         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
28146         multiarch objects.
28147         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28148         (__libc_ifunc_impl_list): Likewise.
28150         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
28151         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
28152         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
28153         file.
28154         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
28155         file.
28156         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
28157         file.
28158         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
28159         multiarch memcpy for PPC32.
28160         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
28161         multiarch objects.
28162         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28163         (__libc_ifunc_impl_list): Likewise.
28165         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
28166         support multiarch for POWER/PPC32.
28167         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
28168         Likewise.
28169         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
28171         Implies file to make multiarch folder appers before the fpu and
28172         default folder for power4 configuration.
28174 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28176         * scripts/bench.pl: Append volatile keyword to type.
28178 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28180         * sysdeps/sh/sotruss-lib.c: New file.
28181         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
28183 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28185         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28187 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
28189         [BZ #6810]
28190         * math/w_tgamma.c: Include <errno.h>.
28191         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
28192         * math/w_tgammaf.c: Include <errno.h>.
28193         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
28194         * math/w_tgammal.c: Include <errno.h>.
28195         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
28196         * math/auto-libm-test-in: Do not allow missing errno on tgamma
28197         underflow.  Add more tgamma tests.
28198         * math/auto-libm-test-out: Regenerated.
28199         * sysdeps/i386/fpu/libm-test-ulps: Update.
28200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28202         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
28203         sin, sinh, tan, tanh, tgamma, y0 and y1.
28204         * math/auto-libm-test-out: Regenerated.
28205         * math/libm-test.inc (TEST_COND_x86_64): New macro.
28206         (TEST_COND_x86): Likewise.
28207         (M_E2l): Remove macro.
28208         (M_E3l): Likewise.
28209         (M_2_SQRT_PIl): Likewise.
28210         (M_SQRT_PIl): Likewise.
28211         (M_1_DIV_El): Likewise.
28212         (log_test_data): Use AUTO_TESTS_f_f.
28213         (log10_test_data): Likewise.
28214         (log1p_test_data): Likewise.
28215         (log2_test_data): Likewise.
28216         (sin_test_data): Likewise.
28217         (sin_tonearest_test_data): Likewise.
28218         (sin_towardzero_test_data): Likewise.
28219         (sin_downward_test_data): Likewise.
28220         (sin_upward_test_data): Likewise.
28221         (sinh_test_data): Likewise.
28222         (sinh_tonearest_test_data): Likewise.
28223         (sinh_towardzero_test_data): Likewise.
28224         (sinh_downward_test_data): Likewise.
28225         (sinh_upward_test_data): Likewise.
28226         (tan_test_data): Likewise.
28227         (tan_tonearest_test_data): Likewise.
28228         (tan_towardzero_test_data): Likewise.
28229         (tan_downward_test_data): Likewise.
28230         (tan_upward_test_data): Likewise.
28231         (tanh_test_data): Likewise.
28232         (tgamma_test_data): Likewise.
28233         (y0_test_data): Likewise.
28234         (y1_test_data): Likewise.
28235         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
28236         (special_real_inputs): Add pi/4.
28237         * sysdeps/i386/fpu/libm-test-ulps: Update.
28238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28240 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28242         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
28243         "longjmp_target" static probes.
28244         (__longjmp): Rename to __longjmp_symbol.
28245         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28246         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
28247         on which longjmp to generate.
28248         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28249         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
28250         probe.
28251         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28252         (__sigjmp_save): Rename to __sigjmp_save_symbol.
28253         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28254         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
28255         and __sigjmp_save_symbol based on which sigsetjmp to generated.
28256         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
28257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
28258         __longjmp_symbol based on which __longjmp to generate.
28259         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
28260         probe.
28261         (setjmp): Rename to setjmp_symbol.
28262         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28263         (_setjmp): Rename to _setjmp_symbol.
28264         (__sigsetjmp): Rename to __sigsetjmp_symbol.
28265         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
28266         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
28267         which setjmp to generate.
28268         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
28269         "longjmp_target" static probes.
28271 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28273         * benchtests/README: Add note about output arguments.
28274         * benchtests/bench-sincos.c: Remove file.
28275         * benchtests/sincos-inputs: New file.
28276         * scripts/bench.pl: Identify output arguments and define
28277         static variables for them.
28279         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
28281         [BZ #15941]
28282         * Makefile (INSTALL): Add install-plain.texi as the primary
28283         dependency.
28284         * manual/install-plain.texi: New file.
28285         * manual/install.texi: Include node directive only for
28286         non-plaintext output.
28288 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
28290         * stdlib/longlong.h: Update from GCC.
28292         [BZ #6807]
28293         [BZ #15901]
28294         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
28295         * math/w_j0f.c (y0f): Likewise.
28296         * math/w_j0l.c (__y0l): Likewise.
28297         * math/w_j1.c (y1): Likewise.
28298         * math/w_j1f.c (y1f): Likewise.
28299         * math/w_j1l.c (__y1l): Likewise
28300         * math/w_jn.c (yn): Likewise.
28301         * math/w_jnf.c (ynf): Likewise.
28302         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
28303         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
28304         value for Bessel function domain errors outside _SVID_ mode.
28305         Adjust sign of return value for yn (negative integer, 0).
28306         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
28307         by zero in return for negative x and set sign appropriately for
28308         negative n.
28309         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
28310         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28311         * math/libm-test.inc (y0_test_data): Add more tests and adjust
28312         expectations in error cases.
28313         (y1_test_data): Likewise.
28314         (yn_test_data): Likewise.
28315         * sysdeps/i386/fpu/libm-test-ulps: Update.
28316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28318 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28320         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
28321         "64" to "64-v1".  Add "64-v2".
28322         (abi-64-options): Rename to ...
28323         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
28324         (abi-64-condition): Rename to ...
28325         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
28326         (abi-64-ld-soname): Rename to ...
28327         (abi-64-v1-ld-soname): ... this.
28328         (abi-64-v2-options): Define.
28329         (abi-64-v2-condition): Likewise.
28330         (abi-64-v2-ld-soname): Likewise.
28331         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
28332         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
28333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
28334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
28335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
28337 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28338             Alan Modra  <amodra@gmail.com>
28340         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
28341         New versions for use with the ELFv2 ABI.
28342         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
28343         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
28344         declaration.
28345         (struct La_ppc64v2_retval): Likewise.
28346         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
28347         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
28348         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
28349         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
28350         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
28351         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28352         Do not save or restore CR.
28353         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
28354         (_dl_profile_resolve): Do no save or restore CR.  Support extended
28355         return values for ELFv2 ABI.  Fix location of FPR return registers.
28356         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
28357         updated values for _CALL_ELF == 2.
28358         (La_regs, La_retval, int_retval): Likewise.
28360 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28362         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
28363         (FRAME_MIN_SIZE_PARM): Likewise.
28364         (FRAME_BACKCHAIN): Likewise.
28365         (FRAME_CR_SAVE): Likewise.
28366         (FRAME_LR_SAVE): Likewise.
28367         (FRAME_TOC_SAVE): Likewise.
28368         (FRAME_PARM_SAVE): Likewise.
28369         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
28370         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
28371         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28372         (call_mcount_parm_offset): New macro.
28373         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
28374         (PROF): Use symbolic stack frame offsets.
28375         (TAIL_CALL_SYSCALL_ERROR): Likewise.
28376         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
28377         Redefine in terms of FRAME_MIN_SIZE.
28378         (_dl_runtime_resolve): Use symbolic stack frame offsets.
28379         (_dl_profile_resolve): Likewise.  Update comment.
28380         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
28381         symbols stack frame offsets.
28382         (__sigsetjmp): Likewise.
28383         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
28384         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
28385         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
28386         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
28388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
28389         (FRAME_BACKCHAIN): Remove.
28390         (FRAME_CR_SAVE): Likewise.
28391         (FRAME_LR_SAVE): Likewise.
28392         (FRAME_COMPILER_DW): Likewise.
28393         (FRAME_LINKER_DW): Likewise.
28394         (FRAME_TOC_SAVE): Likewise.
28395         (FRAME_PARM_SAVE): Likewise.
28396         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
28397         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
28398         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
28400         (CHECK_SP): Use symbolic stack frame offsets.
28401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
28402         zone" instead of caller's parameter save area for temp storage.
28403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28404         Likewise.  Also, use symbolic stack frame offsets.
28405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
28406         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
28407         our own stack frame instead of the caller's.
28408         (__socket): Use symbolic stack frame offsets.
28410 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28411             Alan Modra  <amodra@gmail.com>
28413         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
28414         Define.
28415         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
28416         (PPC64_LOCAL_ENTRY_OFFSET): Define.
28417         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
28418         New function.
28419         (elf_machine_fixup_plt): Call it.
28420         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
28421         reloc arguments.
28422         (elf_machine_rela): Update call to elf_machine_plt_conflict.
28423         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28424         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
28425         r2 before calling target.
28427 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28428             Alan Modra  <amodra@gmail.com>
28430         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
28431         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
28432         versions of macros to support ELFv2 ABI.
28433         (LOCALENTRY): New macro.
28434         (ENTRY, EALIGN): Use it.
28435         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
28436         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
28437         fall through into ENTRY entry point.
28438         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
28439         Only define if _CALL_ELF != 2.
28441         (elf_machine_matches_host): Verify ABI version matches.
28442         (RTLD_START): Use LOCALENTRY.
28443         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
28444         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
28445         (PLT_ENTRY_WORDS): New macro.
28446         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
28447         (elf_machine_runtime_setup): Support ELFv2 ABI.
28448         (elf_machine_fixup_plt): Likewise.
28449         (elf_machine_plt_conflict): Likewise.
28450         (resolve_ifunc): Likewise.
28451         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
28452         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28453         Likewise.
28454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
28455         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
28456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28457         (makecontext): Support ELFv2 ABI.
28458         * elf/elf.h (EF_PPC64_ABI): Define.
28460 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28462         * sysdeps/powerpc/powerpc64/sysdep.h
28463         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
28464         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
28465         (ENTRY) [ASSEMBLER]: ... but instead here ...
28466         (EALIGN) [ASSEMBLER]: ... and here.
28467         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
28468         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
28469         (ENTRY_2) [!ASSEMBLER]: Use it.
28470         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
28471         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
28472         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28473         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
28474         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
28475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
28476         Use PPC64_LOAD_FUNCPTR.
28478         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
28480 2013-12-04  Alan Modra  <amodra@gmail.com>
28482         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
28483         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
28484         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
28485         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
28487         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
28488         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
28489         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
28490         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
28491         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
28492         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
28494 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28497         (__makecontext): Fix incorrect CFI when backtracing out of
28498         context created via makecontext.
28499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
28500         (__setcontext): Fix incorrect CFI during switch to new context.
28501         (__novec_setcontext): Likewise.
28503 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28505         [BZ #4772]
28506         * time/strptime_l.c (__strptime_internal): Allow modifiers
28507         in strptime.
28508         * time/tst-strptime.c (day_tests): Add testcase.
28510 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28512         * scripts/bench.pl: Skip over blank lines.
28514 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
28516         [BZ #926]
28517         * manual/time.texi (Calendar Time): Clarify what timezone functions
28518         use.
28520 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28524 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28526         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
28527         implementation.
28528         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28529         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28530         * debug/memset_chk.c (__memset_chk): Likewise.
28531         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
28532         * debug/strncpy_chk.c: Likewise.
28534 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28536         [BZ #15268]
28537         [BZ #15425]
28538         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
28539         (__ieee754_exp): For possibly underflowing results, check size of
28540         result and force underflow exception if required.
28541         * math/auto-libm-test-in: Add more tests of exp.
28542         * math/auto-libm-test-out: Regenerated.
28543         * sysdeps/i386/fpu/libm-test-ulps: Update.
28544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28546         [BZ #16283]
28547         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
28548         * math/w_exp2f.c (__exp2f): Likewise.
28549         * math/w_exp2l.c (__exp2l): Likewise.
28550         * math/auto-libm-test-in: Do not allow missing errno on exp2
28551         underflow.
28552         * math/auto-libm-test-out: Regenerated.
28554 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
28556         [BZ #16274]
28557         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
28558         handle filename validation.
28559         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
28560         (do_open): Delete.
28562 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28564         [BZ #6786]
28565         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
28566         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
28567         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
28568         <float.h>.
28569         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
28570         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
28571         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28572         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
28573         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28574         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
28575         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28576         * math/auto-libm-test-in: Don't allow missing errno from erfc.
28577         Add more erfc tests.
28578         * math/auto-libm-test-out: Regenerated.
28579         * sysdeps/i386/fpu/libm-test-ulps: Update.
28580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28582         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
28583         exp2, expm1, j0 and j1.
28584         * math/auto-libm-test-out: Regenerated.
28585         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
28586         (erfc_test_data): Likewise.
28587         (exp_test_data): Likewise.
28588         (exp_tonearest_test_data): Likewise.
28589         (exp_towardzero_test_data): Likewise.
28590         (exp_downward_test_data): Likewise.
28591         (exp_upward_test_data): Likewise.
28592         (exp10_test_data): Likewise.
28593         (exp2_test_data): Likewise.
28594         (expm1_test_data): Likewise.
28595         (j0_test_data): Likewise.
28596         (j1_test_data): Likewise.
28597         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
28598         (input_flag_type): Add flag_xfail_rounding.
28599         (input_flags): Add xfail-rounding.
28600         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
28601         (output_for_one_input_case): Handle flag_xfail_rounding.
28602         * sysdeps/i386/fpu/libm-test-ulps: Update.
28603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28605 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
28607         [BZ #16289]
28608         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
28609         division by 0.
28611 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28613         [BZ #16195]
28614         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
28615         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
28616         (STAP_PROBE0): New macro.
28617         (STAP_PROBE1): Likewise.
28618         (STAP_PROBE2): Likewise.
28619         (STAP_PROBE3): Likewise.
28620         (STAP_PROBE4): Likewise.
28622 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
28624         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
28626 2013-12-02  Steve Ellcey  <sellcey@mips.com>
28628         * benchtests/Makefile (bench): Add sqrt.
28629         (LDLIBS-bench-sqrt): New.
28630         * benchtests/sqrt-input: New.
28632 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
28634         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
28635         (GAIH_EAI): Likewise.
28636         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
28637         (gaih_inet): Likewise.
28638         (getaddrinfo): Don't use GAIH_EAI.
28640         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
28641         (struct gaih): Remove definition.
28643 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28645         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
28646         Use HERRNOP directly.
28648 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28650         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28652 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
28654         * math/gen-auto-libm-tests.c (test_functions): Add more
28655         single-argument functions.
28656         (special_fill_pi_2): New function.
28657         (special_fill_minus_pi_2): Likewise.
28658         (special_fill_pi_6): Likewise.
28659         (special_fill_minus_pi_6): Likewise.
28660         (special_fill_pi_3): Likewise.
28661         (special_fill_2pi_3): Likewise.
28662         (special_fill_e): Likewise.
28663         (special_fill_1_e): Likewise.
28664         (special_fill_e_minus_1): Likewise.
28665         (special_real_inputs): Add more special inputs.
28666         (output_for_one_input_case): Do not require ERANGE on underflow to
28667         zero if round-to-nearest result does not underflow to zero, unless
28668         exact results required.
28669         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
28670         atan, atanh, cbrt, cos and cosh.
28671         * math/auto-libm-test-out: Regenerated.
28672         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
28673         (acos_tonearest_test_data): Likewise.
28674         (acos_towardzero_test_data): Likewise.
28675         (acos_downward_test_data): Likewise.
28676         (acos_upward_test_data): Likewise.
28677         (acosh_test_data): Likewise.
28678         (asin_test_data): Likewise.
28679         (asin_tonearest_test_data): Likewise.
28680         (asin_towardzero_test_data): Likewise.
28681         (asin_upward_test_data): Likewise.
28682         (asinh_test_data): Likewise.
28683         (atan_test_data): Likewise.
28684         (atanh_test_data): Likewise.
28685         (cbrt_test_data): Likewise.
28686         (cos_test_data): Likewise.
28687         (cos_tonearest_test_data): Likewise.
28688         (cos_towardzero_test_data): Likewise.
28689         (cos_downward_test_data): Likewise.
28690         (cos_upward_test_data): Likewise.
28691         (cosh_test_data): Likewise.
28692         (cosh_tonearest_test_data): Likewise.
28693         (cosh_towardzero_test_data): Likewise.
28694         (cosh_downward_test_data): Likewise.
28695         (cosh_upward_test_data): Likewise.
28696         * sysdeps/i386/fpu/libm-test-ulps: Update.
28697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28699 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
28701         [BZ #6787]
28702         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
28703         * math/w_exp10f.c (__exp10f): Likewise.
28704         * math/w_exp10l.c (__exp10l): Likewise.
28705         * math/libm-test.inc (exp10_test_data): Add more tests and expect
28706         errno settings in existing tests.
28708         [BZ #14032]
28709         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
28710         precision control set to double precision.
28711         * sysdeps/i386/fpu/w_sqrt.c: New file.
28712         * math/auto-libm-test-in: Add more tests.
28713         * math/auto-libm-test-out: Update.
28715         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
28716         (sqrt_test_tonearest): New function.
28717         (sqrt_towardzero_test_data): New variable.
28718         (sqrt_test_towardzero): New function.
28719         (sqrt_downward_test_data): New variable.
28720         (sqrt_test_downward): New function.
28721         (sqrt_upward_test_data): New variable.
28722         (sqrt_test_upward): New function.
28723         (main): Call the new functions.
28725         * math/gen-auto-libm-tests.c: New file.
28726         * math/auto-libm-test-in: Likewise.
28727         * math/auto-libm-test-out: New generated file.
28728         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
28729         variables.
28730         (%beautify): Add generated representations of zero.
28731         (top level): Set $auto_input and call parse_auto_input.
28732         (beautify): Remove trailing "f" from hex float constants.
28733         (parse_args): Handle XFAIL_TEST.
28734         (convert_condition): New function.
28735         (or_value): Likewise.
28736         (or_cond_value): Likewise.
28737         (generate_testfile): Handle AUTO_TESTS_* lines.
28738         (parse_auto_input): New function.
28739         * math/libm-test.inc (XFAIL_TEST): New macro.
28740         (ERRNO_UNCHANGED): Update value.
28741         (ERRNO_EDOM): Likewise.
28742         (ERRNO_ERANGE): Likewise.
28743         (IGNORE_RESULT): Likewise.
28744         (TEST_COND_flt_32): New macro.
28745         (TEST_COND_dbl_64): Likewise.
28746         (TEST_COND_ldbl_96_intel): Likewise.
28747         (TEST_COND_ldbl_96_m68k): Likewise.
28748         (TEST_COND_ldbl_128): Likewise.
28749         (TEST_COND_ldbl_128ibm): Likewise.
28750         (TEST_COND_long32): Likewise.
28751         (TEST_COND_long64): Likewise.
28752         (TEST_COND_before_rounding): Likewise.
28753         (TEST_COND_after_rounding): Likewise.
28754         (enable_test): Handle XFAIL_TEST flag.
28755         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28756         with finite results.
28757         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28758         auto-libm-test-out.
28760 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28761             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28763         [BZ #16214]
28764         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
28765         __tls_get_addr_internal instead of __tls_get_offset in order to
28766         avoid GOT pointer dependency.  Make rtld export
28767         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
28768         __tls_get_addr since we are a __tls_get_offset platform.
28769         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
28770         GOT pointer being set up before.
28771         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
28773 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
28775         * manual/math.texi (Errors in Math Functions): Document accuracy
28776         goals.
28778         [BZ #15004]
28779         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
28780         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
28781         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28782         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28783         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28784         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28785         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28786         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28787         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28788         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28789         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28790         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28791         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28792         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28793         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28794         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28796         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
28797         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
28798         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
28799         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
28800         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
28801         Likewise.
28802         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
28803         Likewise.
28804         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
28805         Likewise.
28806         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
28807         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
28808         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
28809         atomic-feupdateenv and flt-rounds.
28810         * sysdeps/powerpc/nofpu/Versions (libc): Add
28811         __atomic_feholdexcept, __atomic_feclearexcept,
28812         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
28813         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
28814         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
28815         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
28816         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
28817         here.
28818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28819         Update.
28821         * manual/arith.texi (FP Exceptions): Document that exceptions may
28822         not be raised when matherr is used.
28823         (Math Error Reporting): Document overflow in directed rounding
28824         modes.  Document that errno may not be set when finite values are
28825         returned on overflow.  Document intent to set errno on underflow
28826         only for underflow to zero.
28828         [BZ #16271]
28829         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
28830         round-to-nearest then adjust result for other rounding modes.
28831         * include/fenv.h (fegetround): Use libm_hidden_proto.
28832         * math/fegetround.c (fegetround): Use libm_hidden_def.
28833         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28834         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28835         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28836         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28837         Likewise.
28838         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
28839         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28840         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28841         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
28843 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28845         [BZ #16077]
28846         * nss/Versions (libnss_files): Add
28847         _nss_files_gethostbyname3_r.
28848         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
28849         New function.
28850         (HOST_DB_LOOKUP): Remove macro.
28851         (_nss_files_gethostbyname_r): Implement function without the
28852         HOST_DB_LOOKUP macro.
28853         (_nss_files_gethostbyname2_r): Likewise.
28855 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
28857         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
28859 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
28861         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
28862         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
28863         warning.
28865 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28867         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
28868         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
28869         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28870         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28871         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
28872         __fe_nomask_env_priv and attribute_hidden.
28873         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
28874         (libc_feupdateenv_test_ppc): Likewise.
28875         (libc_feresetround_ppc): Likewise.
28876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28877         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
28878         compat_symbol macro.
28879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28880         (__fe_nomask_env): Likewise.
28881         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
28883 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28885         * string/Makefile: Remove ifunc tests.
28886         * string/test-string.h: Define TEST_IFUNC.
28887         * string/test-bcopy-ifunc.c: Remove.
28888         * string/test-bzero-ifunc.c: Likewise.
28889         * string/test-memccpy-ifunc.c: Likewise.
28890         * string/test-memchr-ifunc.c: Likewise.
28891         * string/test-memcmp-ifunc.c: Likewise.
28892         * string/test-memcpy-ifunc.c: Likewise.
28893         * string/test-memmem-ifunc.c: Likewise.
28894         * string/test-memmove-ifunc.c: Likewise.
28895         * string/test-mempcpy-ifunc.c: Likewise.
28896         * string/test-memrchr-ifunc.c: Likewise.
28897         * string/test-memset-ifunc.c: Likewise.
28898         * string/test-rawmemchr-ifunc.c: Likewise.
28899         * string/test-stpcpy-ifunc.c: Likewise.
28900         * string/test-stpncpy-ifunc.c: Likewise.
28901         * string/test-strcasecmp-ifunc.c: Likewise.
28902         * string/test-strcasestr-ifunc.c: Likewise.
28903         * string/test-strcat-ifunc.c: Likewise.
28904         * string/test-strchr-ifunc.c: Likewise.
28905         * string/test-strchrnul-ifunc.c: Likewise.
28906         * string/test-strcmp-ifunc.c: Likewise.
28907         * string/test-strcpy-ifunc.c: Likewise.
28908         * string/test-strcspn-ifunc.c: Likewise.
28909         * string/test-strlen-ifunc.c: Likewise.
28910         * string/test-strncasecmp-ifunc.c: Likewise.
28911         * string/test-strncat-ifunc.c: Likewise.
28912         * string/test-strncmp-ifunc.c: Likewise.
28913         * string/test-strncpy-ifunc.c: Likewise.
28914         * string/test-strnlen-ifunc.c: Likewise.
28915         * string/test-strpbrk-ifunc.c: Likewise.
28916         * string/test-strrchr-ifunc.c: Likewise.
28917         * string/test-strspn-ifunc.c: Likewise.
28918         * string/test-strstr-ifunc.c: Likewise.
28920 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28922         * benchtests/Makefile: Remove ifunc tests.
28923         * benchtests/bench-string.h: Define TEST_IFUNC.
28924         * benchtests/bench-bcopy-ifunc.c: Remove.
28925         * benchtests/bench-bzero-ifunc.c: Likewise.
28926         * benchtests/bench-memccpy-ifunc.c: Likewise.
28927         * benchtests/bench-memchr-ifunc.c: Likewise.
28928         * benchtests/bench-memcmp-ifunc.c: Likewise.
28929         * benchtests/bench-memcpy-ifunc.c: Likewise.
28930         * benchtests/bench-memmem-ifunc.c: Likewise.
28931         * benchtests/bench-memmove-ifunc.c: Likewise.
28932         * benchtests/bench-mempcpy-ifunc.c: Likewise.
28933         * benchtests/bench-memrchr-ifunc.c: Likewise.
28934         * benchtests/bench-memset-ifunc.c: Likewise.
28935         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
28936         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
28937         * benchtests/bench-stpcpy-ifunc.c: Likewise.
28938         * benchtests/bench-stpncpy-ifunc.c: Likewise.
28939         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
28940         * benchtests/bench-strcasestr-ifunc.c: Likewise.
28941         * benchtests/bench-strcat-ifunc.c: Likewise.
28942         * benchtests/bench-strchr-ifunc.c: Likewise.
28943         * benchtests/bench-strchrnul-ifunc.c: Likewise.
28944         * benchtests/bench-strcmp-ifunc.c: Likewise.
28945         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
28946         * benchtests/bench-strcpy-ifunc.c: Likewise.
28947         * benchtests/bench-strcspn-ifunc.c: Likewise.
28948         * benchtests/bench-strlen-ifunc.c: Likewise.
28949         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
28950         * benchtests/bench-strncat-ifunc.c: Likewise.
28951         * benchtests/bench-strncmp-ifunc.c: Likewise.
28952         * benchtests/bench-strncpy-ifunc.c: Likewise.
28953         * benchtests/bench-strnlen-ifunc.c: Likewise.
28954         * benchtests/bench-strpbrk-ifunc.c: Likewise.
28955         * benchtests/bench-strrchr-ifunc.c: Likewise.
28956         * benchtests/bench-strsep-ifunc.c: Likewise.
28957         * benchtests/bench-strspn-ifunc.c: Likewise.
28958         * benchtests/bench-strstr-ifunc.c: Likewise.
28960 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28962         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
28964 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28966         * resolv/netdb.h: Use __glibc_reserved instead __unused.
28967         * rt/aio.h: Likewise.
28968         * sysdeps/gnu/bits/utmp.h: Likewise.
28969         * sysdeps/gnu/bits/utmpx.h: Likewise.
28970         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28971         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
28972         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
28973         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
28974         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
28975         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
28976         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
28977         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
28978         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
28979         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
28980         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
28981         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
28982         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
28983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
28984         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28985         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
28986         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
28987         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
28988         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
28989         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
28990         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
28991         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
28992         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
28993         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28994         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
28995         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28996         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
28997         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
28998         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
28999         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
29000         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
29001         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
29002         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
29003         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29004         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
29005         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
29006         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
29007         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
29008         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
29009         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
29010         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
29011         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29013 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
29015         [BZ #16245]
29016         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
29017         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
29019 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
29021         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
29022         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
29023         Likewise.
29025 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29027         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
29028         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
29029         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
29030         (__fesetround): Remove define.
29031         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
29032         rounding and exceptions handling.
29033         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
29034         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
29035         (__fe_nomask_env): Likewise.
29036         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
29037         __fegetround instead of fegetround.
29038         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
29039         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
29041 2013-11-21  Roland McGrath  <roland@hack.frob.com>
29043         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
29044         it's there.
29046         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
29048 2013-11-21  Meador Inge  <meadori@codesourcery.com>
29050         [BZ #11157]
29051         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
29052         (encrypt_r): Likewise.
29053         * malloc/obstack.h (obstack_free): Likewise.
29054         * posix/unistd.h (encrypt): Likewise.
29056 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
29058         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
29059         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
29060         DL_CALL_DT_FINI() that call the functions directly.
29061         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
29062         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
29063         * elf/dl-fini.c: Likewise.
29065 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
29067         * malloc/hooks.c (memalign_check): Add alignment rounding.
29068         * malloc/malloc.c (_mid_memalign): New function.
29069         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
29070         Implement by calling _mid_memalign.
29071         * manual/probes.texi (Memory Allocation Probes): Remove
29072         memory_valloc_retry and memory_pvalloc_retry.
29074 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29076         * locale/programs/locarchive.c (open_archive): Add const
29077         qualifier to ARCHIVEFNAME and copy default fname to
29078         DEFAULT_FNAME.
29080         [BZ #15601]
29081         * libio/tst-widetext.input: Rename Oriya to Odia.
29082         * locale/iso-639.def: Likewise.
29084         * manual/probes.texi (Mathematical Function Probes): Add
29085         documentation for sin, cos, asin and acos probes.
29086         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
29087         (__sin32): Add slowasin probe.
29088         (__cos32): Add slowacos probe.
29089         (__mpsin): Add slowsin probe.
29090         (__mpcos): Add slowcos probe.
29092 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
29094         [BZ #15483]
29095         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
29096         thread-local __sim_exceptions_thread and global
29097         __sim_exceptions_global.
29098         (__sim_disabled_exceptions): Change to thread-local
29099         __sim_disabled_exceptions_thread and global
29100         __sim_disabled_exceptions_global.
29101         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29102         and global __sim_round_mode_global.
29103         (__simulate_exceptions): Use thread-local floating-point state and
29104         set global state from it as needed.
29105         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
29106         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
29107         __sim_round_mode_thread.
29108         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
29109         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
29110         and global __sim_exceptions_global.
29111         (__sim_disabled_exceptions): Change to thread-local
29112         __sim_disabled_exceptions_thread and global
29113         __sim_disabled_exceptions_global.
29114         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29115         and global __sim_round_mode_global.
29116         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
29117         (SIM_SET_GLOBAL): Likewise.
29118         * sysdeps/powerpc/soft-fp/sfp-machine.h
29119         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
29120         __sim_round_mode_thread.
29121         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
29122         __sim_disabled_exceptions_thread.
29123         (__sim_exceptions): Change to __sim_exceptions_thread.
29124         (__sim_disabled_exceptions): Change to
29125         __sim_disabled_exceptions_thread.
29126         (__sim_round_mode): Change to __sim_round_mode_thread.
29127         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
29128         thread-local floating-point state and set global state from it as
29129         needed.
29130         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
29131         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
29132         (__sim_disabled_exceptions): Remove extern declaration.
29133         (feenableexcept): Use thread-local floating-point state and set
29134         global state from it as needed.
29135         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
29136         extern declaration.
29137         (__sim_disabled_exceptions): Likewise.
29138         (__sim_round_mode): Likewise.
29139         (__fegetenv): Use thread-local floating-point state.
29140         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
29141         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29142         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
29143         floating-point state and set global state from it as needed.
29144         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
29145         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29146         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
29147         Likewise.
29148         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
29149         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
29150         Likewise.
29151         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
29152         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
29153         Use __sim_round_mode_thread.
29154         * math/test-fenv-tls.c: New file.
29155         * math/Makefile (tests): Add test-fenv-tls.
29156         ($(objpfx)test-fenv-tls): Depend on
29157         $(common-objpfx)nptl/libpthread.so.
29159 2013-11-19  Andreas Schwab  <schwab@suse.de>
29161         * locale/programs/locale.c (show_info): Decode wordarray elements.
29162         * locale/categories.def (LC_MONETARY): Add element for
29163         _NL_MONETARY_CRNCYSTR.
29164         * locale/C-monetary.c (conversion_rate): New variable.
29165         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
29166         element.
29168 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
29170         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
29171         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
29173 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
29175         * elf/Makefile (tst-auxv): New test.
29176         * elf/tst-auxv.c: New
29177         * elf/rtld.c (dl_main): Adjust AT_EXECFN
29179 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
29181         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
29182         (hidden_proto): Caller changed.
29183         (hidden_tls_proto): New macro.
29184         (libc_hidden_tls_proto): Likewise.
29185         (rtld_hidden_tls_proto): Likewise.
29186         (libm_hidden_tls_proto): Likewise.
29187         (libresolv_hidden_tls_proto): Likewise.
29188         (librt_hidden_tls_proto): Likewise.
29189         (libdl_hidden_tls_proto): Likewise.
29190         (libnss_files_hidden_tls_proto): Likewise.
29191         (libnsl_hidden_tls_proto): Likewise.
29192         (libnss_nisplus_hidden_tls_proto): Likewise.
29193         (libutil_hidden_tls_proto): Likewise.
29195 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
29197         [BZ #10253]
29198         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
29199         (decompose_rpath): Defer expansion to fillin_rpath.
29200         (_dl_init_paths): Pass linkmap to fillin_rpath.
29202 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29204         * benchtests/Makefile: Add strsep.
29205         * benchtests/bench-strsep.c: New file: strsep benchtest.
29206         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
29208 2013-11-18  Andreas Schwab  <schwab@suse.de>
29210         * locale/programs/locale.c (show_info) [case byte]: Check for
29211         '\377' instead of '\177'.
29212         * locale/C-monetary.c (not_available): Always use "\377".
29213         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
29214         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
29215         detect unavailable sign_posn locale elements.
29216         * locale/localeconv.c (__localeconv): For grouping and
29217         mon_grouping handle "\177" and "\377" like no grouping.
29218         (INT_ELEM): New macro.  Use it to set all numeric members.
29219         * locale/programs/ld-monetary.c (monetary_read)
29220         <tok_mon_grouping>: Normalize single -1 to the empty string.
29221         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
29222         Likewise.
29224 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29226         [BZ #16055]
29227         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
29228         when we match (nil).
29229         * stdio-common/tst-sscanf.c (struct test): Add testcase.
29231 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
29233         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
29234         (NO_TEST_INLINE): Update value.
29235         (ERRNO_UNCHANGED): Likewise.
29236         (ERRNO_EDOM): Likewise.
29237         (ERRNO_ERANGE): Likewise.
29238         (IGNORE_RESULT): Likewise.
29239         (check_float_internal): Check signs of NaN results if
29240         TEST_NAN_SIGN used.
29241         (check_complex): Pass TEST_NAN_SIGN flag through to second
29242         check_float_internal call.
29243         (copysign_test_data): Add tests with quiet NaNs as second
29244         argument.  Use TEST_NAN_SIGN.
29245         (fabs_test_data): Add test of negative quiet NaN argument.  Use
29246         TEST_NAN_SIGN.
29247         (signbit_test_data): Add tests of quiet NaN argument.
29248         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
29250         * math/gen-libm-test.pl (show_exceptions): Take extra argument
29251         $ignore_result.
29252         (parse_args): Handle function results specified as IGNORE.
29253         * math/libm-test.inc (IGNORE_RESULT): New macro.
29254         (check_float_internal): Do not check numerical result if flag
29255         IGNORE_RESULT set.
29256         (check_complex): Pass through IGNORE_RESULT to second
29257         check_float_internal call.
29258         (check_int): Do not check numerical result if flag IGNORE_RESULT
29259         set.
29260         (check_long): Likewise.
29261         (check_bool): Likewise.
29262         (check_longlong): Likewise.
29263         (lrint_test_data): Add tests of infinite and NaN arguments.
29264         (lrint_tonearest_test_data): Likewise.
29265         (lrint_towardzero_test_data): Likewise.
29266         (lrint_downward_test_data): Likewise.
29267         (lrint_upward_test_data): Likewise.
29268         (llrint_test_data): Likewise.
29269         (llrint_tonearest_test_data): Likewise.
29270         (llrint_towardzero_test_data): Likewise.
29271         (llrint_downward_test_data): Likewise.
29272         (llrint_upward_test_data): Likewise.
29273         (lround_test_data): Likewise.
29274         (llround_test_data): Likewise.
29276         * math/libm-test.inc (NO_TEST_INLINE): New macro.
29277         (ERRNO_UNCHANGED): Update value.
29278         (ERRNO_EDOM): Likewise.
29279         (ERRNO_ERANGE): Likewise.
29280         (NO_TEST_INLINE_FLOAT): New macro.
29281         (NO_TEST_INLINE_DOUBLE): Likewise.
29282         (enable_test): New function.
29283         (RUN_TEST_f_f): Check enable_test before running test.
29284         (RUN_TEST_2_f): Likewise.
29285         (RUN_TEST_fff_f): Likewise.
29286         (RUN_TEST_c_f): Likewise.
29287         (RUN_TEST_f_f1): Likewise.
29288         (RUN_TEST_fF_f1): Likewise.
29289         (RUN_TEST_fI_f1): Likewise.
29290         (RUN_TEST_ffI_f1): Likewise.
29291         (RUN_TEST_c_c): Likewise.
29292         (RUN_TEST_cc_c): Likewise.
29293         (RUN_TEST_f_i): Likewise.
29294         (RUN_TEST_f_i_tg): Likewise.
29295         (RUN_TEST_ff_i_tg): Likewise.
29296         (RUN_TEST_f_b): Likewise.
29297         (RUN_TEST_f_b_tg): Likewise.
29298         (RUN_TEST_f_l): Likewise.
29299         (RUN_TEST_f_L): Likewise.
29300         (RUN_TEST_fFF_11): Likewise.
29301         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
29302         conditionals.
29303         (cosh_test_data): Likewise.
29304         (exp_test_data): Likewise.
29305         (expm1_test_data): Likewise.
29306         (hypot_test_data): Likewise.
29307         (pow_test_data): Likewise.
29308         (sinh_test_data): Likewise.
29309         (tanh_test_data): Likewise.
29310         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
29311         flags argument.
29313         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
29314         tests with quiet NaN input and output.
29315         (acosh_test_data): Likewise.
29316         (asin_test_data): Likewise.
29317         (asinh_test_data): Likewise.
29318         (atan_test_data): Likewise.
29319         (atanh_test_data): Likewise.
29320         (atan2_test_data): Likewise.
29321         (cbrt_test_data): Likewise.
29322         (cos_test_data): Likewise.
29323         (cosh_test_data): Likewise.
29324         (erf_test_data): Likewise.
29325         (erfc_test_data): Likewise.
29326         (exp_test_data): Likewise.
29327         (exp10_test_data): Likewise.
29328         (exp2_test_data): Likewise.
29329         (expm1_test_data): Likewise.
29330         (hypot_test_data): Likewise.
29331         (j0_test_data): Likewise.
29332         (j1_test_data): Likewise.
29333         (jn_test_data): Likewise.
29334         (lgamma_test_data): Likewise.
29335         (log_test_data): Likewise.
29336         (log10_test_data): Likewise.
29337         (log1p_test_data): Likewise.
29338         (log2_test_data): Likewise.
29339         (pow_test_data): Likewise.
29340         (scalb_test_data): Likewise.
29341         (sin_test_data): Likewise.
29342         (sincos_test_data): Likewise.
29343         (sinh_test_data): Likewise.
29344         (tan_test_data): Likewise.
29345         (tanh_test_data): Likewise.
29346         (tgamma_test_data): Likewise.
29347         (y0_test_data): Likewise.
29348         (y1_test_data): Likewise.
29349         (yn_test_data): Likewise.
29351         [BZ #16167]
29352         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
29353         argument being NaN and avoid computations with second argument in
29354         that case.
29355         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29356         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29357         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29359 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
29361         * locale/iso-639.def: Add Chitwani Tharu (the).
29363 2013-11-14  Andreas Schwab  <schwab@suse.de>
29365         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
29366         word instead of empty string.
29368 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29371         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
29372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29373         (__fe_nomask_env): Likewise.
29375 2013-11-13  Steve Ellcey  <sellcey@mips.com>
29377         * benchtests/bench-timing.h: Include time.h.
29379 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
29381         [BZ #15997]
29382         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
29383         to 3.4.0 for x32.
29384         * sysdeps/unix/sysv/linux/configure: Regenerated.
29386 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
29388         [BZ #16151]
29389         * stdlib/strtod_l.c (round_and_return): Do not consider
29390         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
29391         exponent one less than half the least subnormal exponent.
29392         * stdlib/test-strtod-round-data: Add more tests.
29393         * stdlib/tst-strtod-round.c (tests): Regenerated.
29395 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29397         [BZ #14143]
29398         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
29399         (__fe_mask_env): Likewise.
29400         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
29401         libm_hidden_proto and add function prototype.
29402         (__fe_mask_env): Add function prototype.
29403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29404         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
29405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29406         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
29407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29408         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
29410 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29412         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
29413         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
29415 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29417         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
29418         of htab_find_slot().
29420 2013-11-11  David S. Miller  <davem@davemloft.net>
29422         [BZ #16150]
29423         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
29424         symbol in the non-vis3 case in static builds.
29425         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
29426         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
29427         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
29428         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
29430 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
29432         [BZ #387]
29433         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
29434         it is empty.
29436 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29438         * benchtests/Makefile: Add bench-strtod.
29439         * benchtests/bench-strtod.c: New file: strtod benchtest
29441 2013-11-11  Andreas Schwab  <schwab@suse.de>
29443         [BZ #16153]
29444         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
29445         terminating NUL in key length.
29447 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29449         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29450         Add artificial ODP entry for vDSO symbol for PPC64.
29451         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
29452         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
29454 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29456         [BZ #15374]
29457         * nss/getent.c (services_keys): Recognize services starting with digit.
29459 2013-11-06  David S. Miller  <davem@davemloft.net>
29461         [BZ #15985]
29462         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
29463         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
29465 2013-11-06  Will Newton  <will.newton@linaro.org>
29467         * manual/memory.texi (Malloc Examples): Remove register
29468         keyword from examples.
29470 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
29472         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
29474 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
29476         [BZ #6981]
29477         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
29478         depending on [__GCC_IEC_559 > 0].
29479         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
29480         depending on [__GCC_IEC_559_COMPLEX > 0].
29482 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
29484         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
29485         to iso-639.def.
29487 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
29489         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
29491 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
29493         [BZ #16112]
29494         * malloc/malloc (malloc_info): Do not handle first bin as
29495         special case.
29497 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
29499         * locale/iso-639.def: Add Central Nahuatl (nhn).
29501 2013-11-01  Bruno Haible  <bruno@clisp.org>
29503         [BZ #7003]
29504         * manual/math.texi (BSD Random): Specify range upper bound as
29505         in POSIX.
29507 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
29509         * locale/iso-639.def: Add Meadow Mari (mhr).
29511 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
29513         [BZ #14752], [BZ #15763]
29514         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
29515         Validate name.
29516         * rt/tst_shm.c: Add test for escaping directory.
29518 2013-10-31  Andreas Schwab  <schwab@suse.de>
29520         [BZ #15917]
29521         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
29522         followed by 'x' as part of digit sequence.
29523         * stdio-common/tst-sscanf.c (double_tests2): New tests.
29525 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
29527         [BZ #16037]
29528         * configure.ac: allow GNU Make 4.0 and greater.
29529         * configure: Regenerated.
29531 2013-10-30  Will Newton  <will.newton@linaro.org>
29533         [BZ #16038]
29534         * malloc/hooks.c (memalign_check): Limit alignment to the
29535         maximum representable power of two.
29536         * malloc/malloc.c (__libc_memalign): Likewise.
29537         * malloc/tst-memalign.c (do_test): Add test for very
29538         large alignment values.
29539         * malloc/tst-posix_memalign.c (do_test): Likewise.
29541 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29543         [BZ #11087]
29544         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
29545         (munmap_chunk): Likewise.
29546         (mremap_chunk): Likewise.
29548 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29550         [BZ #15799]
29551         * stdlib/div.c (div): Remove obsolete code.
29552         * stdlib/ldiv.c (ldiv): Likewise.
29553         * stdlib/lldiv.c (lldiv): Likewise.
29555 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29557         [BZ #16071]
29558         * nss/nss_files/files-XXX.c (get_contents_ret): New
29559         enumerator.
29560         (get_contents): New function.
29561         (internal_getent): Use it.  Expand size of LINEBUFLEN.
29563 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
29565         * configure.in: Moved to ...
29566         * configure.ac: ... here. Change reference to configure.in
29567         to configure.ac.
29568         * sysdeps/arm/preconfigure.ac: ... here.
29569         configure.in to configure.ac.
29570         * sysdeps/gnu/configure.in: Moved to ...
29571         * sysdeps/gnu/configure.ac: ... here.
29572         * sysdeps/i386/configure.in: Moved to ...
29573         * sysdeps/i386/configure.ac: ... here.
29574         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
29575         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
29576         * sysdeps/mach/configure.in: Moved to ...
29577         * sysdeps/mach/configure.ac: ... here.
29578         * sysdeps/mach/hurd/configure.in: Moved to ...
29579         * sysdeps/mach/hurd/configure.ac: ... here.
29580         * sysdeps/powerpc/configure.in: Moved to ...
29581         * sysdeps/powerpc/configure.ac: ... here.
29582         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
29583         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
29584         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
29585         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
29586         * sysdeps/s390/s390-32/configure.in: Moved to ...
29587         * sysdeps/s390/s390-32/configure.ac: ... here.
29588         * sysdeps/s390/s390-64/configure.in: Moved to ...
29589         * sysdeps/s390/s390-64/configure.ac: ... here.
29590         * sysdeps/sh/configure.in: Moved to ...
29591         * sysdeps/sh/configure.ac: ... here.
29592         * sysdeps/sparc/configure.in: Moved to ...
29593         * sysdeps/sparc/configure.ac: ... here.
29594         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
29595         * sysdeps/unix/sysv/linux/configure.ac: ... here.
29596         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
29597         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
29598         * sysdeps/x86_64/configure.in: Moved to ...
29599         * sysdeps/x86_64/configure.ac: ... here.
29600         * sysdeps/x86_64/preconfigure.in: Moved to ...
29601         * sysdeps/x86_64/preconfigure.ac: ... here.
29602         * aclocal.m4: Change reference to configure.in to configure.ac.
29603         * config.h.in: Likewise.
29604         * manual/install.texi: Likewise.
29605         * manual/maint.texi: Likewise.
29606         * Makefile: Likewise.
29607         * malloc/Makefile: Likewise.
29608         * nscd/Makefile: Likewise.
29609         * Makeconfig: Change reference to configure.in and
29610         preconfigure.in to configure.ac and preconfigure.ac
29611         respectively.
29612         * INSTALL: Regenerated.
29613         * configure: Likewise.
29614         * sysdeps/gnu/configure: Likewise.
29615         * sysdeps/i386/configure: Likewise.
29616         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
29617         * sysdeps/mach/configure: Likewise.
29618         * sysdeps/mach/hurd/configure: Likewise.
29619         * sysdeps/powerpc/configure: Likewise.
29620         * sysdeps/powerpc/powerpc32/configure: Likewise.
29621         * sysdeps/powerpc/powerpc64/configure: Likewise.
29622         * sysdeps/s390/s390-32/configure: Likewise.
29623         * sysdeps/s390/s390-64/configure: Likewise.
29624         * sysdeps/sh/configure: Likewise.
29625         * sysdeps/sparc/configure: Likewise.
29626         * sysdeps/unix/sysv/linux/configure: Likewise.
29627         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
29628         * sysdeps/x86_64/configure: Likewise.
29629         * sysdeps/x86_64/preconfigure: Likewise.
29631 2013-10-29  Andreas Schwab  <schwab@suse.de>
29633         * stdio-common/Makefile (tst-swscanf-ENV): Define.
29635 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29637         * benchtests/pow-inputs: Add new inputs.
29639         * benchtests/exp-inputs: Add new inputs.
29641         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
29642         conditional check for return value.
29643         (__cos32): Likewise.
29645 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29647         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
29648         to provide a boost for large inputs with word alignment.
29649         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
29650         implementation based on optimized PPC64 strcpy.
29651         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
29652         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
29653         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
29654         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
29656 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29658         [BZ #2801]
29659         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
29661 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29663         [BZ #14876]
29664         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
29665         * time/tst-strptime.c (day_tests): Add testcase.
29667 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29669         [BZ #14029]
29670         * manual/pattern.texi: Acknowledge that fnmatch can fail.
29672 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
29674         [BZ #16074]
29675         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
29676         MAP_FAILED on error.
29678 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29680         [BZ #16072]
29681         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
29682         heap for large requests.
29684 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
29686         [BZ #9954]
29687         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
29688         result if the result has no associated interface.
29689         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
29690         interface for all 127.X.Y.Z addresses.
29692 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
29694         * locale/iso-639.def: Add Ligurian (lij)
29696 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
29698         [BZ #15825]
29699         * sunrpc/rpc_main.c: Document rpcgen -5.
29701 2013-10-19  Michael Stahl  <mstahl@redhat.com>
29703         * elf/rtld.c (do_preload): Print the reason why preloading failed.
29705 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29707         [BZ #10278]
29708         * posix/glob.c: Match only directories when trailing slash is present.
29709         * posix/tst-gnuglob.c (my_opendir): Do not open files.
29710         (main): Add testcase.
29712 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29714         [BZ #15670]
29715         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
29717 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
29719         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29720         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
29721         AUTH_DES and cindex for FIPS 140-2.
29722         (DES Encryption): Add cindex FIPS 46-3.
29724         * locale/locarchive.h (struct locarhandle): Add fname.
29725         * locale/programs/localedef.c (main): Pass ARGV[remaining]
29726         if an optional argument was specified to --list-archive,
29727         otherwise NULL.
29728         * locale/programs/locarchive.c (show_archive_content): Take new
29729         argument fname and pass it via ah.fname to open_archive.
29730         * locale/programs/localedef.h: Update decl.
29731         (open_archive): If AH->fname is non-null, open that file
29732         rather than the default file name, and don't ignore ENOENT.
29733         (create_archive): Set AH.fname to NULL.
29734         (delete_locales_from_archive): Likewise.
29735         (add_locales_to_archive): Likewise.
29736         * locale/programs/locfile.c (write_all_categories): Likewise.
29738 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
29739             Aldy Hernandez  <aldyh@redhat.com>
29741         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29742         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29743         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29744         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29745         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29746         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29747         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29748         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29749         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29750         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29751         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29752         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29753         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29754         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29755         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29756         Likewise.
29757         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29758         Likewise.
29759         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
29760         Likewise.
29761         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
29762         Likewise.
29763         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
29764         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
29765         Likewise.
29766         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
29767         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
29768         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
29769         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
29770         Likewise.
29771         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
29772         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
29773         * sysdeps/powerpc/preconfigure: Likewise.
29774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
29775         Likewise.
29776         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
29777         Replace contents of file by #include of <fenv_libc.h>.
29778         * sysdeps/powerpc/soft-fp/sfp-machine.h
29779         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
29780         and <sys/prctl.h>.
29781         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
29782         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
29783         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
29784         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
29785         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
29786         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
29787         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
29788         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
29789         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
29790         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
29791         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
29792         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
29793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29794         Allow copysignl PLT reference to be missing.
29796 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
29797             Joseph Myers  <joseph@codesourcery.com
29799         [BZ #15948]
29800         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
29801         single character.
29802         (add_to_tablewc): Assert sequence of wide characters is nonempty.
29804 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29806         * elf/tst-tls-dlinfo.c: Don't include tls.h.
29807         * elf/tst-tls1.c: Likewise.
29808         * elf/tst-tls10.h: Likewise.
29809         * elf/tst-tls14.c: Likewise.
29810         * elf/tst-tls2.c: Likewise.
29811         * elf/tst-tls3.c: Likewise.
29812         * elf/tst-tls4.c: Likewise.
29813         * elf/tst-tls5.c: Likewise.
29814         * elf/tst-tls6.c: Likewise.
29815         * elf/tst-tls7.c: Likewise.
29816         * elf/tst-tls8.c: Likewise.
29817         * elf/tst-tls9.c: Likewise.
29818         * elf/tst-tlsmod1.c: Likewise.
29819         * elf/tst-tlsmod13.c: Likewise.
29820         * elf/tst-tlsmod13a.c: Likewise.
29821         * elf/tst-tlsmod14a.c: Likewise.
29822         * elf/tst-tlsmod16a.c: Likewise.
29823         * elf/tst-tlsmod16b.c: Likewise.
29824         * elf/tst-tlsmod2.c: Likewise.
29825         * elf/tst-tlsmod3.c: Likewise.
29826         * elf/tst-tlsmod4.c: Likewise.
29827         * elf/tst-tlsmod5.c: Likewise.
29828         * elf/tst-tlsmod6.c: Likewise.
29830 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
29832         [BZ #12486]
29833         * malloc/malloc.c: remove checks for statistics.
29835 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29837         [BZ #15277]
29838         * inet/inet_net.c (inet_network): Detect additional invalid strings.
29839         * inet/tst-network.c: Add testcase.
29841 2013-10-17  Andreas Schwab  <schwab@suse.de>
29843         [BZ #15218]
29844         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
29845         to determine canonical name.
29847 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29849         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
29850         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
29851         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29852         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29853         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29854         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29855         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29856         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29857         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29858         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29859         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29860         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29861         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29862         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29863         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29864         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29865         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29866         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29867         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29868         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29869         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29870         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29871         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29872         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
29873         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
29874         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29875         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29876         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
29877         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29878         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
29879         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29880         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29881         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29882         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29883         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29884         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29885         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29886         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29887         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29888         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29889         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29890         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29891         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29892         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29893         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29894         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29895         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29896         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29897         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29898         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29899         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29900         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29901         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29902         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29903         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29904         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29905         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29906         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29908 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
29910         [BZ #16041]
29911         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
29912         make result into a quiet NaN.
29914 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
29916         * soft-fp/adddf3.c: Fix horizontal whitespace.
29917         * soft-fp/addsf3.c: Likewise.
29918         * soft-fp/addtf3.c: Likewise.
29919         * soft-fp/divdf3.c: Likewise.
29920         * soft-fp/divsf3.c: Likewise.
29921         * soft-fp/divtf3.c: Likewise.
29922         * soft-fp/double.h: Likewise.
29923         * soft-fp/eqdf2.c: Likewise.
29924         * soft-fp/eqsf2.c: Likewise.
29925         * soft-fp/eqtf2.c: Likewise.
29926         * soft-fp/extenddftf2.c: Likewise.
29927         * soft-fp/extended.h: Likewise.
29928         * soft-fp/extendsfdf2.c: Likewise.
29929         * soft-fp/extendsftf2.c: Likewise.
29930         * soft-fp/extendxftf2.c: Likewise.
29931         * soft-fp/fixdfdi.c: Likewise.
29932         * soft-fp/fixdfsi.c: Likewise.
29933         * soft-fp/fixdfti.c: Likewise.
29934         * soft-fp/fixsfdi.c: Likewise.
29935         * soft-fp/fixsfsi.c: Likewise.
29936         * soft-fp/fixsfti.c: Likewise.
29937         * soft-fp/fixtfdi.c: Likewise.
29938         * soft-fp/fixtfsi.c: Likewise.
29939         * soft-fp/fixtfti.c: Likewise.
29940         * soft-fp/fixunsdfdi.c: Likewise.
29941         * soft-fp/fixunsdfsi.c: Likewise.
29942         * soft-fp/fixunsdfti.c: Likewise.
29943         * soft-fp/fixunssfdi.c: Likewise.
29944         * soft-fp/fixunssfsi.c: Likewise.
29945         * soft-fp/fixunssfti.c: Likewise.
29946         * soft-fp/fixunstfdi.c: Likewise.
29947         * soft-fp/fixunstfsi.c: Likewise.
29948         * soft-fp/fixunstfti.c: Likewise.
29949         * soft-fp/floatdidf.c: Likewise.
29950         * soft-fp/floatdisf.c: Likewise.
29951         * soft-fp/floatditf.c: Likewise.
29952         * soft-fp/floatsidf.c: Likewise.
29953         * soft-fp/floatsisf.c: Likewise.
29954         * soft-fp/floatsitf.c: Likewise.
29955         * soft-fp/floattidf.c: Likewise.
29956         * soft-fp/floattisf.c: Likewise.
29957         * soft-fp/floattitf.c: Likewise.
29958         * soft-fp/floatundidf.c: Likewise.
29959         * soft-fp/floatundisf.c: Likewise.
29960         * soft-fp/floatunditf.c: Likewise.
29961         * soft-fp/floatunsidf.c: Likewise.
29962         * soft-fp/floatunsisf.c: Likewise.
29963         * soft-fp/floatunsitf.c: Likewise.
29964         * soft-fp/floatuntidf.c: Likewise.
29965         * soft-fp/floatuntisf.c: Likewise.
29966         * soft-fp/floatuntitf.c: Likewise.
29967         * soft-fp/fmadf4.c: Likewise.
29968         * soft-fp/fmasf4.c: Likewise.
29969         * soft-fp/fmatf4.c: Likewise.
29970         * soft-fp/gedf2.c: Likewise.
29971         * soft-fp/gesf2.c: Likewise.
29972         * soft-fp/getf2.c: Likewise.
29973         * soft-fp/ledf2.c: Likewise.
29974         * soft-fp/lesf2.c: Likewise.
29975         * soft-fp/letf2.c: Likewise.
29976         * soft-fp/muldf3.c: Likewise.
29977         * soft-fp/mulsf3.c: Likewise.
29978         * soft-fp/multf3.c: Likewise.
29979         * soft-fp/negdf2.c: Likewise.
29980         * soft-fp/negsf2.c: Likewise.
29981         * soft-fp/negtf2.c: Likewise.
29982         * soft-fp/op-1.h: Likewise.
29983         * soft-fp/op-2.h: Likewise.
29984         * soft-fp/op-4.h: Likewise.
29985         * soft-fp/op-8.h: Likewise.
29986         * soft-fp/op-common.h: Likewise.
29987         * soft-fp/quad.h: Likewise.
29988         * soft-fp/single.h: Likewise.
29989         * soft-fp/soft-fp.h: Likewise.
29990         * soft-fp/sqrtdf2.c: Likewise.
29991         * soft-fp/sqrtsf2.c: Likewise.
29992         * soft-fp/sqrttf2.c: Likewise.
29993         * soft-fp/subdf3.c: Likewise.
29994         * soft-fp/subsf3.c: Likewise.
29995         * soft-fp/subtf3.c: Likewise.
29996         * soft-fp/truncdfsf2.c: Likewise.
29997         * soft-fp/trunctfdf2.c: Likewise.
29998         * soft-fp/trunctfsf2.c: Likewise.
29999         * soft-fp/trunctfxf2.c: Likewise.
30000         * soft-fp/unorddf2.c: Likewise.
30001         * soft-fp/unordsf2.c: Likewise.
30002         * soft-fp/unordtf2.c: Likewise.
30004 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
30006         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
30007         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
30009 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
30011         * elf/dl-libc.c: Clear initfini list after freeing.
30013 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
30015         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
30016         * soft-fp/addsf3.c: Likewise.
30017         * soft-fp/addtf3.c: Likewise.
30018         * soft-fp/divdf3.c: Likewise.
30019         * soft-fp/divsf3.c: Likewise.
30020         * soft-fp/divtf3.c: Likewise.
30021         * soft-fp/double.h: Likewise.
30022         * soft-fp/eqdf2.c: Likewise.
30023         * soft-fp/eqsf2.c: Likewise.
30024         * soft-fp/eqtf2.c: Likewise.
30025         * soft-fp/extenddftf2.c: Likewise.
30026         * soft-fp/extended.h: Likewise.
30027         * soft-fp/extendsfdf2.c: Likewise.
30028         * soft-fp/extendsftf2.c: Likewise.
30029         * soft-fp/extendxftf2.c: Likewise.
30030         * soft-fp/fixdfdi.c: Likewise.
30031         * soft-fp/fixdfsi.c: Likewise.
30032         * soft-fp/fixdfti.c: Likewise.
30033         * soft-fp/fixsfdi.c: Likewise.
30034         * soft-fp/fixsfsi.c: Likewise.
30035         * soft-fp/fixsfti.c: Likewise.
30036         * soft-fp/fixtfdi.c: Likewise.
30037         * soft-fp/fixtfsi.c: Likewise.
30038         * soft-fp/fixtfti.c: Likewise.
30039         * soft-fp/fixunsdfdi.c: Likewise.
30040         * soft-fp/fixunsdfsi.c: Likewise.
30041         * soft-fp/fixunsdfti.c: Likewise.
30042         * soft-fp/fixunssfdi.c: Likewise.
30043         * soft-fp/fixunssfsi.c: Likewise.
30044         * soft-fp/fixunssfti.c: Likewise.
30045         * soft-fp/fixunstfdi.c: Likewise.
30046         * soft-fp/fixunstfsi.c: Likewise.
30047         * soft-fp/fixunstfti.c: Likewise.
30048         * soft-fp/floatdidf.c: Likewise.
30049         * soft-fp/floatdisf.c: Likewise.
30050         * soft-fp/floatditf.c: Likewise.
30051         * soft-fp/floatsidf.c: Likewise.
30052         * soft-fp/floatsisf.c: Likewise.
30053         * soft-fp/floatsitf.c: Likewise.
30054         * soft-fp/floattidf.c: Likewise.
30055         * soft-fp/floattisf.c: Likewise.
30056         * soft-fp/floattitf.c: Likewise.
30057         * soft-fp/floatundidf.c: Likewise.
30058         * soft-fp/floatundisf.c: Likewise.
30059         * soft-fp/floatunsidf.c: Likewise.
30060         * soft-fp/floatunsisf.c: Likewise.
30061         * soft-fp/floatuntidf.c: Likewise.
30062         * soft-fp/floatuntisf.c: Likewise.
30063         * soft-fp/floatuntitf.c: Likewise.
30064         * soft-fp/fmadf4.c: Likewise.
30065         * soft-fp/fmasf4.c: Likewise.
30066         * soft-fp/fmatf4.c: Likewise.
30067         * soft-fp/gedf2.c: Likewise.
30068         * soft-fp/gesf2.c: Likewise.
30069         * soft-fp/getf2.c: Likewise.
30070         * soft-fp/ledf2.c: Likewise.
30071         * soft-fp/lesf2.c: Likewise.
30072         * soft-fp/letf2.c: Likewise.
30073         * soft-fp/muldf3.c: Likewise.
30074         * soft-fp/mulsf3.c: Likewise.
30075         * soft-fp/multf3.c: Likewise.
30076         * soft-fp/negdf2.c: Likewise.
30077         * soft-fp/negsf2.c: Likewise.
30078         * soft-fp/negtf2.c: Likewise.
30079         * soft-fp/op-1.h: Likewise.
30080         * soft-fp/op-2.h: Likewise.
30081         * soft-fp/op-4.h: Likewise.
30082         * soft-fp/op-8.h: Likewise.
30083         * soft-fp/op-common.h: Likewise.
30084         * soft-fp/quad.h: Likewise.
30085         * soft-fp/single.h: Likewise.
30086         * soft-fp/soft-fp.h: Likewise.
30087         * soft-fp/sqrtdf2.c: Likewise.
30088         * soft-fp/sqrtsf2.c: Likewise.
30089         * soft-fp/sqrttf2.c: Likewise.
30090         * soft-fp/subdf3.c: Likewise.
30091         * soft-fp/subsf3.c: Likewise.
30092         * soft-fp/subtf3.c: Likewise.
30093         * soft-fp/truncdfsf2.c: Likewise.
30094         * soft-fp/trunctfdf2.c: Likewise.
30095         * soft-fp/trunctfsf2.c: Likewise.
30096         * soft-fp/trunctfxf2.c: Likewise.
30097         * soft-fp/unorddf2.c: Likewise.
30098         * soft-fp/unordsf2.c: Likewise.
30099         * soft-fp/unordtf2.c: Likewise.
30101 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
30103         [BZ #15672]
30104         * misc/error.c (error_tail): Fix possible buffer overflow.
30106 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
30108         [BZ #13028]
30109         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
30110         address.
30112 2013-10-14  P. J. McDermott  <pj@pehjota.net>
30114         [BZ #832]
30115         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
30116         testing pipefail option.
30118 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
30120         * soft-fp/double.h: Indent preprocessor directives inside #if.
30121         * soft-fp/extended.h: Likewise.
30122         * soft-fp/op-2.h: Likewise.
30123         * soft-fp/op-4.h: Likewise.
30124         * soft-fp/op-common.h: Likewise.
30125         * soft-fp/quad.h: Likewise.
30126         * soft-fp/single.h: Likewise.
30127         * soft-fp/soft-fp.h: Likewise.
30129 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
30131         * iconv/iconv_prog.c: Fix typos.
30132         * stdio-common/psiginfo-data.h: Likewise.
30134 2013-10-12   Reuben Thomas <rrt@sc3d.org>
30136         [BZ #15764]
30137         * locale/setlocale.c: Fix typo.
30139 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
30141         [BZ #16036]
30142         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
30143         signaling NaN arguments.
30144         * soft-fp/unordsf2.c (__unordsf2): Likewise.
30145         * soft-fp/unordtf2.c (__unordtf2): Likewise.
30147         [BZ #14910]
30148         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
30149         unordered operands.
30150         * soft-fp/gesf2.c (__gesf2): Likewise.
30151         * soft-fp/getf2.c (__getf2): Likewise.
30152         * soft-fp/ledf2.c (__ledf2): Likewise.
30153         * soft-fp/lesf2.c (__lesf2): Likewise.
30154         * soft-fp/letf2.c (__letf2): Likewise.
30156         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
30157         * soft-fp/eqsf2.c (__eqsf2): Likewise.
30158         * soft-fp/eqtf2.c (__eqtf2): Likewise.
30159         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
30160         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
30161         * soft-fp/fixdfti.c (__fixdfti): Likewise.
30162         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
30163         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
30164         * soft-fp/fixsfti.c (__fixsfti): Likewise.
30165         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
30166         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
30167         * soft-fp/fixtfti.c (__fixtfti): Likewise.
30168         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
30169         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
30170         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
30171         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
30172         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
30173         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
30174         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
30175         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
30176         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
30177         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
30178         * soft-fp/floatdisf.c (__floatdisf): Likewise.
30179         * soft-fp/floatsisf.c (__floatsisf): Likewise.
30180         * soft-fp/floattidf.c (__floattidf): Likewise.
30181         * soft-fp/floattisf.c (__floattisf): Likewise.
30182         * soft-fp/floattitf.c (__floattitf): Likewise.
30183         * soft-fp/floatundidf.c (__floatundidf): Likewise.
30184         * soft-fp/floatundisf.c (__floatundisf): Likewise.
30185         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
30186         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
30187         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
30188         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
30189         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
30190         * soft-fp/gesf2.c (__gesf2): Likewise.
30191         * soft-fp/getf2.c (__getf2): Likewise.
30192         * soft-fp/ledf2.c (__ledf2): Likewise.
30193         * soft-fp/lesf2.c (__lesf2): Likewise.
30194         * soft-fp/letf2.c (__letf2): Likewise.
30196         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
30197         Undefine and redefine.
30198         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
30199         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
30200         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
30201         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
30202         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30203         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
30204         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30205         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
30206         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30207         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
30208         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30209         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
30210         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30211         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
30212         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30214         [BZ #16032]
30215         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
30216         without decrementing exponent if mantissa >= that for the
30217         denominator, not >.
30218         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
30219         denominator, not >.  Decrement exponent in < case instead of
30220         incrementing in >= case.
30221         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
30222         without decrementing exponent if mantissa >= that for the
30223         denominator, not >.
30225         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
30226         computing saturated result for unsigned overflow.
30228 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30229             Jeff Law  <law@redhat.com>
30231         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
30232         (atan2Mp): Add systemtap probe marker.
30233         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
30234         (__ieee754_log): Add systemtap probe marker.
30235         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
30236         (atanMp): Add systemtap probe marker.
30237         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
30238         (tanMp): Add systemtap probe marker.
30239         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
30240         (__slowexp): Add systemtap probe marker.
30241         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
30242         (__slowpow): Add systemtap probe marker.
30243         * manual/probes.texi: Document probes.
30245 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
30247         [BZ #15362]
30248         * libio/fileops.c (_IO_new_file_write): Return count of bytes
30249         written.
30250         (_IO_new_file_xsputn): Don't return EOF if nothing has been
30251         written.
30252         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
30253         written to buffer but not flushed.
30254         * libio/iofwrite_u.c:  Likewise.
30255         * libio/iopadn.c:  Return bytes returned even if EOF was
30256         encountered.
30257         * libio/iowpadn.c:  Likewise.
30258         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
30259         if _IO_padn does not write the whole buffer.
30260         [!COMPILE_WPRINTF] (PAD): Likewise.
30262 2013-10-10  David S. Miller  <davem@davemloft.net>
30264         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
30265         directory block.
30267 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30269         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
30270         instead of FSF address.
30271         * soft-fp/fixdfti.c: Likewise.
30272         * soft-fp/fixsfti.c: Likewise.
30273         * soft-fp/fixtfti.c: Likewise.
30274         * soft-fp/fixunsdfti.c: Likewise.
30275         * soft-fp/fixunssfti.c: Likewise.
30276         * soft-fp/fixunstfti.c: Likewise.
30277         * soft-fp/floattidf.c: Likewise.
30278         * soft-fp/floattisf.c: Likewise.
30279         * soft-fp/floattitf.c: Likewise.
30280         * soft-fp/floatuntidf.c: Likewise.
30281         * soft-fp/floatuntisf.c: Likewise.
30282         * soft-fp/floatuntitf.c: Likewise.
30283         * soft-fp/trunctfxf2.c: Likewise.
30285         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
30286         * soft-fp/fixdfti.c: Likewise.
30287         * soft-fp/fixsfti.c: Likewise.
30288         * soft-fp/fixtfti.c: Likewise.
30289         * soft-fp/fixunsdfti.c: Likewise.
30290         * soft-fp/fixunssfti.c: Likewise.
30291         * soft-fp/fixunstfti.c: Likewise.
30292         * soft-fp/floattidf.c: Likewise.
30293         * soft-fp/floattisf.c: Likewise.
30294         * soft-fp/floattitf.c: Likewise.
30295         * soft-fp/floatuntidf.c: Likewise.
30296         * soft-fp/floatuntisf.c: Likewise.
30297         * soft-fp/floatuntitf.c: Likewise.
30298         * soft-fp/trunctfxf2.c: Likewise.
30300 2013-10-10  David S. Miller  <davem@davemloft.net>
30302         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30304 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
30306         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
30307         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
30308         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
30309         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
30310         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
30311         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
30312         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
30314         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
30315         for NaNs before doing comparisons on argument.
30316         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
30317         Likewise.
30319 2013-10-10  Will Newton  <will.newton@linaro.org>
30321         * malloc/hooks.c (memalign_check): Ensure the value of bytes
30322         passed to _int_memalign does not overflow.
30324 2013-10-10  Torvald Riegel  <triegel@redhat.com>
30326         * scripts/bench.pl: Add include-sources directive.
30327         * benchtests/README: Update documentation.
30329 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30331         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
30332         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
30333         instead of FP_INIT_ROUNDMODE.
30334         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
30335         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
30337         [BZ #16034]
30338         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
30339         copy class of input value.
30340         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
30341         not handle exceptions.
30342         * soft-fp/negsf2.c (__negsf2): Likewise.
30343         * soft-fp/negtf2.c (__negtf2): Likewise.
30344         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
30346 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
30348         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
30349         semicolon.  From Linux kernel.
30351 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
30353         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
30355 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
30357         [BZ #156]
30358         * manual/socket.texi: Added statement about buffer
30359         for gethostbyname2_r.
30361 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
30363         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
30364         Use .p2align directive instead, throughout.
30365         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30366         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30367         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
30368         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30369         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30370         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
30371         * sysdeps/x86_64/strchr.S: Likewise.
30372         * sysdeps/x86_64/strrchr.S: Likewise.
30374 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30376         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
30378         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
30380         * sysdeps/generic/math_private.h (__mpsin1): Remove
30381         declaration.
30382         (__mpcos1): Likewise.
30383         (__mpsin): New argument __range_reduce.
30384         (__mpcos): Likewise.
30385         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30386         (slow): Use __mpsin and __mpcos.
30387         (slow1): Likewise.
30388         (slow2): Likewise.
30389         (sloww): Likewise.
30390         (sloww1): Likewise.
30391         (sloww2): Likewise.
30392         (bsloww): Likewise.
30393         (bsloww1): Likewise.
30394         (bsloww2): Likewise.
30395         (cslow2): Likewise.
30396         (csloww): Likewise.
30397         (csloww1): Likewise.
30398         (csloww2): Likewise.
30399         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
30400         range_reduce.  Merge in __mpsin1.
30401         (__mpcos): Likewise.
30402         (__mpsin1): Remove.
30403         (__mpcos1): Likewise.
30405 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
30407         * locale/loadlocale.c (_nl_intern_locale_data): Use
30408         LOCFILE_ALIGNED_P.
30409         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
30410         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
30411         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
30412         obstack data is appropriately aligned.
30413         (obstack_int32_grow_fast): Likewise.
30414         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
30415         * locale/programs/locfile.c (add_locale_uint32): Likewise.
30416         (add_locale_uint32_array): Likewise.
30418 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30420         * benchtests/Makefile: Remove ARGLIST and RET variables.
30421         ($(objpfx)bench-%.c): Pass only function name to the script.
30422         * benchtests/README: Update documentation.
30423         * benchtests/acos-inputs: Add new directives.
30424         * benchtests/acosh-inputs: Likewise.
30425         * benchtests/asin-inputs: Likewise.
30426         * benchtests/asinh-inputs: Likewise.
30427         * benchtests/atan-inputs: Likewise.
30428         * benchtests/atanh-inputs: Likewise.
30429         * benchtests/cos-inputs: Likewise.
30430         * benchtests/cosh-inputs: Likewise.
30431         * benchtests/exp-inputs: Likewise.
30432         * benchtests/log-inputs: Likewise.
30433         * benchtests/pow-inputs: Likewise.
30434         * benchtests/rint-inputs: Likewise.
30435         * benchtests/sin-inputs: Likewise.
30436         * benchtests/sinh-inputs: Likewise.
30437         * benchtests/tan-inputs: Likewise.
30438         * benchtests/tanh-inputs: Likewise.
30439         * scripts/bench.pl: Add support for new directives.
30441 2013-10-07  Alan Modra  <amodra@gmail.com>
30443         * README: Fix careless merge.
30445 2013-10-05  Alan Modra  <amodra@gmail.com>
30447         * NEWS: Mention powerpc64le support and bugs fixed.
30448         * README: Both big-endian and little-endian powerpc64 supported.
30450 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30452         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
30453         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
30454         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
30455         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
30457 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
30459         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
30460         match prototype.
30462 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
30464         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
30465         Move -mhard-float appending from
30466         ports/sysdeps/powerpc/powerpc32/Makefile.
30467         [$(with-fp) = yes] (ASFLAGS): Likewise.
30468         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
30469         * sysdeps/powerpc/nofpu: Move directory from
30470         ports/sysdeps/powerpc/nofpu.
30471         * sysdeps/powerpc/soft-fp: Move directory from
30472         ports/sysdeps/powerpc/soft-fp.
30473         * sysdeps/powerpc/powerpc32/405: Move directory from
30474         ports/sysdeps/powerpc/powerpc32/405.
30475         * sysdeps/powerpc/powerpc32/440: Move directory from
30476         ports/sysdeps/powerpc/powerpc32/440.
30477         * sysdeps/powerpc/powerpc32/464: Move directory from
30478         ports/sysdeps/powerpc/powerpc32/464.
30479         * sysdeps/powerpc/powerpc32/476: Move directory from
30480         ports/sysdeps/powerpc/powerpc32/476.
30481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
30482         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
30483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
30484         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
30485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
30486         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
30487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
30488         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
30489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
30490         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
30491         * README: Update for powerpc-*-linux-gnu software floating point
30492         support in libc.
30494         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
30495         case to powerpc/powerpc32*.
30496         * sysdeps/unix/sysv/linux/configure: Regenerated.
30498         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
30499         (_FPU_MASK_OM): Define as 0x04.
30500         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
30501         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
30502         0x00c10080.
30503         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
30504         0x0000003c.
30505         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
30507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
30508         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30509         getcontext_e500.
30510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
30511         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30512         setcontext_e500.
30513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
30514         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
30515         and setcontext_e500.
30517 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
30519         * locale/iso-3166.def: Update iso-1366.def and related occurrences
30521 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30523         * manual/threads.texi (Default Thread Attributes): Fix typo.
30525 2013-10-04  Will Newton  <will.newton@linaro.org>
30527         * malloc/Makefile: Add tst-memalign.
30528         * malloc/tst-memalign.c: New file.
30530         * malloc/tst-posix_memalign.c: Add comments.
30531         (do_test): Add comments and call free on all potentially
30532         allocated pointers. Add space after cast.
30534         * malloc/tst-pvalloc.c: Add comments.
30535         (do_test): Add comments and call free on all potentially
30536         allocated pointers. Remove duplicate check for NULL pointer.
30537         Add space after cast.
30539         * malloc/tst-valloc.c: Add comments.
30540         (do_test): Add comments and call free on all potentially
30541         allocated pointers. Remove duplicate check for NULL pointer.
30542         Add space after cast.
30544 2013-10-04  Alan Modra  <amodra@gmail.com>
30546         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30547         Use stdint types in rather than __attribute__((mode())).
30548         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30550 2013-10-04  Alan Modra  <amodra@gmail.com>
30552         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30553         Correct handling of unaligned relocs for little-endian.
30554         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30556 2013-10-04  Alan Modra  <amodra@gmail.com>
30558         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
30559         * configure: Regenerate.
30560         * nptl/shlib-versions: Powerpc*le starts at 2.18.
30561         * shlib-versions: Likewise.
30563 2013-10-04  Alan Modra  <amodra@gmail.com>
30565         * string/tester.c (test_memrchr): Increment reported test cycle.
30567 2013-10-04  Alan Modra  <amodra@gmail.com>
30569         * string/test-memcpy.c (do_one_test): When reporting errors, print
30570         string address and don't overrun end of string.
30572 2013-10-04  Alan Modra  <amodra@gmail.com>
30574         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
30575         insrdi.  Make better use of reg selection to speed exit slightly.
30576         Schedule entry path a little better.  Remove useless "are we done"
30577         checks on entry to main loop.  Handle wrapping around zero address.
30578         Correct main loop count.  Handle single left-over word from main
30579         loop inline rather than by using loop_small.  Remove extra word
30580         case in loop_small caused by wrong loop count.  Add little-endian
30581         support.
30582         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30583         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
30584         cache hint.
30585         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30586         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
30587         support.  Avoid rlwimi.
30588         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
30590 2013-10-04  Alan Modra  <amodra@gmail.com>
30592         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
30593         insrdi.  Formatting.
30594         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
30595         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30596         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30597         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30598         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30599         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
30601 2013-10-04  Alan Modra  <amodra@gmail.com>
30603         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
30604         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30605         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30606         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
30607         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30608         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30609         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30610         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30611         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
30612         use of regs.  Use power7 mtocrf.  Tidy function tails.
30614 2013-10-04  Alan Modra  <amodra@gmail.com>
30616         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
30617         Formatting.  Consistently use rXXX register defines or rN defines.
30618         Use early exit labels that avoid restoring unused non-volatile regs.
30619         Make cr field use more consistent with rWORDn compares.  Rename
30620         regs used as shift registers for unaligned loop, using rN defines
30621         for short lifetime/multiple use regs.
30622         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30623         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
30624         addi 1,1,64 to pop stack frame.  Simplify return value code.
30625         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30627 2013-10-04  Alan Modra  <amodra@gmail.com>
30629         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
30630         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
30631         rather than rlwimi.
30632         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
30633         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
30634         little-endian support.  Correct typos.
30635         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
30636         rather than rlwimi.
30637         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
30638         in loop and entry code to keep "and." results.
30639         (strchr): Add little-endian support.  Comment.  Move cntlzd
30640         earlier in tail.
30641         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
30643 2013-10-04  Alan Modra  <amodra@gmail.com>
30645         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
30646         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
30647         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30648         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
30650 2013-10-04  Alan Modra  <amodra@gmail.com>
30652         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
30653         (rTMP): Define as r11.
30654         (strcmp): Add little-endian support.  Optimise tail.
30655         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
30656         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30657         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30658         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30659         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30660         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30661         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30663 2013-10-04  Alan Modra  <amodra@gmail.com>
30665         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
30666         little-endian support.  Remove unnecessary "are we done" tests.
30667         Handle "s" wrapping around zero and extremely large "size".
30668         Correct main loop count.  Handle single left-over word from main
30669         loop inline rather than by using small_loop.  Correct comments.
30670         Delete "zero" tail, use "end_max" instead.
30671         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
30673 2013-10-04  Alan Modra  <amodra@gmail.com>
30675         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
30676         support.  Don't branch over align.
30677         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
30678         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
30679         support.  Rearrange tmp reg use to suit.  Comment.
30680         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
30682 2013-10-04  Alan Modra  <amodra@gmail.com>
30684         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
30686 2013-10-04  Alan Modra  <amodra@gmail.com>
30688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
30689         conditional form of branch and link when obtaining pc.
30690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30692 2013-10-04  Alan Modra  <amodra@gmail.com>
30694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
30695         HIWORD/LOWORD.
30696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
30697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
30699 2013-10-04  Alan Modra  <amodra@gmail.com>
30701         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
30702         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
30703         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30704         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
30705         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30706         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30707         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
30708         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30709         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30710         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
30712 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30713             Alistair Popple <alistair@ozlabs.au.ibm.com>
30714             Alan Modra <amodra@gmail.com>
30716         [BZ #15723]
30717         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
30718         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
30719         _dl_hwcap access for little-endian.
30720         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
30721         destroy vmx regs when saving unaligned.
30722         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
30723         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
30724         destroy vmx regs when saving unaligned.
30726 2013-10-04  Alan Modra  <amodra@gmail.com>
30728         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
30729         Don't use a union to pack hi/low value.
30731 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30733         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
30734         for little-endian.
30735         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30736         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
30737         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30738         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30739         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30741 2013-10-04  Alan Modra  <amodra@gmail.com>
30743         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30744         constants to usual value for .cst8 section, and remove redundant
30745         high address load.
30746         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30747         constant for 0x1p52.  Load little-endian words of double from
30748         correct stack offsets.
30750 2013-10-04  Alan Modra  <amodra@gmail.com>
30752         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30753         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30754         words of double from correct stack offsets.
30755         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30756         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30757         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30758         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30759         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30760         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30761         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30762         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30763         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30764         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30765         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30766         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30767         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30768         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30769         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30770         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
30771         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30773 2013-10-04  Alan Modra  <amodra@gmail.com>
30775         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
30776         64-bit int/double union.
30777         (_FPU_SETCW): Likewise.
30778         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30779         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
30781 2013-10-04  Alan Modra  <amodra@gmail.com>
30783         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
30784         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
30786 2013-10-04  Alan Modra  <amodra@gmail.com>
30788         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
30789         use vector int constants.
30790         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
30792 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30794         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
30795         array with long long.
30796         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
30797         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
30798         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
30799         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
30800         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
30801         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
30802         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
30803         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
30804         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
30805         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
30806         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
30807         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
30808         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
30810 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30812         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
30813         (__signbit): Likewise.  Correct for little-endian.
30814         (__signbitl): Call __signbit.
30815         (lrint): Correct for little-endian.
30816         (lrintf): Call lrint.
30818 2013-10-04  Alan Modra  <amodra@gmail.com>
30820         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
30821         union 32-bit int array member with 64-bit int array.
30822         (t515, tm256): Double rather than long double.
30823         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
30825 2013-10-04  Alan Modra  <amodra@gmail.com>
30827         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
30828         Delete.
30829         (IEEE854_LONG_DOUBLE_BIAS): Delete.
30830         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
30831         version of math_ldbl.h.
30833 2013-10-04  Alan Modra  <amodra@gmail.com>
30835         [BZ #15734], [BZ #15735]
30836         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
30837         all uses of ieee875 long double macros and unions.  Simplify test
30838         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
30839         ldbl_extract_mantissa value for ix,iy exponents.  Properly
30840         normalize after ldbl_extract_mantissa, and don't add hidden bit
30841         already handled.  Don't treat low word of ieee854 mantissa like
30842         low word of IBM long double and mask off bit when testing for
30843         zero.
30844         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
30845         all uses of ieee875 long double macros and unions.  Simplify tests
30846         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
30847         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
30848         two1022, instead use their values.  Recognise that tests for large
30849         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
30850         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
30851         Rewrite all uses of ieee875 long double macros and unions.  Simplify
30852         test for 0.0L and nan.  Correct negation.
30853         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
30854         ieee875 long double macros and unions.  Correct output for large
30855         magnitude x.  Correct absolute value calculation.
30856         (__erfcl): Likewise.
30857         * math/libm-test.inc: Add tests for errors discovered in IBM long
30858         double versions of fmodl, remainderl, erfl and erfcl.
30860 2013-10-04  Alan Modra  <amodra@gmail.com>
30862         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
30863         all uses of ieee854 long double macros and unions.  Simplify tests
30864         for long doubles that are fully specified by the high double.
30865         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30866         Likewise.
30867         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
30868         Remove dead code too.
30869         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30870         (__ieee754_ynl): Likewise.
30871         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30872         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
30873         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30874         Remove dead code too.
30875         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30876         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
30877         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
30878         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
30879         Simplify.
30880         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
30881         Simplify.
30882         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
30883         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30884         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
30885         Comment on variable precision.
30886         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
30887         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30888         Likewise.
30889         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30890         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30891         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30892         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30893         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
30895 2013-10-04  Alan Modra  <amodra@gmail.com>
30897         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
30898         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
30899         all uses of ieee854 long double macros and unions.
30900         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
30901         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30902         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
30903         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
30904         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30905         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30906         Likewise.
30907         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
30908         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30909         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
30910         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30911         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30912         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30913         Simplify sign and nan test too.
30914         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
30915         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30916         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
30917         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30918         Likewise.
30919         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30920         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
30921         Likewise.
30922         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30923         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30924         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
30925         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
30926         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
30927         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
30929 2013-10-04  Alan Modra  <amodra@gmail.com>
30931         * stdio-common/printf_size.c (__printf_size): Don't use
30932         union ieee854_long_double in fpnum union.
30933         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
30934         signbit macro to retrieve sign from long double.
30935         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
30936         retrieve sign from long double.
30937         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
30938         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
30939         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
30940         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30941         * math/test-misc.c (main): Don't use union ieee854_long_double.
30943 2013-10-04  Alan Modra  <amodra@gmail.com>
30945         [BZ #15680]
30946         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
30947         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
30948         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
30949         calculation.  Remove unnecessary test for denormal exponent.
30950         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
30951         Correct handling of denormals.  Avoid undefined shift behaviour.
30952         Correct normalisation of low mantissa when low double is denormal.
30953         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
30954         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
30955         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
30956         Correct normalisation of low mantissa.  Test for overflow of high
30957         mantissa and normalise.
30958         (ldbl_nearbyint): Use more readable constant for two52.
30959         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
30960         (__mpn_construct_long_double): Fix test for overflow of high
30961         mantissa and correct normalisation.  Avoid undefined shift.
30963 2013-10-04  Alan Modra  <amodra@gmail.com>
30965         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30966         (union ibm_extended_long_double): Define as an array of ieee754_double.
30967         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
30968         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
30969         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
30970         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30971         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30972         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
30973         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30974         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30975         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30976         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
30977         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30979 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
30981         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
30982         page size instead of calling getpagesize.
30984         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
30985         (LOCFILE_ALIGN_MASK): Likewise.
30986         (LOCFILE_ALIGN_UP): Likewise.
30987         (LOCFILE_ALIGNED_P): Likewise.
30988         * locale/programs/ld-collate.c (collate_output): Use the new
30989         macros instead of __alignof__ (int32_t).
30990         * locale/weight.h (findidx): Likewise.
30992 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
30994         [BZ #431]
30995         * manual/string.texi: Fix strncat and wcsncat.
30997 2013-10-03  Brooks Moses  <bmoses@google.com>
30999         [BZ #15915]
31000         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
31001         * Makerules: ...here, and adjust associated comments.
31003 2013-10-02  Will Newton  <will.newton@linaro.org>
31005         * malloc/Makefile: Add tst-pvalloc.
31006         * malloc/tst-pvalloc.c: New file.
31008 2013-10-02  Will Newton  <will.newton@linaro.org>
31010         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
31011         improve test coverage.
31013 2013-10-02  Will Newton  <will.newton@linaro.org>
31015         * malloc/Makefile: Add tst-posix_memalign.
31016         * malloc/tst-posix_memalign.c: New file.
31018 2013-10-01  Eric Blake  <eblake@redhat.com>
31020         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
31021         Use __THROWNL rather than __THROW on static functions.
31023 2013-09-30  Petr Machata  <pmachata@redhat.com>
31025         * elf/elf.h (R_AARCH64_ABS16): New macro.
31026         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
31027         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
31028         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
31029         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
31030         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
31031         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
31032         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
31033         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
31034         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
31035         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
31036         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
31037         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
31038         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
31039         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
31040         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
31041         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
31042         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
31043         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
31044         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
31045         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
31046         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
31047         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
31048         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
31049         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
31050         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
31051         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
31052         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
31053         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
31054         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
31055         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
31056         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
31057         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
31058         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
31059         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
31060         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
31061         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
31062         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
31063         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
31064         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
31065         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
31066         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
31067         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
31068         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
31069         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
31070         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
31071         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
31072         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
31073         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
31074         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
31075         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
31076         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
31077         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
31078         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
31079         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
31080         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
31081         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
31082         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
31083         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
31084         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
31085         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
31086         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
31087         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
31088         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
31089         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
31090         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
31091         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
31092         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
31093         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
31094         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
31095         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
31096         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
31097         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
31098         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
31099         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
31100         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
31101         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
31102         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
31103         (R_AARCH64_TLSDESC_LDR): Likewise.
31104         (R_AARCH64_TLSDESC_ADD): Likewise.
31105         (R_AARCH64_TLSDESC_CALL): Likewise.
31107 2013-09-30  Andreas Schwab  <schwab@suse.de>
31109         [BZ #15048]
31110         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
31111         the nss database lookup.
31112         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31113         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31115 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
31117         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
31119 2013-09-28  P. J. McDermott  <pj@pehjota.net>
31121         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
31122         ${Bash-specific parameter/pattern/string} parameter expansion.
31123         * sysdeps/unix/make-syscalls.sh: Likewise.
31125 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31127         * sysdeps/sh/stackguard-macros.h: New file.
31129 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
31131         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
31132         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
31133         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
31134         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
31135         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31136         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
31138 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31140         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
31141         Fix thread ID register.
31143 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
31145         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
31146         [POSIX || UNIX98]: Require rather than permitting all symbols from
31147         <time.h>.
31148         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
31149         element of struct sched_param.
31150         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
31151         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
31152         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
31153         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
31154         constant.
31156 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
31158         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
31159         argument calculation.
31161 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
31163         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
31164         Expect macro.
31165         [POSIX] (pthread_attr_t): Do not require type.
31166         [POSIX] (pthread_cond_t): Likewise.
31167         [POSIX] (pthread_condattr_t): Likewise.
31168         [POSIX] (pthread_key_t): Likewise.
31169         [POSIX] (pthread_mutex_t): Likewise.
31170         [POSIX] (pthread_mutexattr_t): Likewise.
31171         [POSIX] (pthread_once_t): Likewise.
31172         [POSIX] (pthread_t): Likewise.
31173         [POSIX-based standards] (pthread_atfork): Expect function.
31175 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
31176             Richard Sandiford  <richard@codesourcery.com>
31178         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
31179         (swap_endianness_p): New extern variable.
31180         (set_big_endian): New inline function.
31181         (maybe_swap_uint32): Likewise.
31182         (maybe_swap_uint32_array): Likewise.
31183         (maybe_swap_uint32_obstack): Likewise.
31184         * locale/programs/locfile.c: Include <stdbool.h>.
31185         (swap_endianness_p): New variable.
31186         (add_locale_uint32): Call maybe_swap_uint32.
31187         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
31188         (write_locale_data): Call maybe_swap_uint32_array.
31189         * locale/programs/ld-collate.c (obstack_int32_grow): Call
31190         maybe_swap_uint32.
31191         (obstack_int32_grow_fast): Likewise.
31192         (output_weightwc): Call maybe_swap_uint32_obstack.
31193         (collate_output): Likewise.
31194         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
31195         (OPT_LITTLE_ENDIAN): Likewise.
31196         (options): Add --little-endian and --big-endian options.
31197         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
31198         * locale/programs/locarchive.c: Include "locfile.h".
31199         (GET): New macro.
31200         (SET): Likewise.
31201         (INC): Likewise.
31202         (create_archive): Use the new macros to access fields of
31203         structures directly mapped from or written to locale archives.
31204         (oldlocrecentcmp): Likewise.
31205         (enlarge_archive): Likewise.
31206         (insert_name): Likewise.
31207         (add_alias): Likewise.
31208         (add_locale): Likewise.
31209         (delete_locales_from_archive): Likewise.
31210         (show_archive_content): Likewise.
31211         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
31212         locale data.
31214 2013-09-24  Roland McGrath  <roland@hack.frob.com>
31216         * manual/freemanuals.texi: Updated from (newly) canonical copy at
31217         http://www.gnu.org/doc/freemanuals.texi.
31218         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
31220 2013-09-24  Will Newton  <will.newton@linaro.org>
31222         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
31223         macro.
31225 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
31227         * locale/hashval.h (compute_hashval): Interpret bytes of key as
31228         unsigned char.
31230 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
31232         * manual/threads.texi (POSIX Threads): Fix a typo.
31234 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31236         [BZ #14547]
31237         * string/tst-strcoll-overflow.c: New test case.
31238         * string/Makefile (xtests): Add tst-strcoll-overflow.
31239         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
31240         cache if string sizes may cause integer overflow.
31242         [BZ #14547]
31243         * string/strcoll_l.c (coll_seq): New members rule, idx,
31244         save_idx and back_us.
31245         (get_next_seq_nocache): New function.
31246         (do_compare_nocache): New function.
31247         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
31248         when malloc fails.
31250 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
31252         [BZ #15754]
31253         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
31254         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
31255         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
31257         [BZ #15754]
31258         * elf/Makefile (tests): Add tst-ptrguard1.
31259         (tests-static): Add tst-ptrguard1-static.
31260         (tst-ptrguard1-ARGS): Define.
31261         (tst-ptrguard1-static-ARGS): Define.
31262         * elf/tst-ptrguard1.c: New file.
31263         * elf/tst-ptrguard1-static.c: New file.
31264         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
31265         * sysdeps/i386/stackguard-macros.h: Likewise.
31266         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31267         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31268         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31269         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31270         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31271         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31273 2013-09-23  Hector Marco  <hecmargi@upv.es>
31274             Ismael Ripoll  <iripoll@disca.upv.es>
31275             Carlos O'Donell  <carlos@redhat.com>
31277         [BZ #15754]
31278         * sysdeps/generic/stackguard-macros.h: Define
31279         __pointer_chk_guard_local and POINTER_CHK_GUARD.
31280         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
31281         Define __pointer_chk_guard_local.
31282         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
31283         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
31285 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
31287         [BZ #15859]
31288         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
31290 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
31292         * include/string.h (__ffs): Declare as hidden.
31293         * string/ffs.c (__ffs): Define as hidden.
31294         * sysdeps/i386/ffs.c (__ffs): Likewise.
31295         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
31296         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
31297         * sysdeps/s390/ffs.c (__ffs): Likewise.
31298         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
31300 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
31302         * NEWS: Mention malloc probes.
31304         * malloc/arena.c (new_heap): New memory_heap_new probe.
31305         (grow_heap): New memory_heap_more probe.
31306         (shrink_heap): New memory_heap_less probe.
31307         (heap_trim): New memory_heap_free probe.
31308         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
31309         (systrim): New memory_sbrk_less probe.
31310         * manual/probes.texi: Document them.
31312         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
31313         * manual/probes.texi: Document it.
31315         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
31316         (__libc_realloc): Add memory_realloc_retry probe.
31317         (__libc_memalign): Add memory_memalign_retry probe.
31318         (__libc_valloc): Add memory_valloc_retry probe.
31319         (__libc_pvalloc): Add memory_pvalloc_retry probe.
31320         (__libc_calloc): Add memory_calloc_retry probe.
31321         * manual/probes.texi: Document them.
31323         * malloc/arena.c (get_free_list): Add probe
31324         memory_arena_reuse_free_list.
31325         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
31326         and memory_arena_reuse.
31327         (arena_get2) [!PER_THREAD]: Likewise.
31328         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
31329         memory_arena_reuse_realloc.
31330         * manual/probes.texi: Document them.
31332         * malloc/malloc.c (__libc_free): Add
31333         memory_mallopt_free_dyn_thresholds probe.
31334         (__libc_mallopt): Add multiple memory_mallopt probes.
31335         * manual/probes.texi: Document them.
31337         * malloc/malloc.c: Include stap-probe.h.
31338         (__libc_mallopt): Add memory_mallopt probe.
31339         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
31340         * manual/probes.texi: New.
31341         * manual/Makefile (chapters): Add probes.
31342         * manual/threads.texi: Set next node.
31344 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
31346         [BZ #15963, #13985]
31347         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
31348         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
31349         Add `Chinese' to `nan' entry name.
31351 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31353         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
31354         (POLYNOMIAL): Likewise.
31355         (TAYLOR_SINCOS): Likewise.
31356         (TAYLOR_SLOW): Likewise.
31357         (__sin): Use TAYLOR_SINCOS.
31358         (__cos): Likewise.
31359         (slow): Use TAYLOR_SLOW.
31360         (sloww): Likewise.
31361         (bsloww): Likewise.
31362         (csloww): Likewise.
31364 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31366         * stdlib/strtod_l.c: Fix buffer overrun.
31368 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31370         * benchtests/Makefile (bench): Add sincos.
31371         * benchtests/bench-sincos.c: New file.
31373         * math/libm-test.inc (cos_test_data): New test inputs.
31374         (sin_test_data): Likewise.
31376         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
31377         macro.
31378         (__sin): Use it.
31379         (__cos): Likewise.
31380         (slow1): Likewise.
31381         (slow2): Likewise.
31382         (sloww1): Likewise.
31383         (sloww2): Likewise.
31384         (bsloww1): Likewise.
31385         (bsloww2): Likewise.
31386         (cslow2): Likewise.
31387         (csloww1): Likewise.
31388         (csloww2): Likewise.
31390         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
31391         function.
31392         (__sin): Use it.
31393         (__cos): Likewise.
31395         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
31396         gotos.
31397         (__cos): Likewise.
31399 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
31401         * config.h.in (HAVE_MIPS_NAN2008): New macro.
31402         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
31403         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
31404         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
31405         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
31406         * elf/cache.c (print_entry): Handle the new cache flags.
31408 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31409             Aldy Hernandez  <aldyh@redhat.com>
31411         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
31412         Change condition to [_SOFT_FLOAT].
31413         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
31414         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
31415         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
31416         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
31417         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
31418         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
31419         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
31420         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
31421         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
31422         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
31423         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
31424         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
31425         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
31426         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
31427         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
31428         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
31429         declaration.
31431 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31433         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
31434         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31435         (__longjmp): Use LOAD_GP to load saved GPRs.
31436         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
31437         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31438         (__sigsetjmp): Use SAVE_GP to save GPRs.
31440         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
31441         Do not append -msoft-float.
31442         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
31444 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31446         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
31448 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
31450         [BZ #15966]
31451         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
31452         (_FPU_GETCW): Use initial "__" on variable and field names but not
31453         on macro parameter name.
31454         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
31455         parentheses around reference to macro parameter.
31457 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
31459         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
31460         prototype.
31461         (ctype_startup): Use uint32_t in cast and sizeof for
31462         ctype->charnames.
31464 2013-09-11  Jia Liu  <proljc@gmail.com>
31466         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
31467         __daddr_t_defined.
31468         [__FreeBSD__]: Likewise.
31470 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
31472         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31473         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
31474         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
31475         (strchr): Remove __strchr_sse42 ifunc selection.
31476         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
31477         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
31479 2013-09-11  Will Newton  <will.newton@linaro.org>
31481         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
31482         parameter to RES. Remove hardcoded 1000 value.
31483         * benchtests/bench-skeleton.c (main): Pass RES parameter
31484         to TIMING_INIT and multiply result by 1000.
31486 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31490 2013-09-11  Andreas Schwab  <schwab@suse.de>
31492         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
31493         if not defined.
31494         (O_TMPFILE) [__USE_GNU]: Define.
31495         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
31496         Define.
31498 2013-09-11  Will Newton  <will.newton@linaro.org>
31500         [BZ #15857]
31501         * malloc/malloc.c (__libc_memalign): Check the value of bytes
31502         does not overflow.
31504 2013-09-11  Will Newton  <will.newton@linaro.org>
31506         [BZ #15856]
31507         * malloc/malloc.c (__libc_valloc): Check the value of bytes
31508         does not overflow.
31510 2013-09-11  Will Newton  <will.newton@linaro.org>
31512         [BZ #15855]
31513         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
31514         does not overflow.
31516 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
31518         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
31519         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31520         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31521         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31522         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31524 2013-09-10  Allan McRae  <allan@archlinux.org>
31526         [BZ #15748]
31527         * manual/arith.texi (Parsing of Floats): Clarify
31528         cross-reference.
31530         [BZ #15849]
31531         * manual/install.texi (Running make install): Mention
31532         --enable-pt-chown.
31533         * INSTALL: Regenerated.
31535 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
31537         * csu/init-first.c (_init): Remove the !SHARED condition around
31538         FPU control word initialization.
31539         * elf/dl-support.c (_dl_fpu_control): New variable.
31540         (_dl_aux_init) <AT_FPUCW>: Initialize it.
31541         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
31542         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
31543         * math/test-fpucw-static.c: New file.
31544         * math/test-fpucw-ieee.c: New file.
31545         * math/test-fpucw-ieee-static.c: New file.
31546         * math/Makefile (tests): Add `test-fpucw-ieee' and
31547         `$(tests-static)'.
31548         (tests-static): New variable.
31549         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
31550         dependency to...
31551         [($(build-shared),yes)]
31552         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31553         ... this.
31554         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
31555         New dependency.
31557 2013-09-09  Allan McRae  <allan@archlinux.org>
31559         [BZ #15939]
31560         * manual/string.texi (Collation Functions): Fix typo in
31561         strcoll example.
31562         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
31564         [BZ #15893]
31565         * stdlib/isomac.c (get_null_defines): Fix memory leak.
31567         [BZ #15892]
31568         * libio/memstream.c (open_memstream): Fix memory leak.
31569         * libio/wmemstream.c (open_wmemstream): Likewise.
31571         [BZ #15895]
31572         * nscd/netgroupcache.c: Fix nesting of ifdefs.
31574 2013-09-09  Will Newton  <will.newton@linaro.org>
31576         * malloc/Makefile: Add tst-realloc to tests.
31577         * malloc/tst-realloc.c: New file.
31579 2013-09-09  Allan McRae  <allan@archlinux.org>
31581         [BZ #15844]
31582         * COPYING: Update from GNU website to fix FSF address.
31583         * COPYING.LIB: Likewise.
31585 2013-09-06  David S. Miller  <davem@davemloft.net>
31587         * po/zh_TW.po: Update Chinese (traditional) translation from
31588         translation project.
31590 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
31591             Joseph Myers  <joseph@codesourcery.com>
31593         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
31594         "localeinfo.h".
31595         (obstack_chunk_alloc): New macro.
31596         (obstack_chunk_free): Likewise.
31597         (record_offset): New function.
31598         (init_locale_data): Likewise.
31599         (align_locale_data): Likewise.
31600         (add_locale_empty): Likewise.
31601         (add_locale_raw_data): Likewise.
31602         (add_locale_raw_obstack): Likewise.
31603         (add_locale_string): Likewise.
31604         (add_locale_wstring): Likewise.
31605         (add_locale_uint32): Likewise.
31606         (add_locale_uint32_array): Likewise.
31607         (add_locale_char): Likewise.
31608         (start_locale_structure): Likewise.
31609         (end_locale_structure): Likewise.
31610         (start_locale_prelude): Likewise.
31611         (end_locale_prelude): Likewise.
31612         (write_locale_data): Take locale_file structure rather than an
31613         iovec.
31614         * locale/programs/locfile.h: Include "obstack.h".
31615         (struct locale_file): Change to store locale file contents instead
31616         of header.
31617         (init_locale_data): New prototype.
31618         (align_locale_data): Likewise.
31619         (add_locale_empty): Likewise.
31620         (add_locale_raw_data): Likewise.
31621         (add_locale_raw_obstack): Likewise.
31622         (add_locale_string): Likewise.
31623         (add_locale_wstring): Likewise.
31624         (add_locale_uint32): Likewise.
31625         (add_locale_uint32_array): Likewise.
31626         (add_locale_char): Likewise.
31627         (start_locale_structure): Likewise.
31628         (end_locale_structure): Likewise.
31629         (start_locale_prelude): Likewise.
31630         (end_locale_prelude): Likewise.
31631         (write_locale_data): Update prototype.
31632         * locale/programs/3level.h (struct TABLE): Remove result field.
31633         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
31634         Use new locale_file interface.
31635         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
31636         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
31637         * locale/programs/ld-address.c (address_output): Use new
31638         locale_file interface.
31639         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
31640         NO_ADD_LOCALE.
31641         (collate_finish): Don't call collseq_table_finalize.
31642         (collate_output): Use new locale_file interface.
31643         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
31644         in file.
31645         (NO_FINALIZE): Change to NO_ADD_LOCALE.
31646         (TABLE): Move defines earlier in file.
31647         (ELEMENT): Likewise.
31648         (DEFAULT): Likewise.
31649         (wctrans_table_add): Move macro and inline function earlier in
31650         file.
31651         (struct wctype_table): Move type earlier in file.
31652         (add_locale_wctype_table): New static prototype.
31653         (struct locale_ctype_t): Use logical types instead of struct iovec
31654         pointers for members.
31655         (ctype_output): Use new locale_file interface.
31656         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
31657         new locale_file interface.
31658         (allocate_arrays): Update for use of new locale_file interface.
31659         * locale/programs/ld-identification.c (identification_output): Use
31660         new locale_file interface.
31661         * locale/programs/ld-measurement.c (measurement_output): Likewise.
31662         * locale/programs/ld-messages.c (messages_output): Likewise.
31663         * locale/programs/ld-monetary.c (monetary_output): Likewise.
31664         * locale/programs/ld-name.c (name_output): Likewise.
31665         * locale/programs/ld-numeric.c (numeric_output): Likewise.
31666         * locale/programs/ld-paper.c (paper_output): Likewise.
31667         * locale/programs/ld-telephone.c (telephone_output): Likewise.
31668         * locale/programs/ld-time.c (time_output): Likewise.
31670 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31672         * benchtests/Makefile: Add memrchr benchmark.
31673         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
31674         benchmark as memrchr.
31675         * benchtests/bench-memrchr-ifunc.c: New file.
31676         * benchtests/bench-memrchr.c: New file.
31678 2013-09-06   Will Newton  <will.newton@linaro.org>
31680         * benchtests/Makefile (string-bench): Add memcpy.
31682 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
31683             Cong Wang  <amwang@redhat.com>
31685         [BZ #15850]
31686         * sysdeps/unix/sysv/linux/bits/in.h
31687         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
31688         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
31689         before __USE_KERNEL_IPV6_DEFS uses.
31690         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
31691         IPPROTO_BEETPH.
31692         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
31693         sockaddr_in6, or ipv6_mreq.
31695 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31697         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
31698         memory access for final bytes in some large inputs.
31699         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
31701 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31703         * string/test-memrchr.c: New file.
31704         * string/test-memrchr-ifunc.c: New file.
31705         * string/Makefile: Add new memrchr testcase.
31707 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
31709         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
31710         fanotify_init returns EPERM.
31712 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31714         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
31715         errors.
31716         (top level): Treat second token from macro or constant entries for
31717         allowed headers as allowed.
31718         * include/complex.h: Condition internal declarations on
31719         [!_ISOMAC].
31720         * include/fenv.h: Condition include of <stdbool.h> and internal
31721         declarations on [!_ISOMAC].
31723 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
31725         [BZ #15923]
31726         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
31728 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31730         * configure.in (--enable-versioning): Remove configure option.
31731         (libc_cv_asm_symver_directive): Remove configure test.
31732         (libc_cv_ld_version_script_option): Likewise.
31733         (VERSIONING): Remove variable and AC_SUBST.
31734         (DO_VERSIONING): Remove AC_DEFINE.
31735         * configure: Regenerated.
31736         * config.h.in (DO_VERSIONING): Remove macro.
31737         * Makerules [$(versioning) = yes]: Change conditionals to
31738         [$(build-shared) = yes].
31739         * config.make.in (versioning): Remove variable.
31740         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31741         [$(build-shared) = yes].
31742         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31743         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31744         * elf/Makefile [$(versioning) = yes]: Change conditionals to
31745         [$(build-shared) = yes].
31746         * extra-lib.mk [$(versioning) = yes]: Likewise.
31747         * hurd/Makefile [$(versioning) = yes]: Likewise.
31748         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31749         [SHARED].
31750         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31751         [SHARED].
31752         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31753         [SHARED && !NO_HIDDEN].
31754         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31755         [SHARED].
31756         [SHARED && DO_VERSIONING]: Likewise..
31757         * libio/Makefile [$(versioning) = yes]: Change conditionals to
31758         [$(build-shared) = yes].
31759         * manual/install.texi (--disable-versioning): Remove
31760         documentation.
31761         * INSTALL: Regenerated.
31762         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
31763         to [SHARED].
31764         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
31765         [$(build-shared) = yes].
31766         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
31767         * sysdeps/i386/i686/multiarch/strstr-c.c
31768         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31769         [SHARED && !NO_HIDDEN].
31770         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
31771         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
31772         * sysdeps/powerpc/powerpc32/dl-machine.c
31773         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
31774         * sysdeps/powerpc/powerpc32/sysdep.h
31775         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
31776         to [SHARED && PIC && !NO_HIDDEN].
31777         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
31778         conditional to [SHARED].
31780 2013-09-04   Will Newton  <will.newton@linaro.org>
31782         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
31783         * benchtests/bench-string.h: Include bench-timing.h instead
31784         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
31785         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
31786         call to HP_TIMING_DIFF_INIT.
31787         * benchtests/bench-memccpy.c: Use bench-timing.h macros
31788         instead of hp-timing.h macros.
31789         * benchtests/bench-memchr.c: Likewise.
31790         * benchtests/bench-memcmp.c: Likewise.
31791         * benchtests/bench-memcpy.c: Likewise.
31792         * benchtests/bench-memmem.c: Likewise.
31793         * benchtests/bench-memmove.c: Likewise.
31794         * benchtests/bench-memset.c: Likewise.
31795         * benchtests/bench-rawmemchr.c: Likewise.
31796         * benchtests/bench-strcasecmp.c: Likewise.
31797         * benchtests/bench-strcasestr.c: Likewise.
31798         * benchtests/bench-strcat.c: Likewise.
31799         * benchtests/bench-strchr.c: Likewise.
31800         * benchtests/bench-strcmp.c: Likewise.
31801         * benchtests/bench-strcpy.c: Likewise.
31802         * benchtests/bench-strcpy_chk.c: Likewise.
31803         * benchtests/bench-strlen.c: Likewise.
31804         * benchtests/bench-strncasecmp.c: Likewise.
31805         * benchtests/bench-strncat.c: Likewise.
31806         * benchtests/bench-strncmp.c: Likewise.
31807         * benchtests/bench-strncpy.c: Likewise.
31808         * benchtests/bench-strnlen.c: Likewise.
31809         * benchtests/bench-strpbrk.c: Likewise.
31810         * benchtests/bench-strrchr.c: Likewise.
31811         * benchtests/bench-strspn.c: Likewise.
31812         * benchtests/bench-strstr.c: Likewise.
31814 2013-09-04  Will Newton  <will.newton@linaro.org>
31816         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
31818 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
31820         [BZ #15427]
31821         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31822         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
31823         * math/libm-test.inc (lgamma_test_data): Add more tests.
31824         * sysdeps/i386/fpu/libm-test-ulps: Update.
31825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31827 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
31829         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
31830         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31831         Add ifunc.
31832         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31833         Add strcmp-sse2-unaligned
31834         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
31836 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31838         * Versions.def (libc): Add GLIBC_2.19.
31840 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31842         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
31843         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
31845 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
31847         [BZ #14155]
31848         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
31849         intermediate calculations in recurrence.
31850         (__ieee754_ynf): Likewise.
31851         * math/libm-test.inc (jn_test_data): Do not allow spurious
31852         underflow exception.  Add more tests.
31853         (yn_test_data): Add more tests.
31854         * sysdeps/i386/fpu/libm-test-ulps: Update.
31855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31857 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
31859         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
31861 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31863         * csu/init-first.c: Fix then/than typos.
31864         * locale/programs/ld-collate.c: Likewise.
31865         * locale/programs/linereader.h: Likewise.
31866         * manual/charset.texi: Likewise.
31867         * manual/filesys.texi: Likewise.
31868         * manual/stdio.texi: Likewise.
31869         * manual/string.texi: Likewise.
31870         * stdlib/fmtmsg.c: Likewise.
31871         * sysdeps/i386/stpncpy.S: Likewise.
31872         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31873         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31874         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31875         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31877 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31879         * elf/dl-open.c: Fix typos.
31880         * iconvdata/gbbig5.c: Likewise.
31881         * iconvdata/iso-2022-jp.c: Likewise.
31882         * iconv/gconv_int.h: Likewise.
31883         * iconv/loop.c: Likewise.
31884         * nis/rpcsvc/nis.h: Likewise.
31885         * resolv/ns_name.c: Likewise.
31886         * stdio-common/vfscanf.c: Likewise.
31887         * streams/stropts.h: Likewise.
31888         * sunrpc/rpc_thread.c: Likewise.
31889         * sysdeps/i386/strpbrk.S: Likewise.
31890         * sysdeps/ieee754/k_standard.c: Likewise.
31891         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31892         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31893         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
31894         * sysdeps/mach/hurd/profil.c: Likewise.
31895         * sysdeps/s390/dl-procinfo.h: Likewise.
31896         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
31897         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31898         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
31899         * sysdeps/x86_64/dl-trampoline.S: Likewise.
31900         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31902 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
31904         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
31905         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
31907 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
31909         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
31910         aix specific files.
31911         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
31912         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
31913         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
31914         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
31915         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
31916         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
31917         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
31918         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
31920 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31921             Roland McGrath  <roland@hack.frob.com>
31923         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
31924         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
31926 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31928         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
31929         __executable_start symbol instead of _start.
31931 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31933         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
31934         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
31935         Move macros to...
31936         * sysdeps/gnu/ldsodefs.h: ... this new file.
31938         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
31939         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
31940         instead of ELFOSABI_LINUX.
31942         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
31943         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
31944         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
31945         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
31946         Likewise.
31947         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
31948         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
31949         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
31950         Likewise.
31951         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31952         (ibm_extended_long_double): Add ieee_nan member.
31953         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
31954         (do_test): New function.
31956         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
31957         TEST_TRUNC.
31958         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
31959         functions, renamed from truncdfsf_test, trunctfsf_test,
31960         trunctfdf_test.
31961         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
31962         functions.
31963         (do_test): Run all these.
31965 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
31967         * argp/argp-help.c: Fix typos.
31968         * argp/argp-parse.c: Likewise.
31969         * debug/backtracesyms.c: Likewise.
31970         * elf/elf.h: Likewise.
31971         * malloc/malloc.c: Likewise.
31972         * nis/nis_print.c: Likewise.
31973         * resolv/res_comp.c: Likewise.
31974         * stdlib/stdlib.h: Likewise.
31975         * sunrpc/clnt_tcp.c: Likewise.
31976         * sunrpc/clnt_udp.c: Likewise.
31977         * sunrpc/clnt_unix.c: Likewise.
31978         * sysdeps/unix/bsd/ptsname.c: Likewise.
31979         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31980         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
31981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
31982         Likewise.
31983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
31984         Likewise.
31985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31986         Likewise.
31987         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31989 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31991         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
31992         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31994 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
31996         [BZ #15897]
31997         * dlfcn/Makefile (tests): Add bug-dl-leaf.
31998         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
31999         ($(objpfx)bug-dl-leaf): New rule.
32000         ($(objpfx)bug-dl-leaf.so): Likewise.
32001         ($(objpfx)bug-dl-leaf.out): Likewise.
32002         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
32003         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
32004         * dlfcn/bug-dl-leaf.c: New test.
32005         * dlfcn/bug-dl-leaf-lib.c: Likewise.
32006         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
32007         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
32008         (dlclose): Likewise.
32009         (dlmopen): Likewise.
32011 2013-08-27  Roland McGrath  <roland@hack.frob.com>
32013         * include/netdb.h [!_ISOMAC]:
32014         Don't include <tls.h>.
32015         (h_errno, __libc_h_errno): Move declaration and macros out of
32016         [_LIBC_REENTRANT].
32018         * include/resolv.h [_RESOLV_H_]:
32019         Don't include <tls.h>.
32020         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
32021         * resolv/res_libc.c: Don't include <tls.h>.
32022         (_res): Use __attribute__ ((nocommon)) in place of
32023         __attribute__ ((section (".bss"))).
32025         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
32026         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
32028         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
32030         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
32031         only under [SIOCGIFCONF && SIOCGIFNETMASK].
32033         * resolv/res_mkquery.c: Include <sys/time.h>.
32035         * inet/ifreq.c: Moved to ...
32036         * sysdeps/unix/ifreq.c: ... here.
32037         * inet/ifreq.c: New file, true stub version.
32039         * socket/sa_len.c: New file.
32040         * socket/Makefile (aux): Add it.
32041         * sysdeps/unix/sysv/linux/Makefile
32042         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
32043         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
32044         and #include <socket/sa_len.c>.
32045         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
32046         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
32048         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
32049         * bits/socket.h: ... here.
32051         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
32052         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
32053         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
32055 2013-08-27  Andreas Schwab  <schwab@suse.de>
32057         [BZ #15736]
32058         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
32059         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
32060         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
32061         * string/test-strcasecmp.c (test_main): Run tests in several
32062         locales.
32063         * string/test-strncasecmp.c (test_main): Likewise.
32065         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
32066         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
32067         to __strcasecmp_nonascii and __strncasecmp_nonascii.
32068         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
32069         (__strncasecmp_ssse3) [PIC]: Likewise.
32071 2013-08-26  Roland McGrath  <roland@hack.frob.com>
32073         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
32075         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
32076         instead of explicitly declaring xdecrypt.
32077         * nis/nss_nis/nis-publickey.c: Likewise.
32079 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32081         [BZ #15890]
32082         * nscd/aicache.c: Include res_hconf.h.
32083         (addhstaiX): Initialize res_hconf.
32085 2013-08-26  Andreas Schwab  <schwab@suse.de>
32087         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
32088         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
32090 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32092         * nscd/aicache.c (addhstaiX): Fix indentation.
32094 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
32096         * configure.ac: Quote $build_pt_chown test.
32097         * configure: Regenerated.
32099 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
32101         [BZ #15532]
32102         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
32103         * math/s_cexpf.c (__cexpf): Likewise.
32104         * math/s_cexpl.c (__cexpl): Likewise.
32105         * math/libm-test.inc (cexp_test_data): Correct expected return
32106         value for NaN + i0.  Add another test.
32108 2013-08-22  David S. Miller  <davem@davemloft.net>
32110         * po/ca.po: Update Catalan translation from translation project.
32111         * po/uk.po: Add Ukrainian translations from translation project.
32113 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
32115         [BZ #15797]
32116         * math/s_fdim.c (__fdim): Check for infinite arguments if result
32117         is infinite, not alongside NaN test.
32118         * math/s_fdimf.c (__fdimf): Likewise.
32119         * math/s_fdiml.c (__fdiml): Likewise.
32120         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
32121         errno is unchanged.
32123 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
32125         * argp/argp-help.c: Fix typos.
32126         * crypt/speeds.c: Likewise.
32127         * csu/check_fds.c: Likewise.
32128         * elf/dl-load.c: Likewise.
32129         * elf/dl-open.c: Likewise.
32130         * elf/reldep3.c: Likewise.
32131         * elf/reldep.c: Likewise.
32132         * elf/sprof.c: Likewise.
32133         * iconv/iconv_charmap.c: Likewise.
32134         * iconv/skeleton.c: Likewise.
32135         * iconv/strtab.c: Likewise.
32136         * io/lockf64.c: Likewise.
32137         * libio/libioP.h: Likewise.
32138         * resolv/gai_notify.c: Likewise.
32139         * resolv/ns_name.c: Likewise.
32140         * resolv/ns_samedomain.c: Likewise.
32141         * resolv/res_send.c: Likewise.
32142         * stdlib/random.c: Likewise.
32143         * sunrpc/rpc/xdr.h: Likewise.
32144         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
32145         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32146         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32147         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32148         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32149         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32150         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32151         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32152         * sysdeps/mach/hurd/check_fds.c: Likewise.
32153         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32154         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32155         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32156         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32157         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32158         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32159         * sysdeps/pthread/aio_notify.c: Likewise.
32160         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
32161         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
32162         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
32163         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32164         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
32166 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32168         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
32169         version if bit_Slow_SSE4_2 is set.
32170         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32171         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32173 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32175         [BZ #15867]
32176         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
32177         trampoline stack frame information.
32178         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
32179         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
32180         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
32181         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
32182         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
32183         * sysdeps/unix/sysv/linux/powerpc/init-first.c
32184         (_libc_vdso_platform_setup): Initialize the signal trampolines.
32185         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
32186         sa_flags value.
32187         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
32188         interrupting a syscall and set with option SA_SIGINFO.
32190 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
32192         [BZ #15531]
32193         * math/s_cproj.c (__cproj): Only return an infinity if one part of
32194         argument is infinite.
32195         * math/s_cprojf.c (__cprojf): Likewise.
32196         * math/s_cprojl.c (__cprojl): Likewise.
32197         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
32198         * math/libm-test.inc (cproj_test_data): Add more tests.
32200         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
32202         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
32203         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
32204         size.  Use __ffs to determine corresponding shift.
32206 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
32207             Roland McGrath  <roland@hack.frob.com>
32209         * Makefile (INSTALL): Remove trailing blank lines from output of
32210         makeinfo.
32212 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32214         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
32215         Align 32 bit compat elf_greg to 8 bytes.
32217 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
32219         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
32221 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32223         * string/strcoll_l.c (coll_seq): New structure.
32224         (get_next_seq_cached): New function.
32225         (get_next_seq): New function.
32226         (do_compare): New function.
32227         (STRCOLL): Use GNU style definition.  Simplify implementation
32228         by using get_next_seq, get_next_seq_cached and do_compare.
32230 2013-08-16  Florian Weimer  <fweimer@redhat.com>
32232         [BZ #14699]
32233         CVE-2013-4237
32234         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
32235         member.
32236         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
32237         member.
32238         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
32239         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
32240         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
32241         conditional.
32242         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
32243         GETDENTS_64BIT_ALIGNED.
32244         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32245         * manual/filesys.texi (Reading/Closing Directory): Document
32246         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
32247         strongly.
32248         * manual/conf.texi (Limits for Files): Add portability note to
32249         NAME_MAX, PATH_MAX.
32250         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
32252 2013-08-13  Andreas Schwab  <schwab@suse.de>
32254         [BZ #15749]
32255         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
32256         of fabs.
32257         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
32258         LDBL_MAX_EXP >= 16384]: Add tests for it.
32260 2013-08-12  David S. Miller  <davem@davemloft.net>
32262         * version.h (RELEASE): Set to "development".
32263         (VERSION): Set to "2.18.90".
32264         * NEWS: Add 2.19 section.
32266 2013-08-03  David S. Miller  <davem@davemloft.net>
32268         * po/ko.po: Update Korean translation from translation project.
32270 2013-08-01  David S. Miller  <davem@davemloft.net>
32272         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
32273         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
32274         Bilka.
32276 2013-07-30  David S. Miller  <davem@davemloft.net>
32278         * po/fr.po: Update French translation from translation project.
32280 2013-07-28  David S. Miller  <davem@davemloft.net>
32282         * po/cs.po: Update Czech translation from translation project.
32284         * po/sv.po: Update Swedish translation from translation project.
32286 2013-07-27  David S. Miller  <davem@davemloft.net>
32288         * po/eo.po: Update Esperanto translation from translation project.
32290         * po/vi.po: Update Vietnamese translation from translation project.
32292         * po/de.po: Update German translation from translation project.
32294 2013-07-26  David S. Miller  <davem@davemloft.net>
32296         * po/bg.po: Update Bulgarian translation from translation project.
32298         * po/nl.po: Update Dutch translation from translation project.
32299         * po/pl.po: Update Polish translation from translation project.
32300         * po/ru.po: Update Russian translation from translation project.
32302 2013-07-24  David S. Miller  <davem@davemloft.net>
32304         * po/libc.pot: Update.
32306 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32308         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
32309         variable page size.
32310         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
32311         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
32312         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
32314 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32316         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
32318 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32319             Andreas Schwab  <schwab@suse.de>
32320             Roland McGrath  <roland@hack.frob.com>
32321             Joseph Myers  <joseph@codesourcery.com>
32322             Carlos O'Donell  <carlos@redhat.com>
32324         [BZ #15755]
32325         * config.h.in: Define HAVE_PT_CHOWN.
32326         * config.make.in (build-pt-chown): New variable.
32327         * configure.in (--enable-pt_chown): New configure option.
32328         * configure: Regenerate.
32329         * login/Makefile: Include Makeconfig.  Build pt_chown only if
32330         build-pt-chown is enabled.
32331         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
32332         pt_chown to fix pty ownership.
32333         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
32334         CLOSE_ALL_FDS.
32335         * manual/install.texi (Configuring and compiling): Mention
32336         --enable-pt_chown. Add @findex for grantpt.
32337         * INSTALL: Regenerate.
32339 2013-07-20  David S. Miller  <davem@davemloft.net>
32341         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
32342         difference between 32-bit and 64-bit.
32344 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
32346         [BZ #15711]
32347         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
32348         Avoid system header dependency with -ffreestanding.
32349         ($(objpfx)bits/syscall%d): Likewise.
32351 2013-07-13  David S. Miller  <davem@davemloft.net>
32353         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
32354         underflows from atanl/atan2l due to bug 15319.
32355         (casinh_test_data): Likewise.
32357 2013-07-07  David S. Miller  <davem@davemloft.net>
32359         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32361 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
32363         * sysdeps/i386/fpu/libm-test-ulps: Update.
32364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32366 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32368         * configure.in (--enable-lock-elision): Fix message text.
32369         * INSTALL: Regenerate.
32370         * configure: Regenerate.
32372 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32376 2013-07-03  Andreas Jaeger  <aj@suse.de>
32378         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
32379         define.
32380         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
32381         (ptrace_peeksiginfo_args): Add.
32382         (__ptrace_peeksiginfo_flags): Add.
32383         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32384         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32385         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32387 2013-07-03  Allan McRae  <allan@archlinux.org>
32389         * sysdeps/i386/fpu/libm-test-ulps: Update.
32391 2013-07-02  David S. Miller  <davem@davemloft.net>
32393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32395 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
32397         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32399 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32401         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32404 2013-07-02  Andi Kleen <ak@linux.intel.com>
32406         * config.h.in (ENABLE_LOCK_ELISION): Add.
32407         * configure.in (--enable-lock-elision): Add option.
32408         * manual/install.texi: Document --enable lock elision.
32409         * configure: Regenerate
32410         * INSTALL: Regenerate.
32412 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
32414         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
32415         SSE4.2 strcasecmp for libc.a.
32416         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32418 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32420         [BZ #13304]
32421         * soft-fp/op-common.h (_FP_FMA): New macro.
32422         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
32423         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
32424         (_FP_MUL_MEAT_1_imm): ... here.
32425         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
32426         (_FP_MUL_MEAT_1_wide): ... here.
32427         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
32428         (_FP_MUL_MEAT_1_hard): ... here.
32429         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
32430         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
32431         (_FP_MUL_MEAT_2_wide): ... here.
32432         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
32433         (_FP_MUL_MEAT_2_wide_3mul): ... here.
32434         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
32435         (_FP_MUL_MEAT_2_gmp): ... here.
32436         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
32437         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
32438         (_FP_MUL_MEAT_4_wide): ... here.
32439         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
32440         (_FP_MUL_MEAT_4_gmp): ... here.
32441         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
32442         (_FP_WFRACBITS_DW_S): Likewise.
32443         (_FP_WFRACXBITS_DW_S): Likewise.
32444         (_FP_HIGHBIT_DW_S): Likewise.
32445         (FP_FMA_S): Likewise.
32446         (_FP_FRAC_HIGH_DW_S): Likewise.
32447         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
32448         (_FP_WFRACBITS_DW_D): Likewise.
32449         (_FP_WFRACXBITS_DW_D): Likewise.
32450         (_FP_HIGHBIT_DW_D): Likewise.
32451         (FP_FMA_D): Likewise.
32452         (_FP_FRAC_HIGH_DW_D): Likewise.
32453         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
32454         (_FP_WFRACBITS_DW_E): Likewise.
32455         (_FP_WFRACXBITS_DW_E): Likewise.
32456         (_FP_HIGHBIT_DW_E): Likewise.
32457         (FP_FMA_E): Likewise.
32458         (_FP_FRAC_HIGH_DW_E): Likewise.
32459         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
32460         (_FP_WFRACBITS_DW_Q): Likewise.
32461         (_FP_WFRACXBITS_DW_Q): Likewise.
32462         (_FP_HIGHBIT_DW_Q): Likewise.
32463         (FP_FMA_Q): Likewise.
32464         (_FP_FRAC_HIGH_DW_Q): Likewise.
32465         * soft-fp/fmasf4.c: New file.
32466         * soft-fp/fmadf4.c: Likewise.
32467         * soft-fp/fmatf4.c: Likewise.
32469 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32471         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32472         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
32473         Silvermont.
32474         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
32475         macro.
32476         (index_Slow_SSE4_2): Likewise.
32477         (index_Prefer_PMINUB_for_stringop): Likewise.
32478         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
32479         bit_Slow_SSE4_2 is set.
32480         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32481         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32483 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32485         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
32486         rtld_global._dl_hwcap2.
32487         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
32488         POWER8.
32489         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
32490         POWER8 feature descriptions defined in _dl_hwcap2.
32491         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
32492         string handling for POWER8 feature bits.
32493         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
32494         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
32495         _dl_powerpc_cap_flags.
32496         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
32497         * sysdeps/powerpc/rtld-global-offsets.sym
32498         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
32499         _dl_hwcap2 in the rtld_global_ro structure.
32501 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32503         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
32504         hardware capabilities in support of AT_HWCAP2.
32505         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
32506         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
32507         GLRO(dl_hwcap2).
32508         (_dl_show_auxv): Add support for calling _dl_procinfo to display
32509         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
32510         explicitly the unknown a_type display mechanism is used.
32511         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
32512         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
32513         struct member.
32514         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
32515         to macro prototype for AT_HWCAP2 support.
32516         * sysdeps/i386/dl-procinfo.h: Likewise.
32517         * sysdeps/s390/dl-procinfo.h: Likewise.
32518         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
32519         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
32520         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
32521         return -1 for unknown a_type display fallback.
32522         * sysdeps/sparc/dl-procinfo.h: Likewise.
32523         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
32524         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
32526 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
32528         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
32529         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
32531 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
32533         [BZ #12492]
32534         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
32535         mprotect making __stack_prot writable.
32537 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
32538             Joseph Myers  <joseph@codesourcery.com>
32540         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
32541         as being properly aligned.
32543 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
32545         * dlfcn/modstatic5.c: New file.
32546         * dlfcn/tststatic5.c: New file.
32547         * dlfcn/Makefile (tests): Add tststatic5.
32548         (tests-static): Likewise.
32549         (modules-names): Add modstatic5.
32550         (tststatic5-ENV): New variable.
32551         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
32553         [BZ #15022]
32554         * elf/dl-support.c (_dl_main_map): New variable.
32555         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
32556         (_dl_nns, _dl_load_adds): Set to 1.
32557         (_dl_initial_searchlist): Refer to _dl_main_map.
32558         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
32559         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
32560         call to _dl_get_origin.
32561         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
32562         around call_map.
32563         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
32564         * dlfcn/modstatic3.c: New file.
32565         * dlfcn/tststatic3.c: New file.
32566         * dlfcn/tststatic4.c: New file.
32567         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
32568         (tests-static): Likewise.
32569         (modules-names): Add modstatic3.
32570         (tststatic3-ENV, tststatic4-ENV): New variables.
32571         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
32572         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
32574 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
32576         * configure.in (CC): Require GCC version 4.4 or later.
32577         * configure: Regenerated.
32578         * manual/install.texi (Tools for Compilation): Update GCC version
32579         requirement.
32580         * INSTALL: Regenerated.
32582 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32584         [BZ #15674]
32585         * string/test-memcmp.c (check2): New.
32586         (main): Call check2.
32588         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
32590 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
32592         [BZ #15022]
32593         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
32594         over to...
32595         (dl_open_worker) [!SHARED]: ... here.
32597 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32599         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
32601 2013-06-25  Richard Henderson  <rth@redhat.com>
32603         * locale/programs/locarchive.c: Include <libc-internal.h>
32605 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
32607         * manual/texinfo.tex: Update to version 2013-06-21.17, with
32608         trailing whitespace removed.
32610 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32612         [BZ #10283]
32613         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
32614         * locale/programs/locarchive.c: Include libc-mmap.h.
32615         (prepare_address_space): Take two new outputs (the mmap base and len).
32616         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
32617         values.
32618         (create_archive): Declare new mmap base and len values for
32619         prepare_address_space, and store the result in ah.
32620         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
32621         (enlarge_archive): If ah->mmap_base is not NULL, use that and
32622         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32623         Declare new mmap base and len values for
32624         prepare_address_space, and store the result in new_ah.
32625         (open_archive): Declare new mmap base and len values for
32626         prepare_address_space, and store the result in ah.
32627         (close_archive): If ah->mmap_base is not NULL, use that and
32628         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32629         * sysdeps/generic/libc-mmap.h: New file.
32631 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32633         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
32634         (ALIGN_UP): Likewise.
32635         (PTR_ALIGN_DOWN): Likewise.
32636         (PTR_ALIGN_UP): Likewise.
32638 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32640         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
32641         entry mapped to PPC_PLATFORM_POWER8.
32642         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
32643         POWER8.
32644         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
32645         (_dl_string_platform): Add case for exporting platform position for
32646         POWER8.
32647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
32648         search path to sysdeps/powerpc/powerpc32/power8 directory.
32649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
32650         search path to sysdeps/powerpc/powerpc64/power8 directory.
32651         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
32652         power7 directories.
32653         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
32654         power7 directories.
32656 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32658         * INSTALL: Regenerate.
32660         * nscd/connections.c (nscd_init): Fix comment.
32662 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
32664         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
32666         [BZ #15667]
32667         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
32668         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
32670 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32672         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
32673         DL_DST_REQ_STATIC.
32674         (DL_DST_REQ_STATIC): Remove macro.
32676 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
32678         [BZ #7006]
32679         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
32680         with a shift of 0 bits.
32682 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32684         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
32685         $(tststatic-ENV).
32687 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32689         [BZ #15655]
32690         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
32692 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32694         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32695         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
32696         accepts -fno-tree-loop-distribute-patterns.
32697         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
32698         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
32699         recursive call.
32700         * string/memset.c (memset): Likewise.
32701         * string/test-memmove.c (simple_memmove): Disable loop transformation
32702         to library calls.
32703         * string/test-memset.c (simple_memset): Likewise.
32704         * benchtests/bench-memmove.c (simple_memmove): Likewise.
32705         * benchtests/bench-memset.c (simple_memset): Likewise.
32706         * configure: Regenerated.
32708 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
32710         * math/test-misc.c (main): Ignore fesetround failure when failures
32711         of subsequent rounding tests would be ignored.
32713         [BZ #15654]
32714         * math/fedisblxcpt.c (fedisableexcept): Return 0.
32715         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
32716         * math/fegetenv.c (__fegetenv): Return 0.
32717         * math/fegetexcept.c (fegetexcept): Return 0.
32718         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
32719         FE_TONEAREST.
32720         * math/feholdexcpt.c (feholdexcept): Return 0.
32721         * math/fesetenv.c (__fesetenv): Return 0.
32722         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32723         argument FE_TONEAREST.
32724         * math/feupdateenv.c (__feupdateenv): Return 0.
32725         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
32727 2013-06-18  Roland McGrath  <roland@hack.frob.com>
32729         * elf/rtld-Rules (rtld-compile-command.S): New variable.
32730         (rtld-compile-command.s, rtld-compile-command.c): New variables.
32731         ($(objpfx)rtld-%.os rules): Use them.
32733 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32735         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
32736         fields.
32738 2013-06-17  Roland McGrath  <roland@hack.frob.com>
32740         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32741         length of target pattern, then descending length of dependency pattern.
32742         * configure.in (AWK): Require gawk 3.1.2 or newer.
32743         * manual/install.texi (Tools for Compilation): Say that we do.
32744         * configure: Regenerated.
32746         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32747         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32748         * scripts/sysd-rules.awk: ... this new script.
32749         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32750         than a glob-style pattern.
32752 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
32754         * math/test-misc.c (main): Do not treat incorrectly rounded
32755         conversions as failure unless ROUNDING_TESTS passes.
32757 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
32759         [BZ #15631]
32760         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
32761         restore exception state around main square root computation, then
32762         check for inexactness explicitly.
32764         * math/libm-test.inc (fma_test_data): Add another test.
32766 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32768         * manual/threads.texi (Non-POSIX Extensions): New document
32769         node.  Document pthread_getattr_default_np and
32770         pthread_setattr_default_np.
32772         * Versions.def (libpthread): Add GLIBC_2.18.
32773         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
32774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32775         Likewise.
32776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32777         Likewise.
32778         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32779         Likewise.
32780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32781         Likewise.
32782         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
32783         Likewise.
32784         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32785         Likewise.
32786         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32787         Likewise.
32788         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32789         Likewise.
32790         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32791         Likewise.
32793 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32795         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32796         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
32798 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32799             H.J. Lu  <hjl.tools@gmail.com>
32801         [BZ #15627]
32802         * sysdeps/x86_64/rtld-memset.c: Remove file.
32803         * sysdeps/x86_64/rtld-memset.S: New file.
32805 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
32807         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
32808         (test_in_one_mode): Take arguments for whether the rounding mode
32809         is supported for each floating-point type.
32810         (do_test): Pass new arguments to test_in_one_mode using
32811         ROUNDING_TESTS.
32813 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32815         * posix/tst-waitid.c (do_test): Distinguish different instances of
32816         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
32817         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
32818         before entering the kernel for waitpid.
32820 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32822         * NEWS: Fix note on clock function precision.  Text by Roland
32823         McGrath.
32825 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32827         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
32828         it into place only when and if the sanity check passes.
32830 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
32832         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
32833         output for whether conversion result is exact.  Take argument
32834         indicating whether type is IBM long double.
32835         (round_for_all): Change need_exact field to ibm_ld.
32836         * stdlib/tst-strtod-round.c (struct exactness): New type.
32837         (struct test): Change bool ld_ok field to struct exactness exact.
32838         (TEST): Update all definitions for change to field.
32839         (tests): Regenerate array contents.
32840         (test_in_one_mode): Take pointer to new field instead of old ld_ok
32841         field value.  Check for IBM long double here.
32842         (do_test): Update calls to test_in_one_mode.
32844 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32846         [BZ #12515]
32847         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
32848         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
32850 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32852         [BZ #15605]
32853         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
32854         generated by the compiler on loop optimizations.
32855         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
32856         general definitions.
32858 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
32860         * math/bug-nextafter.c: Include <math-tests.h>.
32861         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32862         the relevant type.
32863         * math/bug-nexttoward.c: Include <math-tests.h>.
32864         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32865         the relevant type.
32866         * math/test-misc.c: Include <math-tests.h>.
32867         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32868         the relevant type.
32870 2013-06-12  Andreas Jaeger  <aj@suse.de>
32872         * po/ia.po: Update Interlingua translation from translation
32873         project.
32875 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32877         * include/fenv.h: Include stdbool.h.
32878         (struct rm_ctx): New structure.
32879         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
32880         Define macro.
32881         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
32882         (SET_RESTORE_ROUNDF): Likewise.
32883         (SET_RESTORE_ROUNDL): Likewise.
32884         (SET_RESTORE_ROUND_NOEX): Likewise.
32885         (SET_RESTORE_ROUND_NOEXF): Likewise.
32886         (SET_RESTORE_ROUND_NOEXL): Likewise.
32887         (SET_RESTORE_ROUND_53BIT): Likewise.
32888         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
32889         (libc_feresetround_noexf_ctx): Likewise.
32890         (libc_feresetround_noexl_ctx): Likewise.
32891         (libc_feholdsetround_53bit_ctx): Likewise.
32892         (libc_feresetround_53bit_ctx): Likewise.
32893         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
32894         (libc_feholdexcept_setround_sse_ctx): New function.
32895         (libc_fesetenv_sse_ctx): Likewise.
32896         (libc_feupdateenv_sse_ctx): Likewise.
32897         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
32898         (libc_feholdexcept_setround_387_ctx): Likewise.
32899         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
32900         (libc_feholdsetround_387_prec_ctx): Likewise.
32901         (libc_feholdsetround_387_ctx): Likewise.
32902         (libc_feholdsetround_387_53bit_ctx): Likewise.
32903         (libc_feholdsetround_sse_ctx): Likewise.
32904         (libc_feresetround_sse_ctx): Likewise.
32905         (libc_feresetround_387_ctx): Likewise.
32906         (libc_feupdateenv_387_ctx): Likewise.
32907         (libc_feholdexcept_setroundf_ctx): Define macro.
32908         (libc_fesetenvf_ctx): Likewise.
32909         (libc_feupdateenvf_ctx): Likewise.
32910         (libc_feholdsetroundf_ctx): Likewise.
32911         (libc_feresetroundf_ctx): Likewise.
32912         (libc_feholdexcept_setround_ctx): Likewise.
32913         (libc_fesetenv_ctx): Likewise.
32914         (libc_feupdateenv_ctx): Likewise.
32915         (libc_feholdsetround_ctx): Likewise.
32916         (libc_feresetround_ctx): Likewise.
32917         (libc_feholdexcept_setroundl_ctx): Likewise.
32918         (libc_feupdateenvl_ctx): Likewise.
32919         (libc_feholdsetroundl_ctx): Likewise.
32920         (libc_feresetroundl_ctx): Likewise.
32921         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
32922         (libc_feresetround_53bit_ctx): Likewise.
32924 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32926         * locale/iso-639.def: Convert to UTF-8.
32928 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
32930         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
32931         (EXCEPTION_TESTS_double): Likewise.
32932         (EXCEPTION_TESTS_long_double): Likewise.
32933         (EXCEPTION_TESTS): Likewise.
32934         * math/libm-test.inc (test_exceptions): Only test exceptions if
32935         EXCEPTION_TESTS (FLOAT).
32937 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32939         * benchtests/Makefile (string-bench): Add strcpy_chk and
32940         stpcpy_chk.
32941         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
32942         * benchtests/bench-stpcpy_chk.c: New file.
32943         * benchtests/bench-strcpy_chk-ifunc.c: New file.
32944         * benchtests/bench-strcpy_chk.c: New file.
32945         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
32946         code.
32947         (do_test): Likewise.
32949 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32951         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
32952         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
32953         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
32954         with tabs where appropriate.
32955         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
32956         dl-procinfo.h.
32957         [PPC_PLATFORM_PPC440]: Likewise.
32958         [PPC_PLATFORM_PPC464]: Likewise.
32959         [PPC_PLATFORM_PPC476]: Likewise.
32960         (_dl_string_platform): Add support for detecting ppc405, ppc440,
32961         ppc464, and ppc476 platform strings merging from ports/
32962         dl-procinfo.h.
32964 2013-06-11  Andreas Schwab  <schwab@suse.de>
32966         [BZ #14991]
32967         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
32968         (from_ucs4_idx): Regenerate.
32969         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
32970         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
32971         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
32972         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
32973         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
32974         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
32975         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
32976         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
32977         from FROM_LOOP and TO_LOOP specific macros.
32978         (BODY): Handle combining characters.
32979         * iconvdata/BIG5HKSCS.irreversible: Update.
32980         * iconvdata/BIG5HKSCS.precomposed: New file.
32981         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
32982         characters.
32983         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
32985 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32987         * include/sys/time.h: Fix indentation and add copyright header.
32989         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
32990         (do_test): Likewise.
32991         * string/test-memchr.c (do_one_test): Likewise.
32992         (do_test): Likewise.
32993         * string/test-memcmp.c (do_one_test): Likewise.
32994         (do_test): Likewise.
32995         * string/test-memcpy.c (do_one_test): Likewise.
32996         (do_test): Likewise.
32997         * string/test-memmem.c (do_one_test): Likewise.
32998         (do_test): Likewise.
32999         (do_random_tests): Likewise.
33000         * string/test-memmove.c (do_one_test): Likewise.
33001         (do_test): Likewise.
33002         * string/test-memset.c (do_one_test): Likewise.
33003         (do_test): Likewise.
33004         * string/test-rawmemchr.c (do_one_test): Likewise.
33005         (do_test): Likewise.
33006         * string/test-strcasecmp.c (do_one_test): Likewise.
33007         (do_test): Likewise.
33008         * string/test-strcasestr.c (do_one_test): Likewise.
33009         (do_test): Likewise.
33010         * string/test-strcat.c (do_one_test): Likewise.
33011         (do_test): Likewise.
33012         * string/test-strchr.c (do_one_test): Likewise.
33013         (do_test): Likewise.
33014         * string/test-strcmp.c (do_one_test): Likewise.
33015         (do_test): Likewise.
33016         * string/test-strcpy.c (do_one_test): Likewise.
33017         (do_test): Likewise.
33018         * string/test-string.h: Likewise.
33019         (test_init): Likewise.
33020         * string/test-strlen.c (do_one_test): Likewise.
33021         (do_test): Likewise.
33022         * string/test-strncasecmp.c (do_one_test): Likewise.
33023         (do_test): Likewise.
33024         * string/test-strncat.c (do_one_test): Likewise.
33025         (do_test): Likewise.
33026         * string/test-strncmp.c (do_one_test): Likewise.
33027         (do_test_limit): Likewise.
33028         (do_test): Likewise.
33029         * string/test-strncpy.c (do_one_test): Likewise.
33030         (do_test): Likewise.
33031         * string/test-strnlen.c (do_one_test): Likewise.
33032         (do_test): Likewise.
33033         * string/test-strpbrk.c (do_one_test): Likewise.
33034         (do_test): Likewise.
33035         * string/test-strrchr.c (do_one_test): Likewise.
33036         (do_test): Likewise.
33037         * string/test-strspn.c (do_one_test): Likewise.
33038         (do_test): Likewise.
33039         * string/test-strstr.c (do_one_test): Likewise.
33040         (do_test): Likewise.
33042         * benchtests/Makefile (string-bench): Add string benchmarks.
33043         * benchtests/bench-bcopy-ifunc.c: New file.
33044         * benchtests/bench-bcopy.c: New file.
33045         * benchtests/bench-bzero-ifunc.c: New file.
33046         * benchtests/bench-bzero.c: New file.
33047         * benchtests/bench-memccpy-ifunc.c: New file.
33048         * benchtests/bench-memccpy.c: New file.
33049         * benchtests/bench-memchr-ifunc.c: New file.
33050         * benchtests/bench-memchr.c: New file.
33051         * benchtests/bench-memcmp-ifunc.c: New file.
33052         * benchtests/bench-memcmp.c: New file.
33053         * benchtests/bench-memmem-ifunc.c: New file.
33054         * benchtests/bench-memmem.c: New file.
33055         * benchtests/bench-memmove-ifunc.c: New file.
33056         * benchtests/bench-memmove.c: New file.
33057         * benchtests/bench-mempcpy-ifunc.c: New file.
33058         * benchtests/bench-mempcpy.c: New file.
33059         * benchtests/bench-memset-ifunc.c: New file.
33060         * benchtests/bench-memset.c: New file.
33061         * benchtests/bench-rawmemchr-ifunc.c: New file.
33062         * benchtests/bench-rawmemchr.c: New file.
33063         * benchtests/bench-stpcpy-ifunc.c: New file.
33064         * benchtests/bench-stpcpy.c: New file.
33065         * benchtests/bench-stpncpy-ifunc.c: New file.
33066         * benchtests/bench-stpncpy.c: New file.
33067         * benchtests/bench-strcasecmp-ifunc.c: New file.
33068         * benchtests/bench-strcasecmp.c: New file.
33069         * benchtests/bench-strcasestr-ifunc.c: New file.
33070         * benchtests/bench-strcasestr.c: New file.
33071         * benchtests/bench-strcat-ifunc.c: New file.
33072         * benchtests/bench-strcat.c: New file.
33073         * benchtests/bench-strchr-ifunc.c: New file.
33074         * benchtests/bench-strchr.c: New file.
33075         * benchtests/bench-strchrnul-ifunc.c: New file.
33076         * benchtests/bench-strchrnul.c: New file.
33077         * benchtests/bench-strcmp-ifunc.c: New file.
33078         * benchtests/bench-strcmp.c: New file.
33079         * benchtests/bench-strcpy-ifunc.c: New file.
33080         * benchtests/bench-strcpy.c: New file.
33081         * benchtests/bench-strcspn-ifunc.c: New file.
33082         * benchtests/bench-strcspn.c: New file.
33083         * benchtests/bench-strlen-ifunc.c: New file.
33084         * benchtests/bench-strlen.c: New file.
33085         * benchtests/bench-strncasecmp-ifunc.c: New file.
33086         * benchtests/bench-strncasecmp.c: New file.
33087         * benchtests/bench-strncat-ifunc.c: New file.
33088         * benchtests/bench-strncat.c: New file.
33089         * benchtests/bench-strncmp-ifunc.c: New file.
33090         * benchtests/bench-strncmp.c: New file.
33091         * benchtests/bench-strncpy-ifunc.c: New file.
33092         * benchtests/bench-strncpy.c: New file.
33093         * benchtests/bench-strnlen-ifunc.c: New file.
33094         * benchtests/bench-strnlen.c: New file.
33095         * benchtests/bench-strpbrk-ifunc.c: New file.
33096         * benchtests/bench-strpbrk.c: New file.
33097         * benchtests/bench-strrchr-ifunc.c: New file.
33098         * benchtests/bench-strrchr.c: New file.
33099         * benchtests/bench-strspn-ifunc.c: New file.
33100         * benchtests/bench-strspn.c: New file.
33101         * benchtests/bench-strstr-ifunc.c: New file.
33102         * benchtests/bench-strstr.c: New file.
33104         * benchtests/Makefile: Disable parallel execution of targets.
33105         (string-bench): Add memcpy.
33106         (benchset): New variable to store a list of benchmark sets.
33107         (bench-func): Renamed from bench.
33108         (bench-set): New target.
33109         (bench): Depend on bench-func and bench-set.
33110         * benchtests/README: Add section on benchmark sets.
33111         * benchtests/bench-memcpy-ifunc.c: New file.
33112         * benchtests/bench-memcpy.c: New file.
33113         * benchtests/bench-string.h: New file.
33115 2013-06-11  Andreas Schwab  <schwab@suse.de>
33117         [BZ #15577]
33118         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
33119         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
33120         values in the triple.
33121         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
33122         terminator in the group key.
33124 2013-06-11  Andreas Jaeger  <aj@suse.de>
33126         * po/zh_TW.po: Update Chinese (traditional) translation from
33127         translation project.
33129 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33131         * include/time.h (__clock_gettime): Add libc_hidden_proto.
33132         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
33133         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
33134         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33135         (clock_getcpuclockid): Likewise.
33136         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
33137         Add weak_alias and libc_hidden_def.
33138         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
33139         * rt/clock_gettime.c (clock_gettime): Rename to
33140         __clock_gettime.  Add weak_alias and libc_hidden_def.
33141         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
33142         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
33143         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
33144         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
33145         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
33146         Likewise.
33147         * rt/clock_settime.c (clock_settime): Rename to
33148         __clock_settime.  Add weak_alias and libc_hidden_def.
33149         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
33151 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
33153         * mach/err_boot.sub: Remove trailing whitespace.
33154         * mach/err_ipc.sub: Likewise.
33155         * mach/err_mach.sub: Likewise.
33157         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
33158         (ROUNDING_TESTS_double): Likewise.
33159         (ROUNDING_TESTS_long_double): Likewise.
33160         (ROUNDING_TESTS): Likewise.
33161         * math/libm-test.inc: Include <math-tests.h>.
33162         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
33163         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33164         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33165         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33167 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33169         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
33170         of assigning.
33172 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
33174         * sysdeps/gnu/errlist.awk: Do not generate space at end of
33175         otherwise empty TRANS lines.
33176         * sysdeps/gnu/errlist.c: Regenerated.
33178         * catgets/gencat.c (error_print): Use (void) in function
33179         definition.
33180         * crypt/crypt_util.c (__init_des): Likewise.
33181         * crypt/speeds.c (Stop): Likewise.
33182         (main): Likewise.
33183         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
33184         * inet/ruserpass.c (token): Likewise.
33185         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
33186         * intl/localealias.c (extend_alias_table): Likewise.
33187         * intl/plural-exp.c (init_germanic_plural): Likewise.
33188         * libio/fcloseall.c (__fcloseall): Likewise.
33189         * libio/genops.c (_IO_flush_all): Likewise.
33190         (_IO_flush_all_linebuffered): Likewise.
33191         (_IO_cleanup): Likewise.
33192         (_IO_iter_begin): Likewise.
33193         (_IO_iter_end): Likewise.
33194         (_IO_list_lock): Likewise.
33195         (_IO_list_unlock): Likewise.
33196         (_IO_list_resetlock): Likewise.
33197         * libio/getchar.c (getchar): Likewise.
33198         * libio/getchar_u.c (getchar_unlocked): Likewise.
33199         * libio/getwchar.c (getwchar): Likewise.
33200         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
33201         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
33202         * login/getpt.c (__getpt): Likewise.
33203         * login/tst-utmp.c (main): Likewise.
33204         * malloc/hooks.c (__malloc_check_init): Likewise.
33205         * malloc/malloc.c (__malloc_stats): Likewise.
33206         * malloc/mtrace.c (tr_break): Likewise.
33207         (mtrace): Likewise.
33208         (muntrace): Likewise.
33209         * misc/fstab.c (endfsent): Likewise.
33210         * misc/getclktck.c (__getclktck): Likewise.
33211         * misc/getdtsz.c (__getdtablesize): Likewise.
33212         * misc/gethostid.c (gethostid): Likewise.
33213         * misc/getpagesize.c (__getpagesize): Likewise.
33214         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
33215         (__get_nprocs): Likewise.
33216         (__get_phys_pages): Likewise.
33217         (__get_avphys_pages): Likewise.
33218         * misc/getttyent.c (getttyent): Likewise.
33219         (setttyent): Likewise.
33220         (endttyent): Likewise.
33221         * misc/getusershell.c (getusershell): Likewise.
33222         (endusershell): Likewise.
33223         (setusershell): Likewise.
33224         (initshells): Likewise.
33225         * misc/hsearch.c (__hdestroy): Likewise.
33226         * misc/sync.c (sync): Likewise.
33227         * misc/syslog.c (closelog_internal): Likewise.
33228         (closelog): Likewise.
33229         * misc/ttyslot.c (ttyslot): Likewise.
33230         * misc/vhangup.c (vhangup): Likewise.
33231         * posix/fork.c (__fork): Likewise.
33232         * posix/getegid.c (__getegid): Likewise.
33233         * posix/geteuid.c (__geteuid): Likewise.
33234         * posix/getgid.c (__getgid): Likewise.
33235         * posix/getpid.c (__getpid): Likewise.
33236         * posix/getppid.c (__getppid): Likewise.
33237         * posix/getuid.c (__getuid): Likewise.
33238         * posix/pause.c (pause): Likewise.
33239         * posix/setpgrp.c (setpgrp): Likewise.
33240         * posix/setsid.c (__setsid): Likewise.
33241         * posix/test-vfork.c (noop): Likewise.
33242         * resolv/gethnamaddr.c (_endhtent): Likewise.
33243         (_gethtent): Likewise.
33244         (ht_endhostent): Likewise.
33245         (gethostent): Likewise.
33246         (dns_service): Likewise.
33247         * stdlib/drand48.c (drand48): Likewise.
33248         * stdlib/lrand48.c (lrand48): Likewise.
33249         * stdlib/mrand48.c (mrand48): Likewise.
33250         * stdlib/rand.c (rand): Likewise.
33251         * stdlib/random.c (__random): Likewise.
33252         * stdlib/setenv.c (clearenv): Likewise.
33253         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
33254         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
33255         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
33256         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
33257         (__get_nprocs): Likewise.
33258         (__get_phys_pages): Likewise.
33259         (__get_avphys_pages): Likewise.
33260         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
33261         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
33262         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
33263         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
33264         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
33265         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
33266         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
33267         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
33268         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
33269         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
33270         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
33271         * sysdeps/mach/hurd/sync.c (sync): Likewise.
33272         * sysdeps/posix/clock.c (clock): Likewise.
33273         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
33274         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
33275         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
33276         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33277         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
33278         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33279         (__get_nprocs_conf): Likewise.
33280         (__get_phys_pages): Likewise.
33281         (__get_avphys_pages): Likewise.
33282         * time/clock.c (clock): Likewise.
33283         * time/tzset.c (__tzname_max): Likewise.
33285 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
33287         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
33288         (__bswap_32): Do not use "register".
33289         * crypt/crypt.c (_ufc_doit_r): Likewise.
33290         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
33291         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
33292         * gmon/gmon.c (__monstartup): Likewise.
33293         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
33294         * hurd/hurdmalloc.c (more_memory): Likewise.
33295         (malloc): Likewise.
33296         (free): Likewise.
33297         (realloc): Likewise.
33298         (malloc_fork_prepare): Likewise.
33299         (malloc_fork_parent): Likewise.
33300         (malloc_fork_child): Likewise.
33301         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
33302         (_svcauth_des): Likewise.
33303         * inet/inet_lnaof.c (inet_lnaof): Likewise.
33304         * inet/inet_net.c (inet_network): Likewise.
33305         * inet/inet_netof.c (inet_netof): Likewise.
33306         * inet/rcmd.c (__validuser2_sa): Likewise.
33307         * io/fts.c (fts_open): Likewise.
33308         (fts_load): Likewise.
33309         (fts_close): Likewise.
33310         (fts_read): Likewise.
33311         (fts_children): Likewise.
33312         (fts_build): Likewise.
33313         (fts_stat): Likewise.
33314         (fts_sort): Likewise.
33315         (fts_alloc): Likewise.
33316         (fts_lfree): Likewise.
33317         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
33318         (_IO_file_xsgetn): Likewise.
33319         (_IO_file_xsgetn_mmap): Likewise.
33320         * libio/iofopncook.c (_IO_cookie_read): Likewise.
33321         (_IO_cookie_write): Likewise.
33322         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
33323         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
33324         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
33325         * malloc/obstack.c (_obstack_begin): Likewise.
33326         (_obstack_begin_1): Likewise.
33327         (_obstack_newchunk): Likewise.
33328         (_obstack_allocated_p): Likewise.
33329         (obstack_free): Likewise.
33330         (_obstack_memory_used): Likewise.
33331         * misc/getttyent.c (getttynam): Likewise.
33332         (getttyent): Likewise.
33333         (skip): Likewise.
33334         (value): Likewise.
33335         * misc/getusershell.c (initshells): Likewise.
33336         * misc/syslog.c (__vsyslog_chk): Likewise.
33337         * misc/ttyslot.c (ttyslot): Likewise.
33338         * nis/nis_hash.c (__nis_hash): Likewise.
33339         * posix/fnmatch_loop.c (FCT): Likewise.
33340         * posix/getconf.c (print_all): Likewise.
33341         (main): Likewise.
33342         * posix/getopt.c (exchange): Likewise.
33343         * posix/glob.c (globfree): Likewise.
33344         (prefix_array): Likewise.
33345         (__glob_pattern_type): Likewise.
33346         * resolv/arpa/nameser.h (NS_GET16): Likewise.
33347         (NS_GET32): Likewise.
33348         (NS_PUT16): Likewise.
33349         (NS_PUT32): Likewise.
33350         * resolv/gethnamaddr.c (getanswer): Likewise.
33351         (gethostbyname2): Likewise.
33352         (gethostbyaddr): Likewise.
33353         (_gethtent): Likewise.
33354         (_gethtbyname2): Likewise.
33355         (_gethtbyaddr): Likewise.
33356         * resolv/ns_print.c (dst_s_get_int16): Likewise.
33357         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33358         * resolv/res_init.c (__res_vinit): Likewise.
33359         (net_mask): Likewise.
33360         * resolv/res_mkquery.c (outchar): Likewise.
33361         (PRINT): Likewise.
33362         * stdio-common/printf_fp.c (outchar): Likewise.
33363         (PRINT): Likewise.
33364         * stdio-common/printf_fphex.c (outchar): Likewise.
33365         (PRINT): Likewise.
33366         * stdio-common/printf_size.c (outchar): Likewise.
33367         (PRINT): Likewise.
33368         * stdio-common/test_rdwr.c (main): Likewise.
33369         * stdio-common/tfformat.c (matches): Likewise.
33370         * stdio-common/vfprintf.c (outchar): Likewise.
33371         (printf_unknown): Likewise.
33372         (buffered_vfprintf): Likewise.
33373         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33374         * stdio-common/xbug.c (AppendToBuffer): Likewise.
33375         (ReadFile): Likewise.
33376         * stdlib/qsort.c (SWAP): Likewise.
33377         (_quicksort): Likewise.
33378         * stdlib/setenv.c (__add_to_environ): Likewise.
33379         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33380         * stdlib/strtol_l.c (__strtol_l): Likewise.
33381         * stdlib/tst-strtod.c (main): Likewise.
33382         * stdlib/tst-strtol.c (main): Likewise.
33383         * stdlib/tst-strtoll.c (main): Likewise.
33384         * string/bits/string2.h (__strcmp_cc): Likewise.
33385         (__strcmp_cg): Likewise.
33386         (__strcspn_c1): Likewise.
33387         (__strcspn_c2): Likewise.
33388         (__strcspn_c3): Likewise.
33389         (__strspn_c1): Likewise.
33390         (__strspn_c2): Likewise.
33391         (__strspn_c3): Likewise.
33392         (__strsep_1c): Likewise.
33393         (__strsep_2c): Likewise.
33394         (__strsep_3c): Likewise.
33395         * string/memccpy.c (__memccpy): Likewise.
33396         * string/stpcpy.c (__stpcpy): Likewise.
33397         * string/strcmp.c (strcmp): Likewise.
33398         * string/strrchr.c (strrchr): Likewise.
33399         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
33400         Likewise.
33401         * sysdeps/mach/hurd/getcwd.c
33402         (_hurd_canonicalize_directory_name_internal): Likewise.
33403         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
33404         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
33405         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
33406         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
33407         Likewise, in both definitions.
33408         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
33409         definitions.
33410         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
33411         64] (__bswap_64): Likewise.
33412         * time/test_time.c (main): Likewise.
33413         * time/tzfile.c (__tzfile_read): Likewise.
33414         (__tzfile_compute): Likewise.
33415         * time/tzset.c (__tzset_parse_tz): Likewise.
33416         (tzset_internal): Likewise.
33417         (compute_change): Likewise.
33418         * wcsmbs/wcscat.c (__wcscat): Likewise.
33419         * wcsmbs/wcschr.c (wcschr): Likewise.
33420         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
33421         * wcsmbs/wcscspn.c (wcscspn): Likewise.
33422         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
33423         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
33424         * wcsmbs/wcsspn.c (wcsspn): Likewise.
33425         * wcsmbs/wcsstr.c (wcsstr): Likewise.
33426         * wcsmbs/wmemchr.c (wmemchr): Likewise.
33427         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33428         * wcsmbs/wmemset.c (wmemset): Likewise.
33430 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
33432         * scripts/config.guess: Update to version 2013-05-16.
33433         * scripts/config.sub: Update to version 2013-04-24.
33434         * scripts/install-sh: Update to version 2011-11-20.07.
33435         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
33436         * scripts/move-if-change: Update to version 2012-01-06 07:23.
33438 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
33440         * debug/fgetws_u_chk.c: Fix leading whitespaces.
33441         * elf/sln.c: Likewise.
33442         * hurd/hurd/ioctl.h: Likewise.
33443         * hurd/hurdmalloc.c: Likewise.
33444         * hurd/xattr.c: Likewise.
33445         * include/shlib-compat.h: Likewise.
33446         * inet/ruserpass.c: Likewise.
33447         * libio/iofgets_u.c: Likewise.
33448         * libio/iofgetws_u.c: Likewise.
33449         * locale/programs/ld-identification.c: Likewise.
33450         * locale/programs/ld-time.c: Likewise.
33451         * mach/msg-destroy.c: Likewise.
33452         * nss/nss_files/files-netgrp.c: Likewise.
33453         * resolv/res_data.c: Likewise.
33454         * soft-fp/op-1.h: Likewise.
33455         * soft-fp/op-2.h: Likewise.
33456         * soft-fp/op-4.h: Likewise.
33457         * soft-fp/op-common.h: Likewise.
33458         * stdio-common/printf_fphex.c: Likewise.
33459         * stdlib/strtod_l.c: Likewise.
33460         * sunrpc/rpc/clnt.h: Likewise.
33461         * sysdeps/generic/framestate.c: Likewise.
33462         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33463         * sysdeps/i386/bsd-setjmp.S: Likewise.
33464         * sysdeps/i386/__longjmp.S: Likewise.
33465         * sysdeps/i386/setjmp.S: Likewise.
33466         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33467         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33468         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33469         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33470         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33471         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33472         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33473         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33474         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33475         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33476         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33477         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33478         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33479         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33480         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33481         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33482         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33483         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
33484         * sysdeps/ieee754/support.c: Likewise.
33485         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33486         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
33487         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
33488         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
33489         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
33490         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
33491         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
33492         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
33493         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
33494         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
33495         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
33496         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
33497         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
33498         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
33499         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
33500         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
33501         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33504 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
33506         * posix/transbug.c: Remove executable mode.
33508 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
33510         * crypt/speeds.c: Remove trailing whitespace.
33511         * dlfcn/default.c: Likewise.
33512         * elf/ifuncdep2.c: Likewise.
33513         * elf/ifuncmain1.c: Likewise.
33514         * elf/ifuncmain1vis.c: Likewise.
33515         * elf/testobj.h: Likewise.
33516         * elf/tst-stackguard1.c: Likewise.
33517         * gmon/sys/gmon.h: Likewise.
33518         * hurd/hurdmsg.c: Likewise.
33519         * hurd/new-fd.c: Likewise.
33520         * hurd/ports-get.c: Likewise.
33521         * iconvdata/ibm1008_420.c: Likewise.
33522         * inet/tst-getni1.c: Likewise.
33523         * inet/tst-getni2.c: Likewise.
33524         * libio/ioungetc.c: Likewise.
33525         * libio/wfiledoalloc.c: Likewise.
33526         * manual/libm-err-tab.pl: Likewise.
33527         * math/w_dremf.c: Likewise.
33528         * misc/ftruncate.c: Likewise.
33529         * posix/bug-glob2.c: Likewise.
33530         * posix/tst-pcre.c: Likewise.
33531         * posix/wait4.c: Likewise.
33532         * resolv/README: Likewise.
33533         * resolv/res_debug.h: Likewise.
33534         * resolv/tst-inet_ntop.c: Likewise.
33535         * setjmp/bug269-setjmp.c: Likewise.
33536         * soft-fp/extended.h: Likewise.
33537         * soft-fp/op-1.h: Likewise.
33538         * soft-fp/op-2.h: Likewise.
33539         * soft-fp/op-4.h: Likewise.
33540         * soft-fp/op-8.h: Likewise.
33541         * soft-fp/testit.c: Likewise.
33542         * stdio-common/bug16.c: Likewise.
33543         * stdlib/random.c: Likewise.
33544         * sunrpc/rpcsvc/rquota.x: Likewise.
33545         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
33546         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33547         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33548         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33549         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33550         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33551         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33552         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33553         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33554         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33555         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33556         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33557         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33558         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33559         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33560         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33561         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33562         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33563         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33564         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33565         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33566         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33567         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
33568         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33569         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33570         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33571         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33572         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33573         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33574         * sysdeps/ieee754/s_lib_version.c: Likewise.
33575         * sysdeps/mach/hurd/check_fds.c: Likewise.
33576         * sysdeps/mach/hurd/getsockname.c: Likewise.
33577         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
33578         * sysdeps/mach/hurd/recvfrom.c: Likewise.
33579         * sysdeps/powerpc/bits/link.h: Likewise.
33580         * sysdeps/powerpc/dl-procinfo.c: Likewise.
33581         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
33582         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
33583         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
33584         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33585         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33586         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
33587         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33588         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
33589         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33590         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33591         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33592         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
33593         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33594         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33595         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33596         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33597         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33598         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33599         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33600         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33601         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
33602         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33603         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33604         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
33605         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33606         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33607         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33608         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33609         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33610         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33611         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33612         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33613         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33614         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
33615         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33616         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
33617         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33618         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33619         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
33620         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
33621         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
33622         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
33623         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
33624         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33625         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
33626         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
33627         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33628         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
33629         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
33630         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33631         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33632         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33633         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33634         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
33635         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33636         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33637         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33638         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
33639         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33640         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
33641         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
33642         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
33643         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33644         * sysdeps/powerpc/sysdep.h: Likewise.
33645         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33646         * sysdeps/s390/s390-64/sub_n.S: Likewise.
33647         * sysdeps/sh/dl-trampoline.S: Likewise.
33648         * sysdeps/sh/memset.S: Likewise.
33649         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
33650         * sysdeps/sh/strlen.S: Likewise.
33651         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
33652         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
33653         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
33654         * sysdeps/sparc/sparc32/rem.S: Likewise.
33655         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
33656         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
33657         * sysdeps/sparc/sparc32/strchr.S: Likewise.
33658         * sysdeps/sparc/sparc32/udiv.S: Likewise.
33659         * sysdeps/sparc/sparc32/urem.S: Likewise.
33660         * sysdeps/sparc/sparc64/add_n.S: Likewise.
33661         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33662         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
33663         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
33664         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
33665         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
33666         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33667         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
33668         * sysdeps/unix/bsd/times.c: Likewise.
33669         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
33670         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
33671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33674         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
33675         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33676         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
33677         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
33678         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
33679         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
33680         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33681         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
33682         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33683         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33684         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33685         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33686         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
33687         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
33688         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
33689         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
33690         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
33691         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33692         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
33693         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
33694         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33695         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
33696         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33697         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
33698         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
33699         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
33700         * sysdeps/x86_64/strcspn.S: Likewise.
33702 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33704         * locale/C-translit.h: Revert #include <stdint.h> because this is a
33705         generated file.  Regenerate properly from gen-translit.pl.
33706         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
33707         locale/C-translit.h.
33709 2013-06-05  Andreas Schwab  <schwab@suse.de>
33711         [BZ #15100]
33712         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
33713         week as 6 instead of -1.
33714         * time/tst-strptime.c (day_tests): Add test case.
33716 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33718         * sysdeps/generic/math_private.h
33719         (libc_feholdexcept_setround_53bit): Replace with
33720         libc_feholdsetround_53bit.
33721         (libc_feupdateenv_53bit): Replace with
33722         libc_feresetround_53bit.
33723         (SET_RESTORE_ROUND_53BIT): Adjust.
33725 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33727         * string/test-strchrnul.c: Add copyright header.
33729         * posix/tst-getaddrinfo4.c: Increase test timeout.
33731 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
33733         [BZ #15536]
33734         * math/libm-test.inc (MAX_EXP): Remove
33735         (MIN_EXP): Define.
33736         (ulp): Use MIN_EXP - MANT_DIG.
33737         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
33739 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
33741         * po/be.po: Revert last change.
33742         * po/zh_CN.po: Likewise.
33743         * po/header.pot: Likewise.
33745 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
33747         * Makefile ($(common-objpfx)linkobj/libc.so): Define
33748         link-libc-deps to empty as target-specific variable.
33749         * Makerules (link-libc-args): New variable.
33750         (libc-for-link): Likewise.
33751         (link-libc-deps): Likewise.
33752         (lib%.so): Depend on $(link-libc-deps).  Link with
33753         $(link-libc-args).
33754         (build-module): Link with $(link-libc-args).
33755         (build-module-asneeded): Likewise.
33756         (build-module-helper-objlist): Filter out $(link-libc-deps) from
33757         list of objects.
33758         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
33759         target-specific variable.
33760         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
33761         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
33762         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33763         libc.
33764         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
33765         libc and ld.so.
33766         ($(objpfx)libpcprofile.so): Likewise.
33767         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
33768         libc_nonshared.a.
33769         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
33770         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33771         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
33772         $(link-libc-deps).
33773         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
33774         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
33775         * login/Makefile ($(objpfx)libutil.so): Likewise.
33776         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
33777         * math/Makefile ($(objpfx)libm.so): Likewise.
33778         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
33779         $(objpfx)libnsl.so): Define libc-for-link as target-specific
33780         variable instead of depending directly on libc.
33781         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
33782         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
33783         $(link-libc-deps).
33784         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
33785         libc.
33786         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
33787         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
33788         ($(objpfx)libanl.so): Likewise.
33789         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
33790         ld.so.
33791         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
33792         $(link-libc-deps).
33793         * sysdeps/i386/fpu/Makefile: Remove file.
33794         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
33795         ($(objpfx)libm.so): Remove dependency on ld.so.
33797 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
33799         [BZ # 15553]
33800         * nis/yp_xdr.c (XDRMAXNAME): Define.
33801         (XDRMAXRECORD): Define.
33802         (xdr_domainname): Use XDRMAXNAME.
33803         (xdr_mapname): Likewise.
33804         (xdr_peername): Likewise.
33805         (xdr_keydat): Use XDRMAXRECORD.
33806         (xdr_valdat): Likewise.
33808 2013-05-30  Jeff Law  <law@redhat.com>
33810         [BZ #14256]
33811         * manual/errno.texi (ESTALE): Update to account for more than
33812         just NFS file systems.
33813         * sysdeps/gnu/errlist.c: Regenerated.
33815 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33817         [BZ #15465]
33818         * elf/Makefile (tests): Add tst-null-argv.
33819         (modules-names):  Add tst-null-argv-lib.
33820         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
33821         (tst-null-argv-ENV): Set environment for tst-null-argv.
33822         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
33823         (RTLD_PROGNAME): New macro.
33824         * elf/tst-null-argv.c: New test case.
33825         * elf/tst-null-argv-lib.c: Library for test case.
33826         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
33827         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
33828         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
33829         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
33830         * elf/dl-init.c (call_init): Likewise.
33831         (_dl_init): Likewise.
33832         * elf/dl-load.c (print_search_path): Likewise.
33833         (_dl_map_object): Likewise.
33834         * elf/dl-lookup.c (do_lookup_x): Likewise.
33835         (add_dependency): Likewise.
33836         (_dl_lookup_symbol_x): Likewise.
33837         (_dl_debug_bindings): Likewise.
33838         * elf/dl-open.c (_dl_show_scope): Likewise.
33839         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33840         * elf/dl-version.c (match_symbol): Likewise.
33841         (_dl_check_map_versions): Likewise.
33842         * elf/rtld.c (dl_main): Likewise.
33843         (print_unresolved): Use RTLD_PROGNAME.
33844         (print_missing_version): Likewise.
33845         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
33846         (elf_machine_rela): Likewise.
33847         * sysdeps/powerpc/powerpc32/dl-machine.c
33848         (__process_machine_rela): Likewise.
33849         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33850         Likewise.
33851         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33852         Likewise.
33853         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33854         Likewise.
33855         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33856         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
33857         Likewise.
33858         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
33859         Likewise.
33860         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33862 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
33864         * po/be.po: Add descriptive title.
33865         * po/zh_CN.po: Likewise.
33866         * po/header.pot: Likewise.
33868 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
33870         * locale/programs/locarchive.c (create_archive): Inlucde fname in
33871         error message.
33872         (enlarge_archive): Likewise.
33874 2013-05-28  Ben North  <ben@redfrontdoor.org>
33876         * manual/arith.texi (frexp): It is the magnitude of the return
33877         value which lies in [0.5, 1), not the return value itself.
33879 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33881         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33883 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
33885         * stdio-common/bug26.c (main): Correct fscanf template.
33887         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
33888         declare _dl_skip_args.
33890         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
33891         Don't declare.
33893         * manual/platform.texi: Add missing @end deftypefun.
33895 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33897         [BZ #15529]
33898         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
33899         bit of mantissa of 2^16382.
33900         * math/libm-test.inc (hypot_test_data): Add more tests.
33902         * math/libm-test.inc: Add drem and pow10 to list of tested
33903         functions.
33904         (pow10_test): New function.
33905         (drem_test): Likewise.
33906         (drem_test_tonearest): Likewise.
33907         (drem_test_towardzero): Likewise.
33908         (drem_test_downward): Likewise.
33909         (drem_test_upward): Likewise.
33910         (main): Call the new functions.
33912         * math/libm-test.inc (finite_test_data): Remove.
33913         (finite_test): Run tests from isfinite_test_data.
33914         (gamma_test_data): Remove.
33915         (gamma_test): Run tests from lgamma_test_data.
33916         * sysdeps/i386/fpu/libm-test-ulps: Update.
33917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33919 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33921         * manual/platform.texi: Add PowerPC PPR function set documentation.
33922         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
33923         implementation.
33925 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
33927         * math/libm-test.inc (MAX_EXP): Define.
33928         (ULPDIFF): Define.
33929         (ulp): New function.
33930         (check_float_internal): Use ULPDIFF.
33931         (cpow_test): Disable failing test.
33932         (check_ulp): Test ulp() implemetnation.
33933         (main): Call check_ulp before starting tests.
33935 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33937         * math/gen-libm-test.pl (generate_testfile): Do not handle
33938         START_DATA and END_DATA.
33939         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
33940         END_DATA.
33941         (acos_tonearest_test_data): Likewise.
33942         (acos_towardzero_test_data): Likewise.
33943         (acos_downward_test_data): Likewise.
33944         (acos_upward_test_data): Likewise.
33945         (acosh_test_data): Likewise.
33946         (asin_test_data): Likewise.
33947         (asin_tonearest_test_data): Likewise.
33948         (asin_towardzero_test_data): Likewise.
33949         (asin_downward_test_data): Likewise.
33950         (asin_upward_test_data): Likewise.
33951         (asinh_test_data): Likewise.
33952         (atan_test_data): Likewise.
33953         (atanh_test_data): Likewise.
33954         (atan2_test_data): Likewise.
33955         (cabs_test_data): Likewise.
33956         (cacos_test_data): Likewise.
33957         (cacosh_test_data): Likewise.
33958         (carg_test_data): Likewise.
33959         (casin_test_data): Likewise.
33960         (casinh_test_data): Likewise.
33961         (catan_test_data): Likewise.
33962         (catanh_test_data): Likewise.
33963         (cbrt_test_data): Likewise.
33964         (ccos_test_data): Likewise.
33965         (ccosh_test_data): Likewise.
33966         (ceil_test_data): Likewise.
33967         (cexp_test_data): Likewise.
33968         (cimag_test_data): Likewise.
33969         (clog_test_data): Likewise.
33970         (clog10_test_data): Likewise.
33971         (conj_test_data): Likewise.
33972         (copysign_test_data): Likewise.
33973         (cos_test_data): Likewise.
33974         (cos_tonearest_test_data): Likewise.
33975         (cos_towardzero_test_data): Likewise.
33976         (cos_downward_test_data): Likewise.
33977         (cos_upward_test_data): Likewise.
33978         (cosh_test_data): Likewise.
33979         (cosh_tonearest_test_data): Likewise.
33980         (cosh_towardzero_test_data): Likewise.
33981         (cosh_downward_test_data): Likewise.
33982         (cosh_upward_test_data): Likewise.
33983         (cpow_test_data): Likewise.
33984         (cproj_test_data): Likewise.
33985         (creal_test_data): Likewise.
33986         (csin_test_data): Likewise.
33987         (csinh_test_data): Likewise.
33988         (csqrt_test_data): Likewise.
33989         (ctan_test_data): Likewise.
33990         (ctan_tonearest_test_data): Likewise.
33991         (ctan_towardzero_test_data): Likewise.
33992         (ctan_downward_test_data): Likewise.
33993         (ctan_upward_test_data): Likewise.
33994         (ctanh_test_data): Likewise.
33995         (ctanh_tonearest_test_data): Likewise.
33996         (ctanh_towardzero_test_data): Likewise.
33997         (ctanh_downward_test_data): Likewise.
33998         (ctanh_upward_test_data): Likewise.
33999         (erf_test_data): Likewise.
34000         (erfc_test_data): Likewise.
34001         (exp_test_data): Likewise.
34002         (exp_tonearest_test_data): Likewise.
34003         (exp_towardzero_test_data): Likewise.
34004         (exp_downward_test_data): Likewise.
34005         (exp_upward_test_data): Likewise.
34006         (exp10_test_data): Likewise.
34007         (exp2_test_data): Likewise.
34008         (expm1_test_data): Likewise.
34009         (fabs_test_data): Likewise.
34010         (fdim_test_data): Likewise.
34011         (finite_test_data): Likewise.
34012         (floor_test_data): Likewise.
34013         (fma_test_data): Likewise.
34014         (fma_towardzero_test_data): Likewise.
34015         (fma_downward_test_data): Likewise.
34016         (fma_upward_test_data): Likewise.
34017         (fmax_test_data): Likewise.
34018         (fmin_test_data): Likewise.
34019         (fmod_test_data): Likewise.
34020         (fpclassify_test_data): Likewise.
34021         (frexp_test_data): Likewise.
34022         (gamma_test_data): Likewise.
34023         (hypot_test_data): Likewise.
34024         (ilogb_test_data): Likewise.
34025         (isfinite_test_data): Likewise.
34026         (isgreater_test_data): Likewise.
34027         (isgreaterequal_test_data): Likewise.
34028         (isinf_test_data): Likewise.
34029         (isless_test_data): Likewise.
34030         (islessequal_test_data): Likewise.
34031         (islessgreater_test_data): Likewise.
34032         (isnan_test_data): Likewise.
34033         (isnormal_test_data): Likewise.
34034         (issignaling_test_data): Likewise.
34035         (isunordered_test_data): Likewise.
34036         (j0_test_data): Likewise.
34037         (j1_test_data): Likewise.
34038         (jn_test_data): Likewise.
34039         (ldexp_test_data): Likewise.
34040         (lgamma_test_data): Likewise.
34041         (lrint_test_data): Likewise.
34042         (lrint_tonearest_test_data): Likewise.
34043         (lrint_towardzero_test_data): Likewise.
34044         (lrint_downward_test_data): Likewise.
34045         (lrint_upward_test_data): Likewise.
34046         (llrint_test_data): Likewise.
34047         (llrint_tonearest_test_data): Likewise.
34048         (llrint_towardzero_test_data): Likewise.
34049         (llrint_downward_test_data): Likewise.
34050         (llrint_upward_test_data): Likewise.
34051         (log_test_data): Likewise.
34052         (log10_test_data): Likewise.
34053         (log1p_test_data): Likewise.
34054         (log2_test_data): Likewise.
34055         (logb_test_data): Likewise.
34056         (logb_downward_test_data): Likewise.
34057         (lround_test_data): Likewise.
34058         (llround_test_data): Likewise.
34059         (modf_test_data): Likewise.
34060         (nearbyint_test_data): Likewise.
34061         (nextafter_test_data): Likewise.
34062         (nexttoward_test_data): Likewise.
34063         (pow_test_data): Likewise.
34064         (pow_tonearest_test_data): Likewise.
34065         (pow_towardzero_test_data): Likewise.
34066         (pow_downward_test_data): Likewise.
34067         (pow_upward_test_data): Likewise.
34068         (remainder_test_data): Likewise.
34069         (remainder_tonearest_test_data): Likewise.
34070         (remainder_towardzero_test_data): Likewise.
34071         (remainder_downward_test_data): Likewise.
34072         (remainder_upward_test_data): Likewise.
34073         (remquo_test_data): Likewise.
34074         (rint_test_data): Likewise.
34075         (rint_tonearest_test_data): Likewise.
34076         (rint_towardzero_test_data): Likewise.
34077         (rint_downward_test_data): Likewise.
34078         (rint_upward_test_data): Likewise.
34079         (round_test_data): Likewise.
34080         (scalb_test_data): Likewise.
34081         (scalbn_test_data): Likewise.
34082         (scalbln_test_data): Likewise.
34083         (signbit_test_data): Likewise.
34084         (sin_test_data): Likewise.
34085         (sin_tonearest_test_data): Likewise.
34086         (sin_towardzero_test_data): Likewise.
34087         (sin_downward_test_data): Likewise.
34088         (sin_upward_test_data): Likewise.
34089         (sincos_test_data): Likewise.
34090         (sinh_test_data): Likewise.
34091         (sinh_tonearest_test_data): Likewise.
34092         (sinh_towardzero_test_data): Likewise.
34093         (sinh_downward_test_data): Likewise.
34094         (sinh_upward_test_data): Likewise.
34095         (sqrt_test_data): Likewise.
34096         (tan_test_data): Likewise.
34097         (tan_tonearest_test_data): Likewise.
34098         (tan_towardzero_test_data): Likewise.
34099         (tan_downward_test_data): Likewise.
34100         (tan_upward_test_data): Likewise.
34101         (tanh_test_data): Likewise.
34102         (tgamma_test_data): Likewise.
34103         (trunc_test_data): Likewise.
34104         (y0_test_data): Likewise.
34105         (y1_test_data): Likewise.
34106         (yn_test_data): Likewise.
34107         (significand_test_data): Likewise.
34109         * math/gen-libm-test.pl (@functions): Remove variable.
34110         (generate_testfile): Don't handle START and END lines.
34111         * math/libm-test.inc (START): New macro.
34112         (END): Likewise.
34113         (END_COMPLEX): Likewise.
34114         (acos_test): Use END macro without arguments.
34115         (acos_test_tonearest): Likewise.
34116         (acos_test_towardzero): Likewise.
34117         (acos_test_downward): Likewise.
34118         (acos_test_upward): Likewise.
34119         (acosh_test): Likewise.
34120         (asin_test): Likewise.
34121         (asin_test_tonearest): Likewise.
34122         (asin_test_towardzero): Likewise.
34123         (asin_test_downward): Likewise.
34124         (asin_test_upward): Likewise.
34125         (asinh_test): Likewise.
34126         (atan_test): Likewise.
34127         (atanh_test): Likewise.
34128         (atan2_test): Likewise.
34129         (cabs_test): Likewise.
34130         (cacos_test): Use END_COMPLEX macro without arguments.
34131         (cacosh_test): Likewise.
34132         (carg_test): Use END macro without arguments.
34133         (casin_test): Use END_COMPLEX macro without arguments.
34134         (casinh_test): Likewise.
34135         (catan_test): Likewise.
34136         (catanh_test): Likewise.
34137         (cbrt_test): Use END macro without arguments.
34138         (ccos_test): Use END_COMPLEX macro without arguments.
34139         (ccosh_test): Likewise.
34140         (ceil_test): Use END macro without arguments.
34141         (cexp_test): Use END_COMPLEX macro without arguments.
34142         (cimag_test): Use END macro without arguments.
34143         (clog_test): Use END_COMPLEX macro without arguments.
34144         (clog10_test): Likewise.
34145         (conj_test): Likewise.
34146         (copysign_test): Use END macro without arguments.
34147         (cos_test): Likewise.
34148         (cos_test_tonearest): Likewise.
34149         (cos_test_towardzero): Likewise.
34150         (cos_test_downward): Likewise.
34151         (cos_test_upward): Likewise.
34152         (cosh_test): Likewise.
34153         (cosh_test_tonearest): Likewise.
34154         (cosh_test_towardzero): Likewise.
34155         (cosh_test_downward): Likewise.
34156         (cosh_test_upward): Likewise.
34157         (cpow_test): Use END_COMPLEX macro without arguments.
34158         (cproj_test): Likewise.
34159         (creal_test): Use END macro without arguments.
34160         (csin_test): Use END_COMPLEX macro without arguments.
34161         (csinh_test): Likewise.
34162         (csqrt_test): Likewise.
34163         (ctan_test): Likewise.
34164         (ctan_test_tonearest): Likewise.
34165         (ctan_test_towardzero): Likewise.
34166         (ctan_test_downward): Likewise.
34167         (ctan_test_upward): Likewise.
34168         (ctanh_test): Likewise.
34169         (ctanh_test_tonearest): Likewise.
34170         (ctanh_test_towardzero): Likewise.
34171         (ctanh_test_downward): Likewise.
34172         (ctanh_test_upward): Likewise.
34173         (erf_test): Use END macro without arguments.
34174         (erfc_test): Likewise.
34175         (exp_test): Likewise.
34176         (exp_test_tonearest): Likewise.
34177         (exp_test_towardzero): Likewise.
34178         (exp_test_downward): Likewise.
34179         (exp_test_upward): Likewise.
34180         (exp10_test): Likewise.
34181         (exp2_test): Likewise.
34182         (expm1_test): Likewise.
34183         (fabs_test): Likewise.
34184         (fdim_test): Likewise.
34185         (finite_test): Likewise.
34186         (floor_test): Likewise.
34187         (fma_test): Likewise.
34188         (fma_test_towardzero): Likewise.
34189         (fma_test_downward): Likewise.
34190         (fma_test_upward): Likewise.
34191         (fmax_test): Likewise.
34192         (fmin_test): Likewise.
34193         (fmod_test): Likewise.
34194         (fpclassify_test): Likewise.
34195         (frexp_test): Likewise.
34196         (gamma_test): Likewise.
34197         (hypot_test): Likewise.
34198         (ilogb_test): Likewise.
34199         (isfinite_test): Likewise.
34200         (isgreater_test): Likewise.
34201         (isgreaterequal_test): Likewise.
34202         (isinf_test): Likewise.
34203         (isless_test): Likewise.
34204         (islessequal_test): Likewise.
34205         (islessgreater_test): Likewise.
34206         (isnan_test): Likewise.
34207         (isnormal_test): Likewise.
34208         (issignaling_test): Likewise.
34209         (isunordered_test): Likewise.
34210         (j0_test): Likewise.
34211         (j1_test): Likewise.
34212         (jn_test): Likewise.
34213         (ldexp_test): Likewise.
34214         (lgamma_test): Likewise.
34215         (lrint_test): Likewise.
34216         (lrint_test_tonearest): Likewise.
34217         (lrint_test_towardzero): Likewise.
34218         (lrint_test_downward): Likewise.
34219         (lrint_test_upward): Likewise.
34220         (llrint_test): Likewise.
34221         (llrint_test_tonearest): Likewise.
34222         (llrint_test_towardzero): Likewise.
34223         (llrint_test_downward): Likewise.
34224         (llrint_test_upward): Likewise.
34225         (log_test): Likewise.
34226         (log10_test): Likewise.
34227         (log1p_test): Likewise.
34228         (log2_test): Likewise.
34229         (logb_test): Likewise.
34230         (logb_test_downward): Likewise.
34231         (lround_test): Likewise.
34232         (llround_test): Likewise.
34233         (modf_test): Likewise.
34234         (nearbyint_test): Likewise.
34235         (nextafter_test): Likewise.
34236         (nexttoward_test): Likewise.
34237         (pow_test): Likewise.
34238         (pow_test_tonearest): Likewise.
34239         (pow_test_towardzero): Likewise.
34240         (pow_test_downward): Likewise.
34241         (pow_test_upward): Likewise.
34242         (remainder_test): Likewise.
34243         (remainder_test_tonearest): Likewise.
34244         (remainder_test_towardzero): Likewise.
34245         (remainder_test_downward): Likewise.
34246         (remainder_test_upward): Likewise.
34247         (remquo_test): Likewise.
34248         (rint_test): Likewise.
34249         (rint_test_tonearest): Likewise.
34250         (rint_test_towardzero): Likewise.
34251         (rint_test_downward): Likewise.
34252         (rint_test_upward): Likewise.
34253         (round_test): Likewise.
34254         (scalb_test): Likewise.
34255         (scalbn_test): Likewise.
34256         (scalbln_test): Likewise.
34257         (signbit_test): Likewise.
34258         (sin_test): Likewise.
34259         (sin_test_tonearest): Likewise.
34260         (sin_test_towardzero): Likewise.
34261         (sin_test_downward): Likewise.
34262         (sin_test_upward): Likewise.
34263         (sincos_test): Likewise.
34264         (sinh_test): Likewise.
34265         (sinh_test_tonearest): Likewise.
34266         (sinh_test_towardzero): Likewise.
34267         (sinh_test_downward): Likewise.
34268         (sinh_test_upward): Likewise.
34269         (sqrt_test): Likewise.
34270         (tan_test): Likewise.
34271         (tan_test_tonearest): Likewise.
34272         (tan_test_towardzero): Likewise.
34273         (tan_test_downward): Likewise.
34274         (tan_test_upward): Likewise.
34275         (tanh_test): Likewise.
34276         (tgamma_test): Likewise.
34277         (trunc_test): Likewise.
34278         (y0_test): Likewise.
34279         (y1_test): Likewise.
34280         (yn_test): Likewise.
34281         (significand_test): Likewise.
34283 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
34285         [BZ #15381]
34286         * libio/genops.c (_IO_no_init): Initialize wide struct info.
34288 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34290         [BZ #14894]
34291         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
34292         __ppc_mdoio and __ppc_mdoom.
34293         * manual/platform.texi: Document new functions __ppc_yield,
34294         __ppc_mdoio and __ppc_mdoom.
34296 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
34298         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
34299         (main): Mention "tls" pseudo-hwcap is legacy.
34300         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
34302 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34304         * math/gen-libm-test.pl (parse_args): Output only string of
34305         arguments as text for test name, not full call or descriptions of
34306         tests for extra outputs.
34307         (generate_testfile): Do not pass function name to parse_args.
34308         Generate this_func variable from START.
34309         * math/libm-test.inc (struct test_f_f_data): Rename test_name
34310         field to arg_str.
34311         (struct test_ff_f_data): Likewise.
34312         (test_ff_f_data_nexttoward): Likewise.
34313         (struct test_fi_f_data): Likewise.
34314         (struct test_fl_f_data): Likewise.
34315         (struct test_if_f_data): Likewise.
34316         (struct test_fff_f_data): Likewise.
34317         (struct test_c_f_data): Likewise.
34318         (struct test_f_f1_data): Likewise.  Remove field extra_name.
34319         (struct test_fF_f1_data): Likewise.
34320         (struct test_ffI_f1_data): Likewise.
34321         (struct test_c_c_data): Rename test_name field to arg_str.
34322         (struct test_cc_c_data): Likewise.
34323         (struct test_f_i_data): Likewise.
34324         (struct test_ff_i_data): Likewise.
34325         (struct test_f_l_data): Likewise.
34326         (struct test_f_L_data): Likewise.
34327         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
34328         and extra2_name.
34329         (COMMON_TEST_SETUP): New macro.
34330         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
34331         (COMMON_TEST_CLEANUP): Likewise.
34332         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
34333         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
34334         macros.
34335         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
34336         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
34337         macros.
34338         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
34339         (RUN_TEST_fff_f): Take argument string.  Call new setup and
34340         cleanup macros.
34341         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
34342         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
34343         macros.
34344         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
34345         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
34346         macros.
34347         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34348         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
34349         cleanup macros.
34350         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34351         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
34352         cleanup macros.
34353         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34354         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
34355         cleanup macros.
34356         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34357         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
34358         macros.
34359         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
34360         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
34361         macros.
34362         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
34363         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
34364         macros.
34365         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
34366         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
34367         cleanup macros.
34368         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
34369         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
34370         cleanup macros.
34371         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
34372         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
34373         macros.
34374         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
34375         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
34376         cleanup macros.
34377         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
34378         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
34379         macros.
34380         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
34381         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
34382         macros.
34383         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
34384         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
34385         cleanup macros.
34386         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
34388 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
34390         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
34391         to _sifields.sigfault.
34392         (si_addr_lsb): Define new macro.
34393         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34394         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34395         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
34397 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
34399         [BZ #15441]
34400         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
34401         returns -1.
34402         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
34403         null return -1.
34404         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
34405         loading the domain.
34407 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34409         * math/gen-libm-test.pl (parse_args): Do not include expected
34410         result in test name.
34411         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
34412         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34413         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34414         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34415         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34418 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34420         * benchtests/Makefile: Sort function entries.
34422         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
34423         tanh, asinh, acosh, atanh.
34424         * benchtests/acos-inputs: New file.
34425         * benchtests/acosh-inputs: New file.
34426         * benchtests/asin-inputs: New file.
34427         * benchtests/asinh-inputs: New file.
34428         * benchtests/atanh-inputs: New file.
34429         * benchtests/cosh-inputs: New file.
34430         * benchtests/log-inputs: New file.
34431         * benchtests/sinh-inputs: New file.
34432         * benchtests/tanh-inputs: New file.
34434 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
34436         [BZ #15339]
34437         * posix/tst-getaddrinfo4.c: New test.
34438         * posix/Makefile (tests): Add it.
34440 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34442         [BZ #15339]
34443         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
34444         when no services were used.
34445         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
34446         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
34448 2013-05-21  Andreas Schwab  <schwab@suse.de>
34450         [BZ #15014]
34451         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
34452         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
34453         successful.
34454         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
34455         redundant variable declarations and reallocation of buffer when
34456         parsing as IPv6 address.  Always set NSS status when called from
34457         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
34458         buffer too small.  Correct computation of needed size.
34459         * nss/Makefile (tests): Add test-digits-dots.
34460         * nss/test-digits-dots.c: New test.
34462 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34464         * benchtests/Makefile: Remove instructions for adding
34465         benchmark tests.
34466         * benchtests/README: New file to explain how to execute and
34467         enhance the benchmark tests.
34469 2013-05-21  Andreas Schwab  <schwab@suse.de>
34471         [BZ #15493]
34472         * setjmp/Makefile (tests): Add tst-sigsetjmp.
34473         * setjmp/tst-sigsetjmp.c: New test.
34475 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34477         * sysdeps/x86_64/memset.S (memset): New implementation.
34478         (__bzero): Likewise.
34479         (__memset_tail): New function.
34481 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34483         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
34484         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
34485         __memcpy_sse2_unaligned ifunc selection.
34486         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34487         Add memcpy-sse2-unaligned.S.
34488         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34489         Add: __memcpy_sse2_unaligned.
34491 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
34493         [BZ #15490]
34494         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34495         math_force_eval before restoring floating-point envrionment.
34496         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
34497         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34498         Likewise.
34499         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
34500         <math_private.h>.
34501         (__nearbyintl): Use math_force_eval before restoring
34502         floating-point environment.
34503         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
34505         * math/gen-libm-test.pl (special_functions): Remove.
34506         (parse_args): Don't handle TEST_extra.  Handle functions with no
34507         return value.
34508         * math/libm-test.inc (struct test_sincos_data): Replace with
34509         struct test_fFF_11_data.
34510         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
34511         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
34512         (sincos_test_data): Change element type to struct
34513         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
34514         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
34515         RUN_TEST_LOOP_sincos.
34516         * math/README.libm-test: Don't mention special handling of
34517         individual functions.
34518         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
34519         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34520         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34521         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34522         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34525         * math/gen-libm-test.pl (get_variable): Remove function.
34526         (parse_args): Don't show pointer parameters to call in test
34527         names.  Use "extra output N" in test names for extra outputs
34528         rather than naming variables.
34530 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
34532         [BZ #15488]
34533         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
34534         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
34535         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
34536         double tests.
34537         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
34538         disable.
34539         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
34540         check_long_double.
34542         * math/gen-libm-test.pl (@tests): Remove variable.
34543         ($count): Likewise.
34544         (new_test): Remove function.
34545         (show_exceptions): New function.
34546         (special_functions): Use show_exceptions instead of new_test.
34547         (parse_args): Likewise.
34548         (generate_testfile): Pass only function name in generated call to
34549         print_max_error or print_complex_max_error.
34550         (get_ulps): Do not handle complex tests specially.
34551         (output_test): Rename to ...
34552         (get_all_ulps_for_test): ... this.  Return a string rather than
34553         printing to a file.  Require ulps to be present.
34554         (output_ulps): Generate arrays rather than #defines.
34555         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
34556         (struct ulp_data): New type.
34557         (BUILD_COMPLEX_ULP): Remove macro.
34558         (compare_ulp_data): New function.
34559         (find_ulps): Likewise.
34560         (find_test_ulps): Likewise.
34561         (find_function_ulps): Likewise.
34562         (find_complex_function_ulps): Likewise.
34563         (print_max_error): Determine allowed ulps using
34564         find_function_ulps.
34565         (print_complex_max_error): Determine allowed ulps using
34566         find_complex_function_ulps.
34567         (check_float_internal): Determine max ulps using find_test_ulps.
34568         (check_float): Do not take max_ulp parameter.  Update call to
34569         check_float_internal.
34570         (check_complex): Likewise.
34571         (check_int): Do not take max_ulp parameter.
34572         (check_long): Likewise.
34573         (check_bool): Likewise.
34574         (check_longlong): Likewise.
34575         (struct test_f_f_data): Remove max_ulp field.
34576         (struct test_ff_f_data): Likewise.
34577         (struct test_ff_f_data_nexttoward): Likewise.
34578         (struct test_fi_f_data): Likewise.
34579         (struct test_fl_f_data): Likewise.
34580         (struct test_if_f_data): Likewise.
34581         (struct test_fff_f_data): Likewise.
34582         (struct test_c_f_data): Likewise.
34583         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
34584         (struct test_fF_f1_data): Likewise.
34585         (struct test_ffI_f1_data): Likewise.
34586         (struct test_c_c_data): Remove max_ulp field.
34587         (struct test_cc_c_data): Likewise.
34588         (struct test_f_i_data): Likewise.
34589         (struct test_ff_i_data): Likewise.
34590         (struct test_f_l_data): Likewise.
34591         (struct test_f_L_data): Likewise.
34592         (struct test_sincos_data): Likewise.
34593         (RUN_TEST_f_f): Do not handle ulps.
34594         (RUN_TEST_LOOP_f_f): Likewise.
34595         (RUN_TEST_2_f): Likewise.
34596         (RUN_TEST_LOOP_2_f): Likewise.
34597         (RUN_TEST_fff_f): Likewise.
34598         (RUN_TEST_LOOP_fff_f): Likewise.
34599         (RUN_TEST_c_f): Likewise.
34600         (RUN_TEST_LOOP_c_f): Likewise.
34601         (RUN_TEST_f_f1): Likewise.
34602         (RUN_TEST_LOOP_f_f1): Likewise.
34603         (RUN_TEST_fF_f1): Likewise.
34604         (RUN_TEST_LOOP_fF_f1): Likewise.
34605         (RUN_TEST_fI_f1): Likewise.
34606         (RUN_TEST_LOOP_fI_f1): Likewise.
34607         (RUN_TEST_ffI_f1): Likewise.
34608         (RUN_TEST_LOOP_ffI_f1): Likewise.
34609         (RUN_TEST_c_c): Likewise.
34610         (RUN_TEST_LOOP_c_c): Likewise.
34611         (RUN_TEST_cc_c): Likewise.
34612         (RUN_TEST_LOOP_cc_c): Likewise.
34613         (RUN_TEST_f_i): Likewise.
34614         (RUN_TEST_LOOP_f_i): Likewise.
34615         (RUN_TEST_f_i_tg): Likewise.
34616         (RUN_TEST_LOOP_f_i_tg): Likewise.
34617         (RUN_TEST_ff_i_tg): Likewise.
34618         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34619         (RUN_TEST_f_b): Likewise.
34620         (RUN_TEST_LOOP_f_b): Likewise.
34621         (RUN_TEST_f_b_tg): Likewise.
34622         (RUN_TEST_LOOP_f_b_tg): Likewise.
34623         (RUN_TEST_f_l): Likewise.
34624         (RUN_TEST_LOOP_f_l): Likewise.
34625         (RUN_TEST_f_L): Likewise.
34626         (RUN_TEST_LOOP_f_L): Likewise.
34627         (RUN_TEST_sincos): Likewise.
34628         (RUN_TEST_LOOP_sincos): Likewise.
34630 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
34632         [BZ #15480]
34633         [BZ #15485]
34634         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
34635         main case of finite arguments, set rounding mode to FE_TONEAREST
34636         and discard exceptions.
34637         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
34638         exceptions.
34639         (remainder_tonearest_test_data): New variable.
34640         (remainder_test_tonearest): New function.
34641         (remainder_towardzero_test_data): New variable.
34642         (remainder_test_towardzero): New function.
34643         (remainder_downward_test_data): New variable.
34644         (remainder_test_downward): New function.
34645         (remainder_upward_test_data): New variable.
34646         (remainder_test_upward): New function.
34647         (main): Call the new test functions.
34649         * math/libm-test.inc (struct test_f_f1_data): Remove field
34650         extra_init.
34651         (struct test_fF_f1_data): Likewise.
34652         (struct test_ffI_f1_data): Likewise.
34653         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
34654         based on value of EXTRA_EXPECTED.
34655         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34656         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
34657         EXTRA_VAR based on value of EXTRA_EXPECTED.
34658         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34659         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
34660         EXTRA_VAR based on value of EXTRA_EXPECTED.
34661         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34662         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
34663         EXTRA_VAR based on value of EXTRA_EXPECTED.
34664         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34665         * math/gen-libm-test.pl (parse_args): Don't output initializers
34666         for extra output values.
34668         * math/libm-test.inc (check_int): Expect result to be exactly
34669         equal to expected value and do not handle ulps.
34670         (check_long): Likewise.
34671         (check_longlong): Likewise.
34673         * math/libm-test.inc (ceil_test_data): Test for "inexact"
34674         exceptions.
34675         (cimag_test_data): Likewise.
34676         (conj_test_data): Likewise.
34677         (copysign_test_data): Likewise.
34678         (cproj_test_data): Likewise.
34679         (creal_test_data): Likewise.
34680         (fabs_test_data): Likewise.
34681         (fdim_test_data): Likewise.
34682         (finite_test_data): Likewise.
34683         (floor_test_data): Likewise.
34684         (fmax_test_data): Likewise.
34685         (fmin_test_data): Likewise.
34686         (fmod_test_data): Likewise.
34687         (fpclassify_test_data): Likewise.
34688         (frexp_test_data): Likewise.
34689         (ilogb_test_data): Likewise.
34690         (isfinite_test_data): Likewise.
34691         (isgreater_test_data): Likewise.
34692         (isgreaterequal_test_data): Likewise.
34693         (isinf_test_data): Likewise.
34694         (isless_test_data): Likewise.
34695         (islessequal_test_data): Likewise.
34696         (islessgreater_test_data): Likewise.
34697         (isnan_test_data): Likewise.
34698         (isnormal_test_data): Likewise.
34699         (issignaling_test_data): Likewise.
34700         (isunordered_test_data): Likewise.
34701         (ldexp_test_data): Likewise.
34702         (lrint_test_data): Likewise.
34703         (lrint_test_data) [TEST_FLOAT]: Disable one test.
34704         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
34705         (lrint_tonearest_test_data): Test for "inexact" exceptions.
34706         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34707         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
34708         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34709         test input.
34710         (lrint_towardzero_test_data): Test for "inexact" exceptions.
34711         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34712         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
34713         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
34714         that test input.
34715         (lrint_downward_test_data): Test for "inexact" exceptions.
34716         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34717         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
34718         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34719         test input.
34720         (lrint_upward_test_data): Test for "inexact" exceptions.
34721         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
34722         test input.
34723         (llrint_test_data): Test for "inexact" exceptions.
34724         (llrint_test_data) [TEST_FLOAT]: Disable one test.
34725         (llrint_tonearest_test_data): Test for "inexact" exceptions.
34726         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34727         (llrint_towardzero_test_data): Test for "inexact" exceptions.
34728         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34729         (llrint_downward_test_data): Test for "inexact" exceptions.
34730         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34731         (llrint_upward_test_data): Test for "inexact" exceptions.
34732         (logb_test_data): Likewise.
34733         (logb_downward_test_data): Likewise.
34734         (nextafter_test_data): Likewise.
34735         (nexttoward_test_data): Likewise.
34736         (remainder_test_data): Likewise.
34737         (remquo_test_data): Likewise.
34738         (scalbn_test_data): Likewise.
34739         (scalbln_test_data): Likewise.
34740         (signbit_test_data): Likewise.
34741         (sqrt_test_data): Likewise.
34742         (significand_test_data): Likewise.
34744 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34746         [BZ #15424]
34747         * benchtests/bench-modf.c (struct args): Mark arg0 as
34748         volatile.
34749         * scripts/bench.pl: Mark members of struct args as volatile.
34751 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34753         [BZ # 15497]
34754         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34755         negative infinity on POWER6 or lower.
34756         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34758 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34760         [BZ #15442]
34761         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
34762         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
34763         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
34764         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
34765         (_FP_SETQNAN): New macro.
34766         (_FP_SETQNAN_SEMIRAW): Likewise.
34767         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
34768         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
34769         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
34770         (FP_EXTEND): Use _FP_FRAC_SNANP.
34771         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
34772         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
34773         into account.
34774         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34775         New macro.
34776         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34777         Likewise.
34779 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34781         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
34782         with DIVIDE_BY_ZERO_EXCEPTION.
34783         (gamma_test_data): Likewise.
34784         (lgamma_test_data): Likewise.
34785         (log_test_data): Likewise.
34786         (log10_test_data): Likewise.
34787         (log2_test_data): Likewise.
34788         (tgamma_test_data): Likewise.
34790         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
34791         (acos_test_tonearest): Likewise.
34792         (acos_test_towardzero): Likewise.
34793         (acos_test_downward): Likewise.
34794         (acos_test_upward): Likewise.
34795         (acosh_test): Likewise.
34796         (asin_test): Likewise.
34797         (asin_test_tonearest): Likewise.
34798         (asin_test_towardzero): Likewise.
34799         (asin_test_downward): Likewise.
34800         (asin_test_upward): Likewise.
34801         (asinh_test): Likewise.
34802         (atan_test): Likewise.
34803         (atanh_test): Likewise.
34804         (atan2_test): Likewise.
34805         (cabs_test): Likewise.
34806         (cacos_test): Likewise.
34807         (cacosh_test): Likewise.
34808         (casin_test): Likewise.
34809         (casinh_test): Likewise.
34810         (catan_test): Likewise.
34811         (catanh_test): Likewise.
34812         (cbrt_test): Likewise.
34813         (ccos_test): Likewise.
34814         (ccosh_test): Likewise.
34815         (cexp_test): Likewise.
34816         (clog_test): Likewise.
34817         (clog10_test): Likewise.
34818         (cos_test): Likewise.
34819         (cos_test_tonearest): Likewise.
34820         (cos_test_towardzero): Likewise.
34821         (cos_test_downward): Likewise.
34822         (cos_test_upward): Likewise.
34823         (cosh_test): Likewise.
34824         (cosh_test_tonearest): Likewise.
34825         (cosh_test_towardzero): Likewise.
34826         (cosh_test_downward): Likewise.
34827         (cosh_test_upward): Likewise.
34828         (cpow_test): Likewise.
34829         (csin_test): Likewise.
34830         (csinh_test): Likewise.
34831         (csqrt_test): Likewise.
34832         (ctan_test): Likewise.
34833         (ctan_test_tonearest): Likewise.
34834         (ctan_test_towardzero): Likewise.
34835         (ctan_test_downward): Likewise.
34836         (ctan_test_upward): Likewise.
34837         (ctanh_test): Likewise.
34838         (ctanh_test_tonearest): Likewise.
34839         (ctanh_test_towardzero): Likewise.
34840         (ctanh_test_downward): Likewise.
34841         (ctanh_test_upward): Likewise.
34842         (erf_test): Likewise.
34843         (erfc_test): Likewise.
34844         (exp_test): Likewise.
34845         (exp_test_tonearest): Likewise.
34846         (exp_test_towardzero): Likewise.
34847         (exp_test_downward): Likewise.
34848         (exp_test_upward): Likewise.
34849         (exp10_test): Likewise.
34850         (exp2_test): Likewise.
34851         (expm1_test): Likewise.
34852         (fmod_test): Likewise.
34853         (gamma_test): Likewise.
34854         (hypot_test): Likewise.
34855         (j0_test): Likewise.
34856         (j1_test): Likewise.
34857         (jn_test): Likewise.
34858         (lgamma_test): Likewise.
34859         (log_test): Likewise.
34860         (log10_test): Likewise.
34861         (log1p_test): Likewise.
34862         (log2_test): Likewise.
34863         (logb_test_downward): Likewise.
34864         (pow_test): Likewise.
34865         (pow_test_tonearest): Likewise.
34866         (pow_test_towardzero): Likewise.
34867         (pow_test_downward): Likewise.
34868         (pow_test_upward): Likewise.
34869         (remainder_test): Likewise.
34870         (remquo_test): Likewise.
34871         (sin_test): Likewise.
34872         (sin_test_tonearest): Likewise.
34873         (sin_test_towardzero): Likewise.
34874         (sin_test_downward): Likewise.
34875         (sin_test_upward): Likewise.
34876         (sincos_test): Likewise.
34877         (sinh_test): Likewise.
34878         (sinh_test_tonearest): Likewise.
34879         (sinh_test_towardzero): Likewise.
34880         (sinh_test_downward): Likewise.
34881         (sinh_test_upward): Likewise.
34882         (sqrt_test): Likewise.
34883         (tan_test): Likewise.
34884         (tan_test_tonearest): Likewise.
34885         (tan_test_towardzero): Likewise.
34886         (tan_test_downward): Likewise.
34887         (tan_test_upward): Likewise.
34888         (tanh_test): Likewise.
34889         (tgamma_test): Likewise.
34890         (y0_test): Likewise.
34891         (y1_test): Likewise.
34892         (yn_test): Likewise.
34894         * math/gen-libm-test.pl (adjust_arg): Remove function.
34895         (special_function): Remove argument $in_func.  Only handle
34896         generating output for tables of tests, not inside functions.
34897         (parse_args): Likewise.
34898         (generate_testfile): Remove variable $in_func.  Update call to
34899         parse_args.
34900         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
34901         (MINUS_ZERO_INIT): Rename macro to minus_zero.
34902         (PLUS_INFTY_INIT): Rename macro to plus_infty.
34903         (MINUS_INFTY_INIT): Rename macro to minus_infty.
34904         (QNAN_VALUE_INIT): Rename macro to qnan_value.
34905         (MAX_VALUE_INIT): Rename macro to max_value.
34906         (MIN_VALUE_INIT): Rename macro to min_value.
34907         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
34908         (plus_zero): Remove variable.
34909         (minus_zero): Likewise.
34910         (plus_infty): Likewise.
34911         (minus_infty): Likewise.
34912         (qnan_value): Likewise.
34913         (max_value): Likewise.
34914         (min_value): Likewise.
34915         (min_subnorm_value): Likewise.
34917 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34919         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
34920         uint64_t or uint32_t usage.
34921         * crypt/sha256-block.c: Likewise.
34922         * crypt/sha256-crypt.c: Likewise.
34923         * crypt/sha256.c: Likewise.
34924         * crypt/sha512-block.c: Likewise.
34925         * crypt/sha512-crypt.c: Likewise.
34926         * crypt/sha512.c: Likewise.
34927         * debug/backtrace-tst.c: Likewise.
34928         * debug/pcprofiledump.c: Likewise.
34929         * elf/cache.c: Likewise.
34930         * elf/dl-cache.c: Likewise.
34931         * elf/dl-misc.c: Likewise.
34932         * elf/dl-profile.c: Likewise.
34933         * elf/dl-support.c: Likewise.
34934         * elf/ldconfig.c: Likewise.
34935         * elf/sprof.c: Likewise.
34936         * iconv/dummy-repertoire.c: Likewise.
34937         * iconv/iconv_charmap.c: Likewise.
34938         * iconv/skeleton.c: Likewise.
34939         * iconvdata/8bit-generic.c: Likewise.
34940         * iconvdata/cp737.h: Likewise.
34941         * iconvdata/cp775.h: Likewise.
34942         * iconvdata/ibm1008.h: Likewise.
34943         * iconvdata/ibm1025.h: Likewise.
34944         * iconvdata/ibm1046.h: Likewise.
34945         * iconvdata/ibm1097.h: Likewise.
34946         * iconvdata/ibm1112.h: Likewise.
34947         * iconvdata/ibm1122.h: Likewise.
34948         * iconvdata/ibm1123.h: Likewise.
34949         * iconvdata/ibm1124.h: Likewise.
34950         * iconvdata/ibm1129.h: Likewise.
34951         * iconvdata/ibm1130.h: Likewise.
34952         * iconvdata/ibm1132.h: Likewise.
34953         * iconvdata/ibm1133.h: Likewise.
34954         * iconvdata/ibm1137.h: Likewise.
34955         * iconvdata/ibm1140.h: Likewise.
34956         * iconvdata/ibm1141.h: Likewise.
34957         * iconvdata/ibm1142.h: Likewise.
34958         * iconvdata/ibm1143.h: Likewise.
34959         * iconvdata/ibm1144.h: Likewise.
34960         * iconvdata/ibm1145.h: Likewise.
34961         * iconvdata/ibm1146.h: Likewise.
34962         * iconvdata/ibm1147.h: Likewise.
34963         * iconvdata/ibm1148.h: Likewise.
34964         * iconvdata/ibm1149.h: Likewise.
34965         * iconvdata/ibm1153.h: Likewise.
34966         * iconvdata/ibm1154.h: Likewise.
34967         * iconvdata/ibm1155.h: Likewise.
34968         * iconvdata/ibm1156.h: Likewise.
34969         * iconvdata/ibm1157.h: Likewise.
34970         * iconvdata/ibm1158.h: Likewise.
34971         * iconvdata/ibm1160.h: Likewise.
34972         * iconvdata/ibm1161.h: Likewise.
34973         * iconvdata/ibm1162.h: Likewise.
34974         * iconvdata/ibm1163.h: Likewise.
34975         * iconvdata/ibm1164.h: Likewise.
34976         * iconvdata/ibm1166.h: Likewise.
34977         * iconvdata/ibm1167.h: Likewise.
34978         * iconvdata/ibm12712.h: Likewise.
34979         * iconvdata/ibm1390.h: Likewise.
34980         * iconvdata/ibm1399.h: Likewise.
34981         * iconvdata/ibm16804.h: Likewise.
34982         * iconvdata/ibm4517.h: Likewise.
34983         * iconvdata/ibm4899.h: Likewise.
34984         * iconvdata/ibm4909.h: Likewise.
34985         * iconvdata/ibm4971.h: Likewise.
34986         * iconvdata/ibm5347.h: Likewise.
34987         * iconvdata/ibm803.h: Likewise.
34988         * iconvdata/ibm856.h: Likewise.
34989         * iconvdata/ibm901.h: Likewise.
34990         * iconvdata/ibm902.h: Likewise.
34991         * iconvdata/ibm9030.h: Likewise.
34992         * iconvdata/ibm9066.h: Likewise.
34993         * iconvdata/ibm921.h: Likewise.
34994         * iconvdata/ibm922.h: Likewise.
34995         * iconvdata/ibm9448.h: Likewise.
34996         * iconvdata/isiri-3342.h: Likewise.
34997         * iconvdata/jis0201.h: Likewise.
34998         * include/link.h: Likewise.
34999         * include/netdb.h: Likewise.
35000         * inet/check_native.c: Likewise.
35001         * inet/check_pf.c: Likewise.
35002         * inet/getipv4sourcefilter.c: Likewise.
35003         * inet/getnameinfo.c: Likewise.
35004         * inet/getsourcefilter.c: Likewise.
35005         * inet/htonl.c: Likewise.
35006         * inet/setipv4sourcefilter.c: Likewise.
35007         * inet/setsourcefilter.c: Likewise.
35008         * inet/test-inet6_opt.c: Likewise.
35009         * inet/tst-network.c: Likewise.
35010         * locale/C-collate.c: Likewise.
35011         * locale/C-ctype.c: Likewise.
35012         * locale/C-time.c: Likewise.
35013         * locale/C-translit.h: Likewise.
35014         * locale/loadarchive.c: Likewise.
35015         * locale/programs/3level.h: Likewise.
35016         * locale/programs/charmap.c: Likewise.
35017         * locale/programs/charmap.h: Likewise.
35018         * locale/programs/ld-address.c: Likewise.
35019         * locale/programs/ld-collate.c: Likewise.
35020         * locale/programs/ld-ctype.c: Likewise.
35021         * locale/programs/ld-identification.c: Likewise.
35022         * locale/programs/ld-measurement.c: Likewise.
35023         * locale/programs/ld-messages.c: Likewise.
35024         * locale/programs/ld-monetary.c: Likewise.
35025         * locale/programs/ld-name.c: Likewise.
35026         * locale/programs/ld-numeric.c: Likewise.
35027         * locale/programs/ld-paper.c: Likewise.
35028         * locale/programs/ld-telephone.c: Likewise.
35029         * locale/programs/ld-time.c: Likewise.
35030         * locale/programs/linereader.c: Likewise.
35031         * locale/programs/locale.c: Likewise.
35032         * locale/programs/locarchive.c: Likewise.
35033         * locale/programs/locfile.h: Likewise.
35034         * locale/programs/repertoire.c: Likewise.
35035         * locale/programs/simple-hash.c: Likewise.
35036         * locale/programs/simple-hash.h: Likewise.
35037         * malloc/memusage.c: Likewise.
35038         * malloc/memusagestat.c: Likewise.
35039         * nis/nis_defaults.c: Likewise.
35040         * nis/nis_hash.c: Likewise.
35041         * nis/nis_print.c: Likewise.
35042         * nis/nis_xdr.c: Likewise.
35043         * nscd/connections.c: Likewise.
35044         * nscd/hstcache.c: Likewise.
35045         * nscd/nscd_gethst_r.c: Likewise.
35046         * nscd/nscd_getserv_r.c: Likewise.
35047         * nscd/nscd_helper.c: Likewise.
35048         * nscd/servicescache.c: Likewise.
35049         * nss/makedb.c: Likewise.
35050         * nss/nss_db/db-XXX.c: Likewise.
35051         * nss/nss_db/db-initgroups.c: Likewise.
35052         * nss/nss_db/db-netgrp.c: Likewise.
35053         * nss/nss_files/files-network.c: Likewise.
35054         * nss/nss_files/files-parse.c: Likewise.
35055         * posix/bug-regex5.c: Likewise.
35056         * posix/fnmatch_loop.c: Likewise.
35057         * posix/regcomp.c: Likewise.
35058         * posix/regexec.c: Likewise.
35059         * posix/tst-rfc3484-2.c: Likewise.
35060         * posix/tst-rfc3484-3.c: Likewise.
35061         * posix/tst-rfc3484.c: Likewise.
35062         * resolv/nss_dns/dns-canon.c: Likewise.
35063         * resolv/nss_dns/dns-network.c: Likewise.
35064         * resolv/res_init.c: Likewise.
35065         * resolv/res_mkquery.c: Likewise.
35066         * resolv/tst-aton.c: Likewise.
35067         * stdlib/cxa_atexit.c: Likewise.
35068         * stdlib/cxa_finalize.c: Likewise.
35069         * stdlib/gen-fpioconst.c: Likewise.
35070         * stdlib/strtol_l.c: Likewise.
35071         * string/tst-endian.c: Likewise.
35072         * sunrpc/auth_des.c: Likewise.
35073         * sunrpc/clnt_udp.c: Likewise.
35074         * sunrpc/rtime.c: Likewise.
35075         * sunrpc/svcauth_des.c: Likewise.
35076         * sunrpc/xdr.c: Likewise.
35077         * sunrpc/xdr_intXX_t.c: Likewise.
35078         * sunrpc/xdr_rec.c: Likewise.
35079         * sysdeps/generic/ldconfig.h: Likewise.
35080         * sysdeps/generic/ldsodefs.h: Likewise.
35081         * sysdeps/generic/memusage.h: Likewise.
35082         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35083         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
35084         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
35085         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35086         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35087         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35088         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35089         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35090         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35091         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35092         * sysdeps/posix/getaddrinfo.c: Likewise.
35093         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35094         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35095         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35096         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35097         * sysdeps/powerpc/test-gettimebase.c: Likewise.
35098         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35099         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
35100         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
35101         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35102         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
35103         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35104         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35105         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
35106         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
35107         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
35108         * sysdeps/x86_64/dl-tls.h: Likewise.
35109         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
35110         * time/alt_digit.c: Likewise.
35111         * time/era.c: Likewise.
35112         * wcsmbs/tst-c16c32-1.c: Likewise.
35114 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
35116         * math/libm-test.inc (struct test_sincos_data): New type.
35117         (RUN_TEST_LOOP_sincos): New macro.
35118         (sincos_test_data): New variable.
35119         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
35121 2013-05-16  Richard Henderson  <rth@redhat.com>
35123         * math/atest-exp2.c (LIMB64): New macro.
35124         (CONSTSZ): New macro.
35125         (mp_exp1, mp_exp_m1, mp_log2): New variables.
35126         (hexdig): Move ...
35127         (print_mpn_fp): ... to function scope.
35128         (read_mpn_hex): Remove.
35129         (get_log2): Remove.
35130         (exp2_mpn): Use mp_log2.
35131         (main): Use mp_exp1.
35133 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
35135         * math/libm-test.inc: Remove comment about not testing "inexact"
35136         exceptions.
35137         (INEXACT_EXCEPTION): New macro.
35138         (NO_INEXACT_EXCEPTION): Likewise.
35139         (INVALID_EXCEPTION_OK): Update value.
35140         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35141         (OVERFLOW_EXCEPTION_OK): Likewise.
35142         (UNDERFLOW_EXCEPTION_OK): Likewise.
35143         (IGNORE_ZERO_INF_SIGN): Likewise.
35144         (ERRNO_UNCHANGED): Likewise.
35145         (ERRNO_EDOM): Likewise.
35146         (ERRNO_ERANGE): Likewise.
35147         (test_exceptions): Handle testing "inexact" exceptions.
35148         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
35149         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
35150         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
35151         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
35152         INEXACT_EXCEPTION.
35153         (rint_towardzero_test_data): Likewise.
35154         (rint_downward_test_data): Likewise.
35155         (rint_upward_test_data): Likewise.
35157         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
35158         with OVERFLOW_EXCEPTION.
35159         (exp10_test_data): Likewise.
35160         (exp2_test_data): Likewise.
35161         (expm1_test_data): Likewise.
35162         (lgamma_test_data): Likewise.
35163         (pow_test_data): Likewise.
35164         (tgamma_test_data): Likewise.
35165         (yn_test_data): Remove duplicate test of overflow.
35167         * math/libm-test.inc (struct test_cc_c_data): New type.
35168         (RUN_TEST_LOOP_cc_c): New macro.
35169         (cpow_test_data): New variable.
35170         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
35172         * math/libm-test.inc (struct test_f_L_data): New type.
35173         (RUN_TEST_LOOP_f_L): New macro.
35174         (llrint_test_data): New variable.
35175         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
35176         (llrint_tonearest_test_data): New variable.
35177         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
35178         (llrint_towardzero_test_data): New variable.
35179         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
35180         (llrint_downward_test_data): New variable.
35181         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
35182         (llrint_upward_test_data): New variable.
35183         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
35184         (llround_test_data): New variable.
35185         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
35187 2013-05-13  Peter Collingbourne  <pcc@google.com>
35189         * math/atest-exp2.c (get_log2): Remove const attribute.
35191 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
35193         * math/libm-test.inc (struct test_f_l_data): New type.
35194         (RUN_TEST_LOOP_f_l): New macro.
35195         (lrint_test_data): New variable.
35196         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
35197         (lrint_tonearest_test_data): New variable.
35198         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
35199         (lrint_towardzero_test_data): New variable.
35200         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
35201         (lrint_downward_test_data): New variable.
35202         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
35203         (lrint_upward_test_data): New variable.
35204         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
35205         (lround_test_data): New variable.
35206         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
35208 2013-05-15  Peter Collingbourne  <pcc@google.com>
35210         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
35211         (EXTRACT_WORDS64) Use where appropriate.
35212         (INSERT_WORDS64) Likewise.
35214         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
35215         constraints with x constraints.
35216         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
35218         * malloc/obstack.c (_obstack_compat): Add initializer.
35220 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
35222         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
35223         si_trapno and add si_addr_lsb to _sifields.sigfault.
35224         (si_trapno): Remove macro.
35225         (si_addr_lsb): Define new macro.
35226         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35228 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
35230         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
35231         instead of TEST_f_l.
35232         (llrint_test_tonearest): Likewise.
35233         (llrint_test_towardzero): Likewise.
35234         (llrint_test_downward): Likewise.
35235         (llrint_test_upward): Likewise.
35236         (llround_test): Likewise.
35238         * math/libm-test.inc (struct test_f_i_data): Add comment.
35239         (RUN_TEST_LOOP_f_b): New macro.
35240         (RUN_TEST_LOOP_f_b_tg): Likewise.
35241         (finite_test_data): New variable.
35242         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
35243         (isfinite_test_data): New variable.
35244         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35245         (isinf_test_data): New variable.
35246         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35247         (isnan_test_data): New variable.
35248         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35249         (isnormal_test_data): New variable.
35250         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35251         (issignaling_test_data): New variable.
35252         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35253         (signbit_test_data): New variable.
35254         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35256         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
35257         with INVALID_EXCEPTION.
35258         (acosh_test_data): Likewise.
35259         (asin_test_data): Likewise.
35260         (atanh_test_data): Likewise.
35261         (fmod_test_data): Likewise.
35262         (log_test_data): Likewise.
35263         (log10_test_data): Likewise.
35264         (log2_test_data): Likewise.
35265         (pow_test_data): Likewise.
35266         (sqrt_test_data): Likewise.
35267         (y0_test_data): Likewise.
35268         (y1_test_data): Likewise.
35269         (yn_test_data): Likewise.
35271         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
35272         function contents.
35274         * math/libm-test.inc (struct test_ff_i_data): New type.
35275         (RUN_TEST_LOOP_ff_i_tg): New macro.
35276         (isgreater_test_data): New variable.
35277         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35278         (isgreaterequal_test_data): New variable.
35279         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35280         (isless_test_data): New variable.
35281         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35282         (islessequal_test_data): New variable.
35283         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35284         (islessgreater_test_data): New variable.
35285         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35286         (isunordered_test_data): New variable.
35287         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35289 2013-05-14  David S. Miller  <davem@davemloft.net>
35291         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35293 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
35295         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
35297         * math/libm-test.inc (struct test_fF_f1_data): Change type of
35298         extra_test to int.
35299         (struct test_f_i_data): Change type of max_ulp to int.
35301         * math/libm-test.inc (test_ffI_f1_data): New type.
35302         (RUN_TEST_LOOP_ffI_f1): New macro.
35303         (remquo_test_data): New variable.
35304         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
35306         * setjmp/tst-setjmp-fp.c: New file.
35307         * setjmp/Makefile (tests): Add tst-setjmp-fp.
35308         (link-libm): New variable.
35309         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
35311         * math/libm-test.inc (struct test_f_i_data): New type.
35312         (RUN_TEST_LOOP_f_i): New macro.
35313         (RUN_TEST_LOOP_f_i_tg): Likewise.
35314         (fpclassify_test_data): New variable.
35315         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
35316         (ilogb_test_data): New variable.
35317         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
35319         * math/libm-test.inc (scalbln_test): Correct function name in END
35320         call.
35322         * math/libm-test.inc (struct test_f_f1_data): Add comment.
35323         (RUN_TEST_LOOP_fI_f1): New macro.
35324         (frexp_test_data): New variable.
35325         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
35327         * math/libm-test.inc (struct test_fF_f1_data): New type.
35328         (RUN_TEST_LOOP_fF_f1): New macro.
35329         (modf_test_data): New variable.
35330         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
35332         * math/libm-test.inc (struct test_f_f1_data): New type.
35333         (RUN_TEST_LOOP_f_f1): New macro.
35334         (gamma_test_data): New variable.
35335         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35336         (lgamma_test_data): New variable.
35337         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35339 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
35341         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
35342         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
35343         (main): Comment "tls" pseudo-hwcap.
35345 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
35347         * math/libm-test.inc (struct test_fl_f_data): New type.
35348         (RUN_TEST_LOOP_fl_f): New variable.
35349         (scalbln_test_data): New variable.
35350         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
35352         * math/libm-test.inc (struct test_fi_f_data): New type.
35353         (RUN_TEST_LOOP_fi_f): New macro.
35354         (ldexp_test_data): New variable.
35355         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
35356         (scalbn_test_data): New variable.
35357         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
35359         * math/libm-test.inc (struct test_c_f_data): New type.
35360         (RUN_TEST_LOOP_c_f): New macro.
35361         (cabs_test_data): New variable.
35362         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
35363         (carg_test_data): New variable.
35364         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
35365         (cimag_test_data): New variable.
35366         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
35367         (creal_test_data): New variable.
35368         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
35370         * math/libm-test.inc (struct test_if_f_data): New type.
35371         (RUN_TEST_LOOP_if_f): New macro.
35372         (jn_test_data): New variable.
35373         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
35374         (yn_test_data): New variable.
35375         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
35377         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
35379 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35381         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
35382         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
35384 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35386         * benchtests/Makefile (CPPFLAGS-nonlib): Add
35387         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
35388         (bench-deps): Add bench-timing.h.
35389         * benchtests-bench-skeleton.c: Include bench-timing.h.
35390         (main): Use TIMING_* macros instead of clock_gettime.
35391         * benchtests/bench-timing.h: New file.
35393         [BZ #14582]
35394         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
35395         Renamed from _LIB_VERSION.
35396         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
35398 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
35400         * math/libm-test.inc (struct test_fff_f_data): New type.
35401         (RUN_TEST_LOOP_fff_f): New macro.
35402         (fma_test_data): New variable.
35403         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
35404         (fma_towardzero_test_data): New variable.
35405         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
35406         (fma_downward_test_data): New variable.
35407         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
35408         (fma_upward_test_data): New variable.
35409         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
35411         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
35412         (struct test_c_c_data): New type.
35413         (RUN_TEST_LOOP_c_c): New macro.
35414         (cacos_test_data): New variable.
35415         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
35416         (cacosh_test_data): New variable.
35417         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
35418         (casin_test_data): New variable.
35419         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
35420         (casinh_test_data): New variable.
35421         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
35422         (catan_test_data): New variable.
35423         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
35424         (catanh_test_data): New variable.
35425         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
35426         (ccos_test_data): New variable.
35427         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
35428         (ccosh_test_data): New variable.
35429         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
35430         (cexp_test_data): New variable.
35431         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
35432         (clog_test_data): New variable.
35433         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
35434         (clog10_test_data): New variable.
35435         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
35436         (conj_test_data): New variable.
35437         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
35438         (cproj_test_data): New variable.
35439         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
35440         (csin_test_data): New variable.
35441         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
35442         (csinh_test_data): New variable.
35443         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
35444         (csqrt_test_data): New variable.
35445         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
35446         (ctan_test_data): New variable.
35447         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
35448         (ctan_tonearest_test_data): New variable.
35449         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35450         (ctan_towardzero_test_data): New variable.
35451         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35452         (ctan_downward_test_data): New variable.
35453         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35454         (ctan_upward_test_data): New variable.
35455         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35456         (ctanh_test_data): New variable.
35457         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
35458         (ctanh_tonearest_test_data): New variable.
35459         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35460         (ctanh_towardzero_test_data): New variable.
35461         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35462         (ctanh_downward_test_data): New variable.
35463         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35464         (ctanh_upward_test_data): New variable.
35465         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35466         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
35467         of BUILD_COMPLEX.
35469         * math/libm-test.inc (struct test_ff_f_data): New type.
35470         (struct test_ff_f_data_nexttoward): Likewise.
35471         (RUN_TEST_LOOP_2_f): New macro.
35472         (RUN_TEST_LOOP_ff_f): Likewise.
35473         (atan2_test_data): New variable.
35474         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
35475         (copysign_test_data): New variable.
35476         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
35477         (fdim_test_data): New variable.
35478         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
35479         (fmax_test_data): New variable.
35480         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
35481         (fmin_test_data): New variable.
35482         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
35483         (fmod_test_data): New variable.
35484         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
35485         (hypot_test_data): New variable.
35486         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
35487         (nextafter_test_data): New variable.
35488         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
35489         (nexttoward_test_data): New variable.
35490         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
35491         (pow_test_data): New variable.
35492         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
35493         (pow_tonearest_test_data): New variable.
35494         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
35495         (pow_towardzero_test_data): New variable.
35496         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
35497         (pow_downward_test_data): New variable.
35498         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
35499         (pow_upward_test_data): New variable.
35500         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
35501         (remainder_test_data): New variable.
35502         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
35503         (scalb_test_data): New variable.
35504         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
35505         * sysdeps/i386/fpu/libm-test-ulps: Update.
35507 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
35509         * math/libm-test.inc (fma_test): Use max_value instead of local
35510         variable fltmax.
35511         (nextafter_test): Likewise.
35513         * math/libm-test.inc (acos_towardzero_test_data): New variable.
35514         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35515         (acos_downward_test_data): New variable.
35516         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35517         (acos_upward_test_data): New variable.
35518         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35519         (acosh_test_data): New variable.
35520         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
35521         (asin_test_data): New variable.
35522         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
35523         (asin_tonearest_test_data): New variable.
35524         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35525         (asin_towardzero_test_data): New variable.
35526         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35527         (asin_downward_test_data): New variable.
35528         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35529         (asin_upward_test_data): New variable.
35530         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35531         (asinh_test_data): New variable.
35532         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
35533         (atan_test_data): New variable.
35534         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
35535         (atanh_test_data): New variable.
35536         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
35537         (cbrt_test_data): New variable.
35538         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
35539         (ceil_test_data): New variable.
35540         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
35541         (cos_test_data): New variable.
35542         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
35543         (cos_tonearest_test_data): New variable.
35544         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35545         (cos_towardzero_test_data): New variable.
35546         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35547         (cos_downward_test_data): New variable.
35548         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35549         (cos_upward_test_data): New variable.
35550         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35551         (cosh_test_data): New variable.
35552         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
35553         (cosh_tonearest_test_data): New variable.
35554         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35555         (cosh_towardzero_test_data): New variable.
35556         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35557         (cosh_downward_test_data): New variable.
35558         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35559         (cosh_upward_test_data): New variable.
35560         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35561         (erf_test_data): New variable.
35562         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
35563         (erfc_test_data): New variable.
35564         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
35565         (exp_test_data): New variable.
35566         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
35567         (exp_tonearest_test_data): New variable.
35568         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35569         (exp_towardzero_test_data): New variable.
35570         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35571         (exp_downward_test_data): New variable.
35572         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35573         (exp_upward_test_data): New variable.
35574         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35575         (exp10_test_data): New variable.
35576         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
35577         (exp2_test_data): New variable.
35578         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
35579         (expm1_test_data): New variable.
35580         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
35581         (fabs_test_data): New variable.
35582         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
35583         (floor_test_data): New variable.
35584         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
35585         (j0_test_data): New variable.
35586         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
35587         (j1_test_data): New variable.
35588         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
35589         (log_test_data): New variable.
35590         (log_test): Run tests with RUN_TEST_LOOP_f_f.
35591         (log10_test_data): New variable.
35592         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
35593         (log1p_test_data): New variable.
35594         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
35595         (log2_test_data): New variable.
35596         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
35597         (logb_test_data): New variable.
35598         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
35599         (logb_downward_test_data): New variable.
35600         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35601         (nearbyint_test_data): New variable.
35602         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
35603         (rint_test_data): New variable.
35604         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
35605         (rint_tonearest_test_data): New variable.
35606         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35607         (rint_towardzero_test_data): New variable.
35608         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35609         (rint_downward_test_data): New variable.
35610         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35611         (rint_upward_test_data): New variable.
35612         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35613         (round_test_data): New variable.
35614         (round_test): Run tests with RUN_TEST_LOOP_f_f.
35615         (sin_test_data): New variable.
35616         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
35617         (sin_tonearest_test_data): New variable.
35618         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35619         (sin_towardzero_test_data): New variable.
35620         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35621         (sin_downward_test_data): New variable.
35622         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35623         (sin_upward_test_data): New variable.
35624         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35625         (sinh_test_data): New variable.
35626         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
35627         (sinh_tonearest_test_data): New variable.
35628         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35629         (sinh_towardzero_test_data): New variable.
35630         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35631         (sinh_downward_test_data): New variable.
35632         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35633         (sinh_upward_test_data): New variable.
35634         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35635         (sqrt_test_data): New variable.
35636         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
35637         (tan_test_data): New variable.
35638         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
35639         (tan_tonearest_test_data): New variable.
35640         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35641         (tan_towardzero_test_data): New variable.
35642         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35643         (tan_downward_test_data): New variable.
35644         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35645         (tan_upward_test_data): New variable.
35646         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35647         (tanh_test_data): New variable.
35648         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
35649         (tgamma_test_data): New variable.
35650         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
35651         (trunc_test_data): New variable.
35652         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
35653         (y0_test_data): New variable.
35654         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
35655         (y1_test_data): New variable.
35656         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
35657         (significand_test_data): New variable.
35658         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
35660 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
35662         [BZ #12387]
35663         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
35665 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35667         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
35669 2013-05-10  Andreas Jaeger  <aj@suse.de>
35671         [BZ #15448]
35672         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
35673         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
35675 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35677         * math/gen-libm-test.pl (adjust_arg): New function.
35678         (special_functions): Handle generating output in both functions
35679         and arrays.
35680         (parse_args): Likewise.
35681         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
35682         $in_func argument to parse_args.
35683         * math/libm-test.inc (struct test_f_f_data): New type.
35684         (IF_ROUND_INIT_): New macro.
35685         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
35686         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35687         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35688         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35689         (ROUND_RESTORE_): Likewise.
35690         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
35691         (ROUND_RESTORE_FE_TONEAREST): Likewise.
35692         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
35693         (ROUND_RESTORE_FE_UPWARD): Likewise.
35694         (RUN_TEST_LOOP_f_f): New macro.
35695         (acos_test_data): New variable.
35696         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
35697         (acos_tonearest_test_data): New variable.
35698         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35700 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35702         * benchtests/bench-skeleton.c (startup): Fix coding style.
35704 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35706         [BZ #6809]
35707         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
35708         negative infinity argument.
35709         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
35710         negative infinity argument.
35711         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
35712         negative infinity argument.
35713         * math/libm-test.inc (tgamma_test): Expect errno to be set for
35714         domain errors.
35716 2013-05-10  Florian Weimer  <fweimer@redhat.com>
35718         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
35719         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
35720         * iconv/iconv_prog.c (main): Likewise.
35721         * locale/programs/charmap-dir.c (charmap_readdir)
35722         (fopen_uncompressed): Likewise.
35723         * locale/programs/locfile.c (siblings_uncached)
35724         (write_locale_data): Use lstat64 instead of lstat.
35725         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
35726         stat.
35728 2013-05-10  Andreas Jaeger  <aj@suse.de>
35730         [BZ #15395]
35731         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
35732         localization.
35733         Include <locale.h>.
35735 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
35737         * elf/dl-close.c (_dl_close_worker): Add comments.
35739 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
35741         [BZ #15359]
35742         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35743         high part of pi/2.
35744         (__ieee754_rem_pio2l): Update comments.
35746         [BZ #15429]
35747         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35748         high part of pi/2.
35749         (__ieee754_rem_pio2l): Update comments.
35751         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35752         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35754         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35755         M_PI_4l.
35757         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35758         (M_PI_34_LOG10El): Likewise.
35759         (M_PI2_LOG10El): Likewise.
35760         (M_PI4_LOG10El): Likewise.
35761         (M_PI_LOG10El): Likewise.
35763 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35765         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35767 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
35769         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
35770         (MINUS_ZERO_INIT): Likewise.
35771         (PLUS_INFTY_INIT): Likewise.
35772         (MINUS_INFTY_INIT): Likewise.
35773         (QNAN_VALUE_INIT): Likewise.
35774         (MAX_VALUE_INIT): Likewise.
35775         (MIN_VALUE_INIT): Likewise.
35776         (MIN_SUBNORM_VALUE_INIT): Likewise.
35777         (plus_zero): Initialize with PLUS_ZERO_INIT.
35778         (minus_zero): Initialize with MINUS_ZERO_INIT.
35779         (plus_infty): Initialize with PLUS_INFTY_INIT.
35780         (minus_infty): Initialize with MINUS_INFTY_INIT.
35781         (qnan_value): Initialize with QNAN_VALUE_INIT.
35782         (max_value): Initialize with MAX_VALUE_INIT.
35783         (min_value): Initialize with MIN_VALUE_INIT.
35784         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
35786         * math/libm-test.inc (RUN_TEST_if_f): New macro.
35787         (jn_test): Use TEST_if_f instead of TEST_ff_f.
35788         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
35789         (yn_test): Use TEST_if_f instead of TEST_ff_f.
35791         * math/libm-test.inc (RUN_TEST_f_f): New macro.
35792         (RUN_TEST_2_f): Likewise.
35793         (RUN_TEST_ff_f): Likewise.
35794         (RUN_TEST_fi_f): Likewise.
35795         (RUN_TEST_fl_f): Likewise.
35796         (RUN_TEST_fff_f): Likewise.
35797         (RUN_TEST_c_f): Likewise.
35798         (RUN_TEST_f_f1): Likewise.
35799         (RUN_TEST_fF_f1): Likewise.
35800         (RUN_TEST_fI_f1): Likewise.
35801         (RUN_TEST_ffI_f1): Likewise.
35802         (RUN_TEST_c_c): Likewise.
35803         (RUN_TEST_cc_c): Likewise.
35804         (RUN_TEST_f_i): Likewise.
35805         (RUN_TEST_f_i_tg): Likewise.
35806         (RUN_TEST_ff_i_tg): Likewise.
35807         (RUN_TEST_f_b): Likewise.
35808         (RUN_TEST_f_b_tg): Likewise.
35809         (RUN_TEST_f_l): Likewise.
35810         (RUN_TEST_f_L): Likewise.
35811         (RUN_TEST_sincos): Likewise.
35812         * math/gen-libm-test.pl (new_test): Take new argument to indicate
35813         whether to show exceptions.  Do not include ");\n" in return
35814         value.
35815         (special_functions): Output call to RUN_TEST_sincos instead of
35816         check_float calls.  Update calls to new_test.
35817         (parse_args): Output call to single RUN_TEST_* macro instead of
35818         check_* calls and other assignments.  Update calls to new_test.
35820         [BZ #2546]
35821         [BZ #2560]
35822         [BZ #5159]
35823         [BZ #15426]
35824         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
35825         input to result for tgamma overflow.
35826         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
35827         (gamma_coeff): New variable.
35828         (NCOEFF): New macro.
35829         (gamma_positive): New function.
35830         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
35831         underflow here.  Use gamma_positive instead of exp (lgamma) for
35832         other arguments.
35833         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
35834         (gamma_coeff): New variable.
35835         (NCOEFF): New macro.
35836         (gammaf_positive): New function.
35837         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
35838         underflow here.  Use gamma_positive instead of exp (lgamma) for
35839         other arguments.
35840         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
35841         (gamma_coeff): New variable.
35842         (NCOEFF): New macro.
35843         (gammal_positive): New function.
35844         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
35845         underflow here.  Use gamma_positive instead of exp (lgamma) for
35846         other arguments.
35847         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
35848         (gamma_coeff): New variable.
35849         (NCOEFF): New macro.
35850         (gammal_positive): New function.
35851         (__ieee754_gammal_r): Handle positive infinity, overflow and
35852         underflow here.  Handle NaN the same as positive infinity.  Remove
35853         check x < 0xffffffff for negative integers.  Use gamma_positive
35854         instead of exp (lgamma) for other arguments.
35855         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
35856         (gamma_coeff): New variable.
35857         (NCOEFF): New macro.
35858         (gammal_positive): New function.
35859         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
35860         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
35861         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
35862         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
35863         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
35864         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
35865         * sysdeps/generic/math_private.h (__gamma_productf): New
35866         prototype.
35867         (__gamma_product): Likewise.
35868         (__gamma_productl): Likewise.
35869         * math/Makefile (libm-calls): Add gamma_product.
35870         * math/libm-test.inc (tgamma_test): Add more tests.
35871         * sysdeps/i386/fpu/libm-test-ulps: Update.
35872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35874 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
35876         * benchtests/bench-skeleton.c (main): Preheat CPU.
35878 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
35880         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
35882 2013-05-07  Roland McGrath  <roland@hack.frob.com>
35884         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
35885         and _dl_skip_args_internal.
35887 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
35889         * manual/message.texi (Message Translation): Talk about users.
35890         Message to key mapping impacts design.
35892 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35894         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
35896         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
35898         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
35899         * sysdeps/wordsize-64/glob64.c: ... here.
35901         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
35902         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
35903         New macros.
35905         * debug/getlogin_r_chk.c: Moved to ...
35906         * login/getlogin_r_chk.c: ... here.
35907         * debug/Makefile (routines): Move getlogin_r_chk to ...
35908         * login/Makefile (routines): ... here.
35909         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
35910         * login/Versions (libc: GLIBC_2.4): ... here.
35912         * io/poll.c (__poll): Renamed from poll.
35913         Add libc_hidden_def.
35914         (poll): Define as weak alias.
35916         * debug/ptsname_r_chk.c: Moved to ...
35917         * login/ptsname_r_chk.c: ... here.
35918         * debug/Makefile (routines): Move ptsname_r_chk to ...
35919         * login/Makefile (routines): ... here.
35920         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
35921         * login/Versions (libc: GLIBC_2.4): ... here.
35923         * posix/getlogin.c: Moved to ...
35924         * login/getlogin.c: ... here.
35925         * posix/getlogin_r.c: Moved to ...
35926         * login/getlogin_r.c: ... here.
35927         * posix/getlogin_r.c: Moved to ...
35928         * login/getlogin_r.c: ... here.
35929         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
35930         * login/Makefile (routines): ... here.
35931         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
35932         * login/Versions (libc: GLIBC_2.0): ... here.
35934         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
35935         (setrlimit): Define as weak alias.
35937         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
35938         Call __ names for open, ftruncate, and close.
35939         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
35940         (truncate): Define as weak alias.
35942 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
35944         * math/gen-libm-test.pl (parse_args): Initialize x before each
35945         test of frexp, modf and remquo.
35947         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
35948         test signgam value.
35950 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35952         [BZ #15418]
35953         [BZ #15419]
35954         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
35955         internal tests.
35956         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35958 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35960         * elf/dl-writev.h: New file.
35961         * elf/dl-misc.c: Include it.
35962         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
35963         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
35965 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
35967         * math/libm-test.inc (noXFails): Remove variable.
35968         (noXPasses): Likewise.
35969         (BUILD_COMPLEX_INT): Remove macro.
35970         (print_screen): Remove xfail argument.
35971         (print_screen_max_error): Likewise.
35972         (update_stats): Likewise.
35973         (print_max_error): Likewise.  Update calls to other affected
35974         functions.
35975         (print_complex_max_error): Likewise.
35976         (test_single_exception): Update calls to print_screen.
35977         (test_single_errno): Likewise.
35978         (check_float_internal): Remove xfail argument.  Update calls to
35979         other affected functions.
35980         (check_float): Likewise.
35981         (check_complex): Likewise.
35982         (check_int): Likewise.
35983         (check_long): Likewise.
35984         (check_bool): Likewise.
35985         (check_longlong): Likewise.
35986         (main): Don't print noXFails and noXPasses.
35987         * math/gen-libm-test.pl (top level): Don't mention expected
35988         failure handling in comment.
35989         (new_test): Don't handle expected failures.
35990         (parse_args): Don't mention expected failure handling in comment.
35991         (generate_testfile): Don't handle expected failures.
35992         (parse_ulps): Likewise.
35993         (print_ulps_file): Likewise.
35994         (get_failure): Remove function.
35995         (output_test): Don't handle expected failures.
35996         * make/README.libm-test: Don't mention expected failure handling.
35998         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
35999         (minus_zero): Likewise.
36000         (plus_infty): Likewise.
36001         (minus_infty): Likewise.
36002         (qnan_value): Likewise.
36003         (max_value): Likewise.
36004         (min_value): Likewise.
36005         (min_subnorm_value): Likewise.
36006         (initialize): Do not initialize those variables dynamically.
36008 2013-05-03  Roland McGrath  <roland@hack.frob.com>
36010         * io/open.c (__open_2): Moved to ...
36011         * io/open_2.c: ... this new file.
36012         * io/open64.c (__open64_2): Moved to ...
36013         * io/open64_2.c: ... this new file.
36014         * io/openat.c (__openat_2): Moved to ...
36015         * io/openat_2.c: ... this new file.
36016         * io/openat64.c (__openat64_2): Moved to ...
36017         * io/openat64_2.c: ... this new file.
36018         * io/Makefile (routines): Add them.
36019         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
36020         * sysdeps/unix/sysv/linux/open_2.c: File removed.
36021         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
36022         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
36023         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
36024         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
36025         (__openat64): Add hidden_ver.
36026         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
36027         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
36029         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
36030         Separately conditionalize setting of GLRO(dl_sysinfo) so
36031         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
36032         as well, but the actual setting is only under [NEED_DL_SYSINFO].
36034 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36036         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
36037         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
36038         definition.
36039         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
36040         * sysdeps/unix/sysv/linux/powerpc/init-first.c
36041         (_libc_vdso_platform_setup): Add __vdso_time initialization.
36042         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
36043         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
36045 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
36047         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
36048         test signgam value.
36050         * math/libm-test.inc (hypot_test): Do not use
36051         IGNORE_ZERO_INF_SIGN.
36053 2013-05-03  Andreas Jaeger  <aj@suse.de>
36055         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
36056         Linux 3.9.
36057         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
36058         (PF_MAX): Adjust for VSOCK change.
36060 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36062         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36064 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
36066         [BZ #15264]
36067         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
36068         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
36069         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
36071 2013-05-02  David S. Miller  <davem@davemloft.net>
36073         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36075 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
36077         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
36079 2013-05-01  Roland McGrath  <roland@hack.frob.com>
36081         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
36083 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
36085         [BZ #14952]
36086         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
36087         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36088         Use __attribute__ ((__gnu_inline__)).
36089         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36090         Don't use __attribute__ ((__gnu_inline__)).
36092 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
36094         [BZ #15423]
36095         * math/s_catan.c (__catan): Handle small real or imaginary part of
36096         input specially to avoid spurious underflow.
36097         * math/s_catanf.c (__catanf): Likewise.
36098         * math/s_catanh.c (__catanh): Likewise.
36099         * math/s_catanhf.c (__catanhf): Likewise.
36100         * math/s_catanhl.c (__catanhl): Likewise.
36101         * math/s_catanl.c (__catanl): Likewise.
36102         * math/libm-test.inc (catan_test): Add more tests.
36103         (catanh_test): Likewise.
36104         * sysdeps/i386/fpu/libm-test-ulps: Update.
36105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36107 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36111 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
36113         [BZ #15416]
36114         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
36115         accurately for denominator in atan2.
36116         * math/s_catanf.c (__catanf): Likewise.
36117         * math/s_catanh.c (__catanh): Likewise.
36118         * math/s_catanhf.c (__catanhf): Likewise.
36119         * math/s_catanhl.c (__catanhl): Likewise.
36120         * math/s_catanl.c (__catanl): Likewise.
36121         * math/libm-test.inc (catan_test): Add more tests.
36122         (catanh_test): Likewise.
36123         * sysdeps/i386/fpu/libm-test-ulps: Update.
36124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36126 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36128         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
36130         * benchtests/Makefile (bench): Remove slow benchmarks.
36131         * benchtests/atan-inputs: Add slow benchmark inputs.
36132         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
36133         (BENCH_FUNC): Accept variant offset.
36134         (VARIANT): Define.
36135         * benchtests/bench-skeleton.c (main): Run benchmark for each
36136         variant.
36137         * benchtests/cos-inputs: Add slow benchmark inputs.
36138         * benchtests/exp-inputs: Likewise.
36139         * benchtests/pow-inputs: Likewise.
36140         * benchtests/sin-inputs: Likewise.
36141         * benchtests/slowatan-inputs: Remove.
36142         * benchtests/slowatan.c: Remove.
36143         * benchtests/slowcos-inputs: Remove.
36144         * benchtests/slowcos.c: Remove.
36145         * benchtests/slowexp-inputs: Remove.
36146         * benchtests/slowexp.c: Remove.
36147         * benchtests/slowpow-inputs: Remove.
36148         * benchtests/slowpow.c: Remove.
36149         * benchtests/slowsin-inputs: Remove.
36150         * benchtests/slowsin.c: Remove.
36151         * benchtests/slowtan-inputs: Remove.
36152         * benchtests/slowtan.c: Remove.
36153         * benchtests/tan-inputs: Add slow benchmark inputs.
36154         * scripts/bench.pl: Parse comments and directives.
36156         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
36157         in CPPFLAGS.
36158         ($(objpfx)bench-%.c): Remove *-ITER.
36159         * benchtests/bench-modf.c: Remove definition of ITER.
36160         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
36161         (main): Loop for DURATION seconds instead of fixed number of
36162         iterations.
36163         * scripts/bench.pl: Don't expect iterations in parameters.
36165 2013-04-29  Roland McGrath  <roland@hack.frob.com>
36167         * io/fchdir.c (__fchdir): Renamed from fchdir.
36168         (fchdir): Define as weak alias.
36170 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
36172         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
36173         (ERRNO_EDOM): Likewise.
36174         (ERRNO_ERANGE): Likewise.
36175         (noErrnoTests): New variable.
36176         (init_max_error): Set errno to 0.
36177         (test_single_errno): New function.
36178         (test_errno): Likewise.
36179         (check_float_internal): Call test_errno.  Set errno to 0.
36180         (check_complex): Refer to errno tests in comment.
36181         (check_int): Call test_errno.  Set errno to 0.
36182         (check_long): Likewise.
36183         (check_bool): Likewise.
36184         (check_longlong): Likewise.
36185         (cos_test): Use ERRNO_* flags for errno tests instead of
36186         check_int.
36187         (expm1_test): Likewise.
36188         (fmod_test): Likewise.
36189         (ilogb_test): Likewise.
36190         (lgamma_test): Likewise.
36191         (pow_test): Likewise.
36192         (remainder_test): Likewise.
36193         (sin_test): Likewise.
36194         (tan_test): Likewise.
36195         (yn_test): Likewise.
36196         (initialize): Set errno to 0.
36197         (main): Print number of errno tests.
36198         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
36200 2013-04-29  Andreas Jaeger  <aj@suse.de>
36202         [BZ #15084]
36203         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
36204         and RES_USEVC.
36206         [BZ #15085]
36207         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
36208         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
36209         unimplemented.
36211         [BZ #15380]
36212         * stdlib/random.c (__initstate): Return NULL if
36213         __initstate fails.
36215         [BZ #15086]
36216         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
36217         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
36218         RES_SNGLKUPREOP.
36220 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36222         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36224 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
36226         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
36227         of individual tests.
36228         (casin_test): Likewise.
36229         (casinh_test): Likewise.
36231 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
36233         [BZ #15409]
36234         * math/s_catan.c (__catan): Handle arguments with large real or
36235         imaginary part separately without squaring.
36236         * math/s_catanf.c (__catanf): Likewise.
36237         * math/s_catanh.c (__catanh): Likewise.
36238         * math/s_catanhf.c (__catanhf): Likewise.
36239         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36240         and redefine.
36241         (__catanhl): Handle arguments with large real or imaginary part
36242         separately without squaring.
36243         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36244         and redefine.
36245         (__catanl): Handle arguments with large real or imaginary part
36246         separately without squaring.
36247         * math/libm-test.inc (catan_test): Add more tests.
36248         (catanh_test): Likewise.
36249         * sysdeps/i386/fpu/libm-test-ulps: Update.
36250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36252 2013-04-27  Andreas Jaeger  <aj@suse.de>
36254         [BZ #15007]
36255         * stdlib/stdlib.h: Update guards for qecvt.
36256         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
36257         <stdlib.h>.
36259 2013-04-27  Allan McRae  <allan@archlinux.org>
36261         * sysdeps/i386/fpu/libm-test-ulps: Update.
36263 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
36265         [BZ #15406]
36266         * math/s_catan.c: Include <float.h>.
36267         (__catan): Ensure underflow exception occurs for underflowed
36268         result.
36269         * math/s_catanf.c: Include <float.h>.
36270         (__catanf): Ensure underflow exception occurs for underflowed
36271         result.
36272         * math/s_catanh.c: Include <float.h>.
36273         (__catanh): Ensure underflow exception occurs for underflowed
36274         result.
36275         * math/s_catanhf.c: Include <float.h>.
36276         (__catanhf): Ensure underflow exception occurs for underflowed
36277         result.
36278         * math/s_catanhl.c: Include <float.h>.
36279         (__catanhl): Ensure underflow exception occurs for underflowed
36280         result.
36281         * math/s_catanl.c: Include <float.h>.
36282         (__catanl): Ensure underflow exception occurs for underflowed
36283         result.
36284         * math/libm-test.inc (catan_test): Add more tests.
36285         (catanh_test): Likewise.
36287         [BZ #15405]
36288         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
36289         underflowed result.
36290         * math/s_ccoshf.c (__ccoshf): Likewise.
36291         * math/s_ccoshl.c (__ccoshl): Likewise.
36292         * math/s_csin.c (__csin): Likewise.
36293         * math/s_csinf.c (__csinf): Likewise.
36294         * math/s_csinh.c (__csinh): Likewise.
36295         * math/s_csinhf.c (__csinhf): Likewise.
36296         * math/s_csinhl.c (__csinhl): Likewise.
36297         * math/s_csinl.c (__csinl): Likewise.
36298         * math/libm-test.inc (ccos_test): Add more tests.
36299         (ccosh_test): Likewise.
36300         (csin_test): Likewise.
36301         (csinh_test): Likewise.
36303 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36305         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
36306         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
36307         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
36308         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
36309         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
36310         powerpc/power5+/fpu folders.
36311         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
36314 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
36316         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36318 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
36320         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
36321         additions to variable.
36322         [$(config-machine) = x86_64] (modules-names): Likewise.
36323         ($(objpfx)tst-audit3): Remove dependency.
36324         ($(objpfx)tst-audit3.out): Likewise.
36325         ($(objpfx)tst-audit4): Likewise.
36326         ($(objpfx)tst-audit4.out): Likewise.
36327         ($(objpfx)tst-audit5): Likewise.
36328         ($(objpfx)tst-audit5.out): Likewise.
36329         ($(objpfx)tst-audit6): Likewise.
36330         ($(objpfx)tst-audit6.out): Likewise.
36331         ($(objpfx)tst-audit7): Likewise.
36332         ($(objpfx)tst-audit7.out): Likewise.
36333         (tst-audit3-ENV): Remove variable.
36334         (tst-audit4-ENV): Likewise.
36335         (tst-audit5-ENV): Likewise.
36336         (tst-audit6-ENV): Likewise.
36337         (tst-audit7-ENV): Likewise.
36338         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
36339         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
36340         addition to variable.
36341         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
36342         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
36343         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
36344         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
36345         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
36346         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
36347         tst-audit3, tst-audit4 and tst-audit5.
36348         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
36349         tst-audit6 and tst-audit7.
36350         [$(subdir) = elf] (modules-names): Add audit modules for those
36351         tests.
36352         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
36353         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
36354         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
36355         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
36356         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
36357         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
36358         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
36359         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
36360         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
36361         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
36362         [$(subdir) = elf] (tst-audit3-ENV): New variable.
36363         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
36364         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
36365         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
36366         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
36367         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
36368         Likewise.
36369         [$(subdir) = elf && $(config-cflags-avx) = yes]
36370         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
36371         [$(subdir) = elf && $(config-cflags-avx) = yes]
36372         (CFLAGS-tst-auditmod4a.c): Likewise.
36373         [$(subdir) = elf && $(config-cflags-avx) = yes]
36374         (CFLAGS-tst-auditmod4b.c): Likewise.
36375         [$(subdir) = elf && $(config-cflags-avx) = yes]
36376         (CFLAGS-tst-auditmod6b.c): Likewise.
36377         [$(subdir) = elf && $(config-cflags-avx) = yes]
36378         (CFLAGS-tst-auditmod6c.c): Likewise.
36379         [$(subdir) = elf && $(config-cflags-avx) = yes]
36380         (CFLAGS-tst-auditmod7b.c): Likewise.
36381         * elf/tst-audit3.c: Move to ...
36382         * sysdeps/x86_64/tst-audit3.c: ... here.
36383         * elf/tst-audit4.c: Move to ...
36384         * sysdeps/x86_64/tst-audit4.c: ... here.
36385         * elf/tst-audit5.c: Move to ...
36386         * sysdeps/x86_64/tst-audit5.c: ... here.
36387         * elf/tst-audit6.c: Move to ...
36388         * sysdeps/x86_64/tst-audit6.c: ... here.
36389         * elf/tst-audit7.c: Move to ...
36390         * sysdeps/x86_64/tst-audit7.c: ... here.
36391         * elf/tst-auditmod3a.c: Move to ...
36392         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
36393         * elf/tst-auditmod3b.c: Move to ...
36394         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
36395         * elf/tst-auditmod4a.c: Move to ...
36396         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
36397         * elf/tst-auditmod4b.c: Move to ...
36398         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
36399         * elf/tst-auditmod5a.c: Move to ...
36400         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
36401         * elf/tst-auditmod5b.c: Move to ...
36402         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
36403         * elf/tst-auditmod6a.c: Move to ...
36404         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
36405         * elf/tst-auditmod6b.c: Move to ...
36406         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
36407         * elf/tst-auditmod6c.c: Move to ...
36408         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
36409         * elf/tst-auditmod7a.c: Move to ...
36410         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
36411         * elf/tst-auditmod7b.c: Move to ...
36412         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
36414 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
36416         [BZ #15366]
36417         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
36418         define unconditionally.
36419         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
36420         define unconditionally.
36421         (INT8_C, INT16_C, etc.): Likewise.
36423 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
36425         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
36426         __ehdr_start with hidden visibility.
36428         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
36430 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
36432         * math/libm-test.inc (cos_test): Use accurate hex constants.
36433         (sincost_test): Likewise.
36435 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
36437         * math/libm-test.inc (catan_test): Add more tests.
36438         (catanh_test): Likewise.
36440         * math/s_catanf.c (__catanf): Use suffixed floating-point
36441         constants.
36442         * math/s_catanhf.c (__catanhf): Likewise.
36443         * math/s_catanhl.c (__catanhl): Likewise.
36444         * math/s_catanl.c (__catanl): Likewise.
36446         [BZ #15394]
36447         * math/s_catan.c (__catan): Calculate imaginary part of result
36448         with log1p not log unless computing log of number close to 0.
36449         * math/s_catanf.c (__catanf): Likewise.
36450         * math/s_catanl.c (__catanl): Likewise.
36451         * math/s_catanh.c (__catanh): Calculate real part of result with
36452         log1p not log unless computing log of number close to 0.
36453         * math/s_catanhf.c (__catanhf): Likewise.
36454         * math/s_catanhl.c (__catanhl): Likewise.
36455         * math/libm-test.inc (catan_test): Add more tests.
36456         (catanh_test): Likewise.
36457         * sysdeps/i386/fpu/libm-test-ulps: Update.
36458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36460 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36462         * benchtests/Makefile: Mention files in which fast and slow
36463         paths of math functions are implemented.
36465 2013-04-23  Roland McGrath  <roland@hack.frob.com>
36467         * sysdeps/posix/timespec_get.c: New file.
36469 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36471         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
36472         POWER.
36473         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
36474         for POWER.
36475         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
36476         powerpc/power5/fpu folders.
36477         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
36478         * benchtests/Makefile: Add modf testcase.
36479         * benchtests/bench-modf.c: New file: Benchmark test for mo
36481 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36483         [BZ #14888]
36484         * time/Makefile (tests): Add tst-strptime-whitespace.
36485         * time/strptime_l.c (get_number): Use ISSPACE.
36486         (__strptime_internal): Likewise.
36487         * time/tst-strptime-whitespace.c: New test case.
36489 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
36491         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
36492         member.
36493         (_nss_files_init): Set it here.
36495 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
36497         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
36498         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
36499         unsigned.
36501 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
36503         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
36505 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36507         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
36508         size just once.
36510 2013-04-21  David S. Miller  <davem@davemloft.net>
36512         * po/ru.po: Update Russion translation from translation project.
36514 2013-04-17  Adam Conrad  <adconrad@0c3.net>
36516         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
36517         and setfsgid.
36519 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
36521         * configure.in: Remove i386 configure warning. Remove i386 case.
36522         * configure: Regenerate.
36523         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
36524         Add example to error message.
36525         * sysdeps/i386/configure: Regenerate.
36527 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36529         * benchtests/Makefile (bench): Add cos, tan, slowcos and
36530         slowtan.
36531         * benchtests/cos-inputs: New file.
36532         * benchtests/slowcos-inputs: New file.
36533         * benchtests/slowcos.c: New file.
36534         * benchtests/slowtan-inputs: New file.
36535         * benchtests/slowtan.c: New file.
36536         * benchtests/tan-inputs: New file.
36538 2013-04-16  Roland McGrath  <roland@hack.frob.com>
36540         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
36541         considered kosher.
36543 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36545         * benchtests/Makefile: Include cppflags-iterator.mk to add
36546         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
36548         * Makefile.in (bench-clean): New target.
36549         * benchtests/Makefile (bench-clean): Likewise.
36551 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
36553         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
36555 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
36557         * stdio-common/tstdiomisc.c: Fix coding-style violation.
36559 2013-04-15  Andreas Schwab  <schwab@suse.de>
36561         * nscd/grpcache.c (cache_addgr): Properly check for short write.
36562         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36563         * nscd/pwdcache.c (cache_addpw): Likewise.
36564         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
36565         more than recsize.
36567 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36569         * benchtests/Makefile (bench): Write all output to
36570         bench-out.tmp together.
36572 2013-04-15  Andreas Schwab  <schwab@suse.de>
36574         * nscd/nscd.c (main): Don't fork again after closing files.
36576 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36578         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
36580         * benchtests/Rules (bench-deps): Collect dependencies into a
36581         single variable.  Add Makefile to dependencies.
36582         ($(objpfx)bench-%.c): Depend on bench-deps.
36584 2013-04-12  Roland McGrath  <roland@hack.frob.com>
36585             Xavier Roche  <roche+kml2@exalead.com>
36587         [BZ #15361]
36588         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
36589         just that it's a file descriptor.
36590         * manual/llio.texi (Synchronizing AIO Operations): Update description
36591         for EBADF error from aio_fsync.
36593 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36595         * Rules (bench): Move target definition...
36596         * benchtests/Makefile: ... here.
36598 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
36600         * math/libm-test.inc (cos_test): Fix PI/2 test.
36601         (sincos_test): Likewise.
36602         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36603         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
36605 2013-04-11  Andreas Schwab  <schwab@suse.de>
36607         [BZ #13988]
36608         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
36609         accept exponent character only when digits were seen.
36610         * stdio-common/Makefile (tests): Add bug26.
36611         * stdio-common/bug26.c: New file.
36613         [BZ #14293]
36614         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
36615         non-freeable.
36617 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36619         * Makeconfig (rtld-prefix): Define built linker prefix.
36620         * Rules (run-bench): Use it.
36621         * math/Makefile (run-regen-ulps): Likewise.
36623         * Rules (bench): Remove eval.
36625 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36626             Roland McGrath  <roland@hack.frob.com>
36627             Ondrej Bilka  <neleai@seznam.cz>
36629         [BZ #15346]
36630         * time/getdate.c: Include ctype.h and alloca.h.
36631         (__getdate_r): Trim leading and trailing spaces of input.
36632         * time/tst-getdate.c (tests): Add tests with leading and
36633         trailing spaces.
36635 2013-04-08  Roland McGrath  <roland@hack.frob.com>
36637         [BZ #14280]
36638         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
36639         when computing value.
36641 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36643         * math/README.libm-test (How can I generate "libm-test-ulps"?):
36644         Use testrun.sh to run libm tests.
36646         [BZ #15309]
36647         * elf/dl-open.c (dl_open_worker): memset all of seen array.
36649 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
36651         [BZ #15264]
36652         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
36654 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36656         * Makefile.in (regen-ulps): New target.
36657         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
36658         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
36659         [ifneq (no,$(PERL)] (regen-ulps): New target.
36660         [ifeq (no,$(PERL)] (regen-ulps): New target.
36661         * math/libm-test.inc (ulps_file_name): Define.
36662         (output_dir): New variable.
36663         (options): Add "output-dir" option.
36664         (parse_opt): Handle 'o' case.
36665         (main): If output_dir is non-NULL use it as a prefix
36666         otherwise use "".
36667         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
36669 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36671         [BZ #10060, #10062]
36672         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
36673         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
36674         fail configure if __sync_val_compare_and_swap is not inlined.
36675         * sysdeps/i386/configure: Regenerate.
36676         * configure.in: Build for i686 when configured for i386.
36677         * configure: Regenerate.
36678         * README: Remove i386 reference.
36680 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36682         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
36683         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36685 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36687         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
36688         (lmsnanval): New variables.
36689         (F): Add conversion tests.
36690         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
36691         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
36693         * stdio-common/tstdiomisc.c (F): Properly collect individual
36694         tests' results.
36696         [BZ #14686, #15336]
36697         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
36698         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
36699         Instead, use input NaN values or generate a qNaN by arithmetic
36700         operation.  Also fix bugs to comply with the standard.
36701         * math/libm-test.inc (remainder_test): Add more tests.
36703         [BZ #15335, #15342]
36704         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
36705         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
36706         input NaN values or generate a qNaN by arithmetic operation.
36708         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
36709         unreachable code.
36711         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
36712         definitions.
36714 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
36716         [BZ #14478]
36717         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
36718         underflowed result.
36719         * math/s_cexpf.c (__cexpf): Likewise.
36720         * math/s_cexpl.c (__cexpl): Likewise.
36721         * math/libm-test.inc (cexp_test): Add more tests.
36723 2013-04-03  Andreas Schwab  <schwab@suse.de>
36725         [BZ #15330]
36726         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
36727         order arrays from heap if bigger than alloca cutoff.
36729 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
36731         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
36732         (SNAN_TESTS_double): Refer to GCC PR56831.
36733         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
36734         GCC PR56828.
36736 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36738         * Rules (bench): Move bench.out after the run is complete.
36740         * Rules (bench): Echo currently running benchmark.
36742         * benchtests/Makefile (bench): Add atan and slowatan.
36743         * benchtests/atan-inputs: New file.
36744         * benchtests/slowatan-inputs: New file.
36745         * benchtests/slowatan.c: New file.
36747         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36748         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36749         its value.
36751         [BZ #15305]
36752         * sysdeps/unix/sysv/linux/kernel-features.h
36753         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36754         __ASSUME_XFS_RESTRICTED_CHOWN.
36755         * sysdeps/unix/sysv/linux/pathconf.c
36756         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36757         Save and restore errno.
36759 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
36761         [BZ #15327]
36762         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
36763         arguments using __kernel_casinh.
36764         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
36765         arguments using __kernel_casinhf.
36766         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
36767         arguments using __kernel_casinhl.
36768         * math/libm-test.inc (cacosh_test): Add more tests.
36769         * sysdeps/i386/fpu/libm-test-ulps: Update.
36770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36772 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36774         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
36775         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
36777         * bench/Makefile (bench): Add sin and slowsin.
36778         * benchtests/sin-inputs: New file.
36779         * benchtests/slowsin-inputs: New file.
36780         * benchtests/slowsin.c: New file.
36782         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
36783         (bench): Add slowexp and slowpow.
36784         (exp-ITER): Increase iterations.
36785         (pow-ITER): Likewise.
36786         * benchtests/exp-inputs: Change input.
36787         * benchtests/pow-inputs: Likewise.
36788         * benchtests/slowexp-inputs: New file.
36789         * benchtests/slowexp.c: New file.
36790         * benchtests/slowpow-inputs: New file.
36791         * benchtests/slowpow.c: New file.
36793 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36795         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
36796         instructions.
36797         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36798         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
36799         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36800         * benchtests/Makefile: Add rint benchtest.
36801         * benchtests/rint-inputs: Input for rint benchtest.
36803 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36805         * Versions.def (libm): Add GLIBC_2.18.
36806         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
36807         hidden libm prototypes.
36808         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
36809         * math/Makefile (libm-calls): Add s_issignaling.
36810         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
36811         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
36812         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
36813         declaration.
36814         * math/math.h [__USE_GNU] (issignaling): New macro.
36815         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
36816         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
36817         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
36818         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
36819         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
36820         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
36821         * manual/arith.texi (issignaling): New section.
36822         * manual/libm-err-tab.pl (@all_functions): Update comment.
36823         * math/gen-libm-test.pl (parse_args): Apply special handling for
36824         issignaling.
36825         * math/libm-test.inc (print_float, issignaling_test): New
36826         functions.
36827         (check_float_internal): Add issignaling checks.
36828         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
36829         default definition.
36830         * sysdeps/powerpc/math-tests.h: New file.
36831         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
36832         tests.
36833         * math/test-snan.c (TEST_FUNC): Likewise.
36835 2013-03-30  David S. Miller  <davem@davemloft.net>
36837         * po/de.po: Update from translation team.
36839 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
36841         [BZ #10357]
36842         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36843         imaginary part less than 1.0 and real part less than 0.5
36844         specially.
36845         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36846         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36847         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
36848         (cacos_test): Add more tests.
36849         (casin_test): Likewise.
36850         (casinh_test): Likewise.
36851         * sysdeps/i386/fpu/libm-test-ulps: Update.
36852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36854 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36856         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
36857         ONE with its value.
36859         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
36860         (__pow_mp): Replace ONE and MONE with their values.
36861         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36862         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
36863         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36864         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
36865         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36866         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36868         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
36870         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
36871         (__pow_mp): Replace ZERO and MZERO with their values.
36872         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36873         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36874         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36875         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36876         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36877         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
36878         (__sqr): Likewise.
36880         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
36882         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
36884 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36886         * include/stdlib.h [!SHARED] (__call_tls_dtors):
36887         Declare with __attribute__ ((weak)).
36888         * stdlib/exit.c (__libc_atexit) [!SHARED]:
36889         Call __call_tls_dtors only if it's not NULL.
36891 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36893         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
36894         didn't do it already, then set _dl_phdr and _dl_phnum based on the
36895         magic __ehdr_start linker symbol if it's defined.
36896         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
36897         them up here if it was already done.
36899         * elf/dl-support.c (_dl_phdr): Make pointer to const.
36900         (_dl_aux_init): Use const in cast when setting it.
36901         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
36902         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
36903         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
36905         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
36906         Declare them here.
36907         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
36908         * csu/libc-tls.c: Nor here.
36909         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
36911         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
36912         (__libc_message): Never call vsyslog.
36914 2013-03-28  Alan Modra  <amodra@gmail.com>
36916         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
36917         Define as empty.
36918         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
36919         Likewise.
36921 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36923         [BZ #15214]
36924         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
36925         underflow.
36926         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36928 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36930         [BZ #15304]
36931         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36932         Don't add gid passed as argument.
36934         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
36936 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
36938         [BZ #15307]
36939         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36940         imaginary part between 1.0 and 1.5 and real part less than 0.5
36941         specially.
36942         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36943         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36944         * math/libm-test.inc (cacos_test): Add more tests.
36945         (casin_test): Likewise.
36946         (casinh_test): Likewise.
36947         * sysdeps/i386/fpu/libm-test-ulps: Update.
36948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36950 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36952         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
36953         constants.
36954         (norm): Likewise.
36955         (denorm): Likewise.
36956         (__dbl_mp): Likewise.
36957         (add_magnitudes): Likewise.
36958         (sub_magnitudes): Likewise.
36959         (__add): Likewise.
36960         (__sub): Likewise.
36961         (__mul): Likewise.
36962         (__sqr): Likewise.
36963         (__inv): Likewise.
36964         (__dvd): Likewise.
36966         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
36967         commented code.
36968         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
36969         (__dubcos): Likewise.
36970         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
36971         (__ieee754_acos): Likewise.
36972         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36973         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
36974         (__exp1): Likewise.
36975         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36976         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36977         (log1): Likewise.
36978         (my_log2): Likewise.
36979         (checkint): Likewise.
36980         * sysdeps/ieee754/dbl-64/e_remainder.c
36981         (__ieee754_remainder): Likewise.
36982         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36983         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
36984         (bsloww): Likewise.
36985         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36987         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36988         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
36989         MANTISSA_STORE_T to store computations on mantissa.  Use
36990         macros for rounding and division.
36991         (denorm): Likewise.
36992         (__dbl_mp): Likewise.
36993         (add_magnitudes): Likewise.
36994         (sub_magnitudes): Likewise.
36995         (__mul): Likewise.
36996         (__sqr): Likewise.
36997         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36998         powers of two in terms of TWOPOW macro.
36999         (mp_no): Make type of mantissa as MANTISSA_T.
37000         [!RADIXI]: Define RADIXI.
37001         [!TWO52]: Define TWO52.
37002         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37004 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37006         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
37007         llroundl symbol when building for PPC32.
37009 2013-03-24  Mark H Weaver  <mhw@netris.org>
37011         * manual/arith.texi (Normalization Functions): Fix prototypes for
37012         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
37014 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37016         [BZ #13889]
37017         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
37018         high value to check if expl overflow.
37019         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
37020         to check for underflow and overflow.
37021         * math/libm-test.inc: Add exp test.
37023 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
37025         [BZ #11120]
37026         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
37027         with NOT_IN_libc.
37029 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37031         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
37032         symbol.
37034 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37036         * math/gen-libm-test.pl (parse_args, special_functions): Properly
37037         wrap blocks consisting of several statements.
37039         * sysdeps/generic/math-tests.h: New file.
37040         * sysdeps/i386/fpu/math-tests.h: Likewise.
37041         * math/test-snan.c: Include it.
37042         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
37044 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
37046         [BZ #15285]
37047         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
37048         (__ieee754_j0l): Do not improve calculations using cos of twice
37049         input for inputs above LDBL_MAX / 2.0L.
37050         (__ieee754_y0l): Likewise.
37051         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
37052         (__ieee754_j1l): Do not improve calculations using cos of twice
37053         input for inputs above LDBL_MAX / 2.0L.
37054         (__ieee754_y1l): Likewise.
37055         * math/libm-test.inc (j0_test): Add another test.
37056         (j1_test): Likewise.
37057         (y0_test): Likewise.
37058         (y1_test): Likewise.
37059         * sysdeps/i386/fpu/libm-test-ulps: Update.
37061 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37063         * Rules ($(objpfx)bench-%.c): Include code from a C source
37064         file.
37066 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
37068         [BZ #15287]
37069         * math/k_casinh.c (__kernel_casinh): Handle arguments with
37070         imaginary part 1.0 and real part less than 0.5 specially.
37071         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37072         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37073         * math/libm-test.inc (cacos_test): Add more tests.
37074         (casin_test): Likewise.
37075         (casinh_test): Likewise.
37076         * sysdeps/i386/fpu/libm-test-ulps: Update.
37077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37079 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37081         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
37082         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
37084 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
37086         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
37087         * config.make.in (config-cflags-sse4): Remove variable.
37088         (config-cflags-avx): Likewise.
37089         (config-cflags-sse2avx): Likewise.
37090         (config-cflags-novzeroupper): Likewise.
37091         (config-asflags-i686): Likewise.
37092         (have-mfma4): Likewise.
37093         (have-as-vis3): Likewise.
37094         (MIG): Likewise.
37095         * configure.in (MIG): Do not AC_SUBST.
37096         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
37097         (libc_cv_cc_sse4): Do not AC_SUBST.
37098         (libc_cv_cc_avx): Likewise.
37099         (libc_cv_cc_sse2avx): Likewise.
37100         (libc_cv_cc_novzeroupper): Likewise.
37101         (libc_cv_cc_fma4): Likewise.
37102         (libc_cv_as_i686): Likewise.
37103         (libc_cv_sparc_as_vis3): Likewise.
37104         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
37105         LIBC_CONFIG_VAR.
37106         (config-asflags-i686): Likewise.
37107         (config-cflags-avx): Likewise.
37108         (config-cflags-sse2avx): Likewise.
37109         (have-mfma4): Likewise.
37110         (config-cflags-novzeroupper): Likewise.
37111         * sysdeps/mach/configure.in (MIG): Likewise.
37112         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
37113         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
37114         LIBC_CONFIG_VAR.
37115         (config-cflags-avx): Likewise.
37116         (config-cflags-sse2avx): Likewise.
37117         (have-mfma4): Likewise.
37118         (config-cflags-novzeroupper): Likewise.
37119         * configure: Regenerated.
37120         * sysdeps/i386/configure: Likewise.
37121         * sysdeps/mach/configure: Likewise.
37122         * sysdeps/sparc/configure: Likewise.
37123         * sysdeps/x86_64/configure: Likewise.
37125 2013-03-20  Roland McGrath  <roland@hack.frob.com>
37127         [BZ #14812]
37128         * locale/programs/localedef.c (options): Put N_ translation marker
37129         on argument names, not just descriptions.
37131 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37133         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
37135 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
37137         [BZ #14176]
37138         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
37140 2013-03-19  Roland McGrath  <roland@hack.frob.com>
37142         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
37143         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
37144         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
37145         [!BEFORE_ABORT] (before_abort): New function.
37146         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
37147         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
37148         (writev_for_fatal): New function.
37149         (WRITEV_FOR_FATAL): New macro; call that.
37150         (backtrace_and_maps): New function.
37151         (BEFORE_ABORT): New macro; call that.
37152         (struct str_list): Type removed.
37153         (__libc_message, __libc_fatal): Functions removed.
37154         Include <sysdeps/posix/libc_fatal.c> instead.
37156 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
37158         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
37159         constants.
37160         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
37161         double constants.
37163 2013-03-19  Andreas Schwab  <schwab@suse.de>
37165         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
37166         * sysdeps/gnu/configure: Regenerate.
37168         * configure.in: Substitute libc_cv_rtlddir.
37169         * configure: Regenerate.
37170         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
37171         * Makeconfig (rtlddir, inst_rtlddir): New variables.
37172         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
37173         * elf/Makefile (install-others, CFLAGS-interp.c)
37174         (ldso_install, common-ldd-rewrite): Likewise.
37175         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
37176         $(inst_slibdir)/$(rtld-installed-name).
37177         * scripts/rellns-sh: Add -p option.
37178         * Makerules (make-shlib-link): Use rellns-sh to get relative name
37179         for source.
37181 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37183         * manual/nptl.texi: Renamed to ...
37184         * manual/threads.texi: ... this.
37185         * manual/Makefile (chapters): Update.
37187 2013-03-18  Roland McGrath  <roland@hack.frob.com>
37189         [BZ #14812]
37190         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
37191         on argument names, not just descriptions.
37192         * malloc/memusagestat.c (options): Likewise.
37193         * nss/getent.c (options): Likewise.
37195 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
37197         [BZ #14812]
37198         * iconv/iconv_prog.c (options): Put N_ translation marker
37199         on argument names, not just descriptions.
37200         * iconv/iconvconfig.c (options): Likewise.
37202 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
37204         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
37205         implementation which is faster on all x86_64 architectures.
37206         Tested on AMD, Intel Nehalem, SNB, IVB.
37207         * sysdeps/x86_64/strnlen.S: Likewise.
37209         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37210         Remove all multiarch strlen and strnlen versions.
37211         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
37212         Remove strlen and strnlen related parts.
37214         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
37215         Inline strlen part.
37216         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
37218         * sysdeps/x86_64/multiarch/strlen.S: Remove.
37219         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
37220         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
37221         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
37222         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37223         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
37225 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
37227         * manual/memory.texi (Malloc Tunable Parameters):
37228         Sort parameters alphabetically. Add comments for missing entries.
37230 2013-03-17  David S. Miller  <davem@davemloft.net>
37232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37234 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
37236         [BZ #15283]
37237         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
37238         for arguments at most half maximum finite value.
37239         * math/libm-test.inc (j0_test): Add more tests.
37240         (j1_test): Likewise.
37241         (y0_test): Likewise.
37242         (y1_test): Likewise.
37243         * sysdeps/i386/fpu/libm-test-ulps: Update.
37244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37246         [BZ #14155]
37247         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
37248         1 / x and functions P and Q for arguments above 0x1p256L.
37249         (__ieee754_y0l): Likewise.
37250         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
37251         (__ieee754_y1l): Likewise.
37252         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
37253         (j1_test): Likewise.
37254         (y0_test): Likewise.
37255         (y1_test): Likewise.
37257 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
37259         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
37260         variable.
37262 2013-03-15  Roland McGrath  <roland@hack.frob.com>
37264         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
37265         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
37266         zero since it's initialized to EXEC_PAGESIZE.
37268         * sysdeps/unix/sysv/linux/ldsodefs.h
37269         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
37270         * sysdeps/generic/ldsodefs.h: ... here.
37272 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
37274         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
37276         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
37277         math/test-snan.c.
37278         * math/test-snan.c: Renamed from
37279         sysdeps/powerpc/fpu/test-powerpc-snan.c.
37280         * math/Makefile (tests): Add test-snan.
37281         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
37282         test-powerpc-snan.
37284         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
37285         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
37286         functions.
37287         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
37288         __builtin_nan family of functions.
37289         * math/libm-test.inc (initialize): Initialize qnan_value with
37290         __builtin_nan family of functions.
37291         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
37292         Remove variables.
37293         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
37294         Remove functions.
37295         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
37296         storage class.  Initialize qNaN_var and sNaN_var with
37297         __builtin_nan and __builtin_nans families of functions,
37298         respectively.
37300         * math/libm-test.inc (acosh_test): Also test with qNaN input.
37301         (sqrt_test): Remove duplicate test with qNaN input.
37302         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
37303         (round_test, signbit_test, significand_test): Note missing +/-Inf
37304         as well as qNaN tests.
37306         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
37307         qNaN_var.  Fix a few strings, too.
37308         * math/libm-test.inc (nan_value): Rename to qnan_value.
37309         * math/gen-libm-test.pl (%beautify): Adjust to that.
37310         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
37311         * math/test-misc.c (main): Likewise.
37312         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
37313         to __qnan_bytes, and __qnan_union, respectively.
37314         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
37315         Likewise.
37316         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
37317         and lqnanval, respectively.
37318         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
37319         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
37320         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
37321         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
37323         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
37324         * math/test-misc.c (main) [__x86_64__]: Enable test for long
37325         doubles.
37327         * math/test-misc.c (main): Fix copy'n'pastos.
37328         * misc/tst-efgcvt.c (special): Likewise.
37330         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
37331         Remove declarations.
37333 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37335         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
37336         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
37337         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
37338         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
37340 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37342         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
37343         macro to return vdso values correctly in IFUNC implementations.
37344         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37345         Optimization by using IFUNC.
37347 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37348             Richard Henderson  <rth@redhat.com>
37349             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37351         * Makefile.in (bench): New target.
37352         * NEWS: Mention the benchmark framework.
37353         * Rules (bench): Likewise.
37354         (binaries-bench): Generate binaries for functions to
37355         benchmark.
37356         * benchtests/Makefile: New makefile for benchmark tests.
37357         * benchtests/bench-skeleton.c: New skeleton file for benchmark
37358         programs.
37359         * benchtests/exp-inputs: New input file for EXP function.
37360         * benchtests/pow-inputs: New input file for POW function.
37361         * scripts/bench.pl: New script to generate source files for
37362         benchmark programs.
37364 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37366         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37367         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
37368         computations on mantissa.  Use macros for rounding and
37369         division.
37370         (denorm): Likewise.
37371         (__dbl_mp): Likewise.
37372         (add_magnitudes): Likewise.
37373         (sub_magnitudes): Likewise.
37374         (__mul): Likewise.
37375         (__sqr): Likewise.
37376         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
37377         powers of two in terms of TWOPOW macro.
37378         (mp_no): Make type of mantissa as MANTISSA_T.
37379         [!RADIXI]: Define RADIXI.
37380         [!TWO52]: Define TWO52.
37381         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37383         * manual/nptl.texi (cindex): Modify threads to pthreads.
37385 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
37387         * sysdeps/x86_64/preconfigure: Regenerated.
37389 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
37391         [BZ #14155]
37392         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
37393         0x1p28 and above.
37394         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
37395         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
37396         0x1p28 and above.
37397         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
37398         * math/libm-test.inc (j0_test): Do not allow one spurious
37399         underflow exception.
37400         (y1_test): Likewise.
37402 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37404         * manual/Makefile (chapters): Add nptl.
37405         * manual/debug.texi (Debugging Support): Add link to Threads
37406         chapter.
37407         * manual/nptl.texi: New file.
37409         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
37411 2013-03-14  Petr Baudis  <pasky@ucw.cz>
37413         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
37414         for non-NULL pointer before the memory validity test. Pointed
37415         out by Holger Brunck <holger.brunck@keymile.com>.
37417 2013-03-13  Andreas Schwab  <schwab@suse.de>
37419         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
37420         instead of .os.
37422 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
37424         * timezone/zic.c: Update from tzcode 2013b.
37426 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
37428         * manual/install.texi (Configuring and compiling):
37429         Mention i686 and i586.
37430         * INSTALL: Regenerate.
37432 2013-03-12  Roland McGrath  <roland@hack.frob.com>
37434         * sysdeps/init_array/elf-init.c: New file.
37435         * csu/elf-init.c
37436         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
37437         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
37439         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
37440         __gmon_start__ as global, but as static with a .preinit_array pointer.
37441         * sysdeps/init_array/gmon-start.c: New file.  Use that.
37442         * sysdeps/init_array/crti.S: New file, empty except for comments.
37443         * sysdeps/init_array/crtn.S: Likewise.
37445 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
37447         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
37448         definining bcopy.
37449         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37450         Remove Prefer_SSE_for_memop.
37451         * sysdeps/x86_64/multiarch/init-arch.h: Remove
37452         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
37453         HAS_PREFER_SSE_FOR_MEMOP.
37454         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
37455         memset-x86-64.
37456         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37457         Remove bzero, memset ifunc support.
37458         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
37459         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
37460         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37461         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37463 2013-03-11  Andreas Schwab  <schwab@suse.de>
37465         [BZ #15234]
37466         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
37467         by SHLIB_COMPAT.
37468         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
37469         (GLIBC_2.16): Remove pthread_atfork.
37471 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
37473         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
37474         (ptestcases.h): Likewise.
37476 2013-03-08  Roland McGrath  <roland@hack.frob.com>
37478         * Makeconfig ($(common-objpfx)config.status): Depend on
37479         sysdeps/*/preconfigure{,.in} too.
37481 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
37483         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
37484         (__free_hook): Use void * instead of __malloc_ptr_t.
37485         (__malloc_hook): Likewise.
37486         (__realloc_hook): Likewise.
37487         (__memalign_hook): Likewise.
37488         (__after_morecore_hook): Likewise.
37489         * malloc/arena.c (save_malloc_hook): Likewise.
37490         (save_free_hook): Likewise.
37491         * malloc/hooks.c (malloc_hook_ini): Likewise.
37492         (realloc_hook_ini): Likewise.
37493         (memalign_hook_ini): Likewise.
37494         * malloc/malloc.c (malloc_hook_ini): Likewise.
37495         (realloc_hook_ini): Likewise.
37496         (memalign_hook_ini): Likewise.
37497         (__free_hook): Likewise.
37498         (__malloc_hook): Likewise.
37499         (__realloc_hook): Likewise.
37500         (__memalign_hook): Likewise.
37501         (__libc_malloc): Likewise.
37502         (__libc_free): Likewise.
37503         (__libc_realloc): Likewise.
37504         (__libc_memalign): Likewise.
37505         (__libc_valloc): Likewise.
37506         (__libc_pvalloc): Likewise.
37507         (__libc_calloc): Likewise.
37508         (__posix_memalign): Likewise.
37509         * malloc/morecore.c (__sbrk): Likewise.
37510         (__default_morecore): Likewise.
37512         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
37514         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
37515         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
37516         __malloc_ptrdiff_t.
37518         * malloc/malloc.h (__malloc_size_t): Remove macro.
37519         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
37520         __malloc_size_t.
37521         (old_memalign_hook): Likewise.
37522         (old_realloc_hook): Likewise.
37523         (struct hdr): Likewise.
37524         (flood): Likewise.
37525         (mallochook): Likewise.
37526         (memalignhook): Likewise.
37527         (reallochook): Likewise.
37528         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
37529         (tr_old_realloc_hook): Likewise.
37530         (tr_old_memalign_hook): Likewise.
37531         (tr_mallochook): Likewise.
37532         (tr_reallochook): Likewise.
37533         (tr_memalignhook): Likewise.
37535 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37537         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
37538         default_ldbl_pack and using as default implementation.
37539         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
37540         implementation.
37541         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
37542         redundant definition.
37543         (ldbl_insert_mantissa): Likewise.
37544         (ldbl_canonicalize): Likewise.
37545         (ldbl_nearbyint): Likewise.
37546         (ldbl_pack): Rename to ldbl_pack_ppc.
37547         (ldbl_unpack): Rename to ldbl_unpack_ppc.
37548         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
37549         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
37551 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37553         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
37554         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
37555         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
37556         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
37557         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
37558         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
37559         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
37560         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
37562 2013-03-07  Andreas Jaeger  <aj@suse.de>
37564         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37565         bits/mman-linux.h.
37567 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37569         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
37570         Include mpa.h and declare __MPEXP.
37571         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
37572         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37573         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37574         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
37575         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37576         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37577         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
37579         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
37580         (__slowpow): Use long double EXPL and LOGL functions to
37581         compute POW.
37582         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37583         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37584         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
37585         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37586         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37587         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
37589         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
37590         intermediate variable to calculate exponent.
37591         (__sqr): Likewise.
37592         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37593         Likewise.
37594         (__sqr): Likewise.
37596         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
37597         [!NO__SQR]: Define __sqr.
37598         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
37599         and NO__SQR.  Remove all code except __mul and __sqr.  Include
37600         sysdeps/ieee754/dbl-64/mpa.c.
37601         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37603         [BZ #12723]
37604         * posix/Makefile (tests): Add tst-pathconf.
37605         * posix/tst-pathconf.c: New test case.
37606         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
37607         _PC_PIPE_BUF.
37608         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
37610 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
37612         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
37614 2013-03-06  Andreas Jaeger  <aj@suse.de>
37616         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
37617         definition via __MAP_ANONYMOUS.
37619         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
37620         it's not part of Linux headers.
37622         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
37623         (MAP_HUGE_MASK): Define.
37625         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37626         Define.
37627         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37628         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37629         Define.
37630         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37631         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37632         Define.
37633         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37634         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
37635         Define.
37636         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37638         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
37639         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
37640         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
37641         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
37642         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
37643         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
37645         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37646         Handle f2fs.
37648         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37649         Handle f2fs and efivarfs.
37651         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
37652         f2fs.
37654         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
37655         (EFIVARFS_MAGIC): Add.
37656         (F2FS_LINK_MAX): Add.
37658 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37660         * stdio-common/vfprintf.c: Replace __builtin_expect with
37661         __glibc_unlikely.
37663 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
37665         [BZ #13550]
37666         * sysdeps/generic/bp-sym.h: Remove file.
37667         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
37668         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
37669         <bp-sym.h> and <bp-asm.h>.
37670         (__longjmp): Don't use BP_SYM.
37671         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
37672         and <bp-asm.h>.
37673         (memcpy): Don't use BP_SYM.
37674         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
37675         <bp-sym.h> and <bp-asm.h>.
37676         (memcpy): Don't use BP_SYM.
37677         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
37678         <bp-asm.h>.
37679         (memcpy): Don't use BP_SYM.
37680         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
37681         <bp-asm.h>.
37682         (memset): Don't use BP_SYM.
37683         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37684         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37685         (__bzero): Don't use BP_SYM.
37686         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37687         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37688         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
37689         <bp-sym.h> and <bp-asm.h>.
37690         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37691         pointers.
37692         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
37693         <bp-sym.h> and <bp-asm.h>.
37694         (memcpy): Don't use BP_SYM.
37695         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
37696         <bp-sym.h> and <bp-asm.h>.
37697         (memset): Don't use BP_SYM.
37698         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37699         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37700         (__bzero): Don't use BP_SYM.
37701         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37702         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37703         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
37704         <bp-sym.h> and <bp-asm.h>.
37705         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37706         pointers.
37707         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
37708         <bp-sym.h> and <bp-asm.h>.
37709         (memcpy): Don't use BP_SYM.
37710         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
37711         <bp-sym.h> and <bp-asm.h>.
37712         (memset): Don't use BP_SYM.
37713         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37714         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37715         (__bzero): Don't use BP_SYM.
37716         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37717         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37718         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
37719         <bp-sym.h> and <bp-asm.h>.
37720         (__memchr): Don't use BP_SYM.
37721         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
37722         <bp-sym.h> and <bp-asm.h>.
37723         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37724         pointers.
37725         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
37726         <bp-sym.h> and <bp-asm.h>.
37727         (memcpy): Don't use BP_SYM.
37728         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
37729         <bp-sym.h> and <bp-asm.h>.
37730         (__mempcpy): Don't use BP_SYM.
37731         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
37732         <bp-sym.h> and <bp-asm.h>.
37733         (__memrchr): Don't use BP_SYM.
37734         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
37735         <bp-sym.h> and <bp-asm.h>.
37736         (memset): Don't use BP_SYM.
37737         (__bzero): Likewise.
37738         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
37739         <bp-sym.h> and <bp-asm.h>.
37740         (__rawmemchr): Don't use BP_SYM.
37741         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37742         <bp-sym.h> and <bp-asm.h>.
37743         (__STRCMP): Don't use BP_SYM.
37744         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37745         <bp-sym.h> and <bp-asm.h>.
37746         (strchr): Don't use BP_SYM.
37747         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37748         <bp-sym.h> and <bp-asm.h>.
37749         (__strchrnul): Don't use BP_SYM.
37750         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37751         <bp-sym.h> and <bp-asm.h>.
37752         (strlen): Don't use BP_SYM.
37753         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37754         <bp-sym.h> and <bp-asm.h>.
37755         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37756         pointers.
37757         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37758         <bp-sym.h> and <bp-asm.h>.
37759         (__strnlen): Don't use BP_SYM.
37760         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
37761         <bp-sym.h> and <bp-asm.h>.
37762         (__GI__setjmp): Don't use BP_SYM.
37763         (_setjmp): Likewise.
37764         (__sigsetjmp): Likewise.
37765         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
37766         (L(start_addresses)): Don't use BP_SYM.
37767         (_start): Likewise.
37768         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
37769         <bp-asm.h>.
37770         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
37771         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
37772         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37773         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37774         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
37775         <bp-asm.h>.
37776         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
37777         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
37778         about bounded pointers.
37779         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37780         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37781         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
37782         <bp-asm.h>.
37783         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37784         about bounded pointers.  Remove GKM FIXME comments.
37785         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37786         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
37787         <bp-asm.h>.
37788         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
37789         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
37790         Remove GKM FIXME comments.
37791         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37792         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37793         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
37794         <bp-asm.h>.
37795         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37796         about bounded pointers.  Remove GKM FIXME comment.
37797         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
37798         and <bp-asm.h>.
37799         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37800         pointers.
37801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
37802         <bp-sym.h> and <bp-asm.h>.
37803         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
37805         <bp-sym.h> and <bp-asm.h>.
37806         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37807         comment.
37809 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37811         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
37812         call free(NULL).
37814 2013-03-05  David S. Miller  <davem@davemloft.net>
37816         * po/es.po: Update from translation team.
37818 2013-03-05  Andreas Jaeger  <aj@suse.de>
37820         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
37821         <bits/mman-linux.h>.
37822         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37823         is fine.
37824         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
37825         <bits/mman-linux.h> to end of file.
37826         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37827         is fine.
37828         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
37829         <bits/mman-linux.h> to end of file.
37830         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37831         is fine.
37832         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
37833         <bits/mman-linux.h> to end of file.
37835         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
37836         (MCL_CURRENT, MCL_FUTURE): Define here.
37838 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37840         [BZ #15232]
37841         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
37842         attribute_hidden.
37843         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37845 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37847         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
37848         fourth parameter needed for rt_sigprocmask syscall.
37849         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37850         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37851         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
37852         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37853         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37854         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
37856 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
37858         [BZ #13550]
37859         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
37860         comment about bounded pointers.
37861         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
37862         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
37864 2013-03-04  Andreas Jaeger  <aj@suse.de>
37866         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
37867         common definitions.
37869         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
37870         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
37871         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
37872         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37873         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37874         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37876 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37878         [BZ #15055]
37879         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37880         __ieee754_sqrl instead of __sqrl.
37882 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
37884         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
37885         * sysdeps/powerpc/fpu_control.h: ... here.
37886         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
37887         * sysdeps/powerpc/bits/fenvinline.h: ... here.
37888         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
37889         * sysdeps/powerpc/bits/mathinline.h: ... here.
37891 2013-03-01  Roland McGrath  <roland@hack.frob.com>
37893         * elf/dl-hwcaps.c (_dl_important_hwcaps):
37894         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
37895         to just [NEED_DL_SYSINFO_DSO].
37896         * elf/dl-support.c: Likewise.
37897         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37898         * elf/rtld.c (dl_main): Likewise.
37899         * elf/setup-vdso.h (setup_vdso): Likewise.
37900         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
37901         * sysdeps/unix/sysv/linux/dl-sysdep.c
37902         (_dl_discover_osversion): Likewise.
37904 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
37906         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
37907         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37909 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37911         * NEWS: Mention libm performance improvements and non-x86 PI
37912         futex support.
37914         * csu/libc-start.c (__pthread_initialize_minimal): Change
37915         function arguments.
37916         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37918 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
37920         [BZ #13550]
37921         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
37922         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
37923         <bp-sym.h> and <bp-asm.h>.
37924         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37925         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
37926         and <bp-asm.h>.
37927         (memcpy): Don't use BP_SYM.
37928         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
37929         <bp-asm.h>.
37930         (__mpn_add_n): Don't use BP_SYM.
37931         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
37932         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
37933         and <bp-asm.h>.
37934         (__mpn_addmul_1): Don't use BP_SYM.
37935         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37936         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
37937         <bp-sym.h>.
37938         (_setjmp): Don't use BP_SYM.
37939         (__novmx_setjmp): Likewise.
37940         (__GI__setjmp): Likewise.
37941         (__vmx_setjmp): Likewise.
37942         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
37943         <bp-sym.h>.
37944         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
37945         (__bzero): Don't use BP_SYM.
37946         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37947         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37948         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
37949         <bp-sym.h> and <bp-asm.h>.
37950         (memcpy): Don't use BP_SYM.
37951         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
37952         <bp-sym.h> and <bp-asm.h>.
37953         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37954         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
37955         <bp-sym.h> and <bp-asm.h>.
37956         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37957         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
37958         <bp-asm.h>.
37959         (__mpn_lshift): Don't use BP_SYM.
37960         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37961         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
37962         <bp-asm.h>.
37963         (memset): Don't use BP_SYM.
37964         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37965         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37966         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
37967         <bp-asm.h>.
37968         (__mpn_mul_1): Don't use BP_SYM.
37969         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37970         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
37971         <bp-sym.h> and <bp-asm.h>.
37972         (memcmp): Don't use BP_SYM.
37973         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
37974         <bp-sym.h> and <bp-asm.h>.
37975         (memcpy): Don't use BP_SYM.
37976         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
37977         <bp-sym.h> and <bp-asm.h>.
37978         (memset): Don't use BP_SYM.
37979         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
37980         <bp-sym.h> and <bp-asm.h>.
37981         (strncmp): Don't use BP_SYM.
37982         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
37983         <bp-sym.h> and <bp-asm.h>.
37984         (memcpy): Don't use BP_SYM.
37985         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
37986         <bp-sym.h> and <bp-asm.h>.
37987         (memset): Don't use BP_SYM.
37988         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
37989         <bp-sym.h> and <bp-asm.h>.
37990         (__memchr): Don't use BP_SYM.
37991         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
37992         <bp-sym.h> and <bp-asm.h>.
37993         (memcmp): Don't use BP_SYM.
37994         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
37995         <bp-sym.h> and <bp-asm.h>.
37996         (memcpy): Don't use BP_SYM.
37997         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
37998         <bp-sym.h> and <bp-asm.h>.
37999         (__mempcpy): Don't use BP_SYM.
38000         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
38001         <bp-sym.h> and <bp-asm.h>.
38002         (__memrchr): Don't use BP_SYM.
38003         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
38004         <bp-sym.h> and <bp-asm.h>.
38005         (memset): Don't use BP_SYM.
38006         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
38007         <bp-sym.h> and <bp-asm.h>.
38008         (__rawmemchr): Don't use BP_SYM.
38009         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
38010         <bp-sym.h> and <bp-asm.h>.
38011         (__STRCMP): Don't use BP_SYM.
38012         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
38013         <bp-sym.h> and <bp-asm.h>.
38014         (strchr): Don't use BP_SYM.
38015         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
38016         <bp-sym.h> and <bp-asm.h>.
38017         (__strchrnul): Don't use BP_SYM.
38018         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
38019         <bp-sym.h> and <bp-asm.h>.
38020         (strlen): Don't use BP_SYM.
38021         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
38022         <bp-sym.h> and <bp-asm.h>.
38023         (strncmp): Don't use BP_SYM.
38024         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
38025         <bp-sym.h> and <bp-asm.h>.
38026         (__strnlen): Don't use BP_SYM.
38027         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
38028         <bp-asm.h>.
38029         (__mpn_rshift): Don't use BP_SYM.
38030         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38031         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
38032         <bp-sym.h> and <bp-asm.h>.
38033         (__sigsetjmp): Don't use BP_SYM.
38034         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
38035         (L(start_addresses)): Don't use BP_SYM.
38036         (_start): Likewise.
38037         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
38038         <bp-asm.h>.
38039         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
38040         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38041         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38042         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
38043         <bp-asm.h>.
38044         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
38045         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38046         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38047         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
38048         <bp-asm.h>.
38049         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
38050         comments.
38051         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38052         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
38053         <bp-asm.h>.
38054         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
38055         FIXME comments.
38056         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38057         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38058         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
38059         <bp-asm.h>.
38060         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
38061         comment.
38062         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
38063         and <bp-asm.h>.
38064         (strncmp): Don't use BP_SYM,
38065         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
38066         <bp-asm.h>.
38067         (__mpn_sub_n): Don't use BP_SYM.
38068         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38069         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
38070         and <bp-asm.h>.
38071         (__mpn_submul_1): Don't use BP_SYM.
38072         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
38074         <bp-sym.h> and <bp-asm.h>.
38075         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
38077         <bp-sym.h> and <bp-asm.h>.
38078         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
38079         comment.
38081 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38083         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
38084         Use ZK to minimize writes to Z.
38085         (sub_magnitudes): Simplify code a bit.
38086         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
38087         Use ZK to minimize writes to Z.
38088         (sub_magnitudes): Simplify code a bit.
38090 2013-02-27  Roland McGrath  <roland@hack.frob.com>
38092         * csu/gmon-start.c: Add special exception to license text.
38094 2013-02-27  Richard Henderson  <rth@redhat.com>
38096         * scripts/config.guess: Update from config.git.
38097         * scripts/config.sub: Likewise.
38099 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38101         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
38103         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
38105         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
38107         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
38109         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
38111 2013-02-26  Roland McGrath  <roland@hack.frob.com>
38113         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
38114         [$(build-shared = yes].
38116 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38118         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
38119         (__mul): Reduce iterations for calculating mantissa.
38121         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
38122         MPTWO.
38123         (__mpranred): Likewise.
38125         [BZ #15160]
38126         * malloc/memusagestat.c (main): Draw graphs for heap and stack
38127         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
38129 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
38131         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
38132         Define __attribute__.
38134 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38136         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
38137         unused.
38138         * posix/regex_internal.h (__attribute): Remove.
38139         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
38140         (re_string_context_at): Likewise.
38141         (bitset_not): Use __attribute__ and mark function as possibly
38142         unused.
38143         (bitset_merge): Likewise.
38144         (bitset_mask): Likewise.
38145         (re_string_char_size_at): Likewise.
38146         (re_string_wchar_at): Likewise.
38147         (re_string_elem_size_at): Likewise.
38149 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38151         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
38152         code.
38153         (cc32): Likewise.
38155         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
38156         (__acr): Likewise.
38157         (__cpy): Likewise.
38158         (norm): Likewise.
38159         (denorm): Likewise.
38160         (__dbl_mp): Likewise.
38161         (add_magnitudes): Likewise.
38162         (sub_magnitudes): Likewise.
38163         (__mul): Likewise.
38164         (__inv): Likewise.
38166         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
38167         style.
38169         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
38170         style.
38172         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
38173         code.
38175         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
38176         up changes with default code.
38177         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
38178         Likewise.
38180 2013-02-24  Allan McRae  <allan@archlinux.org>
38182         * manual/socket.texi (The Internet Namespace): Order menu items
38183         to match that in the file.
38185         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
38186         node listing of the info page menu.
38188 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
38190         [BZ #13550]
38191         * sysdeps/i386/bp-asm.h: Remove file.
38192         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38193         (PARMS): Do not use macros from bp-asm.h.
38194         (S1): Likewise.
38195         (S2): Likewise.
38196         (SIZE): Likewise.
38197         (__mpn_add_n): Do not use BP_SYM
38198         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
38199         "bp-asm.h".
38200         (PARMS): Do not use macros from bp-asm.h.
38201         (S1): Likewise.
38202         (SIZE): Likewise.
38203         (__mpn_addmul_1): Do not use BP_SYM
38204         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
38205         "bp-asm.h".
38206         (PARMS): Do not use macros from bp-asm.h.
38207         (SIGMSK): Likewise.
38208         (_setjmp): Likewise.  Do not use BP_SYM.
38209         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
38210         "bp-asm.h".
38211         (PARMS): Do not use macros from bp-asm.h.
38212         (SIGMSK): Likewise.
38213         (setjmp): Likewise.  Do not use BP_SYM.
38214         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
38215         "bp-asm.h".
38216         (PARMS): Do not use macros from bp-asm.h.
38217         (__frexp): Do not use BP_SYM.
38218         (frexp): Likewise.
38219         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
38220         "bp-asm.h".
38221         (PARMS): Do not use macros from bp-asm.h.
38222         (__frexpf): Do not use BP_SYM.
38223         (frexpf): Likewise.
38224         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
38225         "bp-asm.h".
38226         (PARMS): Do not use macros from bp-asm.h.
38227         (__frexpl): Do not use BP_SYM.
38228         (frexpl): Likewise.
38229         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
38230         "bp-asm.h".
38231         (PARMS): Do not use macros from bp-asm.h.
38232         (__remquo): Do not use BP_SYM.
38233         (remquo): Likewise.
38234         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
38235         "bp-asm.h".
38236         (PARMS): Do not use macros from bp-asm.h.
38237         (__remquof): Do not use BP_SYM.
38238         (remquof): Likewise.
38239         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
38240         "bp-asm.h".
38241         (PARMS): Do not use macros from bp-asm.h.
38242         (__remquol): Do not use BP_SYM.
38243         (remquol): Likewise.
38244         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
38245         "bp-asm.h".
38246         (PARMS): Do not use macros from bp-asm.h.
38247         (DEST): Likewise.
38248         (SRC): Likewise.
38249         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
38250         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
38251         "bp-asm.h".
38252         (PARMS): Do not use macros from bp-asm.h.
38253         (strlen): Do not use BP_SYM.
38254         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
38255         "bp-asm.h".
38256         (PARMS): Do not use macros from bp-asm.h.
38257         (S1): Likewise.
38258         (S2): Likewise.
38259         (SIZE): Likewise.
38260         (__mpn_add_n): Do not use BP_SYM.
38261         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
38262         "bp-asm.h".
38263         (PARMS): Do not use macros from bp-asm.h.
38264         (S1): Likewise.
38265         (SIZE): Likewise.
38266         (__mpn_addmul_1): Do not use BP_SYM.
38267         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
38268         weak_alias.
38269         (bzero): Likewise.
38270         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
38271         "bp-asm.h".
38272         (PARMS): Do not use macros from bp-asm.h.
38273         (S): Likewise.
38274         (SIZE): Likewise.
38275         (__mpn_lshift): Do not use BP_SYM.
38276         * sysdeps/i386/i586/memcpy.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         (LEN): Likewise.
38282         (memcpy): Likewise.  Do not use BP_SYM.
38283         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
38284         libc_hidden_def and weak_alias.
38285         (mempcpy): Do not use BP_SYM in weak_alias.
38286         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
38287         "bp-asm.h".
38288         (PARMS): Do not use macros from bp-asm.h.
38289         (DEST): Likewise.
38290         (LEN): Likewise.
38291         [!BZERO_P] (CHR): Likewise.
38292         (memset): Likewise.  Do not use BP_SYM.
38293         * sysdeps/i386/i586/mul_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_mul_1): Do not use BP_SYM.
38299         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
38300         "bp-asm.h".
38301         (PARMS): Do not use macros from bp-asm.h.
38302         (S): Likewise.
38303         (SIZE): Likewise.
38304         (__mpn_rshift): Do not use BP_SYM.
38305         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
38306         "bp-asm.h".
38307         (PARMS): Do not use macros from bp-asm.h.
38308         (STR): Likewise.
38309         (CHR): Likewise.
38310         (strchr): Likewise.  Do not use BP_SYM.
38311         (index): Do not use BP_SYM in weak_alias.
38312         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
38313         "bp-asm.h".
38314         (PARMS): Do not use macros from bp-asm.h.
38315         (DEST): Likewise.
38316         (SRC): Likewise.
38317         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
38318         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
38319         "bp-asm.h".
38320         (PARMS): Do not use macros from bp-asm.h.
38321         (strlen): Do not use BP_SYM.
38322         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
38323         "bp-asm.h".
38324         (PARMS): Do not use macros from bp-asm.h.
38325         (S1): Likewise.
38326         (S2): Likewise.
38327         (SIZE): Likewise.
38328         (__mpn_sub_n): Do not use BP_SYM.
38329         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
38330         "bp-asm.h".
38331         (PARMS): Do not use macros from bp-asm.h.
38332         (S1): Likewise.
38333         (SIZE): Likewise.
38334         (__mpn_submul_1): Do not use BP_SYM.
38335         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
38336         "bp-asm.h".
38337         (PARMS): Do not use macros from bp-asm.h.
38338         (S1): Likewise.
38339         (S2): Likewise.
38340         (SIZE): Likewise.
38341         (__mpn_add_n): Do not use BP_SYM.
38342         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
38343         weak_alias.
38344         (bzero): Likewise.
38345         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
38346         "bp-asm.h".
38347         (PARMS): Do not use macros from bp-asm.h.
38348         (BLK2): Likewise.
38349         (LEN): Likewise.
38350         (memcmp): Do not use BP_SYM.
38351         (bcmp): Do not use BP_SYM in weak_alias.
38352         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
38353         "bp-asm.h".
38354         (PARMS): Do not use macros from bp-asm.h.
38355         (DEST): Likewise.
38356         (SRC): Likewise.
38357         (LEN): Likewise.
38358         (memcpy): Likewise.  Do not use BP_SYM.
38359         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
38360         "bp-asm.h".
38361         (PARMS): Do not use macros from bp-asm.h.
38362         (DEST): Likewise.
38363         (SRC): Likewise.
38364         (LEN): Likewise.
38365         (memmove): Likewise.  Do not use BP_SYM.
38366         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
38367         "bp-asm.h".
38368         (PARMS): Do not use macros from bp-asm.h.
38369         (DEST): Likewise.
38370         (SRC): Likewise.
38371         (LEN): Likewise.
38372         (__mempcpy): Likewise.  Do not use BP_SYM.
38373         (mempcpy): Do not use BP_SYM in weak_alias.
38374         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
38375         "bp-asm.h".
38376         (PARMS): Do not use macros from bp-asm.h.
38377         (DEST): Likewise.
38378         (LEN): Likewise.
38379         [!BZERO_P] (CHR): Likewise.
38380         (memset): Likewise.  Do not use BP_SYM.
38381         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
38382         "bp-asm.h".
38383         (PARMS): Do not use macros from bp-asm.h.
38384         (STR2): Likewise.
38385         (strcmp): Do not use BP_SYM.
38386         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
38387         "bp-asm.h".
38388         (PARMS): Do not use macros from bp-asm.h.
38389         (STR): Likewise.
38390         (DELIM): Likewise.
38391         [USE_AS_STRTOK_R] (SAVE): Likewise.
38392         (FUNCTION): Likewise.  Do not use BP_SYM.
38393         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
38394         aliases.
38395         (strtok_r): Likewise.
38396         (__GI___strtok_r): Likewise.
38397         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38398         (PARMS): Do not use macros from bp-asm.h.
38399         (S): Likewise.
38400         (SIZE): Likewise.
38401         (__mpn_lshift): Do not use BP_SYM.
38402         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38403         (PARMS): Do not use macros from bp-asm.h.
38404         (STR): Likewise.
38405         (CHR): Likewise.
38406         (__memchr): Do not use BP_SYM.
38407         (memchr): Do not use BP_SYM in weak_alias.
38408         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38409         (PARMS): Do not use macros from bp-asm.h.
38410         (BLK2): Likewise.
38411         (LEN): Likewise.
38412         (memcmp): Do not use BP_SYM.
38413         (bcmp): Do not use BP_SYM in weak_alias.
38414         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
38415         (PARMS): Do not use macros from bp-asm.h.
38416         (S1): Likewise.
38417         (SIZE): Likewise.
38418         (__mpn_mul_1): Do not use BP_SYM.
38419         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
38420         "bp-asm.h".
38421         (PARMS): Do not use macros from bp-asm.h.
38422         (STR): Likewise.
38423         (CHR): Likewise.
38424         (__rawmemchr): Do not use BP_SYM.
38425         (rawmemchr): Do not use BP_SYM in weak_alias.
38426         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38427         (PARMS): Do not use macros from bp-asm.h.
38428         (S): Likewise.
38429         (SIZE): Likewise.
38430         (__mpn_rshift): Do not use BP_SYM.
38431         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38432         (PARMS): Do not use macros from bp-asm.h.
38433         (SIGMSK): Likewise.
38434         (__sigsetjmp): Likewise.  Do not use BP_SYM.
38435         * sysdeps/i386/start.S: Do not include "bp-sym.h".
38436         (_start): Do not use BP_SYM.
38437         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
38438         (PARMS): Do not use macros from bp-asm.h.
38439         (DEST): Likewise.
38440         (SRC): Likewise.
38441         (__stpcpy): Likewise.  Do not use BP_SYM.
38442         (stpcpy): Do not use BP_SYM in weak_alias.
38443         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
38444         "bp-asm.h".
38445         (PARMS): Do not use macros from bp-asm.h.
38446         (DEST): Likewise.
38447         (SRC): Likewise.
38448         (LEN): Likewise.
38449         (__stpncpy): Likewise.  Do not use BP_SYM.
38450         (stpncpy): Do not use BP_SYM in weak_alias.
38451         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38452         (PARMS): Do not use macros from bp-asm.h.
38453         (STR): Likewise.
38454         (CHR): Likewise.
38455         (strchr): Likewise.  Do not use BP_SYM.
38456         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
38457         "bp-asm.h".
38458         (PARMS): Do not use macros from bp-asm.h.
38459         (STR): Likewise.
38460         (CHR): Likewise.
38461         (__strchrnul): Likewise.  Do not use BP_SYM.
38462         (strchrnul): Do not use BP_SYM in weak_alias.
38463         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
38464         "bp-asm.h".
38465         (PARMS): Do not use macros from bp-asm.h.
38466         (STOP): Likewise.
38467         (strcspn): Do not use BP_SYM.
38468         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
38469         "bp-asm.h".
38470         (PARMS): Do not use macros from bp-asm.h.
38471         (STR): Likewise.
38472         (STOP): Likewise.
38473         (strpbrk): Likewise.  Do not use BP_SYM.
38474         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
38475         "bp-asm.h".
38476         (PARMS): Do not use macros from bp-asm.h.
38477         (STR): Likewise.
38478         (CHR): Likewise.
38479         (strrchr): Likewise.  Do not use BP_SYM.
38480         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
38481         (PARMS): Do not use macros from bp-asm.h.
38482         (SKIP): Likewise.
38483         (strspn): Do not use BP_SYM.
38484         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
38485         (PARMS): Do not use macros from bp-asm.h.
38486         (STR): Likewise.
38487         (DELIM): Likewise.
38488         (SAVE): Likewise.
38489         (FUNCTION): Likewise.  Do not use BP_SYM.
38490         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
38491         aliases.
38492         (strtok_r): Likewise.
38493         (__GI___strtok_r): Likewise.
38494         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38495         (PARMS): Do not use macros from bp-asm.h.
38496         (S1): Likewise.
38497         (S2): Likewise.
38498         (SIZE): Likewise.
38499         (__mpn_sub_n): Do not use BP_SYM.
38500         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
38501         "bp-asm.h".
38502         (PARMS): Do not use macros from bp-asm.h.
38503         (S1): Likewise.
38504         (SIZE): Likewise.
38505         (__mpn_submul_1): Do not use BP_SYM.
38506         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
38507         <bp-sym.h>.
38508         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
38509         and <bp-asm.h>.
38510         (PARMS): Do not use macros from bp-asm.h.
38511         (FLAGS): Likewise.
38512         (PTID): Likewise.
38513         (TLS): Likewise.
38514         (CTID): Likewise.
38515         (__clone): Do not use BP_SYM.
38516         (clone): Do not use BP_SYM in weak_alias.
38517         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
38518         and <bp-asm.h>.
38519         (PARMS): Do not use macros from bp-asm.h.
38520         (LEN): Likewise.
38521         (__mmap64): Do not use BP_SYM.
38522         (mmap64): Do not use BP_SYM in weak_alias.
38523         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38524         <bp-sym.h> and <bp-asm.h>.
38525         (PARMS): Do not use macros from bp-asm.h.
38526         (__posix_fadvise64_l64): Do not use BP_SYM.
38527         * sysdeps/unix/sysv/linux/i386/semtimedop.S
38528         (PARMS): Do not use macros from bp-asm.h.
38529         (NSOPS): Likewise.
38530         (semtimedop): Do not use BP_SYM.
38531         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
38532         and <bp-asm.h>.
38534 2013-02-21  Allan McRae  <allan@archlinux.org>
38536         * manual/message.texi (Charset conversion in gettext):
38537         Move @end statement to beginning of line.
38539 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38541         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
38542         static.
38543         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38544         Likewise.
38546         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
38547         (denorm): Likewise.
38548         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
38549         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
38551 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38553         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
38554         tail-call to the resolved function if pltexit isn't needed.
38556 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38558         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
38559         or Y being zero as being unlikely.
38560         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38561         Likewise.
38563 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
38565         * manual/nss.texi (System Databases and Name Service Switch):
38566         Remove frobnicate @pxref.
38568 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38570         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38571         __attribute__ ((unused)) to __attribute__ ((__unused__)).
38573 2013-02-20  Petr Machata  <pmachata@redhat.com>
38575         * elf/elf.h (R_ARM_TARGET1): New macro.
38576         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
38577         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
38578         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
38579         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
38580         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
38581         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
38582         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
38583         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
38584         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
38585         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
38586         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
38587         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
38588         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
38589         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
38590         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
38591         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
38592         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
38593         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
38594         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
38595         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
38596         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
38597         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
38598         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
38599         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
38600         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
38601         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
38602         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
38603         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
38604         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
38605         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
38606         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
38607         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
38608         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
38609         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
38610         (R_ARM_THM_GOT_BREL12): Likewise.
38611         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
38612         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
38613         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
38614         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
38615         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
38616         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
38617         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
38618         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
38619         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
38621 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38623         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38624         __attribute_used__ to __attribute__ ((unused)).
38626 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38628         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
38629         powerpc mpa.c.
38630         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
38631         comment formatting.
38632         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
38634 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
38636         [BZ #13550]
38637         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
38638         Remove macro.
38639         (ENTER): Remove both macro definitions.
38640         (LEAVE): Likewise.
38641         (CHECK_BOUNDS_LOW): Likewise.
38642         (CHECK_BOUNDS_HIGH): Likewise.
38643         (CHECK_BOUNDS_BOTH): Likewise.
38644         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
38645         (RETURN_BOUNDED_POINTER): Likewise.
38646         (RETURN_NULL_BOUNDED_POINTER): Likewise.
38647         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
38648         (POP_ERRNO_LOCATION_RETURN): Likewise.
38649         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
38650         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38651         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
38652         macros.
38653         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38654         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
38655         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
38656         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
38657         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
38658         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
38659         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
38660         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
38661         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
38662         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
38663         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
38664         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
38665         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38666         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
38667         removed macros.
38668         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38669         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
38670         macros.
38671         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38672         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
38673         * sysdeps/i386/i586/memset.S (memset): Likewise.
38674         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
38675         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38676         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
38677         macros.
38678         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38679         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
38680         Change uses of L(2) to L(out).
38681         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
38682         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
38683         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
38684         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38685         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
38686         removed macros.
38687         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38688         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
38689         macros.
38690         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38691         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
38692         (RETURN): Do not use macro LEAVE.
38693         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
38694         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
38695         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
38696         * sysdeps/i386/i686/memset.S (memset): Likewise.
38697         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
38698         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
38699         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38700         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
38701         Likewise.
38702         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38703         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
38704         L(1_2) and L(1_3) into L(1).
38705         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38706         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
38707         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38708         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
38709         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38710         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
38711         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
38712         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38713         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
38714         macros.
38715         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
38716         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38717         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
38718         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
38719         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
38720         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38721         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
38722         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
38723         * sysdeps/i386/strcspn.S (strcspn): Likewise.
38724         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
38725         * sysdeps/i386/strrchr.S (strrchr): Likewise.
38726         * sysdeps/i386/strspn.S (strspn): Likewise.
38727         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
38728         conditional code.
38729         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38730         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
38731         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38732         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
38733         L(1_3) into L(1_1).
38734         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
38735         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38736         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
38737         macros.
38738         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38740 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
38742         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38743         macro.
38745 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38747         * math/atest-exp.c (exp_mpn): Remove ROUND.
38748         * math/atest-exp2.c (exp_mpn): Likewise.
38749         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38751         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38752         * stdlib/tst-tls-atexit-lib.c: Likewise.
38753         * stdlib/tst-tls-atexit.c: Likewise.
38755 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38757         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38758         and __attribute_alloc_size__.
38760 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38762         * include/programs/xmalloc.h: Change __attribute_alloc_size to
38763         __attribute_alloc_size__.
38764         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
38765         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
38767 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38769         * include/programs/xmalloc.h: New file.
38770         * catgets/gencat.c: Include it.
38771         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
38772         * elf/pldd.c: Likewise.
38773         * iconv/iconv_charmap.c: Likewise.
38774         * iconv/iconvconfig.c: Likewise.
38775         * iconv/strtab.c: Likewise.
38776         * locale/programs/locale.c: Likewise.
38777         * locale/programs/localedef.h: Likewise.
38778         * locale/programs/simple-hash.c: Likewise.
38779         * nscd/nscd.h: Likewise.
38780         * nss/makedb.c: Likewise.
38781         * sysdeps/generic/ldconfig.h: Likewise.
38783 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38785         * Versions.def: Add GLIBC_2.18.
38786         * include/link.h (struct link_map): New member l_tls_dtor_count.
38787         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
38788         (__call_tls_dtors): Likewise.
38789         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
38790         __cxa_thread_atexit_impl.
38791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38792         Likewise.
38793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38794         Likewise.
38795         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38796         Likewise.
38797         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38798         Likewise.
38799         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38800         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
38801         Likewise.
38802         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
38803         Likewise.
38804         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38805         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38806         Likewise.
38807         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
38808         (tests): Add test case tst-tls-atexit.
38809         (modules-names): Add shared library for tst-tls-atexit.
38810         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
38811         (GLIBC_PRIVATE): Add __call_tls_dtors.
38812         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
38813         for libstdc++.
38814         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
38815         * stdlib/tst-tls-atexit.c: New test case.
38816         * stdlib/tst-tls-atexit-lib.c: New test case.
38818         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
38820         * elf/Versions (ld): Add _dl_find_dso_for_object.
38821         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
38822         * elf/dl-open.c (_dl_find_dso_for_object): New function.
38823         (dl_open_worker): Use _dl_find_dso_for_object.
38824         * elf/dl-sym.c (do_sym): Likewise.
38825         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
38827 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38829         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
38830         Syntactic changes only.
38831         (_dl_runtime_profile): Do a tail-call to the resolved function.
38833 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
38835         [BZ #13550]
38836         * sysdeps/x86_64/bp-asm.h: Remove file.
38837         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
38838         <bp-sym.h> and <bp-asm.h>.
38839         (__clone): Do not use BP_SYM.
38840         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
38841         <bp-sym.h> and <bp-asm.h>.
38842         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38843         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
38844         "bp-asm.h".
38845         (_setjmp): Do not use BP_SYM.
38846         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
38847         "bp-asm.h".
38848         (setjmp): Do not use BP_SYM.
38849         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
38850         libc_hidden_def.
38851         (mempcpy): Do not use BP_SYM in weak_alias.
38852         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
38853         "bp-asm.h".
38854         (strchr): Do not use BP_SYM.
38855         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
38856         "bp-asm.h".
38857         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
38858         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
38859         (_start): Do not use BP_SYM.
38860         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
38861         "bp-asm.h".
38862         (strcat): Do not use BP_SYM.
38863         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
38864         "bp-asm.h".
38865         (STRCMP): Do not use BP_SYM.
38866         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
38867         "bp-asm.h".
38868         (STRCPY): Do not use BP_SYM.
38869         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
38870         "bp-asm.h".
38871         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
38872         "bp-asm.h".
38873         (FUNCTION): Do not use BP_SYM.
38874         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
38875         weak_alias.
38876         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
38878 2013-02-17  Andreas Jaeger  <aj@suse.de>
38880         * time/Versions: Sort entries.
38881         * string/Versions: Likewise.
38882         * resolv/Versions: Likewise.
38883         * posix/Versions: Likewise.
38884         * iconv/Versions: Likewise.
38885         * elf/Versions: Likewise.
38886         * wcsmbs/Versions: Likewise.
38888 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38890         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
38891         loop termination condition.
38893         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
38894         variable to calculate EZ.
38895         (__sqr): Likewise.
38897         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
38898         the lower precision input.
38900 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
38902         [BZ #13550]
38903         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
38904         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
38905         (run-via-rtld-prefix): Do not handle %-bp tests.
38906         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
38907         (all-object-suffixes): Remove .ob.
38908         (bppfx): Remove variable.
38909         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
38910         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
38911         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
38912         [$(build-bounded) = yes] (libtype.ob): Likewise.
38913         * Makerules (elide-routines.ob): Remove variable.
38914         (do-tests-clean): Do not handle *-bp.out.
38915         (common-mostlyclean): Do not handle *-bp and *-bp.out.
38916         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
38917         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
38918         (tests): Do not include $(tests-bp.out).
38919         (xtests): Do not include $(xtests-bp.out).
38920         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
38921         [$(build-bounded) = yes] ($(addprefix
38922         $(objpfx),$(binaries-bounded))): Remove rule.
38923         ($(objpfx)%-bp.out): Remove rule.
38924         * config.make.in (build-bounded): Remove variable.
38925         * crypt/Makefile [$(build-bounded) = yes]
38926         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
38927         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
38928         append to variable.
38929         [$(build-bounded) = yes] (install-lib): Likewise.
38930         [$(build-bounded) = yes] (generated): Likewise.
38931         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
38932         Remove rule.
38933         * intl/Makefile [$(build-bounded) = yes]
38934         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
38935         * math/Makefile [$(build-bounded) = yes]
38936         ($(tests:%=$(objpfx)%-bp): Likewise.
38937         * misc/Makefile [$(build-bounded) = yes]
38938         ($(objpfx)tst-tsearch-bp): Likewise.
38939         * nptl/Makeconfig (bounded-thread-library): Remove variable.
38940         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
38941         Remove dependency.
38942         * string/Makefile (o-objects.ob): Remove variable.
38943         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
38944         (CFLAGS-.ob): Remove variable.
38945         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
38946         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
38947         both definitions of variable.
38948         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
38949         (ASFLAGS-.ob): Remove variable.
38951 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
38953         [BZ #13550]
38954         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
38955         Remove __BOUNDED_POINTERS__ from condition.
38956         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
38957         * string/bits/string2.h [!__NO_STRING_INLINES &&
38958         !__BOUNDED_POINTERS__]: Likewise.
38959         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
38960         Likewise.
38961         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
38962         Remove conditional code.
38963         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
38964         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
38965         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
38966         condition.
38968         [BZ #13550]
38969         * csu/libc-start.c: Do not include <bp-sym.h>.
38970         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
38971         * elf/dl-open.c: Do not include <bp-sym.h>.
38972         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
38973         * math/fegetenv.c: Do not include <bp-sym.h>.
38974         (fegetenv): Do not use BP_SYM in versioned symbols.
38975         * nptl/sysdeps/pthread/bits/libc-lockP.h
38976         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
38977         <bp-sym.h>.
38978         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38979         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
38980         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38981         (__pthread_mutex_destroy): Likewise.
38982         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38983         (__pthread_mutex_lock): Likewise.
38984         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38985         (__pthread_mutex_trylock): Likewise.
38986         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38987         (__pthread_mutex_unlock): Likewise.
38988         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38989         (__pthread_mutexattr_init): Likewise.
38990         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38991         (__pthread_mutexattr_destroy): Likewise.
38992         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38993         (__pthread_mutexattr_settype): Likewise.
38994         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38995         (__pthread_rwlock_init): Likewise.
38996         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38997         (__pthread_rwlock_destroy): Likewise.
38998         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38999         (__pthread_rwlock_rdlock): Likewise.
39000         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39001         (__pthread_rwlock_tryrdlock): Likewise.
39002         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39003         (__pthread_rwlock_wrlock): Likewise.
39004         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39005         (__pthread_rwlock_trywrlock): Likewise.
39006         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39007         (__pthread_rwlock_unlock): Likewise.
39008         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39009         (__pthread_key_create): Likewise.
39010         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39011         (__pthread_setspecific): Likewise.
39012         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39013         (__pthread_getspecific): Likewise.
39014         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
39015         Likewise.
39016         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39017         (_pthread_cleanup_push_defer): Likewise.
39018         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39019         (_pthread_cleanup_pop_restore): Likewise.
39020         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39021         (pthread_setcancelstate): Likewise.
39022         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
39023         <bp-sym.h>.
39024         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
39025         (memchr): Do not use BP_SYM in weak_alias.
39026         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
39027         (fegetenv): Do not use BP_SYM in versioned symbols.
39028         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
39029         (fesetenv): Do not use BP_SYM in versioned symbols.
39030         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39031         (feupdateenv): Do not use BP_SYM in versioned symbols.
39032         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39033         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39034         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
39035         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
39036         (open64): Do not use BP_SYM in weak_alias.
39037         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
39038         (fegetenv): Do not use BP_SYM in versioned symbols.
39039         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
39040         (fesetenv): Do not use BP_SYM in versioned symbols.
39041         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39042         (feupdateenv): Do not use BP_SYM in versioned symbols.
39043         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
39044         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
39045         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
39046         (feraiseexcept): Do not use BP_SYM in versioned symbols.
39047         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39048         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39049         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
39050         <bp-sym.h>.
39051         (__libc_start_main): Do not use BP_SYM.
39053 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39055         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
39056         redundant return line.
39057         (norm): Likewise.
39058         (denorm): Likewise.
39059         (dbl_mp): Likewise.
39060         (sub_magnitudes): Likewise.
39061         (__add): Likewise.
39062         (__sub): Likewise.
39063         (__mul): Likewise.
39064         (__inv): Likewise.
39065         (__dvd): Likewise.
39066         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
39067         (norm): Likewise.
39068         (denorm): Likewise.
39069         (dbl_mp): Likewise.
39070         (sub_magnitudes): Likewise.
39071         (__add): Likewise.
39072         (__sub): Likewise.
39073         (__mul): Likewise.
39074         (__inv): Likewise.
39075         (__dvd): Likewise.
39077         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
39078         instead of __mul.
39079         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39080         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
39081         (cc32): Likewise.
39083         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
39084         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
39085         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
39086         of __mul for squares.
39087         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
39088         function
39089         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
39090         Likewise.
39091         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
39092         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39094 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
39096         [BZ #13550]
39097         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
39098         code.
39099         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
39100         prototype or function definition.  Rename ubp_* variables and
39101         parameters.  Remove argv definitions conditional on
39102         [__BOUNDED_POINTERS__].
39103         * debug/backtrace.c (__backtrace): Do not use __unbounded.
39104         * elf/dl-runtime.c (_dl_fixup): Likewise.
39105         * include/set-hooks.h (RUN_HOOK): Likewise.
39106         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
39107         definition.
39108         * string/strcpy.c (strcpy): Do not use __unbounded.
39109         * sysdeps/generic/frame.h (struct layout): Likewise.
39110         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
39111         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
39112         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
39113         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
39114         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
39115         (__backtrace): Likewise.
39116         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
39117         use __ptrvalue.
39118         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
39119         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39120         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
39121         Likewise.
39122         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
39123         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
39124         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39125         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39126         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
39127         Do not use __unbounded.
39128         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
39129         Rename __unboundedrlimits parameter to rlimits in prototype.
39130         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
39131         Do not use __unbounded.
39132         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
39133         not use __ptrvalue.
39134         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39135         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
39136         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39137         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
39138         __ptrvalue or __unbounded.
39139         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
39140         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
39141         use __unbounded.
39142         (__new_msgctl): Do not use __ptrvalue.
39143         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
39144         __unbounded.
39145         (__libc_msgrcv): Do not use __ptrvalue.
39146         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
39147         startup_info): Do not use __unbounded.
39148         (__libc_start_main): Likewise.  Rename ubp_* variables and
39149         parameters.  Remove argv definitions conditional on
39150         [__BOUNDED_POINTERS__].
39151         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
39152         __ptrvalue.
39153         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
39154         use __unbounded.
39155         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
39156         or __ptrvalue.
39157         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
39158         use __unbounded.
39159         (__new_shmctl): Do not use __ptrvalue.
39160         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
39161         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
39162         Likewise.
39163         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
39164         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
39165         (__libc_sigaction): Likewise.
39166         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
39167         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
39168         Likewise.
39169         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39171 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
39173         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
39175         * string/mempcpy.c: Implement by calling memcpy.
39177 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39179         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
39181         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
39182         evaluation.
39184         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
39185         values in the mantissa.
39187         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
39188         minimize writes to Z.
39189         (sub_magnitudes): Simplify code a bit.
39191 2013-02-12  Roland McGrath  <roland@hack.frob.com>
39193         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
39194         from the message.  The linker prefixes all warnings with that already.
39196 2013-02-12  Andreas Schwab  <schwab@suse.de>
39198         [BZ #15078]
39199         * posix/regexec.c (extend_buffers): Add parameter min_len.
39200         (check_matching): Pass minimum needed length.
39201         (clean_state_log_if_needed): Likewise.
39202         (get_subexp): Likewise.
39203         * posix/Makefile (tests): Add bug-regex34.
39204         (bug-regex34-ENV): Define.
39205         * posix/bug-regex34.c: New file.
39207         [BZ #11561]
39208         * posix/regcomp.c (parse_bracket_exp): When looking up collating
39209         elements compare against the byte sequence of it, not its name.
39210         * posix/Makefile (tests): Add bug-regex35.
39211         (bug-regex35-ENV): Define.
39212         * posix/bug-regex35.c: New file.
39214 2013-02-11  Tom de Vries  <tom@codesourcery.com>
39216         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
39217         comment.
39218         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
39219         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
39220         (CHECK_EOL): Add undef.
39222 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
39224         * bits/stdlib-bsearch.h: New file.
39225         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
39226         * stdlib/stdlib.h: Likewise.
39228 2013-02-11  Roland McGrath  <roland@hack.frob.com>
39230         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
39231         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
39232         declaration.
39233         * manual/search.texi (Array Search Function): Add missing const in
39234         lfind prototype.
39235         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
39236         declaration to use rlim_t.
39237         (Basic Scheduling Functions): Remove erroneous const from
39238         sched_getparam prototype.  Remove erroneous * from
39239         sched_get_priority_max and sched_get_priority_min prototypes.
39240         (Resource Usage): Fix summary @comment on vtimes to refer to
39241         sys/vtimes.h rather than vtimes.h.
39242         Add missing *s in vtimes prototype.
39243         (Limits on Resources): Fix ulimit prototype to return long int.
39244         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
39245         prototypes to use long int rather than double.
39246         (BSD Random): Fix initstate and setstate to use char *, not void *.
39247         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
39248         prototype to make second argument 'struct aiocb64 *const[]'.
39249         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
39250         (Status of AIO Operations): Remove erroneous const in aio_return and
39251         aio_return64 prototypes.
39252         (Synchronizing I/O): Fix sync prototype to return void.
39253         * manual/startup.texi (Suboptions): Remove an erroneous const in
39254         getsubopt prototype.
39255         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
39256         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
39257         use size_t rather than int.
39258         (Scanning All Users): Likewise for getpwent_r.
39259         (Setting Groups): Add missing const to setgroups prototype.
39260         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
39261         * manual/socket.texi (Host Names): Fix gethostbyaddr and
39262         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
39263         'const void *' rather than 'const char *'.
39264         (Host Address Functions): Likewise for inet_ntop.
39265         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
39266         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
39267         ssize_t for return value.
39268         (Sending Data): Likewise for send, sendto, sendmsg.
39269         (Socket Option Functions): Add a missing const in setsockopt prototype.
39270         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
39271         use wchar_t for the argument.
39272         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
39273         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
39274         take no arguments.
39275         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
39276         double/float/long double for second argument.
39277         Fix return types of significand, significandf, significandl.
39278         * manual/filesys.texi (Setting Permissions): Use mode_t for second
39279         argument in fchmod prototype.
39280         (File Owner): Use uid_t and gid_t in fchown prototype.
39281         (File Times): Add const to utimes, futimes, and lutimes prototypes.
39282         (Making Special Files): Use mode_t and dev_t in mknod prototype.
39283         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
39284         use 'const struct dirent **' as argument types to CMP function pointer
39285         argument.
39286         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
39287         (File Times): Fix summary magic @comment for struct utimbuf and utime
39288         to refer to utime.h, not time.h.
39289         * manual/string.texi (Argz Functions): Add missing const in
39290         argz_extract and argz_next prototypes.
39291         (Finding Tokens in a String): Likewise for basename.
39292         (String/Array Comparison): Fix typo in wcscasecmp prototype.
39293         (Copying and Concatenation): Fix typo in wmemmove prototype.
39294         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
39295         (Signal Stack): Remove erroneous const in sigstack prototype.
39296         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
39297         prototype.
39298         (Simple Calendar Time): Likewise for stime.
39299         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
39300         prototype.
39301         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
39302         say sys/sysctl.h instead.
39303         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
39304         and vsyslog prototypes.
39306 2013-02-11  Tom de Vries  <tom@codesourcery.com>
39308         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
39309         Remove.
39311 2013-02-11  Roland McGrath  <roland@hack.frob.com>
39313         * misc/sys/mman.h: Fix typo in mremap comment.
39315 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39317         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
39318         the '\0' terminator.
39320 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39322         [BZ #13550]
39323         * debug/segfault.c: Don't include <bp-checks.h>.
39324         * sysdeps/generic/bp-checks.h: Remove file.
39325         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
39326         (__GETDENTS): Don't use CHECK_N.
39327         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
39328         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
39329         (__getgroups): Don't use CHECK_N.
39330         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
39331         (setgroups): Don't use CHECK_N.
39332         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
39333         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
39334         (__libc_msgrcv): Don't use CHECK_N.
39335         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
39336         (__libc_msgsnd): Don't use CHECK_N.
39337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
39338         <bp-checks.h>.
39339         (__libc_pread): Don't use CHECK_N.
39340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
39341         include <bp-checks.h>.
39342         (__libc_pread64): Don't use CHECK_N.
39343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
39344         include <bp-checks.h>.
39345         (__libc_pwrite): Don't use CHECK_N.
39346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
39347         include <bp-checks.h>.
39348         (__libc_pwrite64): Don't use CHECK_N.
39349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
39350         <bp-checks.h>.
39351         (__libc_pread): Don't use CHECK_N.
39352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
39353         include <bp-checks.h>.
39354         (__libc_pread64): Don't use CHECK_N.
39355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
39356         include <bp-checks.h>.
39357         (__libc_pwrite): Don't use CHECK_N.
39358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
39359         include <bp-checks.h>.
39360         (__libc_pwrite64): Don't use CHECK_N.
39361         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
39362         (do_pread): Don't use CHECK_N.
39363         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
39364         (do_pread64): Don't use CHECK_N.
39365         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
39366         (do_pwrite): Don't use CHECK_N.
39367         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
39368         (do_pwrite64): Don't use CHECK_N.
39369         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
39370         (__libc_readv): Don't use CHECK_N.
39371         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
39372         (semop): Don't use CHECK_N.
39373         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
39374         <bp-checks.h>.
39375         (semtimedop): Don't use CHECK_N.
39376         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
39377         (__libc_pread): Don't use CHECK_N.
39378         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
39379         <bp-checks.h>.
39380         (__libc_pread64): Don't use CHECK_N.
39381         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
39382         <bp-checks.h>.
39383         (__libc_pwrite): Don't use CHECK_N.
39384         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
39385         <bp-checks.h>.
39386         (__libc_pwrite64): Don't use CHECK_N.
39387         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
39388         <bp-checks.h>.
39389         (__libc_msgrcv): Don't use CHECK_N.
39390         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
39391         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
39392         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
39393         (__libc_writev): Don't use CHECK_N.
39395 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39397         * string/strcpy.c: Removed unused variable.
39399         * Makeconfig (+sysdep-includes): Define with := rather than =.
39400         Use an existing include/ subdir of each sysdeps dir before it.
39402 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39404         * nscd/connection.c (register_traced_file): Comment function.
39405         [HAVE_INOTIFY] (union __inev): Define.
39406         [HAVE_INOTIFY] (inotify_check_files): New function.
39407         [HAVE_INOTIFY] (clear_db_cache): Likewise.
39408         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
39409         clear_db_cache.
39410         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
39412 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39414         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
39415         loaded if not already and that a failure is permanent.
39417 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39419         [BZ #15006]
39420         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
39421         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
39423 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39425         [BZ #13550]
39426         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
39427         (CHECK_1_NULL_OK): Likewise.
39428         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
39429         (__fxstat): Do not use CHECK_1.
39430         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
39431         <bp-checks.h>.
39432         (___fxstat64): Do not use CHECK_1.
39433         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39434         <bp-checks.h>.
39435         (__fxstatat): Do not use CHECK_1.
39436         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39437         <bp-checks.h>.
39438         (__fxstatat64): Do not use CHECK_1.
39439         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
39440         <bp-checks.h>.
39441         (__fxstat): Do not use CHECK_1.
39442         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39443         <bp-checks.h>.
39444         (__fxstatat): Do not use CHECK_1.
39445         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39446         <bp-checks.h>.
39447         (__getresgid): Do not use CHECK_1.
39448         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39449         <bp-checks.h>.
39450         (__getresuid): Do not use CHECK_1.
39451         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
39452         <bp-checks.h>.
39453         (__lxstat): Do not use CHECK_1.
39454         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39455         <bp-checks.h>.
39456         (__old_msgctl): Do not use CHECK_1.
39457         (__new_msgctl): Likewise.
39458         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
39459         <bp-checks.h>.
39460         (__new_setrlimit): Do not use CHECK_1.
39461         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39462         <bp-checks.h>.
39463         (__old_shmctl): Do not use CHECK_1.
39464         (__new_shmctl): Likewise.
39465         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
39466         <bp-checks.h>.
39467         (__xstat): Do not use CHECK_1.
39468         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
39469         (__lxstat): Do not use CHECK_1.
39470         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
39471         <bp-checks.h>.
39472         (___lxstat64): Do not use CHECK_1.
39473         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
39474         (__old_msgctl): Do not use CHECK_1.
39475         (__new_msgctl): Likewise.
39476         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
39477         <bp-checks.h>.
39478         (__gettimeofday): Do not use CHECK_1.
39479         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
39480         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
39481         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
39482         <bp-checks.h>.
39483         (__gettimeofday): Do not use CHECK_1.
39484         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
39485         (__old_shmctl): Do not use CHECK_1_NULL_OK.
39486         (__new_shmctl): Do not use CHECK_1.
39487         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
39488         <bp-checks.h>.
39489         (do_sigtimedwait): Do not use CHECK_1.
39490         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
39491         <bp-checks.h>.
39492         (do_sigwaitinfo): Do not use CHECK_1.
39493         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
39494         <bp-checks.h>.
39495         (msgctl): Do not use CHECK_1.
39496         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
39497         <bp-checks.h>.
39498         (shmctl): Do not use CHECK_1.
39499         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
39500         (ustat): Do not use CHECK_1.
39501         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
39502         <bp-checks.h>.
39503         (__fxstat): Do not use CHECK_1.
39504         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39505         <bp-checks.h>.
39506         (__fxstatat): Do not use CHECK_1.
39507         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
39508         <bp-checks.h>.
39509         (__lxstat): Do not use CHECK_1.
39510         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
39511         <bp-checks.h>.
39512         (__xstat): Do not use CHECK_1.
39513         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
39514         (__xstat): Do not use CHECK_1.
39515         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
39516         (___xstat64): Do not use CHECK_1.
39518         [BZ #13550]
39519         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
39520         definitions.
39521         (CHECK_BOUNDS_HIGH): Likewise.
39522         * string/strcpy.c: Do not include <bp-checks.h>.
39523         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
39525 2013-02-07  Roland McGrath  <roland@hack.frob.com>
39527         * nscd/nscd-client.h (__nscd_drop_map_ref):
39528         Add __attribute__ ((unused)).
39529         * nis/nss-nisplus.h (niserr2nss): Likewise.
39531         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
39532         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
39534         * csu/libc-tls.c (init_static_tls, init_slotinfo):
39535         Remove inline keyword.
39536         * include/rounding-mode.h (round_away): Likewise.
39537         * libio/wfileops.c (adjust_wide_data): Likewise.
39538         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
39539         (__m128i_strloadu_tolower): Likewise.
39540         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
39541         (__m128i_strloadu_tolower): Likewise.
39542         * time/mktime.c (ydhms_diff): Likewise.
39543         * locale/elem-hash.h (elem_hash): Likewise.
39544         * locale/setlocale.c (setdata): Likewise.
39545         * posix/regex_internal.h (re_string_char_size_at): Likewise.
39546         (re_string_wchar_at): Likewise.
39547         (bitset_not, bitset_merge, bitset_mask): Likewise.
39548         [!(__GNUC__ > 3)] (inline): Remove macro.
39549         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
39550         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
39551         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
39552         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
39553         * string/memcmp.c (memcmp_bytes): Likewise.
39554         * locale/programs/locarchive.c (compute_hashval): Likewise.
39555         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
39556         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
39557         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
39558         * nss/getent.c (print_rpc, print_protocols): Likewise.
39559         (print_passwd, print_group, print_aliases): Likewise.
39560         * nis/nss-nisplus.h (niserr2nss): Likewise.
39561         * nscd/connections.c (restart_p): Likewise.
39562         Change return type to bool.
39564 2013-02-05  Roland McGrath  <roland@hack.frob.com>
39566         * Makeconfig (all-Depend-files): Add existing
39567         $(sorted-subdirs:=/Depend) files.
39568         (all-subdirs): Remove nss.
39569         * sysdeps/unix/inet/Subdirs: Add it here instead.
39570         * hesiod/Depend: New file.
39572         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
39573         instead of calling alloca.
39575         * io/lseek.c (__lseek): Rename to __libc_lseek.
39576         Define __lseek as an alias.
39578         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
39580 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
39582         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
39583         else clause and remove check for non-standard endianness.
39585 2013-02-04  David S. Miller  <davem@davemloft.net>
39587         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39589 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
39591         [BZ #13550]
39592         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
39593         (__ubp_memchr): Remove prototype.
39594         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
39595         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39596         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
39597         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39598         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
39599         Remove alias.
39600         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
39601         (__ubp_memchr): Likewise.
39602         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
39603         (__ubp_memchr): Likewise.
39604         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
39605         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
39606         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
39607         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
39608         CHECK_STRING.
39609         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39610         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
39611         (__getcwd): Do not use CHECK_STRING.
39612         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39613         <bp-checks.h>.
39614         (__real_chown): Do not use CHECK_STRING.
39615         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
39616         <bp-checks.h>.
39617         (fchownat): Do not use CHECK_STRING.
39618         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
39619         CHECK_STRING.
39620         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39621         <bp-checks.h>.
39622         (__lchown): Do not use CHECK_STRING.
39623         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39624         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39625         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39626         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
39627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39628         include <bp-checks.h>.
39629         (truncate64): Do not use CHECK_STRING.
39630         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39631         <bp-checks.h>.
39632         (__real_chown): Do not use CHECK_STRING.
39633         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39634         <bp-checks.h>.
39635         (__lchown): Do not use CHECK_STRING.
39636         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39637         <bp-checks.h>.
39638         (__chown): Do not use CHECK_STRING.
39639         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
39640         <bp-checks.h>.
39641         (truncate64): Do not use CHECK_STRING.
39642         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
39643         Likewise.
39644         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
39645         (__xmknod): Do not use CHECK_STRING.
39646         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39647         <bp-checks.h>.
39648         (__xmknodat): Do not use CHECK_STRING.
39649         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39650         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
39652 2013-02-04  Andreas Schwab  <schwab@suse.de>
39654         [BZ #14142]
39655         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
39656         * include/netdb.h: Likewise for h_errno.
39657         * elf/tst-stackguard1.c: Include <tls.h>.
39659 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
39661         * elf/link.h (struct link_map): Extend the l_addr comment.
39662         * include/link.h (struct link_map): Likewise.
39664 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
39666         [BZ #13550]
39667         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
39668         (BOUNDED_1): Remove macro.
39669         * debug/backtrace.c: Don't include <bp-checks.h>.
39670         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
39671         (__backtrace): Likewise.
39672         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
39673         <bp-checks.h>.
39674         (__backtrace): Don't use BOUNDED_1.
39675         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
39676         <bp-checks.h>.
39677         (__backtrace): Don't use BOUNDED_1.
39678         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
39679         (__backtrace): Don't use BOUNDED_1.
39680         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
39681         (shmat): Don't use BOUNDED_N.
39683 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
39685         [BZ #13550]
39686         * sysdeps/generic/bp-start.h: Remove file.
39687         * csu/libc-start.c: Don't include <bp-start.h>.
39688         (LIBC_START_MAIN): Set up __environ directly instead of using
39689         INIT_ARGV_and_ENVIRON.
39690         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
39691         <bp-start.h>.
39693         [BZ #13550]
39694         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
39695         definitions.
39696         (CHECK_FCNTL): Likewise.
39697         (CHECK_N_PAGES): Likewise.
39699         [BZ #13550]
39700         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
39701         definitions.
39702         (CHECK_SIGSET_NULL_OK): Likewise.
39703         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
39704         <bp-checks.h>.
39705         (sigpending): Don't use CHECK_SIGSET.
39706         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
39707         <bp-checks.h>.
39708         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39709         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
39710         <bp-checks.h>.
39711         (do_sigsuspend): Don't use CHECK_SIGSET.
39712         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
39713         use CHECK_SIGSET.
39714         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
39715         (do_sigwait): Don't use CHECK_SIGSET.
39716         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
39717         use CHECK_SIGSET.
39718         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
39719         include <bp-checks.h>.
39720         (sigpending): Don't use CHECK_SIGSET.
39721         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
39722         include <bp-checks.h>.
39723         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39724         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
39725         <bp-checks.h>.
39726         (sigpending): Don't use CHECK_SIGSET.
39727         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
39728         <bp-checks.h>.
39729         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39731         [BZ #13550]
39732         * sysdeps/generic/bp-semctl.h: Remove file.
39733         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
39734         <bp-checks.h> and <bp-semctl.h>.
39735         (__old_semctl): Don't use CHECK_SEMCTL.
39736         (__new_semctl): Likewise.
39737         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
39738         and <bp-semctl.h>.
39739         (__old_semctl): Don't use CHECK_SEMCTL.
39740         (__new_semctl): Likewise.
39741         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39742         <bp-checks.h> and <bp-semctl.h>.
39743         (__old_semctl): Don't use CHECK_SEMCTL.
39744         (__new_semctl): Likewise.
39745         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39746         <bp-checks.h> and <bp-semctl.h>.
39747         (semctl): Don't use CHECK_SEMCTL.
39749         [BZ #13550]
39750         * Makerules (elide-bp-thunks): Remove variable.
39751         (elide-routines.oS): Don't use $(elide-bp-thunks).
39752         (elide-routines.os): Likewise.
39753         (elide-routines.o): Likewise.
39754         (elide-routines.op): Likewise.
39755         (elide-routines.og): Likewise.
39756         (objects): Don't use $(bp-thunks).
39757         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39758         include.
39759         (common-generated): Do not add s-proto-bp.d.
39760         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
39761         (int): Likewise.
39762         (typ): Likewise.
39763         Do not generate makefile rules for bounded-pointer thunks.
39764         * sysdeps/generic/bp-thunks.h: Remove file.
39765         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
39766         * sysdeps/unix/s-proto-bp.S: Likewise.
39768         [BZ #15062]
39769         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
39770         parts of result separately when argument is not close to line from
39771         -i to i and one part of argument is small.
39772         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39773         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39774         * math/libm-test.inc (cacos_test): Add more tests.
39775         (casin_test): Likewise.
39776         (casinh_test): Likewise.
39777         * sysdeps/i386/fpu/libm-test-ulps: Update.
39778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39780 2013-01-31  David S. Miller  <davem@davemloft.net>
39782         * po/de.po: Update from translation team.
39784 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
39786         * time/tzfile.c: Include stdint.h for SIZE_MAX.
39788 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
39790         * configure.in (_AC_PROG_CC_C89): New definition.
39791         * configure: Regenerate.
39793         * configure.in (AC_PROG_CPP): New definition.
39794         * configure: Regenerate.
39796 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39798         * debug/tst-backtrace.h: New file.
39799         * debug/tst-backtrace2.c: Include tst-backtrace.h.
39800         (ret): Remove variable.
39801         (x): Likewise.
39802         (FAIL): Remove macro.
39803         (NO_INLINE): Likewise.
39804         (fn1): Use match function instead of strstr.
39805         * debug/tst-backtrace3.c: Include tst-backtrace.h.
39806         (ret): Remove variable.
39807         (x): Likewise.
39808         (FAIL): Remove macro.
39809         (NO_INLINE): Likewise.
39810         (fn): Use match function instead of strstr.
39811         * debug/tst-backtrace4.c: Include tst-backtrace.h.
39812         (ret): Remove variable.
39813         (x): Likewise.
39814         (FAIL): Remove macro.
39815         (NO_INLINE): Likewise.
39816         (handle_signal): Use match function instead of strstr.
39817         * debug/tst-backtrace5.c: Include tst-backtrace.h.
39818         (ret): Remove variable.
39819         (x): Likewise.
39820         (FAIL): Remove macro.
39821         (NO_INLINE): Likewise.
39822         (handle_signal): Use match function instead of strstr.
39824 2013-01-23  Roland McGrath  <roland@hack.frob.com>
39826         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
39828 2013-01-23  David S. Miller  <davem@davemloft.net>
39830         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
39831         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
39832         argument of CAS if possible.
39833         * sysdeps/sparc/sparc64/bits/atomic.h
39834         (__arch_compare_and_exchange_val_32_acq): Likewise.
39835         (__arch_compare_and_exchange_val_64_acq): Likewise.
39837 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
39839         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
39840         * sysdeps/posix/ulimit.c: ... this.
39841         Include <limits.h>.
39842         * sysdeps/unix/bsd/ulimit.c: Remove file.
39844 2013-01-23  Adam Conrad  <adconrad@0c3.net>
39846         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
39847         (LDFLAGS-tst-array5): Likewise.
39849 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39851         [BZ #15036]
39852         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
39853         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
39854         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
39855         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
39857 2013-01-21  David S. Miller  <davem@davemloft.net>
39859         * sysdeps/sparc/backtrace.c: New file.
39860         * sysdeps/sparc/sparc32/backtrace.h: New file.
39861         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
39862         * sysdeps/sparc/sparc64/backtrace.h: New file.
39863         * sysdeps/sparc/sparc64/backtrace.c: Delete.
39864         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
39865         -funwind-tables.
39867 2013-01-21  Andreas Schwab  <schwab@suse.de>
39869         [BZ #15020]
39870         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
39871         closed its stdout.
39873 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
39875         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
39876         "mpa2.h".
39877         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39879 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
39880             Mark Mitchell  <mark@codesourcery.com>
39881             Tom de Vries  <tom@codesourcery.com>
39882             Paul Pluzhnikov  <ppluzhnikov@google.com>
39884         * debug/tst-backtrace2.c: New file.
39885         * debug/tst-backtrace3.c: Likewise.
39886         * debug/tst-backtrace4.c: Likewise.
39887         * debug/tst-backtrace5.c: Likewise.
39888         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
39889         (CFLAGS-tst-backtrace3.c): Likewise.
39890         (CFLAGS-tst-backtrace4.c): Likewise.
39891         (CFLAGS-tst-backtrace5.c): Likewise.
39892         (LDFLAGS-tst-backtrace2): Likewise.
39893         (LDFLAGS-tst-backtrace3): Likewise.
39894         (LDFLAGS-tst-backtrace4): Likewise.
39895         (LDFLAGS-tst-backtrace5): Likewise.
39896         (tests): Add new tests tst-backtrace2, tst-backtrace3,
39897         tst-backtrace4 and tst-backtrace5.
39899 2013-01-18  Anton Blanchard  <anton@samba.org>
39900             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39902         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
39903         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
39904         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
39905         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
39906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39907         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
39908         "+r" and remove output regs list as redundant.  Add explicit inline
39909         asm to specify register of return val to work around compiler codegen
39910         bug.  Remove (int) cast on return value.  Add return type parameter to
39911         use in macro so that this macro does not truncate return value for
39912         64-bit values.
39913         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
39914         pass to INTERNAL_VSYSCALL_NCS.
39915         (INLINE_VSYSCALL): Add 'long int' as return type to
39916         INTERNAL_VSYSCALL_NCS macro invocation.
39917         (INTERNAL_VSYSCALL): Add 'long int' as return type to
39918         INTERNAL_VSYSCALL_NCS macro invocation.
39919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39921 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39923         [BZ #14496]
39924         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
39925         Fix application of SIMD FP exception mask.
39927         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
39928         mp_no from a power of two.
39929         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
39930         __mpexp_twomm1.  Use __pow_mp.
39932         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
39933         multiplication.
39935 2013-01-17  David S. Miller  <davem@davemloft.net>
39937         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39939 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39941         [BZ #15023]
39942         * include/complex.h: Condition contents on [!_COMPLEX_H].
39943         (__kernel_casinhf): New prototype.
39944         (__kernel_casinh): Likewise.
39945         (__kernel_casinhl): Likewise.
39946         * math/Makefile (libm_calls): Add k_casinh.
39947         * math/k_casinh.c: New file.
39948         * math/k_casinhf.c: Likewise.
39949         * math/k_casinhl.c: Likewise.
39950         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
39951         finite nonzero arguments.
39952         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
39953         finite nonzero arguments.
39954         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
39955         finite nonzero arguments.
39956         * math/s_casinh.c: Do not include <float.h>.
39957         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
39958         * math/s_casinhf.c: Do not include <float.h>.
39959         (__casinhf): Move code for finite nonzero arguments to
39960         k_casinhf.c.
39961         * math/s_casinhl.c: Do not include <float.h>.
39962         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
39963         redefine.
39964         (__casinhl): Move code for finite nonzero arguments to
39965         k_casinhl.c.
39966         * math/libm-test.inc (cacos_test): Add more tests.
39967         * sysdeps/i386/fpu/libm-test-ulps: Update.
39968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39970 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
39972         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
39973         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
39974         [!HAVE_MREMAP]: Remove [defined linux] case.
39975         * malloc/arena.c: Do not include <malloc-sysdep.h>.
39977 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39979         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
39981 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
39983         * elf/elf.h (R_386_SIZE32): New relocation.
39984         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
39985         R_386_SIZE32.
39986         (elf_machine_rela): Likewise.
39987         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39988         R_X86_64_SIZE64 and R_X86_64_SIZE32.
39990 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39992         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
39993         (FP_FAST_FMA): Do not define.
39994         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
39995         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
39996         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
39997         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
39998         !_SOFT_FLOAT]: Likewise.
39999         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
40000         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
40001         value.
40002         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
40003         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
40004         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
40005         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
40006         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
40007         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
40008         file.
40010 2013-01-16  Andreas Schwab  <schwab@suse.de>
40012         [BZ #14327]
40013         * include/stdlib.h (__mktemp): Add declaration.
40014         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
40015         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
40017 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40019         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
40020         definitions.
40021         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40022         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
40023         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
40024         definitions here.
40025         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
40026         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
40027         definitions.
40028         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
40029         and ONE.
40030         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
40031         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
40032         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
40033         definitions.
40034         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
40035         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
40036         definitions.
40037         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40039         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
40041 2013-01-15  David S. Miller  <davem@davemloft.net>
40043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40044         trunc{,f} to libm-sysdep_routes.
40045         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
40047         file.
40048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
40049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
40050         file.
40051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
40052         file.
40053         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
40054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
40055         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
40056         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
40057         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
40058         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
40059         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
40060         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
40062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40063         nearbyint{,f} to libm-sysdep_routes.
40064         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
40066         New file.
40067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
40068         file.
40069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
40070         New file.
40071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
40072         file.
40073         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
40074         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
40075         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
40076         file.
40077         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
40078         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
40079         file.
40080         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
40081         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
40082         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
40084         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40085         libc_feholdexcept and libc_fesetenv.
40087 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
40089         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
40091 2013-01-14  David S. Miller  <davem@davemloft.net>
40093         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
40094         (SPARC_ASM_VIS2_IFUNC): Likewise.
40095         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
40096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
40097         use of 'siam' instruction.
40098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
40099         Likewise.
40100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
40101         Likewise.
40102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
40103         Likewise.
40104         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
40105         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
40106         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
40107         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
40108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
40109         file.
40110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
40111         file.
40112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
40113         file.
40114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
40115         file.
40116         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
40117         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
40118         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
40119         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
40120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
40121         new VIS2 routines.
40122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40125         Likewise.
40126         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40127         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40128         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40129         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
40131         routines to libm-sysdep_routines.
40132         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40135         fdim/fdimf to libm-sysdep_routines.
40136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
40137         file.
40138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
40139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
40140         file.
40141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
40142         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
40143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
40144         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
40145         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
40146         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
40147         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
40149 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40151         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
40152         to optimize copies.
40154         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
40155         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40156         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40158         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
40159         local variable MPTWO.
40160         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40161         Likewise.
40163 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40165         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
40166         GLOB_NOESCAPE.
40168 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40170         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
40172 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
40174         * manual/pattern.texi (glob_t): Document gl_flags.
40175         (glob64_t): Likewise.
40177 2013-01-11  David S. Miller  <davem@davemloft.net>
40179         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
40180         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
40181         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
40182         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
40183         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
40184         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
40185         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
40186         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
40187         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
40188         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
40189         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
40190         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
40191         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
40193         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40194         sparc V9 rather than using V8 code.
40195         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40196         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40198         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40199         Move to...
40200         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
40201         Here.
40203 2013-01-11  Roland McGrath  <roland@hack.frob.com>
40205         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
40206         not in the main loop.
40207         * configure: Regenerated.
40209 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
40211         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
40212         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
40213         to just #else.
40214         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
40215         [!__GLIBC_HAVE_LONG_LONG] case.
40216         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
40217         condition to just #else.
40218         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
40219         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
40220         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
40221         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
40222         unconditional.
40223         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
40224         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40225         #elif condition to just #else.
40226         * sysdeps/unix/sysv/linux/sys/sysmacros.h
40227         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
40228         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40229         #elif condition to just #else.
40231 2013-01-11  Steve Ellcey  <sellcey@mips.com>
40233         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
40234         (EF_MIPS_ARCH_64): Fix value.
40235         (EF_MIPS_ARCH_32R2): New.
40236         (EF_MIPS_ARCH_64R2): New.
40238 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
40240         * Makeconfig (+link-pie-before-libc): New.
40241         (+link-pie-after-libc): Likewise.
40242         (+link-pie-tests): Likewise.
40243         (+link-pie): Rewritten.
40244         (link-before-libc): Remove $(config-LDFLAGS).
40245         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
40246         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
40247         (config-LDFLAGS): Renamed to ...
40248         (rtld-LDFLAGS): This.
40249         (rtld-tests-LDFLAGS): New macro.
40250         (link-libc-rpath-link): Likewise.
40251         (link-libc-tests-rpath-link): Likewise.
40252         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
40253         (link-libc): Prepand $(link-libc-rpath-link).
40254         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
40255         (test-program-prefix): New macro.
40256         (test-via-rtld-prefix): Likewise.
40257         (test-program-cmd): Likewise.
40258         (host-test-program-cmd): Likewise.
40259         * Makefile ($(common-objpfx)testrun.sh): Replace
40260         $(run-program-prefix) with $(test-program-prefix).
40261         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
40262         $(rtld-LDFLAGS).
40263         ($(common-objpfx)shlib.lds): Likewise.
40264         (build-module-helper): Likewise.
40265         ($(common-objpfx)format.lds): Likewise.
40266         * Rules (binaries-pie-tests): New.
40267         (binaries-pie-notests): Likewise.
40268         (binaries-pie): Rewritten.
40269         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
40270         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
40271         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
40272         (make-test-out): Replace $(host-built-program-cmd) with
40273         $(host-test-program-cmd).
40274         * config.make.in (build-hardcoded-path-in-tests): New variable.
40275         * configure.in (--enable-hardcoded-path-in-tests): New configure
40276         option.
40277         (hardcoded_path_in_tests): New AC_SUBST.
40278         * configure: Regenerated.
40279         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
40280         $(built-program-cmd) with $(test-program-cmd).
40281         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
40282         (test_program_cmd): This.
40283         * elf/Makefile ($(objpfx)order.out): Run test with
40284         $(test-program-prefix).
40285         ($(objpfx)order2.out): Likewise.
40286         ($(objpfx)tst-initorder.out): Likewise.
40287         ($(objpfx)tst-initorder2.out): Likewise.
40288         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
40289         $(test-program-cmd).
40290         ($(objpfx)tst-array1-static.out): Likewise.
40291         ($(objpfx)tst-array2.out): Likewise.
40292         ($(objpfx)tst-array3.out): Likewise.
40293         ($(objpfx)tst-array4.out): Likewise.
40294         ($(objpfx)tst-array5.out): Likewise.
40295         ($(objpfx)tst-array5-static.out): Likewise.
40296         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
40297         $(test-program-cmd).
40298         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
40299         $(run-program-prefix) with $(test-program-prefix).
40300         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
40301         (test_program_prefix): This.
40302         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
40303         $(run-program-prefix) with $(test-program-prefix).
40304         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
40305         (test_program_prefix): This.
40306         * iconvdata/tst-tables.sh: Likewise.
40307         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
40308         $(run-program-prefix) with $(test-program-prefix).
40309         ($(objpfx)tst-translit.out): Likewise.
40310         ($(objpfx)tst-gettext2.out): Likewise.
40311         ($(objpfx)tst-gettext4.out): Likewise.
40312         ($(objpfx)tst-gettext6.out): Likewise.
40313         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
40314         (test_program_prefix): This.
40315         * intl/tst-gettext2.sh: Likewise.
40316         * intl/tst-gettext4.sh  Likewise.
40317         * intl/tst-gettext6.sh: Likewise.
40318         * intl/tst-translit.sh: Likewise.
40319         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
40320         with $(test-program-cmd).
40321         * libio/Makefile ($(objpfx)test-freopen.out): Replace
40322         $(run-program-prefix) with $(test-program-prefix).
40323         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
40324         (test_program_prefix): This.
40325         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
40326         $(run-program-prefix) with $(test-program-prefix).
40327         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
40328         (test_program_prefix): This.
40329         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
40330         * posix/Makefile ($(objpfx)globtest.out): Replace
40331         $(run-via-rtld-prefix) and $(test-wrapper) with
40332         $(test-program-prefix) and $(test-via-rtld-prefix).
40333         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
40334         $(test-program-prefix).
40335         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
40336         $(host-test-program-cmd).
40337         (tst-spawn-ARGS): Likewise.
40338         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
40339         $(test-program-prefix).
40340         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
40341         (test_via_rtld_prefix): This.
40342         (test_wrapper): Renamed to ...
40343         (test_program_prefix): This.
40344         (run_program_prefix): Replaced by test_program_prefix.
40345         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
40346         (test_program_prefix): This.
40347         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
40348         with $(host-test-program-cmd).
40349         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
40350         $(run-program-prefix) with $(test-program-prefix).
40351         ($(objpfx)tst-printf.out): Likewise.
40352         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
40353         $(test-program-cmd).
40354         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
40355         (test_program_prefix): This.
40356         * stdio-common/tst-unbputc.sh: Likewise.
40357         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
40358         $(run-program-prefix) with $(test-program-prefix).
40359         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
40360         (test_program_prefix): This.
40361         * string/Makefile ($(objpfx)tst-svc.out):  Replace
40362         $(built-program-cmd) with $(test-program-cmd).
40364 2013-01-11  Andreas Jaeger  <aj@suse.de>
40366         [BZ #15003]
40367         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
40368         value. Sync with Linux 3.7.
40370 2013-01-10  David S. Miller  <davem@davemloft.net>
40372         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
40373         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40374         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40376 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40378         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
40379         never set.
40380         * configure: Regenerated.
40382 2013-01-10  David S. Miller  <davem@davemloft.net>
40384         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40385         sparc V9 rather than using V8 code.
40386         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40387         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40389 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40391         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
40392         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
40393         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
40394         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
40395         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
40396         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
40397         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
40398         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
40399         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
40400         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
40401         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
40402         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
40403         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
40404         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
40405         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
40406         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
40407         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
40408         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
40409         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
40410         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
40411         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
40412         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
40413         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
40414         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
40415         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
40416         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
40417         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
40419 2013-01-10  David S. Miller  <davem@davemloft.net>
40421         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40423 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40425         * posix/Makefile (tests-static): New variable.
40426         (tests): Add $(tests-static).
40427         (tst-exec-static-ARGS): New variable.
40428         (tst-spawn-static-ARGS): Likewise.
40429         * posix/tst-exec-static.c: New file.
40430         * posix/tst-spawn-static.c: Likewise.
40431         * posix/tst-exec.c: Support run directly.
40432         * posix/tst-spawn.c: Likewise.
40434 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
40436         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
40437         long.
40438         * math/bits/mathcalls.h (llrint): Likewise.
40439         (llround): Likewise.
40440         * stdlib/stdlib.h (struct drand48_data): Likewise.
40441         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
40442         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
40443         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
40444         Likewise.
40445         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
40446         Likewise.
40447         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
40448         (elf_greg_t): Likewise.
40449         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
40450         (__jmp_buf): Likewise.
40451         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
40452         definitions.
40453         (llrint): Likewise, for all definitions.
40454         (llrintl): Likewise.
40456         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
40457         Remove [__GNUC__] condition.
40458         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
40459         condition to just [__USE_ISOC99].
40460         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
40462 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40464         [BZ #14200]
40465         * sysdeps/unix/sysv/linux/x86/bits/environments.h
40466         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
40467         defined.
40468         (_POSIX_V6_ILP32_OFF32): Likewise.
40469         (_XBS5_ILP32_OFF32): Likewise.
40470         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
40471         (__ILP32_OFFBIG_LDFLAGS): Likewise.
40473 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40475         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
40477         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
40478         doubles __mpexp_twomm1.  Adjust usage.
40479         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
40480         Remove.
40482 2013-01-10  Andreas Schwab  <schwab@suse.de>
40484         [BZ #14964]
40485         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
40486         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
40488 2013-01-09  David S. Miller  <davem@davemloft.net>
40490         [BZ #15003]
40491         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
40492         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
40493         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
40494         (TCP_FASTOPEN): Define.
40495         (tcp_repair_opt): New structure.
40496         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
40497         enum values.
40498         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
40499         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
40500         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
40501         (tcp_cookie_transactions): New structure.
40503 2013-01-09  Anton Blanchard  <anton@samba.org>
40505         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
40506         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
40507         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
40508         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
40510 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
40512         * include/features.h (__USE_ANSI): Remove.
40514 2013-01-09  Roland McGrath  <roland@hack.frob.com>
40516         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
40518         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
40520 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40522         * sysdeps/s390/fpu/libm-test-ulps: Update.
40524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40526         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
40527         (__acr): Likewise.
40528         (__cpy): Likewise.
40529         (norm): Likewise.
40530         (denorm): Likewise.
40531         (__mp_dbl): Likewise.
40532         (__dbl_mp): Likewise.
40533         (add_magnitudes): Likewise.
40534         (sub_magnitudes): Likewise.
40535         (__add): Likewise.
40536         (__sub): Likewise.
40537         (__mul): Likewise.
40538         (__inv): Likewise.
40539         (__dvd): Likewise.
40540         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
40541         (__acr): Likewise.
40542         (__cpy): Likewise.
40543         (norm): Likewise.
40544         (denorm): Likewise.
40545         (__mp_dbl): Likewise.
40546         (__dbl_mp): Likewise.
40547         (add_magnitudes): Likewise.
40548         (sub_magnitudes): Likewise.
40549         (__add): Likewise.
40550         (__sub): Likewise.
40551         (__mul): Likewise.
40552         (__inv): Likewise.
40553         (__dvd): Likewise.
40554         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
40555         (__acr): Likewise.
40556         (__cpy): Likewise.
40557         (norm): Likewise.
40558         (denorm): Likewise.
40559         (__mp_dbl): Likewise.
40560         (__dbl_mp): Likewise.
40561         (add_magnitudes): Likewise.
40562         (sub_magnitudes): Likewise.
40563         (__add): Likewise.
40564         (__sub): Likewise.
40565         (__mul): Likewise.
40566         (__inv): Likewise.
40567         (__dvd): Likewise.
40569 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
40571         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
40572         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
40573         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
40574         2 && __USE_EXTERN_INLINES]: Likewise.
40576 2013-01-08  Andreas Jaeger  <aj@suse.de>
40578         [BZ# 14985]
40579         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
40580         Remove.
40581         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40582         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40584 2013-01-07  Anton Blanchard  <anton@samba.org>
40586         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
40587         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40588         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
40589         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40590         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40591         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40592         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
40593         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40594         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40595         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40596         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40597         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40598         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40599         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40600         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40601         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40602         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40603         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40604         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40605         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40606         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40607         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
40608         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40609         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40610         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
40611         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40612         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40613         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40614         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
40615         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40616         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40617         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40618         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40619         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40620         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40621         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40622         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40623         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40624         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
40625         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40626         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
40627         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40628         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40630 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
40632         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
40633         (__MALLOC_PMT): Likewise.
40634         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
40635         [__GNUC__], only on [_LIBC].
40636         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40637         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
40638         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40639         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
40640         forward declaration.
40641         (realloc_hook_ini): Likewise.
40642         (memalign_hook_ini): Likewise.
40643         (__libc_memalign): Do not use __MALLOC_PMT in variable
40644         declaration.
40645         (__libc_valloc): Likewise.
40646         (__libc_pvalloc): Likewise.
40647         (__libc_calloc): Likewise.
40648         (__posix_memalign): Likewise.
40650         [BZ #14996]
40651         * math/s_casinh.c: Include <float.h>.
40652         (__casinh): Do not do computation with squaring and square root
40653         for large arguments.
40654         * math/s_casinhf.c: Include <float.h>.
40655         (__casinhf): Do not do computation with squaring and square root
40656         for large arguments.
40657         * math/s_casinhl.c: Include <float.h>.
40658         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
40659         (__casinhl): Do not do computation with squaring and square root
40660         for large arguments.
40661         * math/libm-test.inc (casin_test): Add more tests.
40662         (casinh_test): Likewise.
40663         * sysdeps/i386/fpu/libm-test-ulps: Update.
40664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40666 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
40668         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40669         (__x86_64_raw_data_cache_size): Likewise.
40670         (__x86_64_data_cache_size_half): Likewise.
40671         (__x86_64_raw_data_cache_size_half): Likewise.
40672         (__x86_64_shared_cache_size): Likewise.
40673         (__x86_64_raw_shared_cache_size): Likewise.
40674         (__x86_64_shared_cache_size_half): Likewise.
40675         (__x86_64_raw_shared_cache_size_half): Likewise.
40676         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
40677         to ...
40678         (__x86_data_cache_size): This.
40679         (__x86_64_raw_data_cache_size): Renamed to ...
40680         (__x86_raw_data_cache_size): This.
40681         (__x86_64_data_cache_size_half): Renamed to ...
40682         (__x86_data_cache_size_half): This.
40683         (__x86_64_raw_data_cache_size_half): Renamed to ...
40684         (__x86_raw_data_cache_size_half): This.
40685         (__x86_64_shared_cache_size): Renamed to ...
40686         (__x86_shared_cache_size): This.
40687         (__x86_64_raw_shared_cache_size): Renamed to ...
40688         (__x86_raw_shared_cache_size): This.
40689         (__x86_64_shared_cache_size_half): Renamed to ...
40690         (__x86_shared_cache_size_half): This.
40691         (__x86_64_raw_shared_cache_size_half): Renamed to ...
40692         (__x86_raw_shared_cache_size_half): This.
40693         * sysdeps/x86_64/memcpy.S: Updated.
40694         * sysdeps/x86_64/memset.S: Likewise.
40695         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40696         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40697         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40699 2013-01-04  David S. Miller  <davem@davemloft.net>
40701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40703 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
40705         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
40706         1 to avoid redefinition warning.
40707         (__USE_GNU): Don't define.
40708         (init_signaling_nan): Protoize.
40710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40712 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40714         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
40715         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
40716         (__cpymn): Likewise.
40717         (norm): Remove commented code.
40718         (denorm): Likewise.
40719         (__mp_dbl): Likewise.
40720         (__inv): Likewise.
40721         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
40722         (__cpymn): Likewise.
40723         (norm): Remove commented code.
40724         (denorm): Likewise.
40725         (__mp_dbl): Likewise.
40726         (__inv): Likewise.
40728         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
40729         mp_no value for 1.0 and 2.0.
40730         (norm): Use RADIXI instead of radixi.d.
40731         (denorm): Likewise.
40732         (__mul): Use 0.0 instead of zero.d.
40733         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
40734         mp_no value for 1.0 and 2.0.
40735         (norm): Use RADIXI instead of radixi.d.
40736         (denorm): Likewise.
40737         (__mul): Use 0.0 instead of zero.d.
40739 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
40741         [BZ #14994]
40742         * math/s_casinh.c (__casinh): Reduce finite argument to first
40743         quadrant then set signs of results at the end.
40744         * math/s_casinhf.c (__casinhf): Likewise.
40745         * math/s_casinhl.c (__casinhl): Likewise.
40746         * math/libm-test.inc (casin_test): Add more tests.
40747         (casinh_test): Likewise.
40748         * sysdeps/i386/fpu/libm-test-ulps: Update.
40749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40751 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40753         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40755         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40757         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
40758         declarations.
40759         (denorm): Likewise.
40760         (__mp_dbl): Likewise.
40761         (__inv): Likewise.
40763         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
40764         and adjust the header comment.
40766         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
40767         variable name from declaration.
40769 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
40771         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40772         Initialize COMMON_CPUID_INDEX_7 element.
40773         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
40774         (CPUID_RTM): Likewise.
40775         (HAS_RTM): Likewise.
40776         (COMMON_CPUID_INDEX_7): New enum.
40778 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
40780         [BZ #14981]
40781         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
40782         size is zero, record memory as freed.
40784 2013-01-03  Andreas Jaeger  <aj@suse.de>
40786         * po/ia.po: Add new Interlingua translation.
40788 2012-01-03  Allan McRae  <allan@archlinux.org>
40790         * locale/programs/localedef.c: Fix description of '--posix' flag.
40792 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
40794         * NEWS: Update dates in second copyright notice.
40795         * README: Update copyright dates in example.
40796         * manual/libc.texinfo: Update copyright dates.
40797         * scripts/test-installation.pl: Update copyright date in --version
40798         output.
40800         * hurd/ctty-input.c: Fix copyright notice formatting.
40801         * hurd/ctty-output.c: Likewise.
40802         * hurd/dtable.c: Likewise.
40803         * hurd/hurd-raise.c: Likewise.
40804         * hurd/hurdprio.c: Likewise.
40805         * hurd/msgportdemux.c: Likewise.
40806         * misc/sys/file.h: Likewise.
40807         * misc/sys/ioctl.h: Likewise.
40808         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40809         * sysdeps/mach/hurd/chdir.c: Likewise.
40810         * sysdeps/mach/hurd/fchdir.c: Likewise.
40811         * sysdeps/mach/hurd/rename.c: Likewise.
40812         * sysdeps/mach/hurd/rmdir.c: Likewise.
40813         * sysdeps/mach/hurd/seekdir.c: Likewise.
40814         * sysdeps/mach/hurd/setsid.c: Likewise.
40815         * sysdeps/posix/wait3.c: Likewise.
40817         * All files with FSF copyright notices: Update copyright dates
40818         using scripts/update-copyrights.
40819         * intl/plural.c: Regenerated.
40820         * locale/programs/charmap-kw.h: Likewise.
40821         * locale/programs/locfile-kw.h: Likewise.
40823 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40825         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
40826         four values.
40828         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
40829         calculation loop and add branch prediction.
40831         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
40832         check access beyond bounds of m1np.
40834         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40835         MPTWO.
40836         (__inv): Remove local variable MPTWO to use the global
40837         constant.
40838         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
40839         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40840         variable MPTWO.
40841         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
40842         MP3HALFS static const.
40844 2013-01-01  David S. Miller  <davem@davemloft.net>
40846         * po/ca.po: Update from translation team.
40848 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
40850         * scripts/update-copyrights: New file.
40851         * Makeconfig: Reformat copyright notice.
40852         * ctype/ctype.h: Likewise.
40853         * debug/swprintf_chk.c: Likewise.
40854         * elf/dl-cache.c: Likewise.
40855         * elf/dl-debug.c: Likewise.
40856         * elf/dl-object.c: Likewise.
40857         * grp/initgroups.c: Likewise.
40858         * hurd/Makefile: Likewise.
40859         * hurd/hurd/signal.h: Likewise.
40860         * hurd/hurdfault.c: Likewise.
40861         * hurd/hurdioctl.c: Likewise.
40862         * hurd/hurdlookup.c: Likewise.
40863         * hurd/intr-msg.c: Likewise.
40864         * iconv/gconv_open.c: Likewise.
40865         * libio/swprintf.c: Likewise.
40866         * locale/lc-ctype.c: Likewise.
40867         * locale/nl_langinfo.c: Likewise.
40868         * mach/Machrules: Likewise.
40869         * mach/Makefile: Likewise.
40870         * malloc/obstack.h: Likewise.
40871         * manual/Makefile: Likewise.
40872         * manual/tsort.awk: Likewise.
40873         * misc/bits/stab.def: Likewise.
40874         * nis/nis_print_group_entry.c: Likewise.
40875         * nis/nis_table.c: Likewise.
40876         * nis/nss_compat/compat-pwd.c: Likewise.
40877         * nis/nss_compat/compat-spwd.c: Likewise.
40878         * po/Makefile: Likewise.
40879         * posix/fnmatch.c: Likewise.
40880         * posix/regex.h: Likewise.
40881         * resolv/Makefile: Likewise.
40882         * resolv/nss_dns/dns-network.c: Likewise.
40883         * resolv/res_hconf.c: Likewise.
40884         * scripts/gen-sorted.awk: Likewise.
40885         * soft-fp/soft-fp.h: Likewise.
40886         * stdio-common/printf.h: Likewise.
40887         * stdlib/monetary.h: Likewise.
40888         * stdlib/random.c: Likewise.
40889         * stdlib/random_r.c: Likewise.
40890         * sysdeps/generic/Makefile: Likewise.
40891         * sysdeps/gnu/Makefile: Likewise.
40892         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40893         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40894         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40895         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40896         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40897         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40898         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40899         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40900         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40901         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40902         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40903         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40904         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40905         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40906         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
40907         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40908         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40909         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40910         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40911         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40912         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40913         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40914         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40915         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40916         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
40917         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40918         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40919         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
40920         * sysdeps/mach/hurd/errnos.awk: Likewise.
40921         * sysdeps/mach/hurd/fork.c: Likewise.
40922         * sysdeps/mach/hurd/getcwd.c: Likewise.
40923         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
40924         * sysdeps/mach/hurd/mmap.c: Likewise.
40925         * sysdeps/mach/hurd/utimes.c: Likewise.
40926         * sysdeps/mach/hurd/xmknod.c: Likewise.
40927         * sysdeps/posix/profil.c: Likewise.
40928         * sysdeps/posix/readdir_r.c: Likewise.
40929         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40930         * sysdeps/powerpc/bits/setjmp.h: Likewise.
40931         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
40932         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40933         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40934         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40935         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40936         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40937         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40938         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40939         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40940         * sysdeps/pthread/lio_listio.c: Likewise.
40941         * sysdeps/sparc/dl-procinfo.h: Likewise.
40942         * sysdeps/unix/i386/sysdep.S: Likewise.
40943         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
40944         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
40945         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
40946         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
40947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40948         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
40949         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
40950         * sysdeps/unix/sysv/linux/speed.c: Likewise.
40951         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40952         * sysdeps/wordsize-32/divdi3.c: Likewise.
40953         * time/sys/time.h: Likewise.
40954         * wcsmbs/Makefile: Likewise.
40956 2013-01-01  David S. Miller  <davem@davemloft.net>
40958         * po/fr.po: Update from translation team.
40960         * catgets/gencat.c: Update copyright year.
40961         * csu/version.c: Likewise.
40962         * debug/catchsegv.sh: Likewise.
40963         * debug/pcprofiledump.c: Likewise.
40964         * debug/xtrace.sh: Likewise.
40965         * elf/ldconfig.c: Likewise.
40966         * elf/ldd.bash.in: Likewise.
40967         * elf/pldd.c: Likewise.
40968         * elf/sotruss.ksh: Likewise.
40969         * elf/sprof.c: Likewise.
40970         * iconv/iconv_prog.c: Likewise.
40971         * iconv/iconvconfig.c: Likewise.
40972         * locale/programs/locale.c: Likewise.
40973         * locale/programs/localedef.c: Likewise.
40974         * login/programs/pt_chown.c: Likewise.
40975         * malloc/memusage.sh: Likewise.
40976         * malloc/memusagestat.c: Likewise.
40977         * malloc/mtrace.pl: Likewise.
40978         * nscd/nscd.c: Likewise.
40979         * nss/getent.c: Likewise.
40980         * nss/makedb.c: Likewise.
40981         * posix/getconf.c: Likewise.
40983 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40985         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
40986         numbers.
40988 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
40990         * math/bits/mathcalls.h (modf): Use __nonnull.
40992 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40994         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
40995         (split): Use macro CN instead of the bare value.
40996         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
40997         could be used.
40998         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
40999         instead of the bare value.
41000         (power1): Likewise.
41002 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41004         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
41005         __ATAN_TWOM.
41006         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41008         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
41009         their values.
41010         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41011         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41012         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
41013         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41015 2012-12-28  Andreas Jaeger  <aj@suse.de>
41017         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
41018         values are from Linux 3.7.
41020         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
41021         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
41023 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41025         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
41026         TRUE case.
41028         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
41029         (norm): Likewise.
41030         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
41031         variables with preprocessor constants.
41032         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41033         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41034         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41036 2012-12-27  Bruno Haible  <bruno@clisp.org>
41038         [BZ #14317]
41039         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
41040         only if needed.
41042 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41044         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
41045         and use variable directly.
41046         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
41048         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41049         MPONE.
41050         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
41051         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41052         variable MPONE.
41053         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41054         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41055         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
41056         include directive.  Remove local variable MPONE.
41057         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
41058         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
41059         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41061 2012-12-25  David S. Miller  <davem@davemloft.net>
41063         * version.h (RELEASE): Set to "development".
41064         (VERSION): Set to "2.17.90".
41065         * NEWS: Add 2.18 section.
41067 2012-12-21  David S. Miller  <davem@davemloft.net>
41069         * po/hr.po: Update from translation team.
41071 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41073         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
41075 2012-12-19  Steve Ellcey  <sellcey@mips.com>
41077         * NEWS:  Mention new memcpy for MIPS.
41079 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41081         * manual/contrib.texi (Contributors): Spelling correction.
41083 2012-12-15  David S. Miller  <davem@davemloft.net>
41085         * po/ru.po: Update from translation team.
41087 2012-12-13  David S. Miller  <davem@davemloft.net>
41089         * NEWS: Mention IFUNC testsuite enhancements.
41091         * po/pl.po: Update from translation team.
41092         * po/bg.po: Likewise.
41094         * manual/contrib.texi (Contributors): Update entries for Hongjiu
41095         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
41097 2012-12-11  David S. Miller  <davem@davemloft.net>
41099         * po/sv.po: Update from translation team.
41101         * po/vi.po: Update from translation team.
41103         * po/cs.po: Update from translation team.
41105         * po/de.po: Update from translation team.
41106         * po/eo.po: Likewise.
41107         * po/nl.po: Likewise.
41109 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41111         [BZ #14246]
41112         * manual/argp.texi (Argp Helper Functions): Move node to follow
41113         Argp Parsing State.
41115         [BZ #14872]
41116         * manual/conf.texi (Limits on File System Capacity): Mention if
41117         terminating null is included in the max size.
41119 2012-12-10  Andreas Jaeger  <aj@suse.de>
41121         * po/cs.po: Update from translation team.
41123 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41125         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
41126         void pointer and cast to uintptr_t.
41127         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
41128         path.
41129         * sysdeps/s390/s390-64/memcpy.S: Likewise.
41130         * sysdeps/s390/s390-64/memset.S: Likewise.
41132 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
41134         [BZ #14833]
41135         * menual/message.texi (Message Translation): Fix typos.
41136         (Helper programs for gettext): Likewise.
41138 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
41140         [BZ #14898]
41141         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
41142         Change to -1.
41144 2012-12-07  David S. Miller  <davem@davemloft.net>
41146         * po/libc.pot: Update.
41148 2012-12-07  Richard Henderson  <rth@redhat.com>
41150         [BZ #10114]
41151         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
41152         normal/normal case to before the switch.
41153         (_FP_DIV): Likewise.
41155 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
41156             Mike Frysinger  <vapier@gentoo.org>
41158         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
41159         check for __NR_fadvise64_64.
41161 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
41163         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
41164         0, not just to plain "0" as a statement.
41165         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
41166         with cw.
41168 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
41170         * NEWS: Use sourceware.org in Bugzilla URL.
41172 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
41175         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41177         * stdio-common/tst-put-error.c (do_test): Add newline to the
41178         padded test to ensure flush.
41180 2012-12-05  Jeff Law  <law@redhat.com>
41182         * sunrpc/etc.rpc (fedfs_admin): Add entry.
41184 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
41186         * README: Don't refer to ports add-on as distributed separately.
41187         Mention AArch64 in list of systems supported in the ports add-on.
41189         * LICENSES: Add more non-FSF copyright and license notices.
41191         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
41192         ((unused)).
41194         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
41196         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
41197         10000 as width of padded output.
41199 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
41201         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
41203         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
41204         variable LX with __attribute__ ((unused)).
41205         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
41206         Likewise.
41207         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
41208         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41209         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
41210         with __attribute__ ((unused)).
41212 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
41214         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
41216 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
41218         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
41219         (CFLAGS-nldbl-acos.c): New variable.
41220         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
41221         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
41222         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
41223         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
41224         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
41225         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
41226         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
41227         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
41228         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
41229         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
41230         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
41231         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
41232         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
41233         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
41234         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
41235         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
41236         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
41237         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
41238         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
41239         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
41240         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
41241         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
41242         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
41243         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
41244         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
41245         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
41246         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
41247         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
41248         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
41249         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
41250         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
41251         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
41252         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
41253         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
41254         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
41255         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
41256         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
41257         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
41258         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
41259         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
41260         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
41261         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
41262         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
41263         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
41264         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
41265         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
41266         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
41267         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
41268         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
41269         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
41270         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
41271         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
41272         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
41273         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
41274         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
41275         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
41276         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
41277         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
41278         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
41279         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
41280         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
41281         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
41282         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
41283         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
41284         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
41285         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
41286         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
41287         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
41288         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
41289         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
41290         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
41291         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
41292         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
41293         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
41294         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
41295         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
41296         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
41297         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
41298         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
41299         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
41300         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
41301         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
41302         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
41303         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
41304         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
41305         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
41306         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
41307         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
41308         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
41309         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
41310         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
41311         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
41312         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
41313         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
41314         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
41315         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
41316         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
41318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41319         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41321         [BZ #14914]
41322         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
41323         whole low double instead of just low 47 bits when splitting values
41324         into two parts.
41326 2012-12-03  Allan McRae  <allan@archlinux.org>
41328         * manual/stdio.texi (Predefined Printf Handlers): Remove
41329         @hsep and @vsep usage.
41331 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
41333         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
41334         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
41336 2012-12-03  Jeff Law  <law@redhat.com>
41338         * time/sys/time.h (settimeofday): Do not mark TV argument
41339         as __nonnull.
41341 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
41343         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
41344         when currently writing and seek to current position when not.
41345         * libio/Makefile (tests): Remove bug-fclose1.
41346         * libio/bug-fclose1.c: Delete.
41348 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
41350         * manual/arith.texi (feenableexcept): Fix typo.
41351         (fedisableexcept): Likewise.
41353 2012-11-30  Roland McGrath  <roland@hack.frob.com>
41355         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
41356         second, differently-typed declaration, rather than a cast.
41358 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41360         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
41361         * include/rpc/svc.h: ... here.
41363 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
41365         [BZ #13013]
41366         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
41367         depending n and resplen2 to catch cases where answer
41368         equals answerp2.
41370 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
41372         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
41373         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
41375 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
41377         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
41379 2012-11-29  Roland McGrath  <roland@hack.frob.com>
41381         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
41383 2012-11-28  Jeff Law  <law@redhat.com>
41385         [BZ #13761]
41386         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
41387         dataset_temporary.  Track alloca usage into alloca_used.
41388         If dataset is large allocate and release it via malloc/free.
41390 2012-06-04  Florian Weimer  <fweimer@redhat.com>
41392         [BZ #14197]
41393         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
41395 2012-11-28  David S. Miller  <davem@davemloft.net>
41397         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41399 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41401         [BZ #14803]
41402         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
41403         of pi/2 rounded to nearest to 64 bits.
41404         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
41405         nearest to 64 bits.
41406         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
41407         bits.
41409 2012-11-28  Jeff Law <law@redhat.com>
41410             Martin Osvald <mosvald@redhat.com>
41412         [BZ #14889]
41413         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
41414         * sunrpc/svc.c: Include time.h.
41415         (__svc_accept_failed): New function.
41416         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
41417         any reason other than EINTR, call __svc_accept_failed.
41418         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
41419         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
41421 2012-11-28  Andreas Schwab  <schwab@suse.de>
41423         * scripts/abilist.awk: Also handle indirect functions in .opd
41424         section.
41426 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41428         [BZ #13881]
41429         * sysdeps/x86/fpu/powl_helper.c: New file.
41430         * sysdeps/x86/fpu/Makefile: Likewise.
41431         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
41432         (p3): New object.
41433         (__ieee754_powl): Use __powl_helper for finite arguments except
41434         integer exponents below 8.
41435         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
41436         (p3): New object.
41437         (__ieee754_powl): Use __powl_helper for finite arguments except
41438         integer exponents below 8.
41439         * math/libm-test.inc (pow_test): Add more tests and enable some
41440         previously disabled tests.
41441         * sysdeps/i386/fpu/libm-test-ulps: Update.
41442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41444 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41445             Carlos O'Donell  <carlos_odonell@mentor.com>
41447         * nss/makedb.c (is_prime): Assert that input is odd and greater
41448         than 4.  Note that fact in a comment too.
41449         (next_prime): Add 4 to input.
41451 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41453         [BZ #11741]
41454         * libio/Makefile (tests): Add test case tst-fwrite-error.
41455         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
41456         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
41457         * libio/tst-fwrite-error.c: New test case.
41459 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
41461         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
41462         before casting to void *.
41463         * include/libc-internal.h (__pointer_type): New macro.
41464         (__integer_if_pointer_type_sub): Likewise.
41465         (__integer_if_pointer_type): Likewise.
41466         (cast_to_integer): Likewise.
41467         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
41468         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
41469         before casting to atomic64_t.
41470         (atomic_exchange_acq): Likewise.
41471         (__arch_exchange_and_add_body): Likewise.
41472         (__arch_add_body): Likewise.
41473         (atomic_add_negative): Likewise.
41474         (atomic_add_zero): Likewise.
41476 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
41478         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
41479         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
41480         (add_fdes): Likewise.
41481         (linear_search_fdes): Likewise.
41482         (binary_search_unencoded_fdes): Likewise.
41484 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
41486         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
41488 2012-11-24  Adam Conrad  <adconrad@0c3.net>
41490         * configure.in: Autodetect C++ header directories.
41491         * configure: Regenerated.
41493 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
41495         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
41497 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
41499         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41501 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
41503         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
41504         LDBL_MANT_DIG == 106]: Disable some tests.
41505         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41506         Likewise.
41507         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41508         Likewise.
41510         [BZ #14871]
41511         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
41512         input for small inputs.  Return +/- pi/2 for large inputs.
41513         * math/libm-test.inc (atan_test): Add more tests.
41515         * sysdeps/generic/unwind-dw2-fde-glibc.c
41516         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
41517         __attribute__ ((unused)).
41519         [BZ #14645]
41520         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
41521         x * y if x and y are nonzero and z is zero.
41523         [BZ #14811]
41524         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
41525         nonzero exponents with absolute value below 0x1p-117 to +/-
41526         0x1p-117.
41528         [BZ #14869]
41529         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
41530         up arguments below 2**-450, not just those below 2**-500.
41531         * math/libm-test.inc (hypot_test): Add another test.
41533         [BZ #14868]
41534         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
41535         Return a+b for ratio over 2**120, not 2**60.
41536         * math/libm-test.inc (hypot_test): Add another test.
41538         * math/libm-test.inc (clog_test): Use
41539         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
41540         (clog10_test): Likewise.
41542         [BZ #6778]
41543         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
41545 2012-11-22  Andreas Schwab  <schwab@suse.de>
41547         * sysdeps/i386/fpu/libm-test-ulps: Update.
41549 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
41551         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
41552         printf output with newline.
41554 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
41556         [BZ #14865]
41557         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
41558         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
41559         -z nodlopen, -z initfirst and -z execstack support.
41560         * configure: Regenerated.
41562         * elf/elf.h (DF_1_NODIRECT): New macro.
41563         (DF_1_IGNMULDEF): Likewise.
41564         (DF_1_NOKSYMS): Likewise.
41565         (DF_1_NOHDR): Likewise.
41566         (DF_1_EDITED): Likewise.
41567         (DF_1_NORELOC): Likewise.
41568         (DF_1_SYMINTPOSE): Likewise.
41569         (DF_1_GLOBAUDIT): Likewise.
41570         (DF_1_SINGLETON): Likewise.
41571         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
41572         DT_1_SUPPORTED_MASK bits.
41573         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
41575 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
41577         * sysdeps/unix/make-syscalls.sh: Document prefixes.
41579 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
41581         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
41582         macro.
41584         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
41585         (sendmmsg): Move declarations...
41586         * socket/sys/socket.h: ... here.
41587         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
41588         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
41589         include it from...
41590         * socket/recvmmsg.c: ... this new file.
41591         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
41592         (sendmmsg): Rename to __sendmmsg, create weak alias and make
41593         definition of __sendmmsg hidden.
41594         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
41595         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
41596         Move ENOSYS stub into and include it from...
41597         * socket/sendmmsg.c: ... this new file.
41598         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
41599         (sysdep_routines): Move recvmmsg and sendmmsg...
41600         * socket/Makefile (routines): ... here.
41601         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
41602         (GLIBC_PRIVATE): Add __sendmmsg.
41603         * include/sys/socket.h (__sendmmsg): Add declarations.
41604         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
41605         sendmmsg.
41607 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
41609         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
41610         variable I1 with __attribute__ ((unused)).
41611         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41613 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41615         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
41616         DUMMY variables with __attribute__ ((unused)).
41618         * bits/byteswap.h: Include <bits/types.h>.
41619         (__bswap_64): Use __uint64_t instead of unsigned long long int.
41621 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41623         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
41624         string_t.  Do not manually set errno.
41625         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
41626         length with __strnlen.  Make sure to both set errno and return it on
41627         failure.
41629 2012-11-19  David S. Miller  <davem@davemloft.net>
41631         With help from Joseph Myers.
41632         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
41633         very large arguments properly.
41634         * math/libm-test.inc (atan_test): New tests.
41635         (atan2_test): New tests.
41636         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41637         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41639 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41641         [BZ #14856]
41642         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
41643         Define to 3.
41645         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
41646         [POSIX] (EADDRNOTAVAIL): Likewise.
41647         [POSIX] (EAFNOSUPPORT): Likewise.
41648         [POSIX] (EALREADY): Likewise.
41649         [POSIX] (ECONNABORTED): Likewise.
41650         [POSIX] (ECONNREFUSED): Likewise.
41651         [POSIX] (ECONNRESET): Likewise.
41652         [POSIX] (EDESTADDRREQ): Likewise.
41653         [POSIX] (EDQUOT): Likewise.
41654         [POSIX] (EHOSTUNREACH): Likewise.
41655         [POSIX] (EIDRM): Likewise.
41656         [POSIX] (EISCONN): Likewise.
41657         [POSIX] (ELOOP): Likewise.
41658         [POSIX] (EMULTIHOP): Likewise.
41659         [POSIX] (ENETDOWN): Likewise.
41660         [POSIX] (ENETUNREACH): Likewise.
41661         [POSIX] (ENOBUFS): Likewise.
41662         [POSIX] (ENODATA): Likewise.
41663         [POSIX] (ENOLINK): Likewise.
41664         [POSIX] (ENOMSG): Likewise.
41665         [POSIX] (ENOPROTOOPT): Likewise.
41666         [POSIX] (ENOSR): Likewise.
41667         [POSIX] (ENOSTR): Likewise.
41668         [POSIX] (ENOTCONN): Likewise.
41669         [POSIX] (ENOTSOCK): Likewise.
41670         [POSIX] (EOPNOTSUPP): Likewise.
41671         [POSIX] (EOVERFLOW): Likewise.
41672         [POSIX] (EPROTO): Likewise.
41673         [POSIX] (EPROTONOSUPPORT): Likewise.
41674         [POSIX] (EPROTOTYPE): Likewise.
41675         [POSIX] (ESTALE): Likewise.
41676         [POSIX] (ETIME): Likewise.
41677         [POSIX] (ETXTBSY): Likewise.
41678         [POSIX] (EWOULDBLOCK): Likewise.
41679         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
41680         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
41681         [POSIX] (SEEK_CUR): Likewise.
41682         [POSIX] (SEEK_END): Likewise.
41683         [POSIX || UNIX98] (mode_t): Do not require.
41684         [POSIX] (off_t): Likewise.
41685         [POSIX] (pid_t): Likewise.
41686         [POSIX] (sys/stat.h): Do not allow header.
41687         [POSIX] (unistd.h): Likewise.
41688         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
41689         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
41690         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
41691         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
41692         require.
41693         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
41694         sigevent): Specify elements.
41695         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
41696         entry.
41697         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
41698         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
41700         * conform/data/cpio.h-data [POSIX]: Disable whole file.
41701         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
41702         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
41703         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
41704         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
41705         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
41706         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
41707         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
41708         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
41709         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
41710         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
41711         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
41712         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
41713         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
41714         Likewise.
41715         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
41716         Likewise.
41717         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
41718         Likewise.
41719         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
41720         Likewise.
41721         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
41722         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
41723         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
41724         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
41725         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
41726         Specify lower bound on value.
41727         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
41728         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
41729         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
41730         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
41731         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
41732         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
41733         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
41734         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
41735         value.
41736         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
41737         as optional.
41738         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
41739         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
41740         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41741         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41742         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41743         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41744         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41745         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41746         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41747         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41748         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41749         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41750         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41751         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41752         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41753         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41754         entry.
41755         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41756         optional.
41757         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
41758         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
41759         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
41760         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
41761         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
41762         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
41763         Likewise.
41764         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
41765         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
41766         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
41767         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
41768         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
41769         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
41770         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
41771         as optional.
41772         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
41773         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
41774         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
41775         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
41776         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
41777         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
41778         specify as optional.
41779         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
41780         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
41781         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
41782         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
41783         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
41784         [XPG3] (NL_LANGMAX): Likewise.
41785         [POSIX || XPG3] (NL_MSGMAX): Likewise.
41786         [POSIX || XPG3] (NL_NMAX): Likewise.
41787         [POSIX || XPG3] (NL_SETMAX): Likewise.
41788         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
41789         [XPG3] (NZERO): Likewise.
41790         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
41791         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
41792         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
41793         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
41794         (REG_ERANGE): Expect.
41795         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
41796         optional-constant.
41797         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
41798         Use (void) in prototype.
41799         [POSIX] (*_t): Allow.
41800         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
41801         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
41802         (WRDE_BADVAL): Expect.
41804         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
41805         expect.
41806         [XPG3 || XPG4] (O_RSYNC): Likewise.
41807         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
41808         Likewise.
41809         [XPG3 || XPG4] (pthread_sigmask): Likewise.
41810         [XPG3 || XPG4] (sigqueue): Likewise.
41811         [XPG3 || XPG4] (sigtimedwait): Likewise.
41812         [XPG3 || XPG4] (sigwaitinfo): Likewise.
41813         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
41814         [XPG3 || XPG4] (vsnprintf): Likewise.
41815         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
41816         Likewise.
41817         [XPG3 || XPG4] (blksize_t): Likewise.
41818         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
41819         Likewise.
41820         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
41821         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41822         [XPG3 || XPG4] (struct itimerspec): Likewise.
41823         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
41824         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
41825         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
41826         [XPG3 || XPG4] (clockid_t): Likewise.
41827         [XPG3 || XPG4] (timer_t): Likewise.
41828         [XPG3 || XPG4] (clock_getres): Likewise.
41829         [XPG3 || XPG4] (clock_gettime): Likewise.
41830         [XPG3 || XPG4] (clock_settime): Likewise.
41831         [XPG3 || XPG4] (nanosleep): Likewise.
41832         [XPG3 || XPG4] (timer_create): Likewise.
41833         [XPG3 || XPG4] (timer_delete): Likewise.
41834         [XPG3 || XPG4] (timer_gettime): Likewise.
41835         [XPG3 || XPG4] (timer_getoverrun): Likewise.
41836         [XPG3 || XPG4] (timer_settime): Likewise.
41837         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
41838         [XPG3 || XPG4] (getlogin_r): Likewise.
41839         [XPG3 || XPG4] (pread): Likewise.
41840         [XPG3 || XPG4] (pthread_atfork): Likewise.
41841         [XPG3 || XPG4] (pwrite): Likewise.
41843         [BZ #14835]
41844         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
41845         <bits/siginfo.h>.
41847 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41849         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
41850         finalizing MALLSTREAM.
41852         * sysdeps/mach/hurd/syncfs.c: New file.
41854 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41856         [BZ #14719]
41857         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
41858         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
41859         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
41860         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
41861         (_nss_dns_gethostbyname4_r): Likewise.
41862         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
41863         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
41865 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
41867         [BZ #13763]
41868         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
41870 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
41872         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
41873         * elf/cache.c (print_entry): Print ",AArch64" for
41874         FLAG_AARCH64_LIB64
41876         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
41877         * elf/cache.c (print_entry): Print ",hard-float" for
41878         FLAG_ARM_LIBHF.
41880 2012-11-18  David S. Miller  <davem@davemloft.net>
41882         With help from Joseph Myers.
41883         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
41884         cutoff to 2**-13.
41885         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
41886         cutoff to 2**-25.
41887         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
41888         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
41889         small.
41890         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
41891         * math/libm-test.inc (y0_test): New tests.
41892         (y1_test): New tests.
41893         * sysdeps/i386/fpu/libm-test-ulps: Update.
41894         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41895         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41897 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
41899         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
41900         64-bit targets.
41901         * configure: Regenerated.
41903 2012-11-17  David S. Miller  <davem@davemloft.net>
41905         [BZ #14811]
41906         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
41907         nonzero exponents with absolute value below 0x1p-128 to +/-
41908         0x1p-128.
41910 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
41912         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
41914         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
41916         * posix/getconf-speclist.c: New file.
41917         * posix/posix-envs.def: Likewise.
41918         * posix/confstr.c (START_ENV_GROUP): New macro.
41919         (END_ENV_GROUP): Likewise.
41920         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41921         (KNOWN_PRESENT_ENV_STRING): Likewise.
41922         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41923         (UNKNOWN_ENVIRONMENT): Likewise.
41924         (confstr): Include posix-envs.def instead of handling
41925         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
41926         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
41927         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
41928         (END_ENV_GROUP): Likewise.
41929         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41930         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41931         (UNKNOWN_ENVIRONMENT): Likewise.
41932         (__sysconf): Include posix-envs.def instead of handling associated
41933         cases directly here.
41934         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
41935         preprocessing getconf-speclist.c rather than running getconf or
41936         generating empty file.
41938 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
41940         * scripts/check-local-headers.sh: Ignore 'mach' headers.
41942 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
41944         [BZ #14672]
41945         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
41947 2012-11-16  David S. Miller  <davem@davemloft.net>
41949         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
41950         smaller than LDBL_EPSILON/2.0L, just return xm1.
41952 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
41954         * elf/tst-array1.c (init): Set constructor priority to 1000.
41955         (fini): Set destructor priority to 1000.
41956         * elf/tst-array2dep.c: Likewise.
41958 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41960         [BZ #11741]
41961         * libio/fileops.c (_IO_new_file_write): Correctly return error.
41962         (_IO_new_file_xsputn): Also return EOF if none of the input
41963         data was written when overflow failed.
41964         * libio/iopadn.c (_IO_padn): Likewise.
41965         * libio/iowpadn.c (_IO_wpadn): Likewise.
41966         * stdio-common/tst-put-error.c: Add copyright notice.
41967         (do_test): Add case for printing padded string.
41968         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
41969         _IO_padn returned error.
41970         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
41971         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
41972         return EOF.
41974 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41976         * libio/libioP.h: Add comment note that the references to C++
41977         bits are now obsolete.
41979 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41981         * math/libm-test.inc (check_complex): Use asprintf.
41983 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
41985         * debug/pcprofiledump.c (print_version): Update copyright year.
41986         * malloc/memusagestat.c (print_version): Likewise.
41988 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
41990         [BZ #14831]
41991         * elf/Makefile (tests): Add tst-audit8.
41992         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
41993         ($(objpfx)tst-audit8.out): New target.
41994         (tst-audit8-ENV): New variable.
41995         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
41996         audit if l_reloc_result is NULL.
41997         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
41998         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
41999         * elf/tst-audit8.c: New file.
42001 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42003         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
42004         * misc/Makefile (CFLAGS-select.c): Define.
42005         * posix/Makefile (CFLAGS-pause.c): Define.
42007 2012-11-13  David S. Miller  <davem@davemloft.net>
42009         * crypt/Makefile: Move test targets after toplevel Rules
42010         inclusion.  Grab any necessary sysdep routines when linking.
42011         * crypt/md5.c (md5_process_block): Remove define, we will always
42012         name it __md5_process_block.
42013         (md5_finish_ctx): Update md5_process_block call.
42014         (md5_stream): Likewise.
42015         (md5_process_bytes): Likewise.
42016         (md5_process_block): Rename to __md5_process_block and move to ...
42017         * crypt/md5-block.c: ... here.
42018         * crypt/sha256.c (sha256_process_block): Move to ...
42019         * crypt/sha256-block.c: ... here.
42020         * crypt/sha512.c (sha512_process_block): Move to ...
42021         * crypt/sha512-block.c: ... here.
42022         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
42023         path.
42024         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
42025         * sysdeps/sparc/sparc64/multiarch/Makefile
42026         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
42027         crypt subdir.
42028         (localedef-aux): Add md5 crypto assembler when in locale subdir.
42029         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
42030         multiarch changes.
42031         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
42032         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
42033         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
42034         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
42035         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
42036         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
42037         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
42038         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
42039         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
42040         file.
42041         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
42042         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
42043         file.
42044         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
42046 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
42048         * timezone/tzselect.ksh: Update from tzcode git revision
42049         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
42050         * timezone/zdump.c: Likewise.
42051         * timezone/zic.c: Likewise.
42052         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
42053         in TZVERSION setting, not $(PKGVERSION).
42054         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
42055         REPORT_BUGS_TO settings.
42057         [BZ #14838]
42058         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
42059         macro.
42061 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42063         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
42064         detection to immediately after _FP_ROUND().
42065         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
42066         bits are 0.
42068 2012-11-11  David S. Miller  <davem@davemloft.net>
42070         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
42071         inttypes.h
42072         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
42073         __close rather than their public counterparts.
42075 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
42077         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
42078         file.
42079         [UNIX98] (sem_timedwait): Do not expect.
42080         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
42081         [XPG4 || UNIX98] (sockatmark): Do not expect.
42082         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
42083         (clock_getcpuclockid): Do not expect.
42084         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
42085         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
42086         Do not expect.
42087         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
42088         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
42089         [UNIX98] (vwscanf): Likewise.
42090         [UNIX98] (vswscanf): Likewise.
42092 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
42094         * timezone/version.h: Remove file.
42095         * timezone/README: Do not refer to version.h.
42096         * timezone/Makefile ($(objpfx)zic.o): New dependency on
42097         $(objpfx)version.h.
42098         ($(objpfx)zdump.o): Likewise.
42099         ($(objpfx)version.h): New target.
42101         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
42102         2012i.
42103         * timezone/README: Don't mention modification to tzselect.ksh.
42104         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
42105         work on unmodified tzselect.ksh.  Substitute version numbers in
42106         tzselect.ksh.
42108         * Makefile (format-me): Remove.
42109         (INSTALL): Adjust indentation.  Use commands directly instead of
42110         using $(format-me).
42112         * aclocal.m4 (ACX_PKGVERSION): New macro.
42113         (ACX_BUGURL): Likewise.
42114         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
42115         (PKGVERSION): New AC_DEFINE_UNQUOTED.
42116         (REPORT_BUGS_TO): Likewise.
42117         * configure: Regenerated.
42118         * config.h.in (PKGVERSION): New macro.
42119         (REPORT_BUGS_TO): Likewise.
42120         * config.make.in (PKGVERSION): New variable.
42121         (PKGVERSION_TEXI): Likewise.
42122         (REPORT_BUGS_TO): Likewise.
42123         (REPORT_BUGS_TEXI): Likewise.
42124         * Makefile (format-me): Use -I$(common-objpfx)manual.
42125         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
42126         ($(common-objpfx)manual/%): New target.
42127         (manual/%): Remove target.
42128         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
42129         (print_version): Use PKGVERSION.
42130         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
42131         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
42132         and REPORT_BUGS_TO.
42133         ($(objpfx)xtrace): Likewise.
42134         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
42135         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
42136         (print_version): Use PKGVERSION.
42137         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
42138         (do_version): Use PKGVERSION.
42139         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
42140         REPORT_BUGS_TO.
42141         (common-ldd-rewrite): Likewise.
42142         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
42143         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
42144         (print_version): Use PKGVERSION.
42145         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
42146         * elf/pldd.c (argp_program_bug_address): Remove variable.
42147         (more_help): New function.
42148         (argp): Use more_help.
42149         (print_version): Use PKGVERSION.
42150         * elf/sln.c (main): Use PKGVERSION.
42151         (usage): Use REPORT_BUGS_TO.
42152         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
42153         (top level): Use PKGVERSION.
42154         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
42155         (print_version): Use PKGVERSION.
42156         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
42157         (print_version): Use PKGVERSION.
42158         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
42159         (print_version): Use PKGVERSION.
42160         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
42161         (print_version): Use PKGVERSION.
42162         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
42163         (print_version): Use PKGVERSION.
42164         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
42165         (print_version): Use PKGVERSION.
42166         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
42167         and BUGURL.
42168         ($(objpfx)memusage): Likewise.
42169         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
42170         (do_version): Use PKGVERSION.
42171         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
42172         (print_version): Use PKGVERSION.
42173         * malloc/mtrace.pl ($PACKAGE): Remove variable.
42174         ($PKGVERSION): New variable.
42175         ($REPORT_BUGS_TO): Likewise.
42176         (usage): Use $REPORT_BUGS_TO.
42177         (top level): Use $PKGVERSION.
42178         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
42179         ($(objpfx)pkgvers.texi): New rule.
42180         ($(objpfx)stamp-pkgvers): Likewise.
42181         * manual/install.texi: Include pkgvers.texi.
42182         (--with-pkgversion): Document new configure option.
42183         (--with-bugurl): Likewise.
42184         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
42185         than necessarily for this particular distribution.  Use
42186         REPORT_BUGS_TO for where to report bugs.
42187         * INSTALL: Regenerated.
42188         * manual/libc.texinfo: Include pkgvers.texi.
42189         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
42190         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
42191         (print_version): Use PKGVERSION.
42192         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
42193         (print_version): Use PKGVERSION.
42194         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
42195         (print_version): Use PKGVERSION.
42196         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
42197         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
42198         macro.
42199         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
42200         (print_version): Use PKGVERSION.
42201         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
42202         (print_version): Use PKGVERSION.
42203         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
42204         and PKGVERSION.
42206         * timezone/checktab.awk: Update from tzcode 2012i.
42207         * timezone/ialloc.c: Likewise.
42208         * timezone/private.h: Likewise.
42209         * timezone/scheck.c: Likewise.
42210         * timezone/tzfile.h: Likewise.
42211         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
42212         (TZVERSION): Hardcode tzcode version number.
42213         * timezone/zdump.c: Update from tzcode 2012i.
42214         * timezone/zic.c: Likewise.
42215         * timezone/version.h: New file.
42216         * timezone/README: Describe version.h.  Update upstream location.
42218         [BZ #14824]
42219         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
42220         (mktemp): Enable declaration.
42221         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
42222         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
42223         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
42224         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
42225         Likewise.
42226         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
42227         Likewise.
42228         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
42229         Likewise.
42230         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
42231         Likewise.
42232         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
42233         Likewise.
42234         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
42235         Likewise.
42237         [BZ #14821]
42238         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
42239         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
42240         for copies of such integer values.
42241         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42242         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42244 2012-11-09  Andreas Jaeger  <aj@suse.de>
42246         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
42247         definitions and declarations that are provided by
42248         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42250 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42252         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
42253         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
42254         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
42255         definition.
42257 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42259         * elf/elf.h: Update comment before AArch64 relocations.
42261 2012-11-07  David S. Miller  <davem@davemloft.net>
42263         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
42264         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42265         (__start_context): Declare.
42266         (__makecontext_ret): Delete.
42267         (__makecontext): Hook up __start_context instead of
42268         __makecontext_ret.
42269         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
42270         (sysdep_routines): Add __start_context when in stdlib.
42272 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42274         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
42275         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
42276         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
42277         hardcoded "nm".
42278         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
42279         (READELF): New variable.  Use it instead of hardcoded "readelf".
42281 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
42283         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
42284         * sysdeps/x86/Makefile: Here.
42285         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
42286         * sysdeps/x86/tst-xmmymm.sh: This.
42288 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42290         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
42291         expectations.
42292         [UNIX98] (pthread_barrier_t): Do not expect.
42293         [UNIX98] (pthread_barrierattr_t): Likewise.
42294         [UNIX98] (pthread_spinlock_t): Likewise.
42295         [UNIX98] (pthread_barrier_destroy): Likewise.
42296         [UNIX98] (pthread_barrier_init): Likewise.
42297         [UNIX98] (pthread_barrier_wait): Likewise.
42298         [UNIX98] (pthread_barrierattr_destroy): Likewise.
42299         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
42300         [UNIX98] (pthread_barrierattr_init): Likewise.
42301         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
42302         [UNIX98] (pthread_getcpuclockid): Likewise.
42303         [UNIX98] (pthread_mutex_timedlock): Likewise.
42304         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
42305         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
42306         [UNIX98] (pthread_sigmask): Likewise.
42307         [UNIX98] (pthread_spin_destroy): Likewise.
42308         [UNIX98] (pthread_spin_init): Likewise.
42309         [UNIX98] (pthread_spin_lock): Likewise.
42310         [UNIX98] (pthread_spin_trylock): Likewise.
42311         [UNIX98] (pthread_spin_unlock): Likewise.
42312         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
42313         Do not expect.
42314         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
42315         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
42316         [XPG3 || XPG4] (pthread_cond_t): Likewise.
42317         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
42318         [XPG3 || XPG4] (pthread_key_t): Likewise.
42319         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
42320         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
42321         [XPG3 || XPG4] (pthread_once_t): Likewise.
42322         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
42323         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
42324         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
42325         [XPG3 || XPG4] (pthread_t): Likewise.
42327         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
42328         not expect.
42329         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
42331         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
42332         Change function return type to int.
42334         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
42335         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
42336         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
42337         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
42338         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
42339         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
42340         [!POSIX] (posix_madvise): Likewise.
42341         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
42342         && !UNIX98].
42343         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
42344         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
42345         (mode_t): Likewise.
42346         (posix_mem_offset): Likewise.
42347         (posix_typed_mem_get_info): Likewise.
42348         (posix_typed_mem_open): Likewise.
42350         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
42351         Change condition to [XOPEN2K8].
42353         * conform/conformtest.pl: Preprocess allow-header data with -x c
42354         instead of from stdin.
42355         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
42356         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
42357         [C99-based standards] (cerfc): Likewise.
42358         [C99-based standards] (cexp2): Likewise.
42359         [C99-based standards] (cexpm1): Likewise.
42360         [C99-based standards] (clog10): Likewise.
42361         [C99-based standards] (clog1p): Likewise.
42362         [C99-based standards] (clog2): Likewise.
42363         [C99-based standards] (clgamma): Likewise.
42364         [C99-based standards] (ctgamma): Likewise.
42365         [C99-based standards] (cerff): Likewise.
42366         [C99-based standards] (cerfcf): Likewise.
42367         [C99-based standards] (cexp2f): Likewise.
42368         [C99-based standards] (cexpm1f): Likewise.
42369         [C99-based standards] (clog10f): Likewise.
42370         [C99-based standards] (clog1pf): Likewise.
42371         [C99-based standards] (clog2f): Likewise.
42372         [C99-based standards] (clgammaf): Likewise.
42373         [C99-based standards] (ctgammaf): Likewise.
42374         [C99-based standards] (cerfl): Likewise.
42375         [C99-based standards] (cerfcl): Likewise.
42376         [C99-based standards] (cexp2l): Likewise.
42377         [C99-based standards] (cexpm1l): Likewise.
42378         [C99-based standards] (clog10l): Likewise.
42379         [C99-based standards] (clog1pl): Likewise.
42380         [C99-based standards] (clog2l): Likewise.
42381         [C99-based standards] (clgammal): Likewise.
42382         [C99-based standards] (ctgammal): Likewise.
42383         * conform/data/inttypes.h-data [C99-based standards]: Include
42384         stdint.h-data.  Remove all expectations for stdint.h contents.
42385         [C99-based standards] (PRI*): Do not allow.
42386         [C99-based standards] (SCN*): Likewise.
42387         [C99-based standards] (*_t): Likewise.
42388         [C99-based-standards] (PRId8): Expect macro.
42389         [C99-based-standards] (PRIi8): Likewise.
42390         [C99-based-standards] (PRIo8): Likewise.
42391         [C99-based-standards] (PRIu8): Likewise.
42392         [C99-based-standards] (PRIx8): Likewise.
42393         [C99-based-standards] (PRIX8): Likewise.
42394         [C99-based-standards] (SCNd8): Likewise.
42395         [C99-based-standards] (SCNi8): Likewise.
42396         [C99-based-standards] (SCNo8): Likewise.
42397         [C99-based-standards] (SCNu8): Likewise.
42398         [C99-based-standards] (SCNx8): Likewise.
42399         [C99-based-standards] (PRIdLEAST8): Likewise.
42400         [C99-based-standards] (PRIiLEAST8): Likewise.
42401         [C99-based-standards] (PRIoLEAST8): Likewise.
42402         [C99-based-standards] (PRIuLEAST8): Likewise.
42403         [C99-based-standards] (PRIxLEAST8): Likewise.
42404         [C99-based-standards] (PRIXLEAST8): Likewise.
42405         [C99-based-standards] (SCNdLEAST8): Likewise.
42406         [C99-based-standards] (SCNiLEAST8): Likewise.
42407         [C99-based-standards] (SCNoLEAST8): Likewise.
42408         [C99-based-standards] (SCNuLEAST8): Likewise.
42409         [C99-based-standards] (SCNxLEAST8): Likewise.
42410         [C99-based-standards] (PRIdFAST8): Likewise.
42411         [C99-based-standards] (PRIiFAST8): Likewise.
42412         [C99-based-standards] (PRIoFAST8): Likewise.
42413         [C99-based-standards] (PRIuFAST8): Likewise.
42414         [C99-based-standards] (PRIxFAST8): Likewise.
42415         [C99-based-standards] (PRIXFAST8): Likewise.
42416         [C99-based-standards] (SCNdFAST8): Likewise.
42417         [C99-based-standards] (SCNiFAST8): Likewise.
42418         [C99-based-standards] (SCNoFAST8): Likewise.
42419         [C99-based-standards] (SCNuFAST8): Likewise.
42420         [C99-based-standards] (SCNxFAST8): Likewise.
42421         [C99-based-standards] (PRId16): Likewise.
42422         [C99-based-standards] (PRIi16): Likewise.
42423         [C99-based-standards] (PRIo16): Likewise.
42424         [C99-based-standards] (PRIu16): Likewise.
42425         [C99-based-standards] (PRIx16): Likewise.
42426         [C99-based-standards] (PRIX16): Likewise.
42427         [C99-based-standards] (SCNd16): Likewise.
42428         [C99-based-standards] (SCNi16): Likewise.
42429         [C99-based-standards] (SCNo16): Likewise.
42430         [C99-based-standards] (SCNu16): Likewise.
42431         [C99-based-standards] (SCNx16): Likewise.
42432         [C99-based-standards] (PRIdLEAST16): Likewise.
42433         [C99-based-standards] (PRIiLEAST16): Likewise.
42434         [C99-based-standards] (PRIoLEAST16): Likewise.
42435         [C99-based-standards] (PRIuLEAST16): Likewise.
42436         [C99-based-standards] (PRIxLEAST16): Likewise.
42437         [C99-based-standards] (PRIXLEAST16): Likewise.
42438         [C99-based-standards] (SCNdLEAST16): Likewise.
42439         [C99-based-standards] (SCNiLEAST16): Likewise.
42440         [C99-based-standards] (SCNoLEAST16): Likewise.
42441         [C99-based-standards] (SCNuLEAST16): Likewise.
42442         [C99-based-standards] (SCNxLEAST16): Likewise.
42443         [C99-based-standards] (PRIdFAST16): Likewise.
42444         [C99-based-standards] (PRIiFAST16): Likewise.
42445         [C99-based-standards] (PRIoFAST16): Likewise.
42446         [C99-based-standards] (PRIuFAST16): Likewise.
42447         [C99-based-standards] (PRIxFAST16): Likewise.
42448         [C99-based-standards] (PRIXFAST16): Likewise.
42449         [C99-based-standards] (SCNdFAST16): Likewise.
42450         [C99-based-standards] (SCNiFAST16): Likewise.
42451         [C99-based-standards] (SCNoFAST16): Likewise.
42452         [C99-based-standards] (SCNuFAST16): Likewise.
42453         [C99-based-standards] (SCNxFAST16): Likewise.
42454         [C99-based-standards] (PRId32): Likewise.
42455         [C99-based-standards] (PRIi32): Likewise.
42456         [C99-based-standards] (PRIo32): Likewise.
42457         [C99-based-standards] (PRIu32): Likewise.
42458         [C99-based-standards] (PRIx32): Likewise.
42459         [C99-based-standards] (PRIX32): Likewise.
42460         [C99-based-standards] (SCNd32): Likewise.
42461         [C99-based-standards] (SCNi32): Likewise.
42462         [C99-based-standards] (SCNo32): Likewise.
42463         [C99-based-standards] (SCNu32): Likewise.
42464         [C99-based-standards] (SCNx32): Likewise.
42465         [C99-based-standards] (PRIdLEAST32): Likewise.
42466         [C99-based-standards] (PRIiLEAST32): Likewise.
42467         [C99-based-standards] (PRIoLEAST32): Likewise.
42468         [C99-based-standards] (PRIuLEAST32): Likewise.
42469         [C99-based-standards] (PRIxLEAST32): Likewise.
42470         [C99-based-standards] (PRIXLEAST32): Likewise.
42471         [C99-based-standards] (SCNdLEAST32): Likewise.
42472         [C99-based-standards] (SCNiLEAST32): Likewise.
42473         [C99-based-standards] (SCNoLEAST32): Likewise.
42474         [C99-based-standards] (SCNuLEAST32): Likewise.
42475         [C99-based-standards] (SCNxLEAST32): Likewise.
42476         [C99-based-standards] (PRIdFAST32): Likewise.
42477         [C99-based-standards] (PRIiFAST32): Likewise.
42478         [C99-based-standards] (PRIoFAST32): Likewise.
42479         [C99-based-standards] (PRIuFAST32): Likewise.
42480         [C99-based-standards] (PRIxFAST32): Likewise.
42481         [C99-based-standards] (PRIXFAST32): Likewise.
42482         [C99-based-standards] (SCNdFAST32): Likewise.
42483         [C99-based-standards] (SCNiFAST32): Likewise.
42484         [C99-based-standards] (SCNoFAST32): Likewise.
42485         [C99-based-standards] (SCNuFAST32): Likewise.
42486         [C99-based-standards] (SCNxFAST32): Likewise.
42487         [C99-based-standards] (PRId64): Likewise.
42488         [C99-based-standards] (PRIi64): Likewise.
42489         [C99-based-standards] (PRIo64): Likewise.
42490         [C99-based-standards] (PRIu64): Likewise.
42491         [C99-based-standards] (PRIx64): Likewise.
42492         [C99-based-standards] (PRIX64): Likewise.
42493         [C99-based-standards] (SCNd64): Likewise.
42494         [C99-based-standards] (SCNi64): Likewise.
42495         [C99-based-standards] (SCNo64): Likewise.
42496         [C99-based-standards] (SCNu64): Likewise.
42497         [C99-based-standards] (SCNx64): Likewise.
42498         [C99-based-standards] (PRIdLEAST64): Likewise.
42499         [C99-based-standards] (PRIiLEAST64): Likewise.
42500         [C99-based-standards] (PRIoLEAST64): Likewise.
42501         [C99-based-standards] (PRIuLEAST64): Likewise.
42502         [C99-based-standards] (PRIxLEAST64): Likewise.
42503         [C99-based-standards] (PRIXLEAST64): Likewise.
42504         [C99-based-standards] (SCNdLEAST64): Likewise.
42505         [C99-based-standards] (SCNiLEAST64): Likewise.
42506         [C99-based-standards] (SCNoLEAST64): Likewise.
42507         [C99-based-standards] (SCNuLEAST64): Likewise.
42508         [C99-based-standards] (SCNxLEAST64): Likewise.
42509         [C99-based-standards] (PRIdFAST64): Likewise.
42510         [C99-based-standards] (PRIiFAST64): Likewise.
42511         [C99-based-standards] (PRIoFAST64): Likewise.
42512         [C99-based-standards] (PRIuFAST64): Likewise.
42513         [C99-based-standards] (PRIxFAST64): Likewise.
42514         [C99-based-standards] (PRIXFAST64): Likewise.
42515         [C99-based-standards] (SCNdFAST64): Likewise.
42516         [C99-based-standards] (SCNiFAST64): Likewise.
42517         [C99-based-standards] (SCNoFAST64): Likewise.
42518         [C99-based-standards] (SCNuFAST64): Likewise.
42519         [C99-based-standards] (SCNxFAST64): Likewise.
42520         [C99-based-standards] (PRIdMAX): Likewise.
42521         [C99-based-standards] (PRIiMAX): Likewise.
42522         [C99-based-standards] (PRIoMAX): Likewise.
42523         [C99-based-standards] (PRIuMAX): Likewise.
42524         [C99-based-standards] (PRIxMAX): Likewise.
42525         [C99-based-standards] (PRIXMAX): Likewise.
42526         [C99-based-standards] (SCNdMAX): Likewise.
42527         [C99-based-standards] (SCNiMAX): Likewise.
42528         [C99-based-standards] (SCNoMAX): Likewise.
42529         [C99-based-standards] (SCNuMAX): Likewise.
42530         [C99-based-standards] (SCNxMAX): Likewise.
42531         [C99-based-standards] (PRIdPTR): Likewise.
42532         [C99-based-standards] (PRIiPTR): Likewise.
42533         [C99-based-standards] (PRIoPTR): Likewise.
42534         [C99-based-standards] (PRIuPTR): Likewise.
42535         [C99-based-standards] (PRIxPTR): Likewise.
42536         [C99-based-standards] (PRIXPTR): Likewise.
42537         [C99-based-standards] (SCNdPTR): Likewise.
42538         [C99-based-standards] (SCNiPTR): Likewise.
42539         [C99-based-standards] (SCNoPTR): Likewise.
42540         [C99-based-standards] (SCNuPTR): Likewise.
42541         [C99-based-standards] (SCNxPTR): Likewise.
42542         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
42543         allow.
42544         * conform/data/stdint.h-data: Update comments to clarify
42545         requirements.
42546         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
42547         type.
42548         [C99-based standards] (INT8_MAX): Likewise.
42549         [C99-based standards] (INT16_MIN): Likewise.
42550         [C99-based standards] (INT16_MAX): Likewise.
42551         [C99-based standards] (INT32_MIN): Likewise.
42552         [C99-based standards] (INT32_MAX): Likewise.
42553         [C99-based standards] (INT64_MIN): Likewise.
42554         [C99-based standards] (INT64_MAX): Likewise.
42555         [C99-based standards] (UINT8_MAX): Likewise.
42556         [C99-based standards] (UINT16_MAX): Likewise.
42557         [C99-based standards] (UINT32_MAX): Likewise.
42558         [C99-based standards] (UINT64_MAX): Likewise.
42559         [C99-based standards] (INT_LEAST8_MIN): Likewise.
42560         [C99-based standards] (INT_LEAST8_MAX): Likewise.
42561         [C99-based standards] (INT_LEAST16_MIN): Likewise.
42562         [C99-based standards] (INT_LEAST16_MAX): Likewise.
42563         [C99-based standards] (INT_LEAST32_MIN): Likewise.
42564         [C99-based standards] (INT_LEAST32_MAX): Likewise.
42565         [C99-based standards] (INT_LEAST64_MIN): Likewise.
42566         [C99-based standards] (INT_LEAST64_MAX): Likewise.
42567         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
42568         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
42569         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
42570         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
42571         [C99-based standards] (INT_FAST8_MIN): Likewise.
42572         [C99-based standards] (INT_FAST8_MAX): Likewise.
42573         [C99-based standards] (INT_FAST16_MIN): Likewise.
42574         [C99-based standards] (INT_FAST16_MAX): Likewise.
42575         [C99-based standards] (INT_FAST32_MIN): Likewise.
42576         [C99-based standards] (INT_FAST32_MAX): Likewise.
42577         [C99-based standards] (INT_FAST64_MIN): Likewise.
42578         [C99-based standards] (INT_FAST64_MAX): Likewise.
42579         [C99-based standards] (UINT_FAST8_MAX): Likewise.
42580         [C99-based standards] (UINT_FAST16_MAX): Likewise.
42581         [C99-based standards] (UINT_FAST32_MAX): Likewise.
42582         [C99-based standards] (UINT_FAST64_MAX): Likewise.
42583         [C99-based standards] (INTPTR_MIN): Likewise.
42584         [C99-based standards] (INTPTR_MAX): Likewise.
42585         [C99-based standards] (UINTPTR_MAX): Likewise.
42586         [C99-based standards] (INTMAX_MIN): Likewise.
42587         [C99-based standards] (INTMAX_MAX): Likewise.
42588         [C99-based standards] (UINTMAX_MAX): Likewise.
42589         [C99-based standards] (PTRDIFF_MIN): Likewise.
42590         [C99-based standards] (PTRDIFF_MAX): Likewise.
42591         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
42592         [C99-based standards] (SIZE_MAX): Likewise.
42593         [C99-based standards] (WCHAR_MAX): Likewise.
42594         [C99-based standards] (WINT_MAX): Likewise.
42595         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
42596         constraint on value.
42597         [C99-based standards] (WCHAR_MIN): Likewise.
42598         [C99-based standards] (WINT_MIN): Likewise.
42599         [C99-based standards] (*_t): Allow.
42600         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
42601         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
42602         Include math.h-data and complex.h-data.  Remove all expectations
42603         of math.h and complex.h contents.
42604         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
42605         at end of line.
42606         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
42607         (struct tm): Expect tag.
42608         [C99-based-standards] (wcstof): Expect function.
42609         [C99-based-standards] (wcstold): Likewise.
42610         [C99-based-standards] (wcstoll): Likewise.
42611         [C99-based-standards] (wcstoull): Likewise.
42612         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
42613         macro-int-constant.  Specify type.
42614         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
42615         constraint on value.
42616         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42617         Specify type.
42618         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
42619         Specify value.
42620         [ISO C standards]: Do not allow headers.
42621         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
42622         wcs[abcdefghijklmnopqrstuvwxyz]*.
42623         [ISO C standards] (*_t): Do not allow.
42624         * conform/data/wctype.h-data [C99-based standards] (iswblank):
42625         Expect function.
42626         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
42627         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42628         Specify type.
42629         [ISO C standards]: Do not allow headers.
42630         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
42631         is[abcdefghijklmnopqrstuvwxyz]*.
42632         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
42633         to[abcdefghijklmnopqrstuvwxyz]*.
42634         [ISO C standards] (*_t): Do not allow.
42635         * conform/data/stdalign.h-data: New file.
42636         * conform/data/stdbool.h-data: Likewise.
42637         * conform/data/stdnoreturn.h-data: Likewise.
42639 2012-11-07  Roland McGrath  <roland@hack.frob.com>
42641         [BZ #14815]
42642         * manual/filesys.texi (Directory Entries): Typo fix.
42643         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
42645 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42647         * elf/elf.h (EM_AARCH64): New macro.
42648         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
42649         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
42650         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
42651         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
42652         (R_AARCH64_TLSDESC): Likewise.
42653         (NT_ARM_TLS): Likewise.
42654         (NT_ARM_HW_BREAK): Likewise.
42655         (NT_ARM_HW_WATCH): Likewise.
42657 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42659         [BZ #14811]
42660         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
42661         (__ieee754_powl): Saturate nonzero exponents with absolute value
42662         below 0x1p-79 to +/- 0x1p-79.
42663         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
42664         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
42665         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
42666         nonzero exponents with absolute value below 0x1p-32 to +/-
42667         0x1p-32.
42668         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
42669         (__ieee754_powl): Saturate nonzero exponents with absolute value
42670         below 0x1p-79 to +/- 0x1p-79.
42671         * math/libm-test.inc (pow_test): Add more tests.
42673 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42675         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
42676         _dl_s390_cap_flags with kernel. Increase string length.
42677         (_dl_s390_platforms): Add z196 and zEC12.
42679 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42681         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
42682         Change XOPEN21K to XOPEN2K.
42684 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
42686         * string/memmove.c: Use memcpy when possible.
42688 2012-11-06  Andreas Jaeger  <aj@suse.de>
42690         * po/eo.po: Update from translation team.
42692 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
42694         [BZ #14793]
42695         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
42696         exponent and small x and y exponents, scale x or y up.  Increase
42697         by 2 the exponent used in scaling up.
42698         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42699         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42700         * math/libm-test.inc (fma_test): Add more tests.
42701         (fma_test_towardzero): Likewise.
42702         (fma_test_downward): Likewise.
42703         (fma_test_upward): Likewise.
42705 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
42707         [BZ #14805]
42708         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
42709         fenv_t *.
42711         [BZ #14801]
42712         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
42713         namespace for names of struct fields.
42714         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
42715         fenv_t fields.
42716         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
42717         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
42719 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42721         [BZ #3665]
42722         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42724 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42726         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
42727         PTR_DEMANGLE.
42729         [BZ #5246]
42730         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
42731         PTR_DEMANGLE.
42733 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
42735         [BZ #14797]
42736         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
42737         definitely overflow as x * y not x * y + z.
42738         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42739         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42740         * math/libm-test.inc (fma_test): Add more tests.
42741         (fma_test_towardzero): Likewise.
42742         (fma_test_downward): Likewise.
42743         (fma_test_upward): Likewise.
42745 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42747         [BZ #157]
42749         * include/stub-tag.h: Remove file.
42750         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42751         '#include' of it.
42752         * manual/maint.texi (Porting): Don't reference it.
42753         * Makerules ($(objpfx)stubs): Likewise.
42754         * dirent/closedir.c: Don't include <stub-tag.h>.
42755         * dirent/dirfd.c: Likewise.
42756         * dirent/fdopendir.c: Likewise.
42757         * dirent/getdents.c: Likewise.
42758         * dirent/getdents64.c: Likewise.
42759         * dirent/opendir.c: Likewise.
42760         * dirent/readdir.c: Likewise.
42761         * dirent/readdir64.c: Likewise.
42762         * dirent/readdir64_r.c: Likewise.
42763         * dirent/readdir_r.c: Likewise.
42764         * dirent/rewinddir.c: Likewise.
42765         * dirent/seekdir.c: Likewise.
42766         * dirent/telldir.c: Likewise.
42767         * gmon/profil.c: Likewise.
42768         * grp/setgroups.c: Likewise.
42769         * inet/if_index.c: Likewise.
42770         * io/access.c: Likewise.
42771         * io/chdir.c: Likewise.
42772         * io/chmod.c: Likewise.
42773         * io/chown.c: Likewise.
42774         * io/close.c: Likewise.
42775         * io/dup.c: Likewise.
42776         * io/dup2.c: Likewise.
42777         * io/dup3.c: Likewise.
42778         * io/euidaccess.c: Likewise.
42779         * io/faccessat.c: Likewise.
42780         * io/fchdir.c: Likewise.
42781         * io/fchmod.c: Likewise.
42782         * io/fchmodat.c: Likewise.
42783         * io/fchown.c: Likewise.
42784         * io/fchownat.c: Likewise.
42785         * io/fcntl.c: Likewise.
42786         * io/flock.c: Likewise.
42787         * io/fstatfs.c: Likewise.
42788         * io/fstatfs64.c: Likewise.
42789         * io/fstatvfs.c: Likewise.
42790         * io/fstatvfs64.c: Likewise.
42791         * io/futimens.c: Likewise.
42792         * io/fxstat.c: Likewise.
42793         * io/fxstat64.c: Likewise.
42794         * io/fxstatat.c: Likewise.
42795         * io/fxstatat64.c: Likewise.
42796         * io/getcwd.c: Likewise.
42797         * io/isatty.c: Likewise.
42798         * io/lchmod.c: Likewise.
42799         * io/lchown.c: Likewise.
42800         * io/link.c: Likewise.
42801         * io/linkat.c: Likewise.
42802         * io/lseek.c: Likewise.
42803         * io/lseek64.c: Likewise.
42804         * io/lxstat64.c: Likewise.
42805         * io/mkdir.c: Likewise.
42806         * io/mkdirat.c: Likewise.
42807         * io/mkfifo.c: Likewise.
42808         * io/mkfifoat.c: Likewise.
42809         * io/open.c: Likewise.
42810         * io/open64.c: Likewise.
42811         * io/openat.c: Likewise.
42812         * io/openat64.c: Likewise.
42813         * io/pipe.c: Likewise.
42814         * io/pipe2.c: Likewise.
42815         * io/poll.c: Likewise.
42816         * io/posix_fadvise.c: Likewise.
42817         * io/posix_fadvise64.c: Likewise.
42818         * io/posix_fallocate.c: Likewise.
42819         * io/posix_fallocate64.c: Likewise.
42820         * io/read.c: Likewise.
42821         * io/readlink.c: Likewise.
42822         * io/readlinkat.c: Likewise.
42823         * io/rmdir.c: Likewise.
42824         * io/sendfile.c: Likewise.
42825         * io/sendfile64.c: Likewise.
42826         * io/statfs.c: Likewise.
42827         * io/statfs64.c: Likewise.
42828         * io/statvfs.c: Likewise.
42829         * io/statvfs64.c: Likewise.
42830         * io/symlink.c: Likewise.
42831         * io/symlinkat.c: Likewise.
42832         * io/ttyname.c: Likewise.
42833         * io/ttyname_r.c: Likewise.
42834         * io/umask.c: Likewise.
42835         * io/unlink.c: Likewise.
42836         * io/unlinkat.c: Likewise.
42837         * io/utime.c: Likewise.
42838         * io/utimensat.c: Likewise.
42839         * io/write.c: Likewise.
42840         * io/xmknod.c: Likewise.
42841         * io/xmknodat.c: Likewise.
42842         * io/xstat.c: Likewise.
42843         * io/xstat64.c: Likewise.
42844         * login/getpt.c: Likewise.
42845         * login/grantpt.c: Likewise.
42846         * login/unlockpt.c: Likewise.
42847         * math/e_acoshl.c: Likewise.
42848         * math/e_acosl.c: Likewise.
42849         * math/e_asinl.c: Likewise.
42850         * math/e_atan2l.c: Likewise.
42851         * math/e_atanhl.c: Likewise.
42852         * math/e_coshl.c: Likewise.
42853         * math/e_expl.c: Likewise.
42854         * math/e_fmodl.c: Likewise.
42855         * math/e_gammal_r.c: Likewise.
42856         * math/e_hypotl.c: Likewise.
42857         * math/e_j0l.c: Likewise.
42858         * math/e_j1l.c: Likewise.
42859         * math/e_jnl.c: Likewise.
42860         * math/e_lgammal_r.c: Likewise.
42861         * math/e_log10l.c: Likewise.
42862         * math/e_log2l.c: Likewise.
42863         * math/e_logl.c: Likewise.
42864         * math/e_powl.c: Likewise.
42865         * math/e_rem_pio2l.c: Likewise.
42866         * math/e_sinhl.c: Likewise.
42867         * math/e_sqrtl.c: Likewise.
42868         * math/fclrexcpt.c: Likewise.
42869         * math/fedisblxcpt.c: Likewise.
42870         * math/feenablxcpt.c: Likewise.
42871         * math/fegetenv.c: Likewise.
42872         * math/fegetexcept.c: Likewise.
42873         * math/fegetround.c: Likewise.
42874         * math/feholdexcpt.c: Likewise.
42875         * math/fesetenv.c: Likewise.
42876         * math/fesetround.c: Likewise.
42877         * math/feupdateenv.c: Likewise.
42878         * math/fgetexcptflg.c: Likewise.
42879         * math/fraiseexcpt.c: Likewise.
42880         * math/fsetexcptflg.c: Likewise.
42881         * math/ftestexcept.c: Likewise.
42882         * math/k_cosl.c: Likewise.
42883         * math/k_rem_pio2l.c: Likewise.
42884         * math/k_sinl.c: Likewise.
42885         * math/k_tanl.c: Likewise.
42886         * math/s_asinhl.c: Likewise.
42887         * math/s_atanl.c: Likewise.
42888         * math/s_cbrtl.c: Likewise.
42889         * math/s_erfl.c: Likewise.
42890         * math/s_expm1l.c: Likewise.
42891         * math/s_log1pl.c: Likewise.
42892         * math/s_tanhl.c: Likewise.
42893         * misc/acct.c: Likewise.
42894         * misc/brk.c: Likewise.
42895         * misc/chflags.c: Likewise.
42896         * misc/chroot.c: Likewise.
42897         * misc/fchflags.c: Likewise.
42898         * misc/fgetxattr.c: Likewise.
42899         * misc/flistxattr.c: Likewise.
42900         * misc/fremovexattr.c: Likewise.
42901         * misc/fsetxattr.c: Likewise.
42902         * misc/fsync.c: Likewise.
42903         * misc/ftruncate.c: Likewise.
42904         * misc/futimes.c: Likewise.
42905         * misc/futimesat.c: Likewise.
42906         * misc/getdomain.c: Likewise.
42907         * misc/getdtsz.c: Likewise.
42908         * misc/gethostid.c: Likewise.
42909         * misc/gethostname.c: Likewise.
42910         * misc/getloadavg.c: Likewise.
42911         * misc/getpagesize.c: Likewise.
42912         * misc/getsysstats.c: Likewise.
42913         * misc/getxattr.c: Likewise.
42914         * misc/gtty.c: Likewise.
42915         * misc/ioctl.c: Likewise.
42916         * misc/lgetxattr.c: Likewise.
42917         * misc/listxattr.c: Likewise.
42918         * misc/llistxattr.c: Likewise.
42919         * misc/lremovexattr.c: Likewise.
42920         * misc/lsetxattr.c: Likewise.
42921         * misc/lutimes.c: Likewise.
42922         * misc/madvise.c: Likewise.
42923         * misc/mincore.c: Likewise.
42924         * misc/mlock.c: Likewise.
42925         * misc/mlockall.c: Likewise.
42926         * misc/mmap.c: Likewise.
42927         * misc/mprotect.c: Likewise.
42928         * misc/msync.c: Likewise.
42929         * misc/munlock.c: Likewise.
42930         * misc/munlockall.c: Likewise.
42931         * misc/munmap.c: Likewise.
42932         * misc/preadv.c: Likewise.
42933         * misc/preadv64.c: Likewise.
42934         * misc/ptrace.c: Likewise.
42935         * misc/pwritev.c: Likewise.
42936         * misc/pwritev64.c: Likewise.
42937         * misc/readv.c: Likewise.
42938         * misc/reboot.c: Likewise.
42939         * misc/remap_file_pages.c: Likewise.
42940         * misc/removexattr.c: Likewise.
42941         * misc/revoke.c: Likewise.
42942         * misc/select.c: Likewise.
42943         * misc/setdomain.c: Likewise.
42944         * misc/setegid.c: Likewise.
42945         * misc/seteuid.c: Likewise.
42946         * misc/sethostid.c: Likewise.
42947         * misc/sethostname.c: Likewise.
42948         * misc/setregid.c: Likewise.
42949         * misc/setreuid.c: Likewise.
42950         * misc/setxattr.c: Likewise.
42951         * misc/sstk.c: Likewise.
42952         * misc/stty.c: Likewise.
42953         * misc/swapoff.c: Likewise.
42954         * misc/swapon.c: Likewise.
42955         * misc/sync.c: Likewise.
42956         * misc/syncfs.c: Likewise.
42957         * misc/syscall.c: Likewise.
42958         * misc/truncate.c: Likewise.
42959         * misc/ualarm.c: Likewise.
42960         * misc/usleep.c: Likewise.
42961         * misc/ustat.c: Likewise.
42962         * misc/utimes.c: Likewise.
42963         * misc/vhangup.c: Likewise.
42964         * misc/writev.c: Likewise.
42965         * posix/_exit.c: Likewise.
42966         * posix/alarm.c: Likewise.
42967         * posix/execve.c: Likewise.
42968         * posix/fexecve.c: Likewise.
42969         * posix/fork.c: Likewise.
42970         * posix/fpathconf.c: Likewise.
42971         * posix/getaddrinfo.c: Likewise.
42972         * posix/getegid.c: Likewise.
42973         * posix/geteuid.c: Likewise.
42974         * posix/getgid.c: Likewise.
42975         * posix/getgroups.c: Likewise.
42976         * posix/getlogin.c: Likewise.
42977         * posix/getlogin_r.c: Likewise.
42978         * posix/getpgid.c: Likewise.
42979         * posix/getpid.c: Likewise.
42980         * posix/getppid.c: Likewise.
42981         * posix/getresgid.c: Likewise.
42982         * posix/getresuid.c: Likewise.
42983         * posix/getsid.c: Likewise.
42984         * posix/getuid.c: Likewise.
42985         * posix/glob64.c: Likewise.
42986         * posix/nanosleep.c: Likewise.
42987         * posix/pathconf.c: Likewise.
42988         * posix/pause.c: Likewise.
42989         * posix/posix_madvise.c: Likewise.
42990         * posix/pread.c: Likewise.
42991         * posix/pread64.c: Likewise.
42992         * posix/pwrite.c: Likewise.
42993         * posix/pwrite64.c: Likewise.
42994         * posix/sched_getaffinity.c: Likewise.
42995         * posix/sched_getp.c: Likewise.
42996         * posix/sched_gets.c: Likewise.
42997         * posix/sched_primax.c: Likewise.
42998         * posix/sched_primin.c: Likewise.
42999         * posix/sched_rr_gi.c: Likewise.
43000         * posix/sched_setaffinity.c: Likewise.
43001         * posix/sched_setp.c: Likewise.
43002         * posix/sched_sets.c: Likewise.
43003         * posix/sched_yield.c: Likewise.
43004         * posix/setgid.c: Likewise.
43005         * posix/setlogin.c: Likewise.
43006         * posix/setpgid.c: Likewise.
43007         * posix/setresgid.c: Likewise.
43008         * posix/setresuid.c: Likewise.
43009         * posix/setsid.c: Likewise.
43010         * posix/setuid.c: Likewise.
43011         * posix/sleep.c: Likewise.
43012         * posix/spawni.c: Likewise.
43013         * posix/sysconf.c: Likewise.
43014         * posix/times.c: Likewise.
43015         * posix/wait.c: Likewise.
43016         * posix/wait3.c: Likewise.
43017         * posix/wait4.c: Likewise.
43018         * posix/waitpid.c: Likewise.
43019         * resolv/gai_sigqueue.c: Likewise.
43020         * resource/getpriority.c: Likewise.
43021         * resource/getrlimit.c: Likewise.
43022         * resource/getrusage.c: Likewise.
43023         * resource/nice.c: Likewise.
43024         * resource/setpriority.c: Likewise.
43025         * resource/setrlimit.c: Likewise.
43026         * resource/ulimit.c: Likewise.
43027         * rt/aio_cancel.c: Likewise.
43028         * rt/aio_fsync.c: Likewise.
43029         * rt/aio_read.c: Likewise.
43030         * rt/aio_sigqueue.c: Likewise.
43031         * rt/aio_suspend.c: Likewise.
43032         * rt/aio_write.c: Likewise.
43033         * rt/clock_getres.c: Likewise.
43034         * rt/clock_gettime.c: Likewise.
43035         * rt/clock_nanosleep.c: Likewise.
43036         * rt/clock_settime.c: Likewise.
43037         * rt/lio_listio.c: Likewise.
43038         * rt/mq_close.c: Likewise.
43039         * rt/mq_getattr.c: Likewise.
43040         * rt/mq_notify.c: Likewise.
43041         * rt/mq_open.c: Likewise.
43042         * rt/mq_receive.c: Likewise.
43043         * rt/mq_send.c: Likewise.
43044         * rt/mq_setattr.c: Likewise.
43045         * rt/mq_timedreceive.c: Likewise.
43046         * rt/mq_timedsend.c: Likewise.
43047         * rt/mq_unlink.c: Likewise.
43048         * rt/shm_open.c: Likewise.
43049         * rt/shm_unlink.c: Likewise.
43050         * rt/timer_create.c: Likewise.
43051         * rt/timer_delete.c: Likewise.
43052         * rt/timer_getoverr.c: Likewise.
43053         * rt/timer_gettime.c: Likewise.
43054         * rt/timer_settime.c: Likewise.
43055         * setjmp/__longjmp.c: Likewise.
43056         * setjmp/setjmp.c: Likewise.
43057         * signal/kill.c: Likewise.
43058         * signal/killpg.c: Likewise.
43059         * signal/raise.c: Likewise.
43060         * signal/sigaction.c: Likewise.
43061         * signal/sigaltstack.c: Likewise.
43062         * signal/sigblock.c: Likewise.
43063         * signal/sigignore.c: Likewise.
43064         * signal/sigintr.c: Likewise.
43065         * signal/signal.c: Likewise.
43066         * signal/sigpause.c: Likewise.
43067         * signal/sigpending.c: Likewise.
43068         * signal/sigqueue.c: Likewise.
43069         * signal/sigreturn.c: Likewise.
43070         * signal/sigset.c: Likewise.
43071         * signal/sigsetmask.c: Likewise.
43072         * signal/sigstack.c: Likewise.
43073         * signal/sigsuspend.c: Likewise.
43074         * signal/sigtimedwait.c: Likewise.
43075         * signal/sigvec.c: Likewise.
43076         * signal/sigwait.c: Likewise.
43077         * signal/sigwaitinfo.c: Likewise.
43078         * signal/sysv_signal.c: Likewise.
43079         * socket/accept.c: Likewise.
43080         * socket/accept4.c: Likewise.
43081         * socket/bind.c: Likewise.
43082         * socket/connect.c: Likewise.
43083         * socket/getpeername.c: Likewise.
43084         * socket/getsockname.c: Likewise.
43085         * socket/getsockopt.c: Likewise.
43086         * socket/isfdtype.c: Likewise.
43087         * socket/listen.c: Likewise.
43088         * socket/recv.c: Likewise.
43089         * socket/recvfrom.c: Likewise.
43090         * socket/recvmsg.c: Likewise.
43091         * socket/send.c: Likewise.
43092         * socket/sendmsg.c: Likewise.
43093         * socket/sendto.c: Likewise.
43094         * socket/setsockopt.c: Likewise.
43095         * socket/shutdown.c: Likewise.
43096         * socket/sockatmark.c: Likewise.
43097         * socket/socket.c: Likewise.
43098         * socket/socketpair.c: Likewise.
43099         * stdio-common/ctermid.c: Likewise.
43100         * stdio-common/cuserid.c: Likewise.
43101         * stdio-common/remove.c: Likewise.
43102         * stdio-common/rename.c: Likewise.
43103         * stdio-common/renameat.c: Likewise.
43104         * stdio-common/tempname.c: Likewise.
43105         * stdlib/getcontext.c: Likewise.
43106         * stdlib/makecontext.c: Likewise.
43107         * stdlib/setcontext.c: Likewise.
43108         * stdlib/swapcontext.c: Likewise.
43109         * stdlib/system.c: Likewise.
43110         * streams/fattach.c: Likewise.
43111         * streams/fdetach.c: Likewise.
43112         * streams/getmsg.c: Likewise.
43113         * streams/getpmsg.c: Likewise.
43114         * streams/putmsg.c: Likewise.
43115         * streams/putpmsg.c: Likewise.
43116         * sysdeps/unix/bsd/getpt.c: Likewise.
43117         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
43118         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
43119         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43121         Likewise.
43122         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
43123         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43124         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
43125         * sysvipc/msgctl.c: Likewise.
43126         * sysvipc/msgget.c: Likewise.
43127         * sysvipc/msgrcv.c: Likewise.
43128         * sysvipc/msgsnd.c: Likewise.
43129         * sysvipc/semctl.c: Likewise.
43130         * sysvipc/semget.c: Likewise.
43131         * sysvipc/semop.c: Likewise.
43132         * sysvipc/semtimedop.c: Likewise.
43133         * sysvipc/shmat.c: Likewise.
43134         * sysvipc/shmctl.c: Likewise.
43135         * sysvipc/shmdt.c: Likewise.
43136         * sysvipc/shmget.c: Likewise.
43137         * termios/tcdrain.c: Likewise.
43138         * termios/tcflow.c: Likewise.
43139         * termios/tcflush.c: Likewise.
43140         * termios/tcgetattr.c: Likewise.
43141         * termios/tcgetpgrp.c: Likewise.
43142         * termios/tcsendbrk.c: Likewise.
43143         * termios/tcsetattr.c: Likewise.
43144         * termios/tcsetpgrp.c: Likewise.
43145         * time/adjtime.c: Likewise.
43146         * time/clock.c: Likewise.
43147         * time/getitimer.c: Likewise.
43148         * time/gettimeofday.c: Likewise.
43149         * time/setitimer.c: Likewise.
43150         * time/settimeofday.c: Likewise.
43151         * time/stime.c: Likewise.
43152         * time/time.c: Likewise.
43154 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
43156         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
43157         /usr/old/bin.
43159         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
43160         instead of spaces.
43161         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
43163 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
43165         [BZ #14796]
43166         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
43167         FE_TONEAREST before applying Dekker multiplication and Knuth
43168         addition.  Clear inexact exceptions and check for exact zero
43169         results afterwards.
43170         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43171         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43172         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43173         * math/libm-test.inc (fma_test): Add more tests.
43174         (fma_test_towardzero): Likewise.
43175         (fma_test_downward): Likewise.
43176         (fma_test_upward): Likewise.
43177         * sysdeps/generic/math_private.h (default_libc_fesetround): New
43178         function.
43179         (libc_fesetround): New macro.
43180         (libc_fesetroundf): Likewise.
43181         (libc_fesetroundl): Likewise.
43182         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
43183         function.
43184         (libc_fesetround_387): Likewise.
43185         (libc_fesetroundf): New macro.
43186         (libc_fesetround): Likewise.
43187         (libc_fesetroundl): Likewise.
43188         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
43189         function.
43190         (libc_fesetroundf): New macro.
43191         (libc_fesetround): Likewise.
43192         (libc_fesetroundl): Likewise.
43193         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
43194         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
43195         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
43196         libm_hidden_ver.
43197         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
43198         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
43199         libm_hidden_def.
43200         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
43201         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
43202         libm_hidden_ver.
43203         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
43204         libm_hidden_def.
43206         [BZ #3439]
43207         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
43208         integer constant usable in #if and use that to give value to enum
43209         constant.
43210         (FE_DIVBYZERO): Likewise.
43211         (FE_UNDERFLOW): Likewise.
43212         (FE_OVERFLOW): Likewise.
43213         (FE_INVALID): Likewise.
43214         (FE_INVALID_SNAN): Likewise.
43215         (FE_INVALID_ISI): Likewise.
43216         (FE_INVALID_IDI): Likewise.
43217         (FE_INVALID_ZDZ): Likewise.
43218         (FE_INVALID_IMZ): Likewise.
43219         (FE_INVALID_COMPARE): Likewise.
43220         (FE_INVALID_SOFTWARE): Likewise.
43221         (FE_INVALID_SQRT): Likewise.
43222         (FE_INVALID_INTEGER_CONVERSION): Likewise.
43223         (FE_TONEAREST): Likewise.
43224         (FE_TOWARDZERO): Likewise.
43225         (FE_UPWARD): Likewise.
43226         (FE_DOWNWARD): Likewise.
43227         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
43228         (FE_DIVBYZERO): Likewise.
43229         (FE_OVERFLOW): Likewise.
43230         (FE_UNDERFLOW): Likewise.
43231         (FE_INEXACT): Likewise.
43232         (FE_TONEAREST): Likewise.
43233         (FE_DOWNWARD): Likewise.
43234         (FE_UPWARD): Likewise.
43235         (FE_TOWARDZERO): Likewise.
43236         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
43237         (FE_UNDERFLOW): Likewise.
43238         (FE_OVERFLOW): Likewise.
43239         (FE_DIVBYZERO): Likewise.
43240         (FE_INVALID): Likewise.
43241         (FE_TONEAREST): Likewise.
43242         (FE_TOWARDZERO): Likewise.
43243         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
43244         (FE_OVERFLOW): Likewise.
43245         (FE_UNDERFLOW): Likewise.
43246         (FE_DIVBYZERO): Likewise.
43247         (FE_INEXACT): Likewise.
43248         (FE_TONEAREST): Likewise.
43249         (FE_TOWARDZERO): Likewise.
43250         (FE_UPWARD): Likewise.
43251         (FE_DOWNWARD): Likewise.
43252         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
43253         (FE_DIVBYZERO): Likewise.
43254         (FE_OVERFLOW): Likewise.
43255         (FE_UNDERFLOW): Likewise.
43256         (FE_INEXACT): Likewise.
43257         (FE_TONEAREST): Likewise.
43258         (FE_DOWNWARD): Likewise.
43259         (FE_UPWARD): Likewise.
43260         (FE_TOWARDZERO): Likewise.
43262 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
43264         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
43266 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
43268         * scripts/cross-test-ssh.sh (command): Use newlines to separate
43269         commands.  Quote $PWD.
43270         (blacklist_exports): Don't use remove_newlines.  Replace "declare
43271         -x" by "export".
43272         (remove_newlines): Remove.
43274 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
43276         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
43277         * stdlib/stdlib.h (atof): Moved to ...
43278         * include/bits/stdlib-float.h: Here.  New file.
43279         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
43280         * stdlib/bits/stdlib-float.h: New file.
43281         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
43282         -mno-sse -mno-mmx.
43283         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
43284         <xmmintrin.h>.
43286 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43288         * conform/conformtest.pl (@headers): Add fenv.h.
43289         * conform/data/fenv.h-data: New file.
43290         * include/fenv.h [_ISOMAC]: Disable all contents of file except
43291         include of <math/fenv.h>.
43293         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
43294         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
43295         && !UNIX98].  Enables tests for XOPEN2K8.
43296         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
43297         POSIX2008]: Likewise.
43299         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
43300         (struct rusage): Do not expect type or its members.
43302         [BZ #3439]
43303         * math/math.h (FP_NAN): Define macro to integer constant usable in
43304         #if and use that to give value to enum constant.
43305         (FP_INFINITE): Likewise.
43306         (FP_ZERO): Likewise.
43307         (FP_SUBNORMAL): Likewise.
43308         (FP_NORMAL): Likewise.
43310 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
43312         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
43313         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
43314         arguments.
43316 2012-11-02  Roland McGrath  <roland@hack.frob.com>
43318         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
43319         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
43320         autoconf-time if not.
43321         * configure.in: Remove AC_PREREQ.
43323 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43325         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
43326         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
43327         of the internal implementation.
43329 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43331         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
43332         except include of <misc/sys/syslog.h>.
43334 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
43337         function returns with a NULL context exit with zero.
43339 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43341         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
43343 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
43345         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
43346         (run_program_cmd): This.
43347         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
43348         (tst_langinfo): New variable.  Use it.
43350 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
43352         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
43353         floating point opcodes.
43355 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43357         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
43358         variable.
43360         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
43362         * sysdeps/mach/hurd/powerpc: Remove directory.
43363         * sysdeps/mach/powerpc: Likewise.
43365 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43367         * scripts/check-local-headers.sh: Ignore c++ headers.
43369 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43371         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
43372         __libc_cleanup_region_start argument.
43374 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
43376         [BZ #14784]
43377         [BZ #14785]
43378         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
43379         x * y using scaling, not as x * y + z.
43380         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43381         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43382         * math/libm-test.inc (fma_test): Add more tests.
43383         (fma_test_towardzero): Likewise.
43384         (fma_test_downward): Likewise.
43385         (fma_test_upward): Likewise.
43387 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43389         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
43391 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43393         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
43394         New variable.
43396 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
43398         * rt/tst-shm.c (worker): Correct checking for mmap failure.
43400 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43403         Fix sort order.
43404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43405         Likewise.
43407 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43410         Fix the order of the list for glibc 2.17.
43411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43412         Likewise.
43414 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43418 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43420         [BZ #14610]
43421         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
43422         for low part of x being zero before using __atanl (y).
43423         * math/libm-test.inc (atan2_test): Add another test.
43425         * manual/install.texi (Configuring and compiling): Document
43426         general use of test-wrapper and test-wrapper-env.
43427         * INSTALL: Regenerated.
43429         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
43430         (__fma): Do not extract and scale down low bits on after-rounding
43431         systems when result rounded to normal precision would have normal
43432         exponent.
43433         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
43434         (__fmal): Do not extract and scale down low bits on after-rounding
43435         systems when result rounded to normal precision would have normal
43436         exponent.
43437         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
43438         (__fmal): Do not extract and scale down low bits on after-rounding
43439         systems when result rounded to normal precision would have normal
43440         exponent.
43441         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
43442         macro.
43443         (fma_test): Add more tests.
43444         (fma_test_towardzero): Likewise.
43445         (fma_test_downward): Likewise.
43446         (fma_test_upward): Likewise.
43448 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
43450         * sysdeps/i386/tininess.h: Renamed to ...
43451         * sysdeps/x86/tininess.h: This.
43452         * sysdeps/x86_64/tininess.h: Removed.
43454 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43456         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
43457         input.  Use $(build-program-cmd).
43458         ($(objpfx)tst-array1-static.out): Likewise.
43459         ($(objpfx)tst-array2.out): Likewise.
43460         ($(objpfx)tst-array3.out): Likewise.
43461         ($(objpfx)tst-array4.out): Likewise.
43462         ($(objpfx)tst-array5.out): Likewise.
43463         ($(objpfx)tst-array5-static.out): Likewise.
43465 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
43467         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
43468         if defined.
43470         * nss/nsswitch.h (nss_interface_function): Provide new
43471         macro for use with NSS functions.
43472         * grp/initgroups.c: Use new macro.
43473         * nss/getXXbyYY.c: Likewise.
43474         * nss/getXXbyYY_r.c: Likewise.
43475         * nss/getXXent.c: Likewise.
43476         * nss/getXXent_r.c: Likewise.
43477         * sysdeps/posix/getaddrinfo.c: Likewise.
43479 2012-10-30  Andreas Jaeger  <aj@suse.de>
43481         * po/ru.po: Update Russion translation from translation project.
43483 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43485         [BZ #14152]
43486         [BZ #14783]
43487         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
43488         result and shift together with sticky bit instead of replicating
43489         round-to-nearest rounding.
43490         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43491         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43492         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
43493         missing underflow exceptions.
43494         (fma_test_towardzero): Add more tests.
43495         (fma_test_downward): Likewise.
43496         (fma_test_upward): Likewise.
43498         [BZ #14047]
43499         * sysdeps/generic/tininess.h: New file.
43500         * sysdeps/i386/tininess.h: Likewise.
43501         * sysdeps/sh/tininess.h: Likewise.
43502         * sysdeps/x86_64/tininess.h: Likewise.
43503         * stdlib/tst-strtod-underflow.c: Likewise.
43504         * stdlib/tst-tininess.c: Likewise.
43505         * stdlib/strtod_l.c: Include <tininess.h>.
43506         (round_and_return): Do not set errno for exact underflow cases.
43507         Force an underflow exception when setting errno for underflow.
43508         Determine underflow based on rounding to normal precision if
43509         TININESS_AFTER_ROUNDING.
43510         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
43511         ERANGE for exact underflow cases.
43512         * stdlib/Makefile (tests): Add tst-tininess and
43513         tst-strtod-underflow.
43514         ($(objpfx)tst-tininess): Use $(link-libm).
43515         ($(objpfx)tst-strtod-underflow): Likewise.
43517 2012-10-30  Andreas Jaeger  <aj@suse.de>
43519         [BZ#14767]
43520         * elf/Makefile (tests): Remove conditional for have-initfini-array
43521         since this is now always required and the variable does not exist
43522         anymore.
43523         (tests-static): Likewise.
43524         (modules-names): Likewise.
43526         * po/eo.po: Add Esperanto translation from translation project.
43528         * elf/tst-array1.c (fini_array): Make writeable so that it can be
43529         merged with constructor/destructor.
43530         (init_array): Likewise.
43531         * elf/tst-array2dep.c (fini_array): Likewise.
43532         (init_array): Likewise.
43534 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
43536         * manual/message.texi: Delete @cartouche tags.
43538 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
43540         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
43541         EOPNOTSUPP.
43542         * sysdeps/mach/hurd/fsync.c: Likewise.
43544         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
43545         [_POSIX_REALTIME_SIGNALS]: Change condition to
43546         [_POSIX_REALTIME_SIGNALS > 0].
43548 2012-10-27  Andreas Jaeger  <aj@suse.de>
43550         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
43551         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
43552         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
43553         [__WORDSIZE != 64]: Likewise.
43555 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
43557         *  iconvdata/tst-table.sh: Remove ${SHELL}.
43558         *  iconvdata/tst-tables.sh: Likewise.
43560 2012-10-25  David S. Miller  <davem@davemloft.net>
43562         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43563         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
43564         of strtoull.
43566         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
43567         ifunc-impl-list.c
43568         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43569         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
43570         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
43571         file.
43573 2012-10-25  Roland McGrath  <roland@hack.frob.com>
43575         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43576         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
43577         __getdirentries.
43579 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43580             Jim Blandy  <jimb@codesourcery.com>
43582         * scripts/cross-test-ssh.sh: New file.
43583         * manual/install.texi (Configuring and compiling): Document use of
43584         cross-test-ssh.sh.
43585         * INSTALL: Regenerated.
43587 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
43589         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
43590         EOPNOTSUPP.
43592 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43594         * Makeconfig (run-program-prefix): Fix comment.
43596 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43597             Jim Blandy  <jimb@codesourcery.com>
43599         * Makeconfig (test-wrapper): New variable,
43600         (test-wrapper-env): Likewise.
43601         [$(cross-compiling) = yes && $(test-wrapper) != ""]
43602         (run-built-tests): Define to yes.
43603         (run-program-prefix): Use $(test-wrapper).
43604         (built-program-cmd): Likewise.
43605         * Rules (make-test-out): Use $(test-wrapper-env) and
43606         $(host-built-program-cmd).
43607         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
43608         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
43609         tst-pathopt.sh.
43610         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
43611         $(test-wrapper-env) to tst-rtld-load-self.sh.
43612         ($(objpfx)order2.out): Use $(test-wrapper).
43613         ($(objpfx)tst-initorder.out): Likewise.
43614         ($(objpfx)tst-initorder2.out): Likewise.
43615         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
43616         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
43617         (test_wrapper_env): New variable.  Use it to run ld.so.
43618         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
43619         Use it to run ld.so.
43620         (test_wrapper_env): Likewise.
43621         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
43622         $(test-wrapper) to run-iconv-test.sh.
43623         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
43624         (ICONV): Use $test_wrapper.
43625         * posix/Makefile ($(objpfx)globtest.out): Pass
43626         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
43627         globtest.sh, not $(run-program-prefix).
43628         * posix/globtest.sh (run_via_rtld_prefix): New variable.
43629         (test_wrapper): Likewise.
43630         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
43631         set together with run_via_rtld_prefix.
43632         (run_program_prefix): Define in terms of test_wrapper and
43633         run_via_rtld_prefix.
43635 2012-10-24  Roland McGrath  <roland@hack.frob.com>
43637         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
43638         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
43639         Targets removed.
43641         [BZ #14743]
43642         * include/time.h: Remove librt_hidden_proto (clock_gettime).
43643         Declare __clock_getres, __clock_gettime, __clock_settime,
43644         __clock_nanosleep, and __clock_getcpuclockid.
43645         * rt/clock_gettime.c: Define __clock_gettime as an alias.
43646         Remove librt_hidden_def (clock_gettime).
43647         * sysdeps/unix/clock_gettime.c: Likewise.
43648         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
43649         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43650         * rt/clock_getres.c: Define __clock_getres as an alias.
43651         * sysdeps/posix/clock_getres.c: Likewise.
43652         * rt/clock_settime.c: Define __clock_settime as an alias.
43653         * sysdeps/unix/clock_settime.c: Likewise.
43654         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
43655         * sysdeps/unix/clock_nanosleep.c: Likewise.
43656         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43657         * rt/clock-compat.c: New file.
43658         * rt/Makefile (librt-routines): Add clock-compat and move
43659         $(clock-routines) to ...
43660         (routines): ... here, new variable.
43661         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
43662         Don't add get_clockfreq here.
43663         * rt/Versions (libc: GLIBC_2.17): New version set.
43664         Add clock_* symbols here.
43665         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
43666         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
43667         (GLIBC_2.17): Add clock_* symbols.
43668         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43669         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43670         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43672         Likewise.
43673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43674         Likewise.
43675         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43676         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43678         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43679         * NEWS: Mention the move.
43681         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43682         Use __open, __read, __close rather than their public counterparts.
43683         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43684         (__get_clockfreq_via_cpuinfo): Likewise.
43685         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
43686         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
43688         * config.h.in (HAVE_IFUNC): New #undef.
43689         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
43690         was successful.
43691         * configure: Regenerated.
43693 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43695         * configure.in: Move READELF check to start of file.
43696         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
43697         libc_cv_asm_gnu_indirect_function in the process.
43698         * configure: Regenerated.
43700 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43702         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
43703         send the output to /dev/null.
43704         (libc_cv_cc_with_libunwind): Likewise.
43705         (libc_cv_as_noexecstack): Likewise.
43706         * configure: Regenerate.
43708 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43710         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
43712         * posix/globtest.sh (TMPDIR): Do not set.
43713         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
43714         (testout): Likewise.
43716 2012-10-24  Andreas Jaeger  <aj@suse.de>
43718         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
43719         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
43720         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
43721         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
43722         posix_fadvise64, posix_fallocate64.
43724         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
43725         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
43726         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
43727         Likewise.
43728         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
43729         Likewise.
43730         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
43732         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
43733         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
43734         <bits/fcntl-linux.h>.
43735         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
43737         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
43738         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
43739         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
43740         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43741         [__WORDSIZE != 64]: Likewise.
43743 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43745         * Makeconfig (run-built-tests): New variable.
43746         * Rules [$(cross-compiling) = yes]: Change condition to
43747         [$(run-built-tests) = no].
43748         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43749         to [$(run-built-tests) = yes].
43750         * elf/Makefile [$(cross-compiling) = no]: Likewise
43751         * grp/Makefile [$(cross-compiling) = no]: Likewise.
43752         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43753         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43754         * intl/Makefile [$(cross-compiling) = no]: Likewise.
43755         * io/Makefile [$(cross-compiling) = no]: Likewise.
43756         * libio/Makefile [$(cross-compiling) = no]: Likewise.
43757         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
43758         * misc/Makefile [$(cross-compiling) = no]: Likewise.
43759         * posix/Makefile [$(cross-compiling) = no]: Likewise.
43760         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
43761         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
43762         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
43763         * string/Makefile [$(cross-compiling) = no]: Likewise.
43765         * posix/Makefile ($(objpfx)globtest.out): Pass
43766         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
43767         $(rtld-installed-name).
43768         * posix/globtest.sh (elf_objpfx): Remove variable.
43769         (rtld_installed_name): Likewise.
43770         (library_path): Likewise.
43771         (run_program_prefix): New variable.  Use for running globtest
43772         binary.
43774 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
43775             Joseph Myers  <joseph@codesourcery.com>
43777         * Makeconfig (host-built-program-cmd): New variable.
43778         * elf/Makefile (tst-stackguard1-ARGS): Use
43779         $(host-built-program-cmd).
43780         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
43781         (tst-spawn-ARGS): Likewise.
43782         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
43784 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43785             Jim Blandy  <jimb@codesourcery.com>
43787         * Makeconfig (run-via-rtld-prefix): New variable.
43788         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
43789         (built-program-cmd): Likewise.
43791 2012-10-22  Andreas Jaeger  <aj@suse.de>
43793         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
43794         __O_RSYNC if it exists, otherwise to O_SYNC.
43796 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
43797             Joseph Myers  <joseph@codesourcery.com>
43799         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
43800         /dev/null.
43801         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
43802         from /dev/null
43803         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
43804         /dev/null.
43806 2012-10-22  Andreas Jaeger  <aj@suse.de>
43808         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
43809         Define always.
43810         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
43812         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43813         bits/fcntl-linux.h.
43815         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
43816         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
43818         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
43819         to __O_LARGEFILE.
43820         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
43821         to __O_LARGEFILE.
43823 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
43824             Joseph Myers  <joseph@codesourcery.com>
43826         * config.make.in (NM): New variable.
43828 2012-10-21  Andreas Jaeger  <aj@suse.de>
43830         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
43831         definitions and declarations that are provided by
43832         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43834 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43836         [BZ #14683]
43837         * elf/Makefile (tests-static): Add tst-leaks1-static.
43838         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
43839         ($(objpfx)tst-leaks1-static): New rule.
43840         ($(objpfx)tst-leaks1-static-mem): Likewise.
43841         (tst-leaks1-static-ENV): New macro.
43842         * elf/dl-open.c (dl_open_worker): Check the main application
43843         only if SHARED is defined.
43844         * elf/tst-leaks1-static.c: New file.
43846 2012-10-20  Andreas Jaeger  <aj@suse.de>
43848         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
43849         generic values for Linux.
43850         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
43851         and declarations that are provided by <bits/fcntl-linux.h> and
43852         include <bits/fcntl-linux.h>.
43853         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43854         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43856 2012-10-20  Roland McGrath  <roland@hack.frob.com>
43858         * io/fcntl.h: Move include of <bits/types.h> to the top and
43859         include it unconditionally.
43861 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43863         * wcsmbs/Makefile (tests-ifunc): New variable.
43864         (tests): Add $(tests-ifunc).
43865         * wcsmbs/test-wcschr-ifunc.c: New file.
43866         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43867         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43868         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43869         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43870         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43872         * string/Makefile (tests-ifunc): New variable.
43873         (tests): Add $(tests-ifunc).
43874         * string/test-memccpy.c (TEST_NAME): New macro.
43875         * string/test-memchr.c (TEST_NAME): Likewise.
43876         * string/test-memcmp.c (TEST_NAME): Likewise.
43877         * string/test-memcpy.c (TEST_NAME): Likewise.
43878         * string/test-memmem.c (TEST_NAME): Likewise.
43879         * string/test-memmove.c (TEST_NAME): Likewise.
43880         * string/test-memset.c (TEST_NAME): Likewise.
43881         * string/test-rawmemchr.c (TEST_NAME): Likewise.
43882         * string/test-stpcpy.c (TEST_NAME): Likewise.
43883         * string/test-stpncpy.c (TEST_NAME): Likewise.
43884         * string/test-strcasecmp.c (TEST_NAME): Likewise.
43885         * string/test-strcasestr.c (TEST_NAME): Likewise.
43886         * string/test-strcat.c (TEST_NAME): Likewise.
43887         * string/test-strchr.c (TEST_NAME): Likewise.
43888         * string/test-strcmp.c(TEST_NAME): Likewise.
43889         * string/test-strcpy.c (TEST_NAME): Likewise.
43890         * string/test-strcspn.c (TEST_NAME): Likewise.
43891         * string/test-strlen.c (TEST_NAME): Likewise.
43892         * string/test-strncasecmp.c (TEST_NAME): Likewise.
43893         * string/test-strncmp.c (TEST_NAME): Likewise.
43894         * string/test-strncpy.c (TEST_NAME): Likewise.
43895         * string/test-strnlen.c (TEST_NAME): Likewise.
43896         * string/test-strpbrk.c (TEST_NAME): Likewise.
43897         * string/test-strrchr.c (TEST_NAME): Likewise.
43898         * string/test-strspn.c (TEST_NAME): Likewise.
43899         * string/test-strstr.c (TEST_NAME): Likewise.
43900         * string/test-bcopy-ifunc.c: New file.
43901         * string/test-bzero-ifunc.c: Likewise.
43902         * string/test-memccpy-ifunc.c: Likewise.
43903         * string/test-memchr-ifunc.c: Likewise.
43904         * string/test-memcmp-ifunc.c: Likewise.
43905         * string/test-memcpy-ifunc.c: Likewise.
43906         * string/test-memmem-ifunc.c: Likewise.
43907         * string/test-memmove-ifunc.c: Likewise.
43908         * string/test-mempcpy-ifunc.c: Likewise.
43909         * string/test-memset-ifunc.c: Likewise.
43910         * string/test-rawmemchr-ifunc.c: Likewise.
43911         * string/test-stpcpy-ifunc.c: Likewise.
43912         * string/test-stpncpy-ifunc.c: Likewise.
43913         * string/test-strcasecmp-ifunc.c: Likewise.
43914         * string/test-strcasestr-ifunc.c: Likewise.
43915         * string/test-strcat-ifunc.c: Likewise.
43916         * string/test-strchr-ifunc.c: Likewise.
43917         * string/test-strchrnul-ifunc.c: Likewise.
43918         * string/test-strcmp-ifunc.c: Likewise.
43919         * string/test-strcpy-ifunc.c: Likewise.
43920         * string/test-strcspn-ifunc.c: Likewise.
43921         * string/test-strlen-ifunc.c: Likewise.
43922         * string/test-strncasecmp-ifunc.c: Likewise.
43923         * string/test-strncat-ifunc.c: Likewise.
43924         * string/test-strncmp-ifunc.c: Likewise.
43925         * string/test-strncpy-ifunc.c: Likewise.
43926         * string/test-strnlen-ifunc.c: Likewise.
43927         * string/test-strpbrk-ifunc.c: Likewise.
43928         * string/test-strrchr-ifunc.c: Likewise.
43929         * string/test-strspn-ifunc.c: Likewise.
43930         * string/test-strstr-ifunc.c: Likewise.
43932         * debug/Makefile (tests-ifunc): New variable.
43933         (tests): Add $(tests-ifunc).
43934         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
43935         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
43936         * debug/test-stpcpy_chk-ifunc.c: New file.
43937         * debug/test-strcpy_chk-ifunc.c: Likewise.
43939 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43941         [BZ #13601]
43942         * elf/dl-load.c (open_verify): Retry read if the entire ELF
43943         header is not read in.
43945 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
43947         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
43948         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
43949         directly.  Pass built executable to script as
43950         $(built-program-cmd).
43951         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
43952         $testprogram without using LD_LIBRARY_PATH and $ldso.
43954         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
43955         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
43956         $(rtld-installed-name).
43957         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
43958         (rtld_installed_name): Likewise.
43959         (library_path): Likewise.
43960         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
43961         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
43962         $(run-program-prefix) to tst-tables.sh.
43963         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
43964         it to run tst-table-from and tst-table-to.
43965         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
43966         Pass it to tst-table.sh.
43967         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
43968         $(run-program-prefix) to tst-gettext.sh.
43969         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
43970         tst-translit.sh.
43971         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
43972         tst-gettext2.sh.
43973         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
43974         to run tst-gettext.
43975         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
43976         to run tst-gettext2.
43977         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
43978         to run tst-translit.
43979         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
43980         $(run-program-prefix) to tst-mtrace.sh.
43981         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
43982         to run tst-mtrace.
43983         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
43984         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
43985         $(rtld-installed-name).
43986         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
43987         (rtld_installed_name): Likewise.
43988         (run_program_prefix): New variable.  Use it to run wordexp-test.
43990         * Makeconfig (ARCH): Remove all definitions.
43991         (machine): Likewise.
43992         [ARCH]: Remove conditional code.
43993         [!objdir]: Give error.
43994         [!objdir] (objpfx): Remove.
43995         [!objdir] (common-objpfx): Likewise.
43996         [!objdir] (common-objdir): Likewise.
43997         * configure.in (config_makefile): Remove.  Hardcode Makefile in
43998         AC_CONFIG_FILES call.
43999         * configure: Regenerated.
44001         [BZ #13888]
44002         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
44003         or TMPDIR.
44004         (testout): Likewise.
44006         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
44007         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
44008         $(rtld-installed-name).
44009         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
44010         (rtld_installed_name): Likwise.
44011         (runit): Remove function.
44012         (run_getconf): New variable,  Use it for running getconf binary.
44014 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
44016         [BZ #14716]
44017         * string/test-memmem.c (check_result): New function.
44018         (do_one_test): Use it.
44019         (check1): New function.
44020         (test_main): Use it.
44022 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
44024         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
44026 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
44028         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
44029         (_G_LSEEK64): Likewise.
44030         (_G_MMAP64): Likewise.
44031         (_G_FSTAT64): Likewise.
44032         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
44033         (_G_LSEEK64): Likewise.
44034         (_G_MMAP64): Likewise.
44035         (_G_FSTAT64): Likewise.
44036         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
44037         unconditional.  Call __mmap64 directly.
44038         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
44039         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
44040         __lseek64 directly.
44041         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
44042         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
44043         __mmap64 directly.
44044         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
44045         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
44046         __lseek64 directly.
44047         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
44048         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
44049         __lseek64 directly.
44050         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
44051         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
44052         __lseek64 directly.
44053         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
44054         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
44055         __fxstat64 directly.
44056         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
44057         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
44058         unconditional.
44059         (freopen64) [!_G_OPEN64]: Remove conditional code.
44060         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
44061         unconditional.
44062         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
44063         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
44064         unconditional.
44065         (ftello64) [!_G_LSEEK64]: Remove conditional code.
44066         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
44067         unconditional.
44068         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44069         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
44070         unconditional.
44071         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
44072         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
44073         unconditional.
44074         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44075         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
44076         unconditional.
44077         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44078         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
44079         unconditional.
44080         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44082 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44084         [BZ #12140]
44085         * manual/memory.texi (Malloc Tunable Parameters): Add note
44086         about free list pointers overwriting some perturb bytes.
44087         Wording suggested by Roland McGrath.
44089 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
44091         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
44092         (lgamma_test): Likewise.
44093         (tgamma_test): Likewise.
44095 2012-10-16  Florian Weimer  <fweimer@redhat.com>
44097         [BZ #14700]
44098         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
44099         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
44101 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
44103         * NEWS: Mention BZ #14716.
44104         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
44105         when removing AVAILABLE1_USES_J macro.
44107 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
44109         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
44110         (__bswap_64): __uint64_t for unsigned 64-bit int.
44112 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
44114         * include/string.h (memmem): Declare libc hidden alias.
44115         * string/memmem.c (memmem): Define libc hidden alias.
44116         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
44117         __read, __close instead of open, read, close.
44119 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
44121         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
44122         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
44123         global and hidden.
44124         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
44125         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
44126         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
44127         Likewise.
44128         (__rawmemchr_sse2): Likewise.
44129         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
44130         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
44131         (__strchr_sse2): Likewise.
44132         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
44133         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
44134         (__strcasecmp_sse2): Likewise.
44135         (__strncasecmp_sse2): Likewise.
44136         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
44137         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
44138         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
44139         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
44140         (__strrchr_sse2): Likewise.
44141         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
44142         ifunc-impl-list.c.
44143         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
44144         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
44145         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
44146         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44147         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
44148         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
44149         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44150         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44151         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
44152         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
44153         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
44154         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
44155         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
44156         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
44157         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
44158         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44159         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
44160         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
44161         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
44162         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
44163         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
44164         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
44165         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
44166         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44167         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
44168         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44169         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
44170         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44171         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
44172         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
44174         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
44175         global and hidden.
44176         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
44177         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
44178         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
44179         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
44180         Likewise.
44181         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
44182         Likewise.
44183         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
44184         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
44185         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
44186         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
44187         ifunc-impl-list.c.
44188         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44189         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44190         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44191         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44192         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44193         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44194         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44195         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44196         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44197         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44198         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44199         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44200         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44201         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
44202         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
44203         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44204         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
44205         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
44206         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44207         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44208         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44209         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44210         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44211         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44212         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44213         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
44214         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
44215         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
44216         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
44217         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44218         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
44219         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44220         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44221         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
44222         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44223         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44224         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44225         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44226         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44227         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44228         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
44230         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
44231         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
44232         * include/ifunc-impl-list.h: New file.
44233         * misc/ifunc-impl-list.c: Likewise.
44234         * misc/Makefile (routines): Add ifunc-impl-list.
44235         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
44236         * string/test-string.h: Include <ifunc-impl-list.h>.
44237         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
44238         TEST_NAME]: New variables.
44239         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
44240         are defined.
44241         (test_init): Call __libc_ifunc_impl_list to initialize
44242         func_list if TEST_IFUNC and TEST_NAME are defined.
44244         * string/Makefile (strop-tests): Add bcopy and bzero.
44245         * string/test-bcopy.c: New file.
44246         * string/test-bzero.c: Likewise.
44247         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
44248         defined.
44249         * string/test-memset.c: Support bzero test if TEST_BZERO is
44250         defined.
44251         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
44252         __libc_memmove.
44253         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
44254         __libc_memset.
44255         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
44256         of memset.
44258 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
44260         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
44261         * configure: Regenerated.
44263         * Makeconfig (+link-static-before-libc): Don't include
44264         $(link-static-libc).
44266         * libio/libio.h (_IO_pos_t): Remove.
44268 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44270         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
44271         McGrath.
44273 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44275         * crypt/crypt-entry.c: Include fips-private.h.
44276         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
44277         * crypt/md5c-test.c (main): Tolerate disabled MD5.
44278         * sysdeps/unix/sysv/linux/fips-private.h: New file.
44279         * sysdeps/generic/fips-private.h: New file, dummy fallback.
44281 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
44283         * crypt/crypt-private.h: Include stdbool.h.
44284         (_ufc_setup_salt_r): Return bool.
44285         * crypt/crypt-entry.c: Include errno.h.
44286         (__crypt_r): Return NULL with EINVAL for bad salt.
44287         * crypt/crypt_util.c (bad_for_salt): New.
44288         (_ufc_setup_salt_r): Check that salt is long enough and within
44289         the specified alphabet.
44290         * crypt/badsalttest.c: New file.
44291         * crypt/Makefile (tests): Add it.
44292         ($(objpfx)badsalttest): New.
44294 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
44296         * NEWS: Add entry for BZ #14602.
44298 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44300         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
44301         type-generic.
44302         * math/libm-test.inc: Update comment listing what functions and
44303         macros are tested.
44304         (isgreater_test): New function.
44305         (isgreaterequal_test): Likewise.
44306         (isless_test): Likewise.
44307         (islessequal_test): Likewise.
44308         (islessgreater_test): Likewise.
44309         (isunordered_test): Likewise.
44310         (main): Call the new functions.
44312 2012-10-09  Roland McGrath  <roland@hack.frob.com>
44314         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
44315         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
44316         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
44317         * sysdeps/i386/configure: Regenerated.
44318         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
44319         * sysdeps/mach/configure: Regenerated.
44320         * sysdeps/mach/hurd/configure: Regenerated.
44321         * sysdeps/powerpc/configure: Regenerated.
44322         * sysdeps/powerpc/powerpc32/configure: Regenerated.
44323         * sysdeps/powerpc/powerpc64/configure: Regenerated.
44324         * sysdeps/s390/s390-32/configure: Regenerated.
44325         * sysdeps/s390/s390-64/configure: Regenerated.
44326         * sysdeps/sh/configure: Regenerated.
44327         * sysdeps/sparc/configure: Regenerated.
44328         * sysdeps/unix/sysv/linux/configure: Regenerated.
44329         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
44330         * sysdeps/x86_64/configure: Regenerated.
44332         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
44333         defined.  Don't check if MAP is NULL.
44335 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44337         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
44338         (_G_stat64): Likewise.
44339         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
44340         (_G_stat64): Likewise.
44341         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
44342         instead of struct _G_stat64.
44343         * libio/fileops.c (mmap_remap_check): Likewise.
44344         (decide_maybe_mmap): Likewise.
44345         (_IO_new_file_seekoff): Likewise.
44346         (_IO_file_stat): Likewise.
44347         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
44348         _G_off64_t.
44349         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
44350         instead of struct _G_stat64.
44351         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44353 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
44355         [BZ #14602]
44356         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44357         Replace with ...
44358         (CHECK_EOL): New macro.
44359         (two_way_short_needle): Check beginning of haystack for EOL.  Use
44360         CHECK_EOL.
44361         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44362         Replace with CHECK_EOL.
44363         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44364         Replace with CHECK_EOL.
44366 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
44368         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
44369         type-generic.
44370         * math/libm-test.inc: Update comment listing what functions and
44371         macros are tested.
44372         (finite_test): New function.
44373         (isinf_test): Likewise.
44374         (isnan_test): Likewise.
44375         (fpclassify_test): Test subnormal input.
44376         (isfinite_test): Likewise.
44377         (isnormal_test): Likewise.
44378         (main): Call the new functions.
44380 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
44382         [BZ #14660]
44383         * Makerules (%.dynsym): Force C locale when running
44384         $(OBJDUMP) --dynamic-syms.
44386 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
44388         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
44389         <stdint.h>.
44391 2012-10-06  David S. Miller  <davem@davemloft.net>
44393         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
44394         upper 32-bits of the length value in %o2 since we use branch-on-register
44395         tests which consider the entire 64-bit register.
44397 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
44399         * string/test-strstr.c (check2): Add a test for page boundary.
44401 2012-10-05  David S. Miller  <davem@davemloft.net>
44403         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
44404         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
44405         file.
44406         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44407         sysdep_routines.
44408         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44409         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
44410         and bzero when HWCAP_SPARC_CRYPTO is present.
44412 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
44414         [BZ #14602]
44415         * string/test-strstr.c (check2): New function.
44416         (test_main): Call check2.
44418         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
44419         and bug-strchr1.
44420         * string/bug-strcasestr1.c (do_test): Moved to ...
44421         * string/test-strcasestr.c (check1): Here.  New function.
44422         (do_one_test): Break out result checking code into ...
44423         (check_result): This.  New function.
44424         (do_one_test): Call check_result.
44425         (test_main): Call check1.
44426         * string/bug-strchr1.c (do_test): Moved to ...
44427         * string/test-strchr.c (check1): Here.  New function.
44428         (do_one_test): Break out result checking code into ...
44429         (check_result): This.  New function.
44430         (do_one_test): Call check_result.
44431         (test_main): Call check1.
44432         * string/bug-strstr1.c (main): Moved to ...
44433         * string/test-strstr.c (check1): Here.  New function.
44434         (do_one_test): Break out result checking code into ...
44435         (check_result): This.  New function.
44436         (do_one_test): Call check_result.
44437         (test_main): Call check1.
44438         * string/bug-strcasestr1.c: Removed.
44439         * string/bug-strchr1.c: Likewise.
44440         * string/bug-strstr1.c: Likewise.
44442         * elf/Makefile (dl-routines): Add hwcaps.
44443         * elf/dl-support.c (_dl_important_hwcaps): Removed.
44444         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
44445         (_dl_important_hwcaps): Moved to ...
44446         * elf/dl-hwcaps.c: Here.  New file.
44447         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
44449         [BZ #14557]
44450         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
44451         if IS_IN_rtld isn't defined.
44453         * elf/dl-support.c (_dl_sysinfo_map): New.
44454         Include "get-dynamic-info.h" and "setup-vdso.h".
44455         (_dl_non_dynamic_init): Call setup_vdso.
44456         * elf/dynamic-link.h: Don't include <assert.h>.
44457         (elf_get_dynamic_info): Moved to ...
44458         * elf/get-dynamic-info.h: Here.  New file.
44459         * elf/dynamic-link.h: Include "get-dynamic-info.h".
44460         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
44461         * elf/setup-vdso.h: Here.  New file.
44462         * elf/rtld.c: Include "setup-vdso.h".
44463         (dl_main): Call setup_vdso.
44465 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
44467         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
44468         creal in comment listing functions tested.  List finite, isinf,
44469         isnan, isless, islessequal, isgreater, isgreaterequal,
44470         islessgreater, isunordered, lgamma_r and pow10 as functions and
44471         macros not tested.  Mention which functions not tested are aliases
44472         for other functions.  Fix typo.  Note that signs of NaNs are not
44473         tested.
44475         * scripts/config.guess: Update from config.git.
44476         * scripts/config.sub: Likewise.
44478 2012-10-04  Roland McGrath  <roland@hack.frob.com>
44480         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
44481         * misc/madvise.c (madvise): Renamed to __madvise.
44482         Make madvise a weak alias.
44483         * include/sys/mman.h: Declare __madvise.
44484         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
44485         * sysdeps/unix/syscalls.list
44486         (madvise): Make __madvise the strong name, and madvise a weak alias.
44487         * sysdeps/unix/sysv/linux/syscalls.list
44488         (madvise, mmap): Remove redundant entries.
44489         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
44490         * malloc/malloc.c (mtrim): Likewise.
44491         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
44493 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44495         * sysdeps/mach/hurd/dl-cache.c: File removed.
44496         * config.h.in (USE_LDCONFIG): New #undef.
44497         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
44498         * configure: Regenerated.
44499         * elf/Makefile (dl-routines): Add dl-cache only under
44500         [$(use-ldconfig) = yes].
44501         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
44502         cache on [USE_LDCONFIG].
44503         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
44504         [USE_LDCONFIG].
44505         * elf/rtld.c (dl_main): Likewise.
44507 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
44509         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
44510         _SC_LEVEL4_CACHE_LINESIZE.
44512 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44514         * sysdeps/unix/bsd/confstr.h: File removed.
44516 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
44518         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
44519         sys/sdt-config.h.
44521 2012-10-02  Roland McGrath  <roland@hack.frob.com>
44523         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
44524         Make 'mapoff' field ElfW(Off) rather than off_t.
44526 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
44528         * nscd/Makefile: Remove nscd-cflags and all its users.
44529         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
44530         (CFLAGS-nonlib): Add compiler flags for nscd modules.
44532         [BZ #10631]
44533         * malloc.c (malloc_printerr): Clarify error message.
44535 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
44537         [BZ #14648]
44538         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44539         Set bit_FMA_Usable if FMA is supported.
44540         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
44541         macro.
44542         (bit_FMA4_Usable): Updated.
44543         (index_FMA_Usable): New macro.
44544         (CPUID_FMA): Likewise
44545         (HAS_FMA): Defined with bit_FMA_Usable.
44547 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44549         * bits/types.h (__swblk_t): Type removed.
44550         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
44551         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
44552         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44553         (__SWBLK_T_TYPE): Likewise.
44554         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44555         (__SWBLK_T_TYPE): Likewise.
44556         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44557         (__SWBLK_T_TYPE): Likewise.
44558         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44559         (__SWBLK_T_TYPE): Likewise.
44561 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
44562             Honza Horak <hhorak@redhat.com>
44564         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
44565         (xdr_mapname): Use YPMAXMAP as maxsize.
44566         (xdr_peername): Use YPMAXPEER as maxsize.
44567         (xdr_keydat): Use YPAXRECORD as maxsize.
44568         (xdr_valdat): Use YPMAXRECORD as maxsize.
44570 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44572         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
44574         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
44575         * csu/init-first.c: ... here.
44576         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
44577         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
44578         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
44579         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
44580         * sysdeps/i386/init-first.c: File removed.
44581         * sysdeps/sh/init-first.c: File removed.
44583 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
44585         [BZ #14645]
44586         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
44587         if x * y might underflow to zero and z is zero.
44588         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44589         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44590         * math/libm-test.inc (min_subnorm_value): New variable.
44591         (fma_test): Add more tests.
44592         (fma_test_towardzero): Likewise.
44593         (fma_test_downward): Likewise
44594         (fma_test_upward): Likewise.
44595         (initialize): Set min_subnorm_value.
44597 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
44599         [BZ #14638]
44600         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
44601         0 + 0.
44602         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
44603         mode for addition resulting in exact zero.
44604         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
44605         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
44606         exact 0 + 0.
44607         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44608         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44609         * math/libm-test.inc (fma_test): Add more tests.
44610         (fma_test_towardzero): New function.
44611         (fma_test_downward): Likewise.
44612         (fma_test_upward): Likewise.
44613         (main): Call the new functions.
44615 2012-09-28  David S. Miller  <davem@davemloft.net>
44617         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
44619 2012-09-28  Roland McGrath  <roland@hack.frob.com>
44621         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
44622         instead of SIGALRM.
44624         * sysdeps/gnu/_G_config.h: Moved to ...
44625         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
44626         * sysdeps/mach/hurd/_G_config.h: Moved to ...
44627         * sysdeps/generic/_G_config.h: ... here.
44629         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
44631         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
44633         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
44634         Conditionalize target on [libnss_test1.so-version].
44636         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
44638         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
44639         (elfobjdir): Move out of conditionals.
44641         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
44642         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
44643         (__nss_lookup_function): Conditionalize label remove_from_tree on
44644         [!DO_STATIC_NSS || SHARED], matching its only use.
44646 2012-09-28  David S. Miller  <davem@davemloft.net>
44648         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
44649         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
44650         file.
44651         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44652         sysdep_routines.
44653         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44654         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
44655         when HWCAP_SPARC_CRYPTO is present.
44657 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44659         * io/tst-mknodat.c: Create a FIFO instead of a socket.
44661 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
44663         [BZ #6530]
44664         * stdio-common/vfprintf.c (process_string_arg): Revert
44665         2000-07-22 change.
44667 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
44669         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
44670         for testcase.
44671         * stdio-common/tst-sprintf.c: Include <locale.h>
44672         (main): Test sprintf's handling of incomplete multibyte
44673         characters.
44675 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
44677         * elf/dl-runtime.c (VERSYMIDX): Removed.
44678         * elf/dl-version.c (VERSYMIDX): Likewise.
44679         * elf/do-rel.h (VERSYMIDX): Likewise.
44680         (VALIDX): Likewise.
44681         * elf/dynamic-link.h (VERSYMIDX): Likewise.
44682         * elf/rtld.c (VALIDX): Likewise.
44683         (ADDRIDX): Likewise.
44684         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
44685         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
44686         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
44687         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
44688         (VALIDX): Likewise.
44689         (ADDRIDX): Likewise.
44691 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44693         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
44695 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
44697         [BZ #11438]
44698         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
44699         to global scope.
44700         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
44701         addresses are in the same scope as 192.0.2/24.
44702         * posix/gai.conf: Document new scope table defaults.
44704 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44706         [BZ #5298]
44707         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
44708         for ftell.  Compute offsets from write pointers instead.
44709         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44711 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44713         [BZ #14543]
44714         * libio/Makefile (tests): New test case tst-fseek.
44715         * libio/tst-fseek.c: New test case to verify that fseek/ftell
44716         combination works in wide mode.
44717         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44718         state when the external buffer state changes.
44720 2012-09-27  David S. Miller  <davem@davemloft.net>
44722         [BZ #14376]
44723         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
44724         pass reloc->r_addend in as the 'high' argument to
44725         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
44727         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44729 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44731         * rt/tst-aio2.c: Include <pthread.h>.
44732         * rt/tst-aio3.c: Likewise.
44734 2012-09-27  Steve Ellcey  <sellcey@mips.com>
44736         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
44738 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
44740         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44741         contents on [SHARED].
44743 2012-09-26  Marek Polacek  <polacek@redhat.com>
44745         [BZ #14530]
44746         [BZ #13741]
44747         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44748         for C++ and GCC <4.3 as well as for non GCC compilers.
44750 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44752         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44754 2012-09-25  Roland McGrath  <roland@hack.frob.com>
44756         * Makefile.in (all, install): Declare with .PHONY.
44757         Reported by Michael Hope <michael.hope@linaro.org>.
44759 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44761         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
44762         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
44763         system header.
44764         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
44765         Likewise.
44766         (sydep_routines): Add the new and the internal functions.
44767         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
44768         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
44769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
44770         (GLIBC_2.17): Add the new function.
44771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44772         (GLIBC_2.17): Likewise.
44773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
44774         (GLIBC_2.17): Likewise.
44775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
44776         (GLIBC_2.17): Likewise.
44777         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
44779 2012-09-25  Alan Modra  <amodra@gmail.com>
44781         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
44782         Add release barrier before setting once_control to say
44783         initialisation is done.  Add hints on lwarx.  Use macro in
44784         place of isync.
44785         (clear_once_control): Add release barrier.
44787 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44789         [BZ #13629]
44790         * math/s_clog.c (__clog): Handle more values close to |z| = 1
44791         specially.
44792         * math/s_clog10.c (__clog10): Likewise.
44793         * math/s_clog10f.c (__clog10f): Likewise.
44794         * math/s_clog10l.c (__clog10l): Likewise.
44795         * math/s_clogf.c (__clogf): Likewise.
44796         * math/s_clogl.c (__clogl): Likewise.
44797         * math/Makefile (libm-calls): Add x2y2m1.
44798         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
44799         (__x2y2m1): Likewise.
44800         (__x2y2m1l): Likewise.
44801         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
44802         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
44803         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
44804         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44805         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
44806         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
44807         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
44808         * sysdeps/i386/fpu/libm-test-ulps: Update.
44809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44811         [BZ #14621]
44812         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
44813         int as type of variable DEPTH.
44814         (glob): Use size_t instead of int as type of variables NEWCOUNT
44815         and OLD_PATHC.
44817 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44819         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44820         Add s_sincosf-sse2.
44821         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
44822         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
44823         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
44824         macros for using routine as __sincosf_ia32.
44825         Use macro for function declaration and weak_alias.
44826         * sysdeps/i386/fpu/libm-test-ulps: Update.
44828         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
44829         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44831         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
44832         subnormal argument.
44833         * math/s_cexpf.c (__cexpf): Likewise.
44834         * math/s_csinf.c (__csinf): Likewise.
44835         * math/s_csinhf.c (__csinhf): Likewise.
44836         * math/s_ctanf.c (__ctanf): Likewise.
44837         * math/s_ctanhf.c (__ctanhf): Likewise.
44838         * math/s_ccosh.c (__ccoshf): Likewise.
44839         * math/s_cexp.c (__cexpl): Likewise.
44840         * math/s_csin.c (__csin): Likewise.
44841         * math/s_csinh.c (__csinh): Likewise.
44842         * math/s_ctan.c (__ctan): Likewise.
44843         * math/s_ctanh.c (ctanh): Likewise.
44844         * math/s_ccoshl.c (__ccoshl): Likewise.
44845         * math/s_cexpl.c (__cexpl): Likewise.
44846         * math/s_csinl.c (__csinl): Likewise.
44847         * math/s_csinhl.c (__csinhl): Likewise.
44848         * math/s_ctanl.c (__ctanl): Likewise.
44849         * math/s_ctanhl.c (__ctanhl): Likewise.
44851 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44853         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
44854         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
44855         (_IO_off_t): Define to __off_t, not _G_off_t.
44856         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
44857         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
44858         (_IO_wint_t): Define to wint_t, not _G_wint_t.
44859         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
44860         type of __dummy and __dummy2 fields.
44861         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
44862         (_G_ssize_t): Likewise.
44863         (_G_off_t): Likewise.
44864         (_G_pid_t): Likewise.
44865         (_G_uid_t): Likewise.
44866         (_G_wchar_t): Likewise.
44867         (_G_wint_t): Likewise.
44868         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
44869         (_G_ssize_t): Likewise.
44870         (_G_off_t): Likewise.
44871         (_G_pid_t): Likewise.
44872         (_G_uid_t): Likewise.
44873         (_G_wchar_t): Likewise.
44874         (_G_wint_t): Likewise.
44875         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
44876         (_G_ssize_t): Likewise.
44877         (_G_off_t): Likewise.
44878         (_G_pid_t): Likewise.
44879         (_G_uid_t): Likewise.
44880         (_G_wchar_t): Likewise.
44881         (_G_wint_t): Likewise.
44883 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44885         * malloc/arena.c: Include malloc-sysdep.h.
44886         (shrink_heap): Use check_may_shrink_heap to decide if madvise
44887         is sufficient to shrink the heap or an unmap is needed.
44888         * sysdeps/generic/malloc-sysdep.h: New file.  Define
44889         new function check_may_shrink_heap.
44890         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
44891         new function check_may_shrink_heap.
44893 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44895         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
44896         comments.
44898 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
44900         * catgets/test-gencat.sh: Add "set -e".
44901         * elf/tst-pathopt.sh: Likewise.
44902         * grp/tst_fgetgrent.sh: Likewise.
44903         * iconvdata/run-iconv-test.sh: Likewise.
44904         * intl/tst-gettext.sh: Likewise.
44905         * intl/tst-gettext2.sh: Likewise.
44906         * intl/tst-gettext4.sh: Likewise.
44907         * intl/tst-gettext6.sh: Likewise.
44908         * intl/tst-translit.sh: Likewise.
44909         * io/ftwtest-sh: Likewise.
44910         * libio/test-freopen.sh: Likewise.
44911         * malloc/tst-mtrace.sh: Likewise.
44912         * posix/globtest.sh: Likewise.
44913         * posix/tst-getconf.sh: Likewise.
44914         * posix/wordexp-tst.sh: Likewise.
44915         * stdio-common/tst-printf.sh: Likewise.
44916         * stdio-common/tst-unbputc.sh: Likewise.
44917         * stdlib/tst-fmtmsg.sh: Likewise.
44918         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44919         * catgets/Makefile: Do not specify -e option when running
44920         testsuite shell scripts.
44921         * elf/Makefile: Likewise.
44922         * grp/Makefile: Likewise.
44923         * iconvdata/Makefile: Likewise.
44924         * intl/Makefile: Likewise.
44925         * io/Makefile: Likewise.
44926         * libio/Makefile: Likewise.
44927         * malloc/Makefile: Likewise.
44928         * posix/Makefile: Likewise.
44929         * stdio-common/Makefile: Likewise.
44930         * stdlib/Makefile: Likewise.
44931         * sysdeps/x86_64/Makefile: Likewise.
44933         * io/ftwtest-sh: Add copyright header.
44934         * posix/globtest.sh: Likewise.
44935         * posix/tst-getconf.sh: Likewise.
44936         * posix/wordexp-tst.sh: Likewise.
44937         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44939 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
44941         [BZ #13679]
44942         * Makeconfig (+link): Defined as $(+link-static) if
44943         $(build-shared) isn't yes.
44944         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
44945         isn't yes.
44946         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
44948         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
44950         [BZ #14562]
44951         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
44952         new chunk size with MALLOC_ALIGN_MASK.
44954 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
44956         [BZ #5044]
44957         * stdio-common/printf_fphex.c: Include <stdbool.h> and
44958         <rounding-mode.h>.
44959         (__printf_fphex): Determine rounding using get_rounding_mode and
44960         round_away.
44961         * stdio-common/tst-printf-round.c (struct hex_test): New
44962         structure.
44963         (hex_tests): New variable.
44964         (test_hex_in_one_mode): New function.
44965         (do_test): Also run tests for hex float output.
44967 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
44969         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44970         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44971         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
44972         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44973         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44974         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
44975         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44976         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44978 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
44980         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
44981         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
44982         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
44983         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
44985 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
44987         [BZ #14579]
44988         * elf/rtld.c (dl_main): Limit the check for self loading to normal
44989         mode only.
44990         * elf/tst-rtld-load-self.sh: New test.
44991         * elf/Makefile: Run it.
44993 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
44995         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
44996         (tst-writev-ENV): Remove.
44997         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
44999 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
45001         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
45003 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
45005         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
45006         unconditional.
45007         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
45008         Likewise.
45009         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
45010         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
45011         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
45012         Likewise.
45014 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
45016         [BZ #14587]
45017         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
45018         * config.make.in (have-cpp-asm-debuginfo): Removed.
45019         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
45020         * configure: Regenerated.
45022 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
45024         [BZ #5044]
45025         * stdio-common/printf_fp.c: Include <stdbool.h> and
45026         <rounding-mode.h>.
45027         (___printf_fp): Determine rounding using get_rounding_mode and
45028         round_away.
45029         * stdio-common/tst-printf-round.c: New file.
45030         * stdio-common/Makefile (tests): Add tst-printf-round.
45031         (link-libm): New variable.
45032         ($(objpfx)tst-printf-round): Depend in $(link-libm).
45034 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
45036         [BZ #14576]
45037         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
45038         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
45039         Likewise.
45040         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
45041         Likewise.
45043 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
45045         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
45046         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45047         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45048         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45050 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
45052         [BZ #14518]
45053         * include/rounding-mode.h: New file.
45054         * sysdeps/generic/get-rounding-mode.h: Likewise.
45055         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
45056         * stdlib/strtod_l.c: Include <rounding-mode.h>.
45057         (MAX_VALUE): New macro.
45058         (MIN_VALUE): Likewise.
45059         (overflow_value): New function.
45060         (underflow_value): Likewise.
45061         (round_and_return): Use overflow_value and underflow_value to
45062         determine return values in overflow and underflow cases.  Use
45063         round_away to determine rounding depending on rounding mode.
45064         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
45065         determine return values in overflow and underflow cases.
45066         * stdlib/tst-strtod-round.c: Include <fenv.h>.
45067         (struct test_results): New structure.
45068         (struct test): Use struct test_results to store expected results
45069         for all rounding modes.
45070         (TEST): Include expected results for all rounding modes.
45071         (test_in_one_mode): New function.
45072         (do_test): Use test_in_one_mode to compute and check results.
45073         Check results for all rounding modes.
45074         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
45075         $(link-libm).
45077 2012-12-09  Allan McRae  <allan@archlinux.org>
45079         * sysdeps/i386/fpu/libm-test-ulps: Update
45081 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
45083         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
45084         (_G_int32_t): Likewise.
45085         (_G_uint16_t): Likewise.
45086         (_G_uint32_t): Likewise.
45087         (_G_HAVE_BOOL): Likewise.
45088         (_G_HAVE_ATEXIT): Likewise.
45089         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45090         (_G_HAVE_IO_FILE_OPEN): Likewise.
45091         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
45092         (_G_int32_t): Likewise.
45093         (_G_uint16_t): Likewise.
45094         (_G_uint32_t): Likewise.
45095         (_G_HAVE_BOOL): Likewise.
45096         (_G_HAVE_ATEXIT): Likewise.
45097         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45098         (_G_HAVE_IO_FILE_OPEN): Likewise.
45099         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
45100         (_G_int32_t): Likewise.
45101         (_G_uint16_t): Likewise.
45102         (_G_uint32_t): Likewise.
45103         (_G_HAVE_BOOL): Likewise.
45104         (_G_HAVE_ATEXIT): Likewise.
45105         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45106         (_G_HAVE_IO_FILE_OPEN): Likewise.
45108 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
45110         * csu/libc-tls.c: Update copyright years.
45112 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
45114         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
45115         [!_G_USING_THUNKS]: Remove conditional code.
45116         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
45117         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
45119         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
45120         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
45121         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45122         (_G_VTABLE_LABEL_PREFIX): Likewise.
45123         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45124         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45125         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45126         (_G_VTABLE_LABEL_PREFIX): Likewise.
45127         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45128         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45129         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45130         (_G_VTABLE_LABEL_PREFIX): Likewise.
45131         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45133 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
45135         * libio/Makefile: Include ../Makeconfig before tests.
45136         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
45137         only if $(build-shared) is yes.
45139         * iconv/gconv_db.c: Update copyright years.
45141 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45143         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
45144         unwind info if defined PIC. Fix special cases description.
45145         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
45147         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
45148         DP_HI_MASK entry.
45149         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
45151 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
45153         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
45155         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
45156         is NULL.
45158         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
45159         (LDLIBS-tst-chk4): This.
45160         (LDFLAGS-tst-chk5): Renamed to ...
45161         (LDLIBS-tst-chk5): This.
45162         (LDFLAGS-tst-chk6): Renamed to ...
45163         (LDLIBS-tst-chk6): This.
45164         (LDFLAGS-tst-lfschk4): Renamed to ...
45165         (LDLIBS-tst-lfschk4): This.
45166         (LDFLAGS-tst-lfschk5): Renamed to ...
45167         (LDLIBS-tst-lfschk5): This.
45168         (LDFLAGS-tst-lfschk6): Renamed to ...
45169         (LDLIBS-tst-lfschk6): This.
45171         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
45172         on $(common-objpfx)soversions.mk.
45174 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
45176         [BZ #10014]
45177         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
45178         example host name.
45180 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45182         * malloc/arena.c (arena_get_retry): New function that gets
45183         another arena for the caller to try its request on.
45184         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
45185         current arena cannot fulfill the request.
45186         (__libc_memalign): Likewise.
45187         (__libc_memalign): Likewise.
45188         (__libc_pvalloc): Likewise.
45189         (__libc_calloc): Likewise.
45191 2012-09-05  John Tobey  <john.tobey@gmail.com>
45193         [BZ #13542]
45194         * manual/arith.texi (Operations on Complex): Fix description
45195         of carg branch cut.
45197 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
45199         [BZ #10014]
45200         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
45201         host name.
45203         [BZ #10038]
45204         * manual/memory.texi (Memory): Make order of menu items match
45205         order of sections.
45207 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45209         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
45210         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
45211         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
45213 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45215         * csu/libc-tls.c (static_dtv): Renamed to ...
45216         (_dl_static_dtv): This.  Make it global.
45217         (_dl_initial_dtv): Removed.
45218         (__libc_setup_tls): Updated.
45219         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
45220         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
45221         DL_INITIAL_DTV.
45223 2012-09-06  Petr Machata  <pmachata@redhat.com>
45225         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
45226         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
45227         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
45228         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
45230 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45232         [BZ #14545]
45233         * csu/libc-tls.c (_dl_initial_dtv): New variable.
45234         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
45235         freeing dtv[-1].
45237 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
45239         [BZ #14544]
45240         * Makeconfig (link-static-before-libc): Replace $(+prector)
45241         with $(+prectorT).
45242         (link-static-after-libc): Replace $(+postctor) with
45243         $(+postctorT).
45244         (link-bounded): Replace $(+prector)/$(+postctor) with
45245         $(+prectorT)/$(+postctorT).
45246         (+prectorT): New macro.
45247         (+postctorT): Likewise.
45249 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
45251         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
45252         (round_str): Handle values above the maximum for IBM long double
45253         as inexact.
45254         * stdlib/tst-strtod-round.c (tests): Regenerated.
45256 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45258         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
45259         assembler flag.
45260         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
45261         zarch_nohighgprs around the zarch optimized routines.
45262         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
45263         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
45264         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
45265         for zarch.
45267 2012-09-05  David S. Miller  <davem@davemloft.net>
45269         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45271         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
45272         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
45273         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
45274         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45275         entries.
45277 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45279         * malloc/arena.c: Fold copyright years.
45280         * malloc/mcheck.c, malloc/memusage.c: Likewise.
45282 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45284         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
45286 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45288         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
45290 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45292         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
45293         change internal state upon failure.
45295 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
45297         * malloc/mcheck.c (mcheck_check_all): Fix typo.
45298         * malloc/memusage.c (mmap): Likewise.
45299         (mmap64, mremap): Likewise.  Adjust name in comment.
45301 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45303         * libio/fileops.c: Fix typos in comments.
45304         * libio/oldfileops.c: Likewise.
45305         * libio/wfileops.c: Likewise.
45307 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45309         [BZ #1349]
45310         * malloc/Makefile (tests): Add tst-malloc-usable test case.
45311         (tst-malloc-usable-ENV): Set environment for test case.
45312         * malloc/hooks.c (malloc_check_get_size): New function to get
45313         requested size.
45314         * malloc/malloc.c (musable): Use malloc_check_get_size.
45315         * malloc/tst-malloc-usable.c: New test case.
45317 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45319         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
45321 2012-09-05  Allan McRae  <allan@archlinux.org>
45323         [BZ #13966]
45324         * configure.in (CXX_SYSINCLUDES): Use compiler output to
45325         determine header location.
45326         * configure: Regenerated.
45328 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45330         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
45331         float format.
45332         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
45333         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
45334         format.
45335         (test): Regenerate.
45337 2012-09-04  David S. Miller  <davem@davemloft.net>
45339         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
45340         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
45341         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
45343 2012-09-04  Florian Weimer  <fweimer@redhat.com>
45345         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
45346         failures.
45348         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
45350 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
45352         [BZ #9914]
45353         * libio/iogetdelim.c: Include <limits.h>.
45354         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
45355         + len + 1 would overflow.
45357 2012-09-03  Andreas Jaeger  <aj@suse.de>
45359         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45360         * sysdeps/i386/fpu/libm-test-ulps: Update.
45362 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45364         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45365         Add s_sinf-sse2, s_conf-sse2.
45367         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
45368         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
45369         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
45370         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
45372         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
45373         for using routine as __sinf_ia32.
45374         Use macro for function declaration and weak_alias.
45375         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
45376         for using routine as __cosf_ia32.
45377         Use macro for function declaration and weak_alias.
45379         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
45380         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
45382         * sysdeps/x86_64/fpu/s_sinf.S: New file.
45383         * sysdeps/x86_64/fpu/s_cosf.S: New file.
45384         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45386         * math/libm-test.inc (cos_test): Add more test cases.
45387         (sin_test): Likewise.
45388         (sincos_test): Likewise.
45390 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45392         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
45393         (IFUNC_RESOLVE): Make pointers to the specialized implementations
45394         hidden.
45395         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45397 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
45399         [BZ #14538]
45400         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
45401         first element of the GOT.
45402         (elf_machine_load_address): Return the difference between
45403         the runtime address of _DYNAMIC and elf_machine_dynamic ().
45405 2012-09-01  Allan McRae  <allan@archlinux.org>
45407         [BZ #13412]
45408         * configure.in (AWK): Require gawk version 3.0 or later.
45409         * configure: Regenerated.
45411 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
45413         * sysdeps/unix/sysv/linux/kernel-features.h
45414         (__ASSUME_POSIX_CPU_TIMERS): Remove.
45415         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45416         [__NR_clock_getres]: Make code unconditional.
45417         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
45418         (clock_getcpuclockid): Remove code left unreachable by removal of
45419         conditionals.
45420         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
45421         code unconditional.
45422         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45423         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45424         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
45425         Make code unconditional.
45426         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45427         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45428         * sysdeps/unix/sysv/linux/clock_settime.c
45429         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
45430         conditional code.
45431         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
45432         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45434 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
45436         [BZ #14476]
45437         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
45438         scripts/test-installation.pl.
45440         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
45441         and $ld_so_version if it is set.
45443 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45445         [BZ #14516]
45446         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
45447         failure if reading from procfs failed.
45448         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
45450 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45452         * sysdeps/unix/sysv/linux/kernel-features.h
45453         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
45454         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45455         Remove conditional code.
45456         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45457         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
45458         Remove conditional code.
45459         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45460         * sysdeps/unix/sysv/linux/i386/fxstat.c
45461         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45462         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45463         * sysdeps/unix/sysv/linux/i386/fxstatat.c
45464         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45465         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45466         * sysdeps/unix/sysv/linux/i386/lxstat.c
45467         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45468         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45469         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
45470         Remove conditional code.
45471         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45472         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45473         Remove conditional code.
45474         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45475         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
45476         <kernel-features.h>.
45477         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
45478         Remove.
45479         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
45480         Remove conditional code.
45481         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45482         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
45483         Remove conditional.
45485 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
45487         [BZ #5400]
45488         * NEWS: Add fixed bug number.
45490 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45492         [BZ #14519]
45493         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
45494         underflowing exponent in case of negative sign.
45495         * stdlib/tst-strtod-round-data: Add more tests.
45496         * stdlib/tst-strtod-round.c (tests): Regenerated.
45498         [BZ #3479]
45499         * stdlib/strtod_l.c (NDIG): Remove.
45500         (HEXNDIG): Likewise.
45501         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
45502         smallest representable value.
45503         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
45504         lie within an exact representation of 1/2 ulp of the result.
45505         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
45506         unconditionally.
45507         (TENS_P9_IDX): Define unconditionally.
45508         (TENS_P9_SIZE): Likewise.
45509         (TENS_P10_IDX): Likewise.
45510         (TENS_P10_SIZE): Likewise.
45511         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
45512         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
45513         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
45514         entries for 10^2^13 and 10^2^14.
45515         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
45516         (TENS_P13_IDX): Define.
45517         (TENS_P13_SIZE): Likewise.
45518         (TENS_P14_IDX): Likewise.
45519         (TENS_P14_SIZE): Likewise.
45520         (_fpioconst_pow10): Change array size to
45521         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
45522         unconditional.
45523         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
45524         1024]: Add entries for 10^2^13 and 10^2^14.
45525         [LAST_POW10 > _LAST_POW10]: Remove #error.
45526         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
45527         (_fpioconst_pow10): Change array size to
45528         FPIOCONST_POW10_ARRAY_SIZE.
45529         * stdlib/gen-fpioconst.c: New file.
45530         * stdlib/gen-tst-strtod-round.c: Likewise.
45531         * stdlib/tst-strtod-round-data: Likewise.
45532         * stdlib/tst-strtod-round.c: Likewise.
45533         * stdlib/Makefile (tests): Add tst-strtod-round.
45535         [BZ #14459]
45536         * stdlib/strtod_l.c: Include <stdint.h>.
45537         (NDEBUG): Do not define.
45538         (round_and_return): Change EXPONENT parameter to type intmax_t.
45539         Rearrange calculations to avoid internal overflow possibilities.
45540         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
45541         Rearrange calculations to avoid internal overflow possibilities.
45542         Assert that number fits inside MPNSIZE limbs.
45543         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
45544         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
45545         calculations and add assertions to avoid internal overflow
45546         possibilities.  Add casts to avoid signed/unsigned operations.
45547         * stdlib/tst-strtod-overflow.c: New file.
45548         * stdlib/Makefile (tests): Add tst-strtod-overflow.
45550 2012-08-25  Marek Polacek  <polacek@redhat.com>
45552         * time/time.h: Fix some typos in comments.
45554 2012-08-23  Roland McGrath  <roland@hack.frob.com>
45556         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
45557         * posix/tst-rfc3484-2.c: Likewise.
45558         * posix/tst-rfc3484-3.c: Likewise.
45560 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
45562         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
45563         (EF_ARM_ABI_FLOAT_HARD): Likewise.
45565 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
45567         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
45568         #include of fxstatat64.c.
45570 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45572         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
45573         * shadow/getspent_r.c: Likewise.
45574         * shadow/getspnam.c: Likewise.
45575         * shadow/getspnam_r.c: Likewise.
45576         * gshadow/getsgent.c: Likewise.
45577         * gshadow/getsgent_r.c: Likewise.
45578         * gshadow/getsgnam.c: Likewise.
45579         * gshadow/getsgnam_r.c: Likewise.
45580         * inet/getnetbyad.c: Likewise.
45581         * inet/getnetbyad_r.c: Likewise.
45582         * inet/getnetbynm.c: Likewise.
45583         * inet/getnetbynm_r.c: Likewise.
45584         * inet/getnetent.c: Likewise.
45585         * inet/getnetent_r.c: Likewise.
45586         * inet/getproto.c: Likewise.
45587         * inet/getproto_r.c: Likewise.
45588         * inet/getprtent.c: Likewise.
45589         * inet/getprtent_r.c: Likewise.
45590         * inet/getprtname.c: Likewise.
45591         * inet/getprtname_r.c: Likewise.
45592         * inet/getrpcbyname.c: Likewise.
45593         * inet/getrpcbyname_r.c: Likewise.
45594         * inet/getrpcbynumber.c: Likewise.
45595         * inet/getrpcbynumber_r.c: Likewise.
45596         * inet/getrpcent.c: Likewise.
45597         * inet/getrpcent_r.c: Likewise.
45598         * inet/getaliasent.c: Likewise.
45599         * inet/getaliasent_r.c: Likewise.
45600         * inet/getaliasname.c: Likewise.
45601         * inet/getaliasname_r.c: Likewise.
45602         * nscd/getgrgid_r.c: Likewise.
45603         * nscd/getgrnam_r.c: Likewise.
45604         * nscd/gethstbyad_r.c: Likewise.
45605         * nscd/gethstbynm3_r.c: Likewise.
45606         * nscd/getpwnam_r.c: Likewise.
45607         * nscd/getpwuid_r.c: Likewise.
45608         * nscd/getsrvbynm_r.c: Likewise.
45609         * nscd/getsrvbypt_r.c: Likewise.
45610         * nscd/gai.c: Likewise.
45612         * configure.in (build_nscd): New substituted variable, set
45613         by --disable-build-nscd and defaults to $use_nscd.
45614         * configure: Regenerated.
45615         * config.make.in (build-nscd): New substituted variable.
45616         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
45617         Change conditional to require [$(build-nscd) = yes] as well.
45618         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
45620         [BZ# 13696]
45621         * configure.in (use_nscd): New substituted variable, set by
45622         --disable-nscd.  If enabled, define USE_NSCD.
45623         * configure: Regenerated.
45624         * config.h.in: Add USE_NSCD.
45625         * config.make.in (use-nscd): New substituted variable.
45626         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
45627         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
45628         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
45629         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
45630         (CFLAGS-getgrnam_r.c): Likewise.
45631         (CFLAGS-initgroups.c): Likewise.
45632         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
45633         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
45634         Variables removed.
45635         * inet/getnetgrent_r.c
45636         (nscd_setnetgrent): New function, broken out of ...
45637         (setnetgrent): ... here.  Call it.
45638         (innetgr): Conditionalize nscd bits on [USE_NSCD].
45639         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
45640         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
45641         * nscd/Makefile (routines, aux): Move definitions after include of
45642         Makeconfig.  Conditionalize on [$(use-nscd) != no].
45643         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
45644         Conditionalize on [USE_NSCD].
45645         (is_nscd, nscd_init_cb): Likewise.
45646         (nss_load_library): Conditionalize init callback on [USE_NSCD].
45647         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
45648         * nss/nss_db/db-init.c: Likewise.
45649         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
45650         [USE_NSCD].
45651         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
45652         (make_request): Use it.
45653         (cache_valid_p): New function.
45654         (__check_pf): Use it.
45655         * NEWS: Add item for --disable-nscd.
45657 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
45659         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
45660         to support sed >= 4.2.1-20-ga9bf076.
45661         * configure: Regenerated.
45663 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45665         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
45666         Conditionalize whole body on [IREL].
45668 2012-08-22  Jeff Law <law@redhat.com>
45670         [BZ #14505]
45671         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
45672         if the family is PF_UNSPEC.
45674 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
45676         * Makerules (lib-version): Rename from V.
45677         (install-lib-nosubdir): Change V to lib-version.
45679 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
45681         [BZ #14252]
45682         * powerpc32/power6/wcschr.c: New file.
45683         * powerpc32/power6/wcscpy.c: New file.
45684         * powerpc32/power6/wcsrchr.c: New file.
45685         * powerpc64/power6/wcschr.c: New file.
45686         * powerpc64/power6/wcscpy.c: New file.
45687         * powerpc64/power6/wcsrchr.c: New file.
45689 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45691         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
45692         (two_way_short_needle): Use it.
45693         * string/strstr.c (AVAILABLE1_USES_J): Define.
45694         * string/strcasestr.c: Likewise.
45696         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
45697         array references.
45698         * string/strcasestr.c (TOLOWER): Make side-effect safe.
45700         [BZ #11607]
45701         * NEWS: Add an entry.
45702         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
45703         define their defaults.
45704         (two_way_short_needle): Detect end-of-string on-the-fly.
45705         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
45706         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45707         * string/bug-strcasestr1.c: New test.
45708         * string/Makefile: Run it.
45710 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45712         [BZ #11607]
45713         * string/str-two-way.h (two_way_short_needle): Optimize matching of
45714         the first character.
45716 2012-08-21  Roland McGrath  <roland@hack.frob.com>
45718         * csu/elf-init.c (__libc_csu_irel): Function removed.
45719         * csu/libc-start.c (apply_irel): New function.
45720         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
45722 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
45724         * sysdeps/unix/sysv/linux/kernel-features.h
45725         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
45726         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45727         <kernel-features.h>.
45728         [__NR_fadvise64_64]: Make code unconditional.
45729         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
45730         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45731         !__NR_fadvise64_64)]: Likewise.
45732         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45733         !__NR_fadvise64_64))]: Likewise.
45734         [__NR_fadvise64]: Make code unconditional.
45735         [!__NR_fadvise64]: Remove conditional code.
45736         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
45737         <kernel-features.h>.
45738         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45739         unconditional.
45740         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45741         conditional code.
45742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45743         not include <kernel-features.h>.
45744         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45745         unconditional.
45746         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45747         conditional code.
45748         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45749         include <kernel-features.h>.
45750         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45751         unconditional.
45752         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45753         conditional code.
45755 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45757         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
45758         slight instruction rearrangements per scrollpipe analysis.
45759         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45761 2012-08-20  Roland McGrath  <roland@hack.frob.com>
45763         * manual/syslog.texi (syslog; vsyslog, closelog):
45764         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
45765         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45767         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
45768         DSOCAPS to match condition on defining it.
45770 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
45772         * sysdeps/unix/sysv/linux/kernel-features.h
45773         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
45774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
45775         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45776         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
45778         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45779         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
45781         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45782         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45784         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
45785         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
45787         * sysdeps/unix/sysv/linux/kernel-features.h
45788         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
45789         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
45790         unconditional.
45791         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45792         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
45793         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45794         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45795         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
45796         Make code unconditional.
45797         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45798         (__mmap64) [!__NR_mmap2]: Likewise.
45799         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
45800         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45801         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45802         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
45803         [__NR_mmap2]: Make code unconditional.
45804         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45805         (__mmap64) [!__NR_mmap2]: Likewise.
45807 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45809         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
45811 2012-08-18  Andreas Jaeger  <aj@suse.de>
45813         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
45815 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45817         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
45818         * include/unistd.h (__have_sock_cloexec): Likewise.
45819         (__have_pipe2): Likewise.
45820         (__have_dup3): Likewise.
45822 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45824         [BZ #9685]
45825         * include/unistd.h (__have_pipe2): Change define into an extern int.
45826         (__have_dup3): Likewise.
45827         * socket/have_sock_cloexec.c: Include fcntl.h.
45828         (__have_pipe2): New variable.
45829         (__have_dup3): Likewise.
45831 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
45833         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
45835 2012-08-17  Marek Polacek  <polacek@redhat.com>
45837         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
45838         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
45840 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45842         * configure.in: Add AC_SUBST for sysheaders.
45843         * configure: Regenerated.
45844         * config.make.in (sysheaders): New substituted variable.
45846         * sysdeps/unix/mkfifo.c: Moved ...
45847         * sysdeps/posix/mkfifo.c: ... here.
45848         * sysdeps/unix/mkfifoat.c: Moved ...
45849         * sysdeps/posix/mkfifoat.c: ... here.
45851         * sysdeps/unix/utime.c: Moved ...
45852         * sysdeps/posix/utime.c: ... here.
45854         * sysdeps/unix/time.c: Moved ...
45855         * sysdeps/posix/time.c: ... here.
45856         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
45857         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
45859         * sysdeps/unix/nice.c: Moved ...
45860         * sysdeps/posix/nice.c: ... here.
45862         * sysdeps/unix/alarm.c: Moved ...
45863         * sysdeps/posix/alarm.c: ... here.
45865         * intl/Makefile ($(codeset_mo)): Depend on the input file.
45867 2012-08-17  Jeff Law <law@redhat.com>
45869         * intl/Makefile (codeset_mo): New variable.
45870         ($(codeset_mo)): New target.
45871         (tst-codeset.out): Depend on that.  Remove explicit rule.
45872         (tst-gettext3.out, tst-gettext5.out): Likewise.
45873         (LOCPATH-ENV, tst-codeset-ENV): New variables.
45874         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
45875         * intl/tst-codeset.sh: Remove.
45876         * intl/tst-gettext3.sh: Likewise.
45877         * intl/tst-gettext5.sh: Likewise.
45879 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45881         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
45882         * sysdeps/unix/syscalls.list: ... here.
45884         * sysdeps/posix/getaddrinfo.c
45885         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
45886         (gaiconf_init, gaiconf_reload): Use them.
45887         [!_STATBUF_ST_NSEC]
45888         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
45889         Define using time_t rather than struct timespec.
45891         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
45892         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
45893         Macros removed.
45894         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
45895         [!NO_THREADS].
45896         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
45897         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
45898         Likewise.
45900         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
45901         __libc_cleanup_push argument.
45903         * bits/param.h: New file.
45904         * misc/sys/param.h: New file.
45905         * include/sys/param.h: New file.
45906         * misc/Makefile (headers): Add bits/param.h.
45907         * sysdeps/generic/sys/param.h: File removed.
45908         * sysdeps/unix/sysv/linux/bits/param.h: New file.
45909         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
45910         * sysdeps/mach/hurd/bits/param.h: New file.
45911         * sysdeps/mach/hurd/sys/param.h: File removed.
45913         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
45914         last change.
45916         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
45917         [_IO_MTSAFE_IO].
45918         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
45919         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
45920         New macros.
45922         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
45923         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
45924         rather than -D_IO_MTSAFE_IO conditionally.
45925         * stdio-common/Makefile (CPPFLAGS): Likewise.
45926         * wcsmbs/Makefile (CPPFLAGS): Likewise.
45927         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
45928         Use $(libio-mtsafe).
45929         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
45930         of -D_IO_MTSAFE_IO.
45931         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
45932         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
45933         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
45934         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
45935         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
45936         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
45937         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
45938         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
45939         (CFLAGS-fread_u_chk.c): Likewise.
45940         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
45941         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
45942         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
45943         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
45944         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
45945         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
45946         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
45947         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
45948         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
45950         * libio/Makefile: Test [$(libc-reentrant) = yes]
45951         instead of [$(filter %REENTRANT, $(defines)) nonempty].
45953         * Makeconfig
45954         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
45955         * sysdeps/pthread/configure: File removed.
45956         * sysdeps/pthread/Makeconfig: New file.
45957         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
45958         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
45960 2012-08-16  Gary Benson  <gbenson@redhat.com>
45962         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
45963         unmapping the first object in a namespace.
45965 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45967         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
45968         (__internal_setnetgrent): ... this.  Add internal_function to
45969         definition.  Add libc_hidden_def.
45970         (setnetgrent): Update caller.
45971         (internal_endnetgrent): Renamed to ...
45972         (__internal_endnetgrent): ... this.  Add internal_function to
45973         definition.  Add libc_hidden_def.
45974         (endnetgrent): Update caller.
45975         (internal_getnetgrent_r): Renamed to ...
45976         (__internal_getnetgrent_r): ... this.  Add internal_function to
45977         definition.  Add libc_hidden_def.
45978         (__getnetgrent_r): Update caller.
45979         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
45981 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45983         * stdlib/longlong.h: Update from GCC.
45985 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45987         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
45988         on _QL, which is set by umul_ppmm but never used.
45989         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
45990         variables, which are set by GMP macros but never used.
45991         * stdio-common/_itowa.c (_itowa): Likewise.
45992         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
45993         * stdlib/mod_1.c (mpn_mod_1): Likewise.
45995 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
45997         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
45998         struct La_sh_regs is not constant.
45999         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
46000         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
46001         and struct La_sparc64_regs are not constant.
46003 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
46005         * sysdeps/unix/sysv/linux/kernel-features.h
46006         (__ASSUME_POSIX_TIMERS): Remove.
46007         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46008         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46009         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
46010         Make code unconditional.
46011         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46012         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
46013         Make code unconditional.
46014         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46015         * sysdeps/unix/sysv/linux/clock_nanosleep.c
46016         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
46017         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46018         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
46019         Make code unconditional.
46020         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46021         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
46022         (__libc_missing_posix_timers): Remove.
46024 2012-08-15  Roland McGrath  <roland@hack.frob.com>
46026         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
46027         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
46029         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
46031         * elf/dl-sym.c: Include <stdlib.h>.
46033         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
46034         constants, which avoids warnings in 32-bit builds.
46036         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
46037         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
46039         * misc/lseek.c: File moved to ...
46040         * io/lseek.c: ... here.
46042         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
46044         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
46045         shifting LEN more than 31 bits at once.
46047 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46049         [BZ #14195]
46050         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
46051         segmentation fault for a case of two empty input strings.
46052         * string/test-strncasecmp.c (check1): Renamed to...
46053         (bz12205): ...this.
46054         (bz14195): Add new testcase for two empty input strings and N > 0.
46055         (test_main): Call new testcase, adapt for renamed function.
46057 2012-08-15  Andreas Jaeger  <aj@suse.de>
46059         [BZ #14090]
46060         * crypt/md5test2.c: New test, based on test supplied by Serge
46061         Belyshev <belyshev@depni.sinp.msu.ru>.
46062         * crypt/Makefile (xtests): Add md5test-giant..
46063         * crypt/Makefile ($(objpfx)md5test-giant): Add.
46065 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
46067         [BZ #14090]
46068         * crypt/md5.c (md5_process_block): Don't assume the buffer
46069         length is less than 2**32.
46070         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
46071         length is less than 2**64.
46073 2012-08-15  Roland McGrath  <roland@hack.frob.com>
46075         * string/str-two-way.h: Include <sys/param.h>.
46076         (MAX): Macro removed.
46078         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
46079         Move #define and #undef of memmove to just before and after
46080         including <string.h>.
46082         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
46083         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
46084         and after including <string.h>.  Move declarations of
46085         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
46086         to before #include "string/memmove.c".
46088         * include/dirent.h: Declare __getdirentries.
46090         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
46091         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
46093 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
46095         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
46096         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
46097         * sysdeps/i386/configure: Regenerated.
46098         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
46099         STABS_CURRENT_FILE, and STABS_FUN.
46100         (END): Remove call to STABS_FUN_END.
46101         (STABS_CURRENT_FILE1): Delete.
46102         (STABS_CURRENT_FILE): Likewise.
46103         (STABS_FUN): Likewise.
46104         (STABS_FUN_END): Likewise.
46105         (STABS_FUN2): Likewise.
46106         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
46107         * sysdeps/x86_64/configure: Regenerated.
46109 2012-08-14  Roland McGrath  <roland@hack.frob.com>
46111         * elf/dl-open.c: Include <atomic.h>.
46112         * elf/dl-lookup.c: Likewise.
46114 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
46116         * sysdeps/unix/sysv/linux/kernel-features.h
46117         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
46118         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
46119         unconditionally.
46120         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
46121         unconditionally.
46122         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
46123         condition on __ASSUME_CLONE_THREAD_FLAGS.
46125 2012-08-14  Andreas Jaeger  <aj@suse.de>
46127         * sysdeps/i386/fpu/libm-test-ulps: Update.
46129 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
46131         * include/atomic.h (atomic_exchange_and_add): Split into ...
46132         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
46133         New atomic macros.
46135 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
46137         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46139 2012-08-13  Jeff Law <law@redhat.com>
46141         * manual/stdio.texi (snprintf): Clarify handling of the trailing
46142         null byte in the output string.
46144 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
46146         * sysdeps/unix/sysv/linux/kernel-features.h
46147         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
46148         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
46149         (__ASSUME_ARG_MAX_STACK_BASED): Define.
46150         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46151         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
46152         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
46153         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
46155 2012-08-09  Jeff Law <law@redhat.com>
46157         [BZ #13939]
46158         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
46159         When avoid_arena is set, don't retry in the that arena.  Pick the
46160         next one, whatever it might be.
46161         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
46162         (arena_lock): Pass in new parameter to arena_get2.
46163         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
46164         arena_get2.
46165         (__libc_malloc): Unify retrying after main arena failure with
46166         __libc_memalign version.
46167         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
46169 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
46171         [BZ #14166]
46172         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
46173         to __redirect_strstr.
46174         (__strstr_sse42): Use typeof __redirect_strstr.
46175         (__strstr_ia32): Likewise.
46176         (__libc_strstr): New prototype.
46177         (strstr): Renamed to ...
46178         (__libc_strstr): This.
46179         (strstr): New strong alias of __libc_strstr.
46180         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46181         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
46182         __redirect_time.
46183         Include <time.h>.
46184         (__libc_time): New prototype.
46185         (time_ifunc): Replace time with __libc_time.
46186         (time): New strong alias and hidden definition of __libc_time.
46187         (__GI_time): Remove strong alias.
46188         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
46189         Include <stddef.h>.
46190         (memmove): Redefined to __redirect_memmove.
46191         (__memmove_sse2): Use typeof __redirect_memmove.
46192         (__memmove_ssse3): Likewise.
46193         (__memmove_ssse3_back): Likewise.
46194         (__libc_memmove): New prototype.
46195         (memmove): Renamed to ...
46196         (__libc_memmove): This.
46197         (memmove): New strong alias of __libc_memmove.
46199 2012-08-08  Mark Salter  <msalter@redhat.com>
46201         * elf/elf.h
46202         (R_MN10300_TLS_GD): Define.
46203         (R_MN10300_TLS_LD): Likewise.
46204         (R_MN10300_TLS_LDO): Likewise.
46205         (R_MN10300_TLS_GOTIE): Likewise.
46206         (R_MN10300_TLS_IE): Likewise.
46207         (R_MN10300_TLS_LE): Likewise.
46208         (R_MN10300_TLS_DTPMOD): Likewise.
46209         (R_MN10300_TLS_DTPOFF): Likewise.
46210         (R_MN10300_TLS_TPOFF): Likewise.
46211         (R_MN10300_SYM_DIFF): Likewise.
46212         (R_MN10300_ALIGN): Likewise.
46213         (R_MN10300_NUM): Update.
46215 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
46217         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
46218         Remove.
46220 2012-08-08  Roland McGrath  <roland@hack.frob.com>
46222         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
46224         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
46225         sysdeps/unix -> sysdeps/posix move.
46226         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46228 2012-08-07      Allan McRae     <allan@archlinux.org>
46230         [BZ #14303]
46231         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
46232         (SUNOS_CPP): Likewise.
46233         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
46234         not found.
46235         (open_input): Call CPP using execvp.
46237 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
46239         * sysdeps/unix/sysv/linux/kernel-features.h
46240         (__ASSUME_PROT_GROWSUPDOWN): Remove.
46241         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46242         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46243         (__ASSUME_WAITID_SYSCALL): Likewise.
46244         * sysdeps/unix/sysv/linux/dl-execstack.c
46245         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
46246         code unconditional.
46247         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
46248         conditional code.
46249         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
46250         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
46251         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
46252         code.
46253         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
46254         unconditional.
46255         [__ASSUME_WAITID_SYSCALL]: Likewise.
46256         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
46258 2012-08-07  Roland McGrath  <roland@hack.frob.com>
46260         * sysdeps/unix/closedir.c: Renamed to ...
46261         * sysdeps/posix/closedir.c: ... here.
46262         * sysdeps/unix/dirfd.c: Renamed to ...
46263         * sysdeps/posix/dirfd.c: ... here.
46264         * sysdeps/unix/dirstream.h: Renamed to ...
46265         * sysdeps/posix/dirstream.h: ... here.
46266         * sysdeps/unix/fdopendir.c: Renamed to ...
46267         * sysdeps/posix/fdopendir.c: ... here.
46268         * sysdeps/unix/opendir.c: Renamed to ...
46269         * sysdeps/posix/opendir.c: ... here.
46270         * sysdeps/unix/readdir.c: Renamed to ...
46271         * sysdeps/posix/readdir.c: ... here.
46272         * sysdeps/unix/readdir_r.c: Renamed to ...
46273         * sysdeps/posix/readdir_r.c: ... here.
46274         * sysdeps/unix/rewinddir.c: Renamed to ...
46275         * sysdeps/posix/rewinddir.c: ... here.
46276         * sysdeps/unix/seekdir.c: Renamed to ...
46277         * sysdeps/posix/seekdir.c: ... here.
46278         * sysdeps/unix/telldir.c: Renamed to ...
46279         * sysdeps/posix/telldir.c: ... here.
46280         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
46281         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
46282         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
46283         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
46285         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
46286         * bits/fcntl.h: ... here.
46288         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
46289         not 0.
46290         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
46291         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
46292         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
46293         (struct flock): Move l_start, l_len to the beginning.
46294         Use __pid_t for l_pid.
46295         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
46296         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
46297         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
46298         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
46299         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
46300         [__USE_LARGEFILE64] (struct flock64): New type.
46301         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
46303         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
46304         * bits/dirent.h: ... here.
46306         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
46307         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
46309 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
46311         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46312         Change from 2.6.0 to 2.6.16.
46313         * sysdeps/unix/sysv/linux/configure: Regenerated.
46314         * sysdeps/unix/sysv/linux/kernel-features.h
46315         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
46316         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
46317         version.
46318         (__ASSUME_UTIMES): Likewise.
46319         (__ASSUME_CLONE_STOPPED): Remove.
46320         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
46321         architectures, not kernel version.
46322         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
46323         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46324         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46325         (__ASSUME_WAITID_SYSCALL): Likewise.
46326         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
46327         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
46328         * README: State 2.6.16 as minimum Linux kernel version.  Do not
46329         refer to older versions.
46331 2012-08-06  Roland McGrath  <roland@hack.frob.com>
46333         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
46334         Define alphasort64 as an alias.
46335         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
46336         Define versionsort64 as an alias.
46337         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
46338         Define scandir64 as an alias.
46339         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
46340         Define scandirat64 as an alias.
46341         * dirent/alphasort64.c (alphasort64):
46342         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
46343         * dirent/versionsort64.c: Likewise.
46344         * dirent/scandir64.c: Likewise.
46345         * dirent/scandirat64.c: Likewise.
46346         * sysdeps/wordsize-64/alphasort.c: File removed.
46347         * sysdeps/wordsize-64/alphasort64.c: File removed.
46348         * sysdeps/wordsize-64/scandir.c: File removed.
46349         * sysdeps/wordsize-64/scandir64.c: File removed.
46350         * sysdeps/wordsize-64/scandirat.c: File removed.
46351         * sysdeps/wordsize-64/scandirat64.c: File removed.
46352         * sysdeps/wordsize-64/versionsort.c: File removed.
46353         * sysdeps/wordsize-64/versionsort64.c: File removed.
46354         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
46355         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
46356         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
46357         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
46358         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
46359         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
46360         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
46361         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
46363         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
46364         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46365         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
46366         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46367         [defined __arch64__ || defined __sparcv9]
46368         (__INO_T_MATCHES_INO64_T): New macro.
46369         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46370         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
46371         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
46372         * sysdeps/unix/sysv/linux/bits/dirent.h
46373         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
46374         (_DIRENT_MATCHES_DIRENT64): New macro.
46376         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
46377         Define lockf64 as an alias.
46378         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
46379         Define fseeko64 as an alias.
46380         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
46381         Define ftello64 as an alias.
46382         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
46383         Define _IO_fgetpos64 and fgetpos64 as aliases.
46384         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
46385         Define _IO_fsetpos64 and fsetpos64 as aliases.
46386         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
46387         Conditionalize body on this.
46388         * libio/fseeko64.c: Likewise.
46389         * libio/ftello64.c: Likewise.
46390         * libio/iofgetpos64.c: Likewise.
46391         * libio/iofsetpos64.c: Likewise.
46392         * sysdeps/wordsize-64/lockf.c: File removed.
46393         * sysdeps/wordsize-64/lockf64.c: File removed.
46394         * sysdeps/wordsize-64/fseeko.c: File removed.
46395         * sysdeps/wordsize-64/fseeko64.c: File removed.
46396         * sysdeps/wordsize-64/ftello.c: File removed.
46397         * sysdeps/wordsize-64/ftello64.c: File removed.
46398         * sysdeps/wordsize-64/iofgetpos.c: File removed.
46399         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
46400         * sysdeps/wordsize-64/iofsetpos.c: File removed.
46401         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
46402         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
46403         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
46404         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
46405         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
46406         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
46407         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
46408         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
46409         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
46410         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
46411         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
46413         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46414         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46415         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
46416         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46417         [defined __arch64__ || defined __sparcv9]
46418         (__OFF_T_MATCHES_OFF64_T): New macro.
46419         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46420         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46421         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46422         (__OFF_T_MATCHES_OFF64_T): New macro.
46424 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46426         * stdlib/secure-getenv.c (__secure_getenv): Replace
46427         GLIBC_2_16 with GLIBC_2_17.
46429 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46431         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
46432         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46434 2012-08-03  David S. Miller  <davem@davemloft.net>
46436         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46438 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46440         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
46441         Remove.
46442         (__ASSUME_CORRECT_SI_PID): Likewise.
46443         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
46444         (__ASSUME_TMPFS_NAME): Likewise.
46445         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
46446         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
46447         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
46448         (HAVE_AUX_SECURE): Make definition unconditional.
46449         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
46450         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
46452 2012-08-03  Roland McGrath  <roland@hack.frob.com>
46454         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
46455         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
46456         * sysdeps/mach/hurd/eloop-threshold.h: New file.
46457         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46458         __eloop_threshold instead of SYMLOOP_MAX.
46460         * sysdeps/generic/eloop-threshold.h: New file.
46461         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
46462         of MAXSYMLINKS.
46463         * elf/chroot_canon.c (chroot_canon): Likewise.
46465 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46467         [BZ #13717]
46468         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46469         Change to 2.6.0 everywhere.
46470         * sysdeps/unix/sysv/linux/configure: Regenerated.
46471         * sysdeps/unix/sysv/linux/kernel-features.h
46472         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
46473         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
46474         kernel versions.
46475         (__ASSUME_POSIX_TIMERS): Define unconditionally.
46476         (__ASSUME_FUTEX_REQUEUE): Remove.
46477         (__ASSUME_STATFS64): Define unconditionally.
46478         (__ASSUME_AT_SECURE): Likewise.
46479         (__ASSUME_CORRECT_SI_PID): Likewise.
46480         (__ASSUME_TGKILL): Define without depending on kernel version for
46481         i386.
46482         (__ASSUME_UTIMES): Likewise.
46483         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
46484         kernel version.
46485         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
46486         (__ASSUME_TMPFS_NAME): Likewise.
46487         * README: Update reference to Linux kernel versions.
46489 2012-08-02  Marek Polacek  <polacek@redhat.com>
46491         [BZ# 14150]
46492         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
46493         libc_cv_asm_type_prefix with %.
46494         * configure: Regenerated.
46495         * include/libc-symbols.h: Remove comment about
46496         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46497         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
46498         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
46499         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
46500         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
46501         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46502         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
46503         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
46504         * elf/tst-unique2mod1.c: Likewise.
46505         * elf/tst-unique1mod2.c: Likewise.
46506         * elf/tst-unique1mod1.c: Likewise.
46507         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
46508         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
46509         Replace ASM_TYPE_DIRECTIVE with .type.
46510         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46511         * sysdeps/i386/sysdep.h: Likewise.
46512         * sysdeps/x86_64/sysdep.h: Likewise.
46513         * sysdeps/sh/sysdep.h: Likewise.
46514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46515         Do not define ASM_TYPE_DIRECTIVE.
46516         * sysdeps/powerpc/sysdep.h: Likewise.
46517         * sysdeps/powerpc/powerpc32/sysdep.h:
46518         Replace ASM_TYPE_DIRECTIVE with .type.
46519         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46520         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46521         * sysdeps/i386/fpu/e_powf.S: Likewise.
46522         * sysdeps/i386/fpu/e_expl.S: Likewise.
46523         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46524         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46525         * sysdeps/i386/fpu/e_pow.S: Likewise.
46526         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46527         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46528         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46529         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46530         * sysdeps/i386/fpu/e_log2.S: Likewise.
46531         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46532         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46533         * sysdeps/i386/fpu/e_powl.S: Likewise.
46534         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46535         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46536         * sysdeps/i386/fpu/e_logl.S: Likewise.
46537         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46538         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46539         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46540         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46541         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46542         * sysdeps/i386/fpu/e_log.S: Likewise.
46543         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46544         * sysdeps/i386/fpu/e_logf.S: Likewise.
46545         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46546         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46547         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46548         * sysdeps/i386/fpu/e_log10.S: Likewise.
46549         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46550         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46551         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46552         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46553         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46554         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
46555         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46556         * sysdeps/i386/i686/strtok.S: Likewise.
46557         * sysdeps/i386/i386-mcount.S: Likewise.
46558         * sysdeps/i386/strtok.S: Likewise.
46559         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
46560         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46561         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46562         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46563         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46564         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46565         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46566         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46567         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46568         * sysdeps/x86_64/_mcount.S: Likewise.
46569         * sysdeps/x86_64/strtok.S: Likewise.
46570         * sysdeps/sh/_mcount.S: Likewise.
46572 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46574         * libio/iofopen.c: Include <fcntl.h>.
46575         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
46576         (_IO_fopen64, fopen64): Define as aliases.
46577         * libio/iofopen64.c: Include <fcntl.h>.
46578         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
46579         Conditionalize body on this.
46580         * sysdeps/wordsize-64/iofopen.c: File removed.
46581         * sysdeps/wordsize-64/iofopen64.c: File removed.
46583 2012-08-01  Marek Polacek  <polacek@redhat.com>
46585         * libc/Makeconfig: Use elf in place of binfmt-subdir.
46586         Use dlfcn directly instead of a variable.
46587         (binfmt-subdir): Do not define.
46588         (dlfcn): Likewise.
46590 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
46592         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
46593         Remove all definitions.
46594         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
46595         <kernel-features.h>.
46596         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46597         (miss_F_GETOWN_EX): Remove all definitions.
46598         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
46599         macro definition.
46600         [!__ASSUME_FCNTL64]: Remove conditional code.
46601         [__ASSUME_FCNTL64]: Make code unconditional.
46602         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
46603         <kernel-features.h>.
46604         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46605         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
46606         (lockf64) [__NR_fcntl64]: Make code unconditional.
46607         (lockf64) [__ASSUME_FCNTL64]: Likewise.
46609         * sysdeps/unix/sysv/linux/kernel-features.h
46610         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
46611         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
46612         Make code unconditional.
46613         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46614         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
46616         [__NR_vfork]: Make code unconditional.
46617         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46618         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
46620         [__NR_vfork]: Make code unconditional.
46621         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46622         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46624 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46626         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
46627         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
46629         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46630         Define mkstemp64 as an alias.
46631         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46632         Define mkstemps64 as an alias.
46633         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46634         Define mkostemp64 as an alias.
46635         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46636         Define mkostemps64 as an alias.
46637         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
46638         Conditionalize body on this.
46639         * misc/mkostemp64.c: Likewise.
46640         * misc/mkostemps64.c: Likewise.
46641         * misc/mkstemps64.c: Likewise.
46642         * sysdeps/wordsize-64/mkstemp64.c: File removed.
46643         * sysdeps/wordsize-64/mkostemp64.c: File removed.
46644         * sysdeps/wordsize-64/mkostemp.c: File removed.
46645         * sysdeps/wordsize-64/mkstemp.c: File removed.
46646         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
46647         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
46648         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
46649         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
46651         [BZ #14138]
46652         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
46653         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
46654         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
46655         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
46657         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
46658         compat_symbol macros from <shlib-compat.h> rather than the underlying
46659         default_symbol_version and symbol_version macros, so that DEFAULT
46660         lines in shlib-versions are respected.
46661         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
46663 2012-08-01  Florian Weimer  <fweimer@redhat.com>
46665         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
46666         Declare with warn_unused_result.
46667         (setgid, setregid, setegid, setresgid): Likewise.
46668         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
46669         Likewise.
46670         * WUR-REPORT: Remove set*id functions.
46672 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
46674         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46676 2012-07-31  Roland McGrath  <roland@hack.frob.com>
46678         [BZ #10191]
46679         * include/sys/socket.h (__libc_accept, __libc_accept4):
46680         Add attribute_hidden.
46681         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
46683         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
46684         use of PTR_MANGLE.
46685         * inet/getnetgrent_r.c (setup): Likewise.
46687         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
46689 2012-07-31  David S. Miller  <davem@davemloft.net>
46691         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46693 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
46695         [BZ #13629]
46696         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
46697         value between 1.0 and 2.0 and smaller part has absolute value less
46698         than 1.0.
46699         * math/s_clog10.c (__clog10): Likewise.
46700         * math/s_clog10f.c (__clog10f): Likewise.
46701         * math/s_clog10l.c (__clog10l): Likewise.
46702         * math/s_clogf.c (__clogf): Likewise.
46703         * math/s_clogl.c (__clogl): Likewise.
46704         * math/libm-test.inc (clog_test): Add more tests.
46705         (clog10_test): Likewise.
46706         * sysdeps/i386/fpu/libm-test-ulps: Update.
46707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46709 2012-07-31  Florian Weimer  <fweimer@redhat.com>
46711         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
46712         Exit with zero in case no suitable GID is found, and write a
46713         message to standard error.
46715 2012-07-30  Roland McGrath  <roland@hack.frob.com>
46717         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46718         rather than to 1.
46719         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
46720         (MAXPATHLEN): Removed.
46721         (NOGROUP, NODEV): New macros.
46722         (setbit, clrbit, isset, isclr): New macros.
46723         (howmany, roundup, powerof2): New macros.
46724         (DEV_BSIZE): New macro.
46726         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
46727         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
46729         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
46730         definition on [!__NO_LONG_DOUBLE_MATH].
46732         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
46733         PTR_MANGLE and PTR_DEMANGLE.
46735         * socket/accept4.c (accept4): Rename to __libc_accept4.
46736         Define accept4 as a weak alias.
46738         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
46739         on [_DIRENT_HAVE_D_TYPE].
46740         * io/ftw.c (ftw_dir): Likewise.
46742         * io/xmknod.c (__xmknod): Don't check PATH for being null.
46744         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46746         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46747         Use the BSD numbers rather than the arbitrary ones we had.
46748         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46749         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46750         (SIGXCPU, SIGXFSZ): New macros.
46751         (_NSIG): Now 32.
46753         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46754         initializer on [_LIBC_REENTRANT].
46756         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46757         definitions inside [_POSIX_MAPPED_FILES].
46759         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
46761         * dirent/opendir.c: Include <fcntl.h>.
46763         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
46764         (__libc_getspecific): Likewise.
46765         (__libc_key_create): Likewise.
46767         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
46768         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
46769         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
46770         (tmpfile64): Define as alias.
46771         * sysdeps/wordsize-64/tmpfile.c: File removed.
46772         * sysdeps/wordsize-64/tmpfile64.c: File removed.
46773         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
46774         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
46776         * stdio-common/vfscanf.c: Include <stdbool.h>.
46777         * nss/makedb.c: Likewise.
46778         * stdio-common/_i18n_number.h: Likewise.
46779         * argp/argp-help.c: Likewise.
46780         * posix/wordexp.c: Likewise.
46781         * sysdeps/posix/spawni.c: Likewise.
46782         * nss/nss_files/files-initgroups.c: Likewise.
46783         * stdio-common/reg-modifier.c: Include <stdlib.h>.
46784         * nss/nss_files/files-initgroups.c: Likewise.
46785         * nss/nss_db/db-netgrp.c: Likewise.
46786         * nss/nss_db/db-initgroups.c: Likewise.
46787         * io/fchmodat.c: Include <sys/stat.h>.
46789         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
46790         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
46792         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
46793         [HAVE_MMAP].
46795         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
46796         Add multiple inclusion protection.
46798 2012-07-27  David S. Miller  <davem@davemloft.net>
46800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46802 2012-07-27  Gary Benson  <gbenson@redhat.com>
46804         [BZ #14298]
46805         * elf/rtld.c: Include <stap-probe.h>.
46806         (dl_main): Added static probes "init_start" and "init_complete".
46807         * elf/dl-load.c: Include <stap-probe.h>.
46808         (lose): Take new parameter "nsid".
46809         Added static probe "map_failed".
46810         (_dl_map_object_from_fd): Pass namespace id to lose.
46811         Added static probe "map_start".
46812         (open_verify): Pass namespace id to lose.
46813         * elf/dl-open.c: Include <stap-probe.h>.
46814         (dl_open_worker) Added static probes "map_complete", "reloc_start"
46815         and "reloc_complete".
46816         * elf/dl-close.c: Include <stap-probe.h>.
46817         (_dl_close_worker): Added static probes "unmap_start" and
46818         "unmap_complete".
46819         * elf/rtld-debugger-interface.txt: New file documenting the above.
46821 2012-07-26  Roland McGrath  <roland@hack.frob.com>
46823         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
46824         rather than a string variable.
46825         * sunrpc/rpc_main.c (h_output): Likewise.
46826         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
46828 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
46830         * inet/check_native.c: New file.
46832 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
46834         [BZ #13629]
46835         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
46836         if larger part has absolute value 1.0.
46837         * math/s_clog10.c (__clog10): Likewise.
46838         * math/s_clog10f.c (__clog10f): Likewise.
46839         * math/s_clog10l.c (__clog10l): Likewise.
46840         * math/s_clogf.c (__clogf): Likewise.
46841         * math/s_clogl.c (__clogl): Likewise.
46842         * math/libm-test.inc (clog_test): Add more tests.
46843         (clog10_test): Likewise.
46844         * sysdeps/i386/fpu/libm-test-ulps: Update.
46845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46847         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
46848         (pltexit): Likewise.
46849         (La_regs): Likewise.
46850         (La_retval): Likewise.
46851         (int_retval): Likewise.
46852         Update #error for removed macros to refer only to definitions in
46853         tst-audit.h.
46854         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
46855         macro.
46856         (pltexit): Likewise.
46857         (La_regs): Likewise.
46858         (La_retval): Likewise.
46859         (int_retval): Likewise.
46860         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
46861         macro.
46862         (pltexit): Likewise.
46863         (La_regs): Likewise.
46864         (La_retval): Likewise.
46865         (int_retval): Likewise.
46866         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
46867         macro.
46868         (pltexit): Likewise.
46869         (La_regs): Likewise.
46870         (La_retval): Likewise.
46871         (int_retval): Likewise.
46872         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
46873         macro.
46874         (pltexit): Likewise.
46875         (La_regs): Likewise.
46876         (La_retval): Likewise.
46877         (int_retval): Likewise.
46878         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
46879         macro.
46880         (pltexit): Likewise.
46881         (La_regs): Likewise.
46882         (La_retval): Likewise.
46883         (int_retval): Likewise.
46884         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
46885         macro.
46886         (pltexit): Likewise.
46887         (La_regs): Likewise.
46888         (La_retval): Likewise.
46889         (int_retval): Likewise.
46890         * sysdeps/generic/tst-audit.h: Update comment to refer only to
46891         macro definitions in tst-audit.h.
46892         * sysdeps/i386/tst-audit.h: New file.
46893         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
46894         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
46895         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
46896         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
46897         * sysdeps/sh/tst-audit.h: Likewise.
46898         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
46899         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
46900         * sysdeps/x86_64/tst-audit.h: Likewise.
46902 2012-07-26  Andreas Jaeger  <aj@suse.de>
46904         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
46905         ptrace.
46907         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
46908         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
46909         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
46910         PTRACE_O_MASK.
46911         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
46912         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
46913         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
46915         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
46916         value.
46918         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
46919         _sigsys.
46920         (si_call_addr, si_syscall, si_arch): Define new macro.
46921         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
46922         _sigsys.
46923         (si_call_addr, si_syscall, si_arch): Define new marcro.
46924         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
46925         _sigsys.
46926         (si_call_addr, si_syscall, si_arch): Define new macro.
46927         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
46928         _sigsys.
46929         (si_call_addr, si_syscall, si_arch): Define new macro.
46931 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46933         [BZ #13717]
46934         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46935         Change to 2.4.21 where previously 2.4.1.
46936         * sysdeps/unix/sysv/linux/configure: Regenerated.
46937         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
46938         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
46939         Linux kernel version.
46940         (__ASSUME_STD_AUXV): Remove.
46941         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
46942         kernel version.
46943         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
46944         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
46945         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
46946         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
46947         (__ASSUME_NETLINK_SUPPORT): Likewise.
46948         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
46949         (__no_netlink_support): Remove conditional definition.
46950         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
46951         Remove.
46952         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46953         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
46954         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
46955         (if_nameindex_ioctl): Remove.
46956         (if_nameindex_netlink): Do not handle __no_netlink_support.
46957         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46958         code.
46959         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
46960         Remove conditional code.
46961         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46962         code.
46963         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
46964         unconditional.
46965         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46966         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
46967         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
46968         Remove.
46969         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
46970         [!__ASSUME_STD_AUXV]: Remove conditional code.
46971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
46972         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
46973         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
46974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
46975         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
46976         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46977         code.
46978         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46980         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
46981         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46982         conditional code.
46983         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46985         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46986         code.
46987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46988         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46989         conditional code.
46990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
46991         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46992         code unconditional.
46993         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46994         conditional code.
46995         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46996         unconditional.
46997         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46998         conditional code.
46999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47000         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47001         unconditional.
47002         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47003         conditional code.
47004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
47005         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47006         code unconditional.
47007         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47008         conditional code.
47009         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47010         unconditional.
47011         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47012         conditional code.
47013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
47014         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47015         code unconditional.
47016         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47017         conditional code.
47018         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47019         unconditional.
47020         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47021         conditional code.
47023 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
47025         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
47026         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
47027         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
47028         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
47029         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
47030         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47031         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47032         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
47033         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
47034         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
47035         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
47036         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
47037         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
47038         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47039         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
47040         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
47041         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
47042         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
47043         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
47044         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
47045         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
47046         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
47047         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47049 2012-07-25  Florian Weimer  <fweimer@redhat.com>
47051         * Versions.def: Add GLIBC_2.17.
47052         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
47053         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
47054         Introduce __libc_secure_getenv.
47055         * stdlib/Versions (2.17): Add secure_getenv
47056         (GLIBC_PRIVATE): Add __libc_secure_getenv.
47057         * stdlib/secure-getenv.c: Rename __secure_getenv to
47058         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
47059         symbol __secure_getenv for GLIBC_2.0.
47060         * stdlib/tst-secure-getenv.c: New.
47061         * stdlib/Makefile (tests): Add testcase.
47062         * manual/startup.texi (Environment Access): Document
47063         secure_getenv.
47064         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
47065         __libc_secure_getenv.
47066         * inet/ruserpass.c (ruserpass): Likewise.
47067         * malloc/mtrace.c (mtrace): Likewise.
47068         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
47069         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
47070         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
47071         * sysdeps/posix/tempname.c: Likewise.  Evaluate
47072         HAVE_SECURE_GETENV.
47073         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
47074         __secure_getenv to __libc_secure_getenv.
47075         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
47076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47077         Likewise.
47078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47079         Likewise.
47080         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
47081         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
47082         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47083         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
47084         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
47085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47086         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
47088 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
47090         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
47091         (struct La_i86_retval): Likewise.
47092         (struct La_x86_64_regs): Likewise.
47093         (struct La_x86_64_retval): Likewise.
47094         (struct La_x32_regs): Likewise.
47095         (struct La_x32_retval): Likewise.
47096         (struct La_ppc32_regs): Likewise.
47097         (struct La_ppc32_retval): Likewise.
47098         (struct La_ppc64_regs): Likewise.
47099         (struct La_ppc64_retval): Likewise.
47100         (struct La_sh_regs): Likewise.
47101         (struct La_sh_retval): Likewise.
47102         (struct La_s390_32_regs): Likewise.
47103         (struct La_s390_32_retval): Likewise.
47104         (struct La_s390_64_regs): Likewise.
47105         (struct La_s390_64_retval): Likewise.
47106         (struct La_sparc32_regs): Likewise.
47107         (struct La_sparc32_retval): Likewise.
47108         (struct La_sparc64_regs): Likewise.
47109         (struct La_sparc64_retval): Likewise.
47110         (struct audit_ifaces): Remove architecture-specific pltenter and
47111         pltexit members.
47112         * sysdeps/i386/ldsodefs.h: New file.
47113         * sysdeps/powerpc/ldsodefs.h: Likewise.
47114         * sysdeps/s390/ldsodefs.h: Likewise.
47115         * sysdeps/sh/ldsodefs.h: Likewise.
47116         * sysdeps/sparc/ldsodefs.h: Likewise.
47117         * sysdeps/x86_64/ldsodefs.h: Likewise.
47119 2012-07-25  Marek Polacek  <polacek@redhat.com>
47121         [BZ #6808]
47122         * math/libm-test.inc (yn_test): Add another test.
47123         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
47124         to ERANGE when the result is +-Inf.
47125         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47126         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
47127         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
47128         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
47130 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
47132         * conform/data/time.h-data (NULL): Use macro-constant.  Require
47133         equal to 0.
47134         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
47135         clock_t.
47136         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
47138 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
47140         * configure.in <sysdeps resolving>: Correct printing
47141         Implies_before.
47142         * configure: Regenerate.
47144 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
47146         * math/w_ilogb.c: Include <limits.h>.
47147         * math/w_ilogbl.c: Likewise.
47149 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
47151         * manual/lang.texi (__va_copy): Document primarily as ISO C99
47152         va_copy.  Document allowing for unavailable va_copy only as
47153         pre-C99 compatibility.
47154         * manual/string.texi (Copying and Concatenation): Use va_copy
47155         instead of __va_copy in concat example.
47157 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
47159         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
47160         (__sendto): Use create_address_port.  Initialize APORT and deallocate
47161         it if not null.
47163         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
47164         with O_NOLINK passed to __file_name_lookup.
47166         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
47167         with O_NOLINK passed to __file_name_lookup.
47169         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
47170         negative N or less than NGIDS.
47172         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
47173         type to string_t.  Set ERANGE as errno and return it if NAME is not big
47174         enough.  Use memcpy instead of strncpy.
47176 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
47178         * elf/Makefile (check-data): Remove.
47179         (localplt.data): New vpath directive.
47180         ($(objpfx)check-localplt.out): Use localplt.data from vpath
47181         instead of $(check-data).
47182         * scripts/data/localplt-generic.data: Move to ...
47183         * sysdeps/generic/localplt.data: ... here.
47184         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
47185         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
47186         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
47187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
47188         ... here.
47189         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
47190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
47191         ... here.
47192         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
47193         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
47194         ... here.
47195         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
47196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
47197         ... here.
47198         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
47199         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
47200         ... here.
47201         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
47202         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
47203         ... here.
47205 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47207         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
47208         PPC32 and PPC64 files.
47209         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
47210         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
47212 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47214         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
47215         __makecontext_ret to ...
47216         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
47217         ... here and call exit if uc_link is NULL.  New file.
47218         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
47219         __makecontext_ret.S.
47220         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
47221         __makecontext_ret to ...
47222         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
47223         ... here and call exit if uc_link is NULL.  New file.
47224         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
47225         __makecontext_ret.S.
47227 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47229         * elf/elf.h (R_390_IRELATIVE): New definition.
47230         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
47231         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
47232         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
47233         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47234         (elf_machine_lazy_rel): Likewise.
47235         * sysdeps/s390/dl-irel.h: New file.
47236         * sysdeps/s390/s390-64/memcpy.S: New asm code.
47237         * sysdeps/s390/s390-64/memset.S: New asm code.
47238         * sysdeps/s390/s390-64/memcmp.S: New asm code.
47239         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
47240         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
47241         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
47242         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
47243         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
47244         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
47245         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
47246         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
47247         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
47248         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
47249         * sysdeps/s390/s390-32/memcpy.S: New asm code.
47250         * sysdeps/s390/s390-32/memset.S: New asm code.
47251         * sysdeps/s390/s390-32/memcmp.S: New asm code.
47253 2012-07-17  Marek Polacek  <polacek@redhat.com>
47255         [BZ #14349]
47256         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
47257         * sysdeps/s390/s390-64/configure.in: Likewise.
47258         * sysdeps/sparc/configure.in: Likewise.
47259         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
47260         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
47261         * sysdeps/i386/configure.in: Likewise.
47262         * sysdeps/x86_64/configure.in: Likewise.
47263         * sysdeps/sh/configure.in: Likewise.
47264         * sysdeps/s390/s390-32/configure: Regenerated.
47265         * sysdeps/s390/s390-64/configure: Likewise.
47266         * sysdeps/x86_64/configure: Likewise.
47267         * sysdeps/sh/configure: Likewise.
47268         * sysdeps/powerpc/powerpc64/configure: Likewise.
47269         * sysdeps/powerpc/powerpc32/configure: Likewise.
47270         * sysdeps/sparc/configure: Likwise.
47271         * sysdeps/i386/configure: Likewise.
47273         * elf/dl-open.c: Comment fixes.
47275 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
47277         * Makefile [CXX] (check-data): Remove.
47278         [CXX] (c++-types.data): New vpath directive.
47279         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
47280         vpath.  Do not allow for C++ type data being missing.
47281         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
47282         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
47283         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
47284         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
47285         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
47286         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
47287         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
47288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
47289         ... here.
47290         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
47291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
47292         ... here.
47293         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
47294         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
47295         ... here.
47296         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
47297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
47298         ... here.
47299         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
47300         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
47301         ... here.
47302         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
47303         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
47304         ... here.
47305         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
47306         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
47307         ... here.
47308         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
47309         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
47311         * elf/tls-macros.h (TLS_LE): Move architecture-specific
47312         definitions to architecture-specific files.
47313         (TLS_IE): Likewise.
47314         (TLS_LD): Likewise.
47315         (TLS_GD): Likewise.
47316         * sysdeps/i386/tls-macros.h: New file.
47317         * sysdeps/powerpc/tls-macros.h: Likewise.
47318         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
47319         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
47320         * sysdeps/sh/tls-macros.h: Likewise.
47321         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
47322         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
47323         * sysdeps/x86_64/tls-macros.h: Likewise.
47325 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47327         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
47328         zero value for regular exit case.
47330         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
47331         (__start_context): Preserve zero value for regular exit case.
47333 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47334             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47336         * manual/setjmp.texi (setcontext): Clarify normal process
47337         termination when uc_link is the null pointer.
47338         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
47339         exit call.
47341 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
47343         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
47344         preprocessor.  Test for each exception mask separately.
47346 2012-07-16  Andreas Jaeger  <aj@suse.de>
47348         * po/ru.po: Update from translation team.
47350 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
47352         * conform/data/string.h-data (NULL): Use macro-constant.  Require
47353         equal to 0.
47354         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47355         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47356         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
47357         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
47358         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47360 2012-07-13  Andreas Jaeger  <aj@suse.de>
47362         * po/fr.po: Update from translation team.
47364 2012-07-12  Marek Polacek  <polacek@redhat.com>
47366         [BZ #14173]
47367         * math/libm-test.inc (yn_test): Add test for BZ #14173.
47368         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
47369         loop condition.
47371 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
47373         [BZ #13717]
47374         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47375         Change to 2.4.1 where previously 2.4.0.
47376         * sysdeps/unix/sysv/linux/configure: Regenerated.
47377         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
47378         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
47379         version.
47380         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
47381         (__ASSUME_AT_CLKTCK): Remove.
47382         (__ASSUME_AT_PAGESIZE): Likewise.
47383         (__ASSUME_AT_XID): Likewise.
47384         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
47385         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
47386         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
47387         unconditionally.
47388         (HAVE_AUX_PAGESIZE): Likewise.
47389         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
47390         [__ASSUME_AT_CLKTCK]: Make code unconditional.
47391         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
47393 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
47395         [BZ #14307]
47396         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
47397         the temporary buffer used to invoke __gethostbyname2_r,
47398         __gethostbyaddr_r and gethostbyname4_r to make room for struct
47399         host_data / struct gaih_addrtuple.
47400         * resolv/nss_dns/dns-host.c (global scope): Move definition of
47401         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
47402         header file nss/nsswitch.h.
47403         * nss/nsswitch.h (global scope): Add definition of implementation
47404         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
47405         resolv/nss_dns/dns-host.c).
47407 2012-07-11  Andreas Jaeger  <aj@suse.de>
47409         * po/fr.po: Update from translation team.
47411         * po/sv.po: Update from translation team
47412         * po/fr.po: Another update from translation team.
47414 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47416         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
47417         for subnormals or multiply small sinh result by itself.
47418         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47419         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47421 2012-07-11  David S. Miller  <davem@davemloft.net>
47423         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47425 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
47427         [BZ #14347]
47428         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
47429         (INTERNAL_MARK): Shift it here.
47431 2012-07-10  Marek Polacek  <polacek@redhat.com>
47433         [BZ #14151]
47434         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
47435         libc_cv_asm_global_directive with .globl.
47436         * configure: Regenerated.
47437         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
47438         with .globl.
47439         * sysdeps/i386/configure: Regenerated.
47440         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
47441         with .globl.
47442         * sysdeps/x86_64/configure: Regenerated.
47443         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
47444         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
47445         * elf/tst-unique2mod2.c: Likewise.
47446         * elf/tst-unique2mod1.c: Likewise.
47447         * elf/tst-unique1mod2.c: Likewise.
47448         * elf/tst-unique1mod1.c: Likewise.
47449         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47450         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47451         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47452         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47453         * sysdeps/mach/sysdep.h: Likewise.
47454         * sysdeps/i386/sysdep.h: Likewise.
47455         * sysdeps/i386/i386-mcount.S: Likewise.
47456         * sysdeps/x86_64/_mcount.S: Likewise.
47457         * sysdeps/x86_64/sysdep.h: Likewise.
47458         * sysdeps/sh/_mcount.S: Likewise.
47459         * sysdeps/sh/sysdep.h: Likewise.
47460         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
47461         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
47462         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
47463         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47464         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
47465         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
47466         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
47467         * locale/localeinfo.h: Likewise.
47468         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
47469         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
47471 2012-07-09  Roland McGrath  <roland@hack.frob.com>
47473         [BZ #14336]
47474         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
47475         system".
47476         * manual/message.texi (The Uniforum approach): Likewise.
47477         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
47478         (glibc iconv Implementation): Likewise.
47480 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
47482         [BZ #14337]
47483         * math/s_clog.c (__clog): Avoid scaling a value down where that
47484         could result in underflow.
47485         * math/s_clog10.c (__clog10): Likewise.
47486         * math/s_clog10f.c (__clog10f): Likewise.
47487         * math/s_clog10l.c (__clog10l): Likewise.
47488         * math/s_clogf.c (__clogf): Likewise.
47489         * math/s_clogl.c (__clogl): Likewise.
47490         * math/libm-test.inc (clog_test): Add more tests.
47491         (clog10_test): Likewise.
47492         * sysdeps/i386/fpu/libm-test-ulps: Update.
47493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47495 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
47497         [BZ #14283]
47498         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
47499         by 7 not 8 to examine high bit of fractional part.
47501         [BZ #14042]
47502         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
47503         for call to __mcount_internal.
47504         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
47505         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
47506         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
47508 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
47510         [BZ #14154]
47511         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
47512         approximation for values within 0x1p-13f of an odd multiple of
47513         pi/4.
47514         * math/libm-test.inc (tan_test): Do not allow spurious underflow
47515         exception.  Add more tests.
47516         * sysdeps/i386/fpu/libm-test-ulps: Update.
47518         [BZ #6778]
47519         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
47520         inputs and return -1 for them.  Do not check for +Inf in case not
47521         reachable for +Inf.
47522         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47523         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
47524         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47525         and return -1 for them.  Do not check for +Inf in case not
47526         reachable for +Inf.
47527         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
47528         define.
47529         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47530         and return -1 for them.  Do not check for +Inf in case not
47531         reachable for +Inf.
47532         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
47533         spurious underflow.
47534         * sysdeps/i386/fpu/libm-test-ulps: Update.
47535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47537 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
47539         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
47541 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
47543         [BZ #14157]
47544         [BZ #14331]
47545         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
47546         could result in spurious underflow.  Scale down values above
47547         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
47548         * math/s_csqrtf.c (__csqrtf): Likewise.
47549         * math/s_csqrtl.c (__csqrtl): Likewise.
47550         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
47551         spurious underflow.
47552         * sysdeps/i386/fpu/libm-test-ulps: Update.
47553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47555 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
47557         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
47558         xopen-msg.sed.
47559         * catgets/xopen-msg.awk: New file.
47560         * catgets/xopen-msg.sed: Removed.
47562         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
47563         po2text.sed.
47564         * intl/po2test.awk: New file.
47565         * intl/po2test.sed: Removed.
47567 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
47569         [BZ #14328]
47570         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
47571         or multiply small sinh result by itself.
47572         * math/s_ctanf.c (__ctanf): Likewise.
47573         * math/s_ctanh.c (__ctanh): Likewise.
47574         * math/s_ctanhf.c (__ctanhf): Likewise.
47575         * math/s_ctanhl.c (__ctanhl): Likewise.
47576         * math/s_ctanl.c (__ctanl): Likewise.
47577         * math/libm-test.inc (ctan_test_tonearest): New function.
47578         (ctan_test_towardzero): Likewise.
47579         (ctan_test_downward): Likewise.
47580         (ctan_test_upward): Likewise.
47581         (ctanh_test_tonearest): Likewise.
47582         (ctanh_test_towardzero): Likewise.
47583         (ctanh_test_downward): Likewise.
47584         (ctanh_test_upward): Likewise.
47585         (main): Call these new functions.
47586         * sysdeps/i386/fpu/libm-test-ulps: Update.
47587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47589 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
47591         * .gitignore: Delete /ports entry.
47593 2012-07-03  Andreas Jaeger  <aj@suse.de>
47595         * po/bg.po: Update from translation team.
47596         * po/cs.po: Likewise.
47597         * po/de.po: Likewise.
47598         * po/hr.po: Likewise.
47599         * po/nl.pl: Likewise.
47600         * po/pl.po: Likewise.
47601         * po/vi.po: Likewise.
47603 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
47605         * Makeconfig [!+link] (+link-before-libc): New variable.
47606         [!+link] (+link-after-libc): Likewise.
47607         [!+link] (+link-tests): Likewise.
47608         [!+link] (+link): Define in terms of $(+link-before-libc) and
47609         $(+link-after-libc).
47610         [!+link-static] (+link-static-before-libc): New variable.
47611         [!+link-static] (+link-static-after-libc): Likewise.
47612         [!+link-static] (+link-static-tests): Likewise.
47613         [!+link-static] (+link-static): Define in terms of
47614         $(+link-static-before-libc) and $(+link-static-after-libc).
47615         [build-shared] (link-libc-before-gnulib): New variable.
47616         [build-shared] (link-libc-tests): Likewise.
47617         [build-shared] (link-libc): Define in terms of
47618         $(link-libc-before-gnulib).
47619         [!build-shared] (link-libc-tests): New variable.
47620         (link-libc-static-tests): New variable.
47621         [!gnulib] (gnulib-arch): New variable.
47622         [!gnulib] (gnulib-tests): Likewise.
47623         [!gnulib] (static-gnulib-arch): Likewise.
47624         [!gnulib] (static-gnulib-tests): Likewise.
47625         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
47626         Define with "=" instead of ":=".
47627         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
47628         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
47629         * Rules (binaries-all-notests): New variable.
47630         (binaries-all-tests): Likewise.
47631         (binaries-static-notests): Likewise.
47632         (binaries-static-tests): Likewise.
47633         (binaries-all): Define using $(binaries-all-notests) and
47634         $(binaries-all-tests).
47635         (binaries-static): Define using $(binaries-static-notests) and
47636         $(binaries-static-tests).
47637         (binaries-shared-tests): New variable.
47638         (binaries-shared-notests): Likewise.
47639         (binaries-shared): Remove variable.
47640         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
47641         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
47642         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
47643         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
47644         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
47645         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
47646         * elf/Makefile (sln-modules): New variable.
47647         (extra-objs): Add $(sln-modules:=.o).
47648         (ldconfig-modules): Add static-stubs.
47649         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
47650         * elf/static-stubs.c: New file.
47652         [BZ #14283]
47653         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
47654         by 7 not 8 to examine high bit of fractional part.  Use volatile
47655         variables when splitting into final array of floats if
47656         __FLT_EVAL_METHOD__ != 0.
47657         * math/libm-test.inc (cos_test): Add another test.
47658         (sin_test): Likewise.
47659         * sysdeps/i386/fpu/libm-test-ulps: Update.
47661         [BZ #14273]
47662         * math/libm-test.inc (cosh_test): Add more tests.
47664         * version.h (RELEASE): Set to "development".
47665         (VERSION): Set to "2.16.90".
47667 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
47669         * NEWS: Update copyright. Remove last-updated date.
47670         Mention math library bug fixes and timezone data changes.
47671         * README: Mention GNU/Hurd, x32, and HPPA support status.
47673 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
47675         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
47677 2012-06-27  Andreas Jaeger  <aj@suse.de>
47679         * manual/contrib.texi (Contributors): Add Samuel Thibault.
47681 2012-06-25  Andreas Jaeger  <aj@suse.de>
47683         * sysdeps/s390/fpu/libm-test-ulps: Update.
47685 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
47686             Thomas Schwinge  <thomas@codesourcery.com>
47688         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
47689         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
47690         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
47691         fanotify_mark.
47693 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
47695         * sysdeps/mach/start.c: Remove file.
47696         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
47697         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
47698         * sysdeps/sh/init-first.c: Likewise.
47700         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
47701         registers for frame unwinding purposes, add CFI directives.
47702         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47703         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
47704         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47705         Likewise.
47707         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
47708         __fortify_fail returning.
47709         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47711         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
47712         sysdeps/sh/____longjmp_chk.S.
47713         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
47714         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
47715         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
47716         (gen-as-const-headers): Append sigaltstack-offsets.sym.
47718         * sysdeps/sh/abort-instr.h: New file.
47719         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
47720         process in case exit returns.
47722         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47723         initialize the GOT register before use.
47725         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
47726         calculation of ARGC > 4.
47728         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
47729         meaningful names to some local labels.
47731 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47732             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47734         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
47735         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
47736         (__arch_compare_and_exchange_val_16_acq): Likewise.
47737         (__arch_compare_and_exchange_val_32_acq): Likewise.
47738         (atomic_exchange_and_add): Fix gUSA sequence.
47739         (atomic_add): Likewise.
47740         (atomic_add_negative): Likewise.
47741         (atomic_add_zero): Likewise.
47742         (atomic_bit_test_set): Likewise.
47744 2012-06-22  Andreas Schwab  <schwab@redhat.com>
47746         [BZ #13579]
47747         * include/link.h (struct link_map): Add l_free_initfini.
47748         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47749         l_initfini.
47750         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47751         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47752         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47753         set.
47755 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
47757         * configure.in: Use AC_LANG_SOURCE.
47758         * configure: Regenerate.
47760 2012-06-22  Roland McGrath  <roland@hack.frob.com>
47762         * configure.in (libc_cv_localstatedir): New substituted variable.
47763         * configure: Regenerated.
47764         * config.make.in (localstatedir): New variable, substituted from
47765         libc_cv_localstatedir.
47766         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
47767         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
47768         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
47769         * sysdeps/gnu/configure: Regenerated.
47771 2012-06-21  Jeff Law  <law@redhat.com>
47773         [BZ #14277]
47774         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
47775         free.  Simplify list management for _LIBC case.
47777 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
47779         [BZ #14273]
47780         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
47781         Clear sign bit of 64-bit integer value before comparing against
47782         overflow value.
47784         * sysdeps/mach/configure: Regenerated.
47786 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
47788         [BZ #14278]
47789         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
47791 2012-06-21  Jeff Law  <law@redhat.com>
47793         [BZ #13882]
47794         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
47795         uint16_t for elements in the "seen" array to avoid char overflows.
47796         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47797         * elf/dl-open.c (dl_open_worker): Likewise.
47799 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
47801         * scripts/list-sources.sh: Scan PORTS for translations.
47802         * po/libc.pot: Regenerated.
47804 2012-06-21  Andreas Jaeger  <aj@suse.de>
47806         [BZ #12194]
47807         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
47808         warning.
47809         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
47810         * bits/byteswap-16.h (__bswap_16): Likewise.
47811         * bits/byteswap.h (__bswap_constant_16): Likewise.
47813 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
47815         [BZ #14117]
47816         * sysdeps/i386/fpu_control.h: Removed.
47817         * sysdeps/x86_64/fpu_control.h: Moved to ...
47818         * sysdeps/x86/fpu_control.h: Here.
47820         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
47821         (_FPU_SETCW): Likewise.
47823 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
47825         [BZ #14117]
47826         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
47827         * sysdeps/x86/fpu/bits/mathinline.h: This.
47828         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
47830         [BZ #14050]
47831         [BZ #14117]
47832         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
47833         functions if __x86_64__ is defined.
47835 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
47837         * string/endian.h: Add !__ASSEMBLER__ condition for including
47838         conversion interfaces.
47840 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
47842         [BZ #14241]
47843         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
47844         of ABS(x) in calculating zero to negative powers other than odd
47845         integers.
47846         * math/libm-test.inc (pow_test): Add more tests.
47848 2012-06-15  Andreas Jaeger  <aj@suse.de>
47850         * manual/contrib.texi (Contributors): Update entry of Liubov
47851         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
47852         Machado Filho.
47854 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
47856         * string/string.h: Add __wur to GNU version of strerror_r.
47858 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
47860         [BZ #14229]
47861         * string/Makefile (tests): Add tst-strtok_r.
47862         * string/tst-strtok_r.c: New file.
47863         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
47864         RAX_LP/RDX_LP on SAVE_PTR.
47866 2012-06-14  Roland McGrath  <roland@hack.frob.com>
47868         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
47870 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
47872         * libm_test.inc (csqrt_test): Allow more spurious underflow
47873         exceptions.
47874         (j0_test): Likewise.
47875         (j1_test): Likewise.
47876         (y0_test): Likewise.
47877         (y1_test): Likewise.
47879 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
47881         * po/Makefile (libc.pot): Use UTF-8 charset.
47883 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
47885         [BZ #14210]
47886         Suppress sign-conversion warning from FD_SET.
47887         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
47888         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
47889         not unsigned long int.
47890         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
47892 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
47894         [BZ #14050]
47895         [BZ #14117]
47896         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
47897         __extern_always_inline instead of __extern_inline.
47898         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
47899         (__signbit): Likewise.
47900         (__signbitl): Support C++ namespace.
47901         (lrintf): New inline function.
47902         (lrint): Likewise.
47903         (llrintf): Likewise.
47904         (llrint): Likewise.
47905         (fmaxf): Likewise.
47906         (fmax): Likewise.
47907         (fminf): Likewise.
47908         (fmin): Likewise.
47909         (rint): Likewise.
47910         (rintf): Likewise.
47911         (ceil): Likewise.
47912         (ceilf): Likewise.
47913         (floor): Likewise.
47914         (floorf): Likewise.
47915         (nearbyint): Likewise.
47916         (nearbyintf): Likewise.
47918 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
47920         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
47921         non-default versions.
47923 2012-06-11  Roland McGrath  <roland@hack.frob.com>
47925         [BZ #14218]
47926         * manual/argp.texi (Argp): Reword argp_parse description slightly.
47928 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
47930         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
47931         (FE_UPWARD, FE_DOWNWARD): Don't define.
47932         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
47933         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47935         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
47936         reading it.
47937         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47938         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47940 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47942         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47943         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
47944         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
47945         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
47947 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
47949         [BZ #14117]
47950         * sysdeps/i386/fpu/bits/fenv.h: Removed.
47951         * sysdeps/i386/fpu/Implies: New file.
47952         * sysdeps/x86_64/fpu/Implies: Likewise.
47953         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
47954         * sysdeps/x86/fpu/bits/fenv.h: This.
47956         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
47957         __SSE_MATH__.
47959 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47961         [BZ #14134]
47962         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
47963         character 0xffff that matches the last element of the
47964         conversion table.
47966 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47968         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
47969         fmodl commit.
47971 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47973         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
47974         values higher than 25.6283.
47976 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47978         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
47979         subnormal exponent extraction and add some __builtin_expect.
47980         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
47981         Fix for subnormal mantissa calculation.
47983 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
47985         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
47986         cpu2 is -1 and errno is not ENOSYS.
47988 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
47990         [BZ #14117]
47991         * sysdeps/i386/i486/bits/string.h: Renamed to ...
47992         * sysdeps/x86/bits/string.h: This.
47993         * sysdeps/x86_64/bits/string.h: Removed.
47995         * sysdeps/i386/i486/bits/string.h: Define inline functions only
47996         if not compiling for x86-64, but compiling for >= i486.
47998         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
47999         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
48001         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
48002         New macro from Linux kernel 3.4.0.
48003         (FP_XSTATE_MAGIC2): Likewise.
48004         (FP_XSTATE_MAGIC2_SIZE): Likewise.
48005         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
48006         (struct _fpx_sw_bytes): New struct.
48007         (struct _xsave_hdr): Likewise.
48008         (struct _ymmh_state): Likewise.
48009         (struct _xstate): Likewise.
48011         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
48012         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
48013         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
48014         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
48015         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
48016         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
48018         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
48019         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
48020         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
48021         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
48022         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
48023         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
48025 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48027         [BZ #13743]
48028         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
48029         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
48030         (sysdep_headers): Include sys/platform/ppc.h.
48031         * sysdeps/powerpc/test-gettimebase.c: Test for
48032         __ppc_get_timebase() to catch future ISA opcode/insn changes.
48033         * manual/Makefile (appendices): Include platform.texi.
48034         * manual/contrib.texi (Contributors): Update @node pointers.
48035         * manual/maint.texi (Maintenance): Likewise.
48036         (Platform): New node.
48037         * manual/platform.texi: New file.  Document the new features.
48039 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48040             Jakub Jelinek  <jakub@redhat.com>
48042         [BZ #14188]
48043         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
48044         where __builtin_expect is unavailable.
48046 2012-06-03  David S. Miller  <davem@davemloft.net>
48048         * stdlib/longlong.h: Updated from GCC.
48050 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
48052         [BZ #14042]
48053         * sysdeps/powerpc/powerpc32/mcount.c: New file.
48054         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
48055         __mcount_internal.
48056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
48057         (GLIBC_2.16): Likewise.
48059 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48061         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
48063 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
48065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
48066         (default-abi): New variable.
48067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
48068         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
48069         variable.
48070         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
48071         Likewise.
48072         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
48073         Likewise.
48074         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
48075         Likewise.
48077         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
48078         definition.  Document in comment.
48080 2012-06-01  David S. Miller  <davem@davemloft.net>
48082         * stdlib/longlong.h: Updated from GCC.
48084 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48086         [BZ #14117]
48087         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
48088         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
48089         sys/debugreg.h sys/io.h here.
48090         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
48091         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
48092         sys/io.h.
48093         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
48094         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
48095         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
48096         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
48097         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
48098         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
48100         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
48101         Define only if __x86_64__ is defined.
48103 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
48105         [BZ #14048]
48106         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
48107         Use int64_t for variable i.
48108         * math/libm-test.inc (fmod_test): Add more tests.
48110         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
48111         z computation is not scheduled after fetestexcept.
48112         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
48113         Use math_force_eval instead of asm to ensure calculation scheduled
48114         before exception test.
48115         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
48116         Ensure a1 + u.d computation is not scheduled after fetestexcept.
48118 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
48120         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
48121         computation is not scheduled after fetestexcept.
48123 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48125         [BZ #14117]
48126         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
48127         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
48129 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48131         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
48132         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48134 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
48136         [BZ #14117]
48137         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
48138         <bits/wordsize.h>.
48139         (__WCHAR_MIN): Support __WORDSIZE == 64.
48140         (__WCHAR_MAX): Likewise.
48142         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
48143         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
48145         [BZ #14183]
48146         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
48147         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
48149         [BZ #14117]
48150         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
48151         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
48153         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
48154         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
48156         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
48157         Defined to 1 if __x86_64__ isn't defined.
48158         (_STAT_VER_LINUX_OLD): New.
48159         (st_atime): Remove duplicate.
48160         (st_mtime): Likewise.
48161         (st_ctime): Likewise.
48163 2012-05-31  David S. Miller  <davem@davemloft.net>
48165         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
48166         entries.
48168 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
48170         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
48171         gen-libm-test.pl.
48173         [BZ #14132]
48174         * elf/dl-reloc.c: Include <_itoa.h>.
48175         (_dl_reloc_bad_type): Remove use of INTUSE.
48176         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
48177         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
48178         * stdio-common/psiginfo.c (psiginfo): Likewise.
48179         * stdio-common/psignal.c (psignal): Likewise.
48180         * string/strsignal.c (strsignal): Likewise.
48181         * include/signal.h (_sys_siglist): Declare hidden proto.
48182         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
48183         INTVARDEF with libc_hidden_data_def.
48184         * stdio-common/itoa-udigits.c: Likewise.
48185         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
48186         (_itoa_lower_digits_internal): Remove declaration.
48187         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
48188         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
48189         (_sys_sigabbrev_internal): Remove aliases.
48190         (_sys_siglist): Define hidden alias.
48192 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
48194         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48195         bits/sysctl.h.
48197 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
48199         [BZ #14117]
48200         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
48201         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
48203         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
48204         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
48205         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
48206         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
48207         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
48208         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
48210         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
48211         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
48212         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
48214         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
48215         with __addr.
48216         (insw): Likewise.
48217         (insl): Likewise.
48218         (outsb): Likewise.
48219         (outsw): Likewise.
48220         (outsl): Likewise.
48222         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
48223         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
48224         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
48226         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
48227         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
48228         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
48229         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
48230         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
48231         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
48233         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
48234         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
48236         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
48237         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
48239         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
48240         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
48241         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
48243         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
48244         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
48245         to ...
48246         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
48248         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
48249         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
48250         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
48252         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
48253         for x86-64.
48254         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
48256 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
48258         * math/math.h (M_El): Use two more decimal places.
48259         (M_LOG2El): Likewise.
48260         (M_LOG10El): Likewise.
48261         (M_LN2l): Likewise.
48262         (M_LN10l): Likewise.
48263         (M_PIl): Likewise.
48264         (M_PI_2l): Likewise.
48265         (M_PI_4l): Likewise.
48266         (M_1_PIl): Likewise.
48267         (M_2_PIl): Likewise.
48268         (M_2_SQRTPIl): Likewise.
48269         (M_SQRT2l): Likewise.
48270         (M_SQRT1_2l): Likewise.
48272 2012-05-31  David S. Miller  <davem@davemloft.net>
48274         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
48275         values between float registers.
48276         * sysdeps/sparc/sparc64/memset.S: Likewise.
48277         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48279 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
48281         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
48282         -D_FORTIFY_SOURCE=1.
48283         (CPPFLAGS-tst-longjmp_chk.c): Define.
48284         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
48285         (CPPFLAGS-tst-longjmp_chk2.c): Define.
48286         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
48287         CFLAGS-tst-wchar-h.c.
48289 2012-05-31  Marek Polacek  <polacek@redhat.com>
48291         [BZ #14132]
48292         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
48293         __endmntent_internal): Remove declaration.
48294         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
48295         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
48296         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
48298 2012-05-30  David S. Miller  <davem@davemloft.net>
48300         * sysdeps/sparc/sparc32/soft-fp/q_util.c
48301         (___Q_simulate_exceptions): Use real FP ops rather than writing
48302         into the %fsr.
48303         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
48304         Likewise.
48306 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48308         [BZ #14117]
48309         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
48310         * sysdeps/x86/bits/xtitypes.h: This.
48312         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
48313         * sysdeps/x86/bits/wordsize.h: This.
48315         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
48316         * sysdeps/x86/bits/huge_vall.h: This.
48318         * sysdeps/i386/bits/select.h: Removed.
48319         * sysdeps/x86_64/bits/select.h: Renamed to ...
48320         * sysdeps/x86/bits/select.h: This.
48322         * sysdeps/i386/bits/setjmp.h: Removed.
48323         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
48324         * sysdeps/x86/bits/setjmp.h: This.
48326         * sysdeps/i386/bits/mathdef.h: Removed.
48327         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
48328         * sysdeps/x86/bits/mathdef.h: This.
48330 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
48332         [BZ #14132]
48333         * include/sys/socket.h (__connect_internal)
48334         (__libc_sa_len_internal): Remove declaration.
48335         (__connect, __libc_sa_len): Declare hidden_proto.
48336         (SA_LEN): Remove use of INTUSE.
48337         * socket/connect.c: Add libc_hidden_def.
48338         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
48339         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
48340         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
48341         alias.
48342         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48343         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
48344         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
48345         of adding _internal alias.
48347 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48349         [BZ #14117]
48350         * sysdeps/i386/bits/link.h: Removed.
48351         * sysdeps/i386/bits/linkmap.h: Likewise.
48352         * sysdeps/x86_64/bits/link.h: Renamed to ...
48353         * sysdeps/x86/bits/link.h: This.
48354         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
48355         * sysdeps/x86/bits/linkmap.h: This.
48357         * sysdeps/i386/bits/endian.h: Removed.
48358         * sysdeps/x86_64/bits/endian.h: Renamed to ...
48359         * sysdeps/x86/bits/endian.h: This.
48361         * sysdeps/i386/bits/byteswap.h: Removed.
48362         * sysdeps/i386/bits/byteswap-16.h: Likewise.
48363         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
48364         * sysdeps/x86/bits/byteswap.h: This.
48365         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
48366         * sysdeps/x86/bits/byteswap-16.h: This.
48367         * sysdeps/i386/Implies: Add x86.
48368         * sysdeps/x86_64/Implies: Likewise.
48370 2012-05-30  David S. Miller  <davem@davemloft.net>
48372         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
48373         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
48374         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
48375         (FP_TRAPPING_EXCEPTIONS): Define.
48376         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
48377         (FP_TRAPPING_EXCEPTIONS): Define.
48378         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
48379         subnormals only when inexact has been signalled or underflow
48380         exceptions are enabled.
48381         (_FP_PACK_CANONICAL): Likewise.
48383 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48385         [BZ #14183]
48386         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
48387         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
48389 2012-05-30  Richard Henderson  <rth@twiddle.net>
48391         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
48392         with #ifndef NOT_IN_libc.
48394         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
48395         marked to avoid plt entry.
48397 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48399         [BZ #14112]
48400         * Makeconfig (default-abi): New macro.
48401         (abi-includes): Likewise.
48402         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
48403         $(abi-$(default-abi)-lib-soname) for soname if defined.
48404         ($(common-objpfx)gnu/lib-names.stmp): Generate from
48405         abi-variants.
48406         * Makefile (installed-stubs): Likewise.
48407         * include/stubs-biarch.h: Removed.
48408         * scripts/lib-names.awk: Only handle one library at a time.
48409         * scripts/soversions.awk: Remove WORDSIZE support.
48410         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
48411         entries.
48412         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
48413         Removed.
48414         (syscall-list-default-condition): Likewise.
48415         (syscall-list-default-condition): Likewise.
48416         (syscall-list-includes): Likewise.
48417         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
48418         syscall-list-* with abi-*.  Handle undefined abi-variants.
48419         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
48420         * sysdeps/unix/sysv/linux/i386/Implies: New file.
48421         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
48422         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
48423         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
48424         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
48425         Removed.
48426         (syscall-list-32-options): Likewise.
48427         (syscall-list-32-condition): Likewise.
48428         (syscall-list-64-options): Likewise.
48429         (syscall-list-64-condition): Likewise.
48430         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
48431         macro.
48432         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
48433         Renamed to ...
48434         (abi-*): This.
48435         (abi-64-ld-soname): New macro.
48436         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
48437         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
48438         Renamed to ...
48439         (abi-*): This.
48440         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
48441         * sysdeps/x86_64/x32/shlib-versions: Likewise.
48443 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
48445         * sysdeps/unix/sysv/linux/kernel-features.h
48446         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
48447         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
48448         include <kernel-features.h>.
48449         [!__NR_ftruncate64]: Remove conditional code.
48450         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48451         [__NR_ftruncate64]: Make code unconditional.
48452         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48453         * sysdeps/unix/sysv/linux/truncate64.c: Do not
48454         include <kernel-features.h>.
48455         [!__NR_ftruncate64]: Remove conditional code.
48456         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48457         [__NR_ftruncate64]: Make code unconditional.
48458         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
48460         include <kernel-features.h>.
48461         [!__NR_ftruncate64]: Remove conditional code.
48462         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48463         [__NR_ftruncate64]: Make code unconditional.
48464         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48466         include <kernel-features.h>.
48467         [!__NR_ftruncate64]: Remove conditional code.
48468         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48469         [__NR_ftruncate64]: Make code unconditional.
48470         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48472         * configure.in (libc_cv_fpie): Weaken to a compile test using
48473         LIBC_TRY_CC_OPTION.
48474         * configure: Regenerated.
48476 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48478         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
48479         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
48480         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
48481         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48482         Refreshed.
48483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
48484         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
48485         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
48486         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
48487         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
48488         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48489         Refreshed.
48491 2012-05-27  David S. Miller  <davem@davemloft.net>
48493         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
48494         (___Q_zero): New.
48495         (__Q_simulate_exceptions): Return void.  Change to simulate
48496         exceptions by writing into the %fsr.
48497         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
48498         (__Qp_handle_exceptions): Likewise.
48499         (numbers): Delete.
48500         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
48501         __Qp_handle_exceptions.
48502         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
48503         __Qp_handle_exceptions.
48504         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48505         as unused and give dummy FP_RND_NEAREST initializer.
48506         (FP_INHIBIT_RESULTS): Define.
48507         (___Q_simulate_exceptions): Update declaration.
48508         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
48509         formatting.
48510         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48511         as unused and give dummy FP_RND_NEAREST initializer.
48512         (__Qp_handle_exceptions): Update declaration.
48513         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
48514         formatting.
48516 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
48518         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
48519         the temporary FPU control word.
48520         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
48521         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
48522         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
48523         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48524         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48525         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
48526         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
48527         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48528         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
48529         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
48530         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48532 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48534         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
48535         fields.
48537 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
48539         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
48540         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
48541         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
48542         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
48543         Likewise.
48544         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
48545         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
48546         Likewise.
48548 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
48550         * po/h.po: Update from translation team.
48552 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
48554         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
48556         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
48557         handling of denormals.
48558         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48559         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48560         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48561         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48562         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48563         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
48564         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
48565         Likewise.
48567 2012-05-26  Marek Polacek  <polacek@redhat.com>
48569         [BZ #14152]
48570         * math/libm-test.inc (fma_test): Don't always expect underflow
48571         exception.
48573 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48575         [BZ #12416]
48576         * elf/tst-execstack.c: Include stackinfo.h.
48577         (do_test): Adjust test case to ensure that pthread_getattr_np
48578         behaviour remains the same after marking stack executable.
48580 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48582         * sysdeps/unix/sysv/linux/kernel-features.h
48583         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
48584         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
48585         kernel-features.h.
48586         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48587         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48588         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
48589         kernel-features.h.
48590         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48591         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48593 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
48595         * configure.in: Define the default includes to being none.
48596         * configure: Regenerated.
48598 2012-05-25  Roland McGrath  <roland@hack.frob.com>
48600         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
48601         * sysdeps/x86_64/setjmp.S: Likewise.
48602         * sysdeps/i386/bsd-setjmp.S: Likewise.
48603         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48604         * sysdeps/i386/setjmp.S: Likewise.
48605         * sysdeps/i386/__longjmp.S: Likewise.
48606         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48607         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
48609         * include/stap-probe.h: New file.
48610         * configure.in: Handle --enable-systemtap.
48611         * configure: Regenerated.
48612         * config.h.in (USE_STAP_PROBE): New #undef.
48613         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
48614         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
48615         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
48617 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48619         [BZ #13717]
48620         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48621         to 2.4.0 where earlier.
48622         * sysdeps/unix/sysv/linux/configure: Regenerated.
48623         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48624         <kernel-features.h>.
48625         [__ASSUME_32BITUIDS]: Make code unconditional.
48626         [!__ASSUME_32BITUIDS]: Remove conditional code.
48627         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
48628         <kernel-features.h>.
48629         [__ASSUME_32BITUIDS]: Make code unconditional.
48630         [!__ASSUME_32BITUIDS]: Remove conditional code.
48631         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
48632         [__ASSUME_32BITUIDS]: Make code unconditional.
48633         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
48634         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
48635         <kernel-features.h>.
48636         [__ASSUME_32BITUIDS]: Make code unconditional.
48637         [!__ASSUME_32BITUIDS]: Remove conditional code.
48638         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
48639         <kernel-features.h>.
48640         [__ASSUME_32BITUIDS]: Make code unconditional.
48641         [!__ASSUME_32BITUIDS]: Remove conditional code.
48642         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
48643         <kernel-features.h>.
48644         [__ASSUME_32BITUIDS]: Make code unconditional.
48645         [!__ASSUME_32BITUIDS]: Remove conditional code.
48646         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
48647         <kernel-features.h>.
48648         [__ASSUME_32BITUIDS]: Make code unconditional.
48649         [!__ASSUME_32BITUIDS]: Remove conditional code.
48650         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48651         <kernel-features.h>.
48652         [__ASSUME_32BITUIDS]: Make code unconditional.
48653         [!__ASSUME_32BITUIDS]: Remove conditional code.
48654         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48655         <kernel-features.h>.
48656         [__ASSUME_32BITUIDS]: Make code unconditional.
48657         [!__ASSUME_32BITUIDS]: Remove conditional code.
48658         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
48659         <kernel-features.h>.
48660         [__ASSUME_32BITUIDS]: Make code unconditional.
48661         [!__ASSUME_32BITUIDS]: Remove conditional code.
48662         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48663         <kernel-features.h>.
48664         [__ASSUME_32BITUIDS]: Make code unconditional.
48665         [!__ASSUME_32BITUIDS]: Remove conditional code.
48666         * sysdeps/unix/sysv/linux/i386/msgctl.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/semctl.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/setegid.c: Do not include
48675         <kernel-features.h>.
48676         [__NR_setresgid] (__setresgid): Do not declare.
48677         [__ASSUME_32BITUIDS]: Make code unconditional.
48678         [!__ASSUME_32BITUIDS]: Remove conditional code.
48679         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
48680         <kernel-features.h>.
48681         [__NR_setresuid] (__setresuid): Do not declare.
48682         [__ASSUME_32BITUIDS]: Make code unconditional.
48683         [!__ASSUME_32BITUIDS]: Remove conditional code.
48684         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
48685         <kernel-features.h>.
48686         [__ASSUME_32BITUIDS]: Make code unconditional.
48687         [!__ASSUME_32BITUIDS]: Remove conditional code.
48688         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
48689         <kernel-features.h>.
48690         [__ASSUME_32BITUIDS]: Make code unconditional.
48691         [!__ASSUME_32BITUIDS]: Remove conditional code.
48692         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
48693         <kernel-features.h>.
48694         [__ASSUME_32BITUIDS]: Make code unconditional.
48695         [!__ASSUME_32BITUIDS]: Remove conditional code.
48696         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
48697         <kernel-features.h>.
48698         [__ASSUME_32BITUIDS]: Make code unconditional.
48699         [!__ASSUME_32BITUIDS]: Remove conditional code.
48700         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
48701         <kernel-features.h>.
48702         [__ASSUME_32BITUIDS]: Make code unconditional.
48703         [!__ASSUME_32BITUIDS]: Remove conditional code.
48704         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
48705         <kernel-features.h>.
48706         [__ASSUME_32BITUIDS]: Make code unconditional.
48707         [!__ASSUME_32BITUIDS]: Remove conditional code.
48708         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
48709         <kernel-features.h>.
48710         [__ASSUME_32BITUIDS]: Make code unconditional.
48711         [!__ASSUME_32BITUIDS]: Remove conditional code.
48712         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
48713         <kernel-features.h>.
48714         [__ASSUME_32BITUIDS]: Make code unconditional.
48715         [!__ASSUME_32BITUIDS]: Remove conditional code.
48716         * sysdeps/unix/sysv/linux/i386/setuid.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/shmctl.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/kernel-features.h
48725         (__ASSUME_SETRESUID_SYSCALL): Remove.
48726         (__ASSUME_SETRESGID_SYSCALL): Likewise.
48727         (__ASSUME_32BITUIDS): Likewise.
48728         (__ASSUME_LDT_WORKS): Likewise.
48729         (__ASSUME_O_DIRECTORY): Likewise.
48730         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
48731         architecture but not kernel version.
48732         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48733         (__ASSUME_MMAP2_SYSCALL): Likewise.
48734         (__ASSUME_STAT64_SYSCALL): Likewise.
48735         (__ASSUME_IPC64): Likewise.
48736         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
48737         <kernel-features.h>.
48738         [__ASSUME_32BITUIDS]: Make code unconditional.
48739         [!__ASSUME_32BITUIDS]: Remove conditional code.
48740         * sysdeps/unix/sysv/linux/opendir.c: Do not include
48741         <kernel-features.h>.
48742         [__ASSUME_O_DIRECTORY]: Make code unconditional.
48743         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48744         132096]: Remove conditional code.
48745         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48746         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48747         <kernel-features.h>.
48748         [__ASSUME_32BITUIDS]: Make code unconditional.
48749         [!__ASSUME_32BITUIDS]: Remove conditional code.
48750         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48751         <kernel-features.h>.
48752         [__ASSUME_32BITUIDS]: Make code unconditional.
48753         [!__ASSUME_32BITUIDS]: Remove conditional code.
48754         * sysdeps/unix/sysv/linux/setegid.c: Do not include
48755         <kernel-features.h>.
48756         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48757         unconditional.
48758         (__setresgid): Do not declare.
48759         [__ASSUME_32BITUIDS]: Make code unconditional.
48760         [!__ASSUME_32BITUIDS]: Remove conditional code.
48761         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
48762         <kernel-features.h>.
48763         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
48764         unconditional.
48765         (__setresuid): Do not declare.
48766         [__ASSUME_32BITUIDS]: Make code unconditional.
48767         [!__ASSUME_32BITUIDS]: Remove conditional code.
48768         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48769         <kernel-features.h>.
48770         [__ASSUME_32BITUIDS]: Make code unconditional.
48771         [!__ASSUME_32BITUIDS]: Remove conditional code.
48772         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
48773         <kernel-features.h>.
48774         [__ASSUME_32BITUIDS]: Make code unconditional.
48775         [!__ASSUME_32BITUIDS]: Remove conditional code.
48777 2012-05-25  Richard Henderson  <rth@twiddle.net>
48779         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
48780         dl_hwcap to ifunc resolver.
48781         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
48782         elf_ifunc_invoke.
48783         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
48784         dl_hwcap to ifunc resolver.
48785         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
48787 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48789         [BZ #14153]
48790         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
48791         for |x| <= 2**-26, not 2**-57.
48792         * math/libm-test.inc (acos_test): Do not allow spurious underflow
48793         exception.
48795 2012-05-24  Jeff Law  <law@redhat.com>
48797         * stdio-common/Makefile (tests): Add bug25.
48798         * stdio-common/bug25.c: New test.
48800 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48802         [BZ #13576]
48803         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
48804         multiple of MALLOC_ALIGNMENT in size.
48805         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
48807 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48809         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
48810         Require >= 256.
48811         (FILENAME_MAX): Use macro-int-constant.
48812         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
48813         (_IOFBF): Use macro-int-constant.
48814         (_IOLBF): Likewise.
48815         (_IONBF): Likewise.
48816         (SEEK_CUR): Likewise.
48817         (SEEK_END): Likewise.
48818         (SEEK_SET): Likewise.
48819         (TMP_MAX): Likewise.
48820         (EOF): Use macro-int-constant.  Require < 0.
48821         (NULL): Use macro-constant.  Require == 0.
48822         (stdin): Require type to be FILE *.
48823         (stdout): Likewise.
48824         (stderr): Likewise.
48825         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
48826         macro-int-constant.
48827         (EXIT_SUCCESS): Likewise.
48828         (NULL): Use macro-constant.  Require == 0.
48829         (RAND_MAX): Use macro-int-constant.
48830         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
48831         [C99-based standards] (strtof): Require function.
48832         [C99-based standards] (strtold): Likewise.
48833         [C99-based standards] (strtoll): Likewise.
48834         [C99-based standards] (strtoull): Likewise.
48835         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48836         [ISO || ISO99 || ISO11] (limits.h): Likewise.
48837         [ISO || ISO99 || ISO11] (math.h): Likewise.
48838         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
48839         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48840         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48842 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
48844         [BZ #14132]
48845         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
48846         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
48847         * intl/dgettext.c (DCGETTEXT): Likewise.
48848         * intl/gettext.c (DCGETTEXT): Likewise.
48849         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
48850         * posix/regex_internal.h (gettext): Likewise.
48851         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
48852         Remove declaration.
48853         * include/argz.h (__argz_count_internal)
48854         (__argz_stringify_internal): Remove declaration.
48855         (__argz_count, __argz_stringify): Declare hidden proto.
48856         * intl/dcgettext.c: Remove use of INTDEF.
48857         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
48858         * string/argz-stringify.c: Likewise.
48859         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48860         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48861         Declare hidden proto.
48862         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48863         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48864         Declare hidden proto.
48865         * include/stdio.h (__asprintf_internal): Don't declare.
48866         (__asprintf): Don't define as macro.  Declare hidden proto.
48867         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
48868         (__fsetlocking): Declare hidden proto.
48869         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
48870         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
48871         hidden proto.
48872         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
48873         (_IO_setlinebuf): Remove use of INTUSE.
48874         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
48875         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
48876         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
48877         Remove declaration.
48878         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
48879         (_IO_do_flush): Remove use of INTUSE.
48880         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
48881         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
48882         (_IO_adjust_column, _IO_least_wmarker)
48883         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
48884         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
48885         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
48886         (_IO_default_doallocate, _IO_wdefault_doallocate)
48887         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
48888         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
48889         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
48890         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
48891         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
48892         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
48893         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
48894         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
48895         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
48896         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
48897         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
48898         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
48899         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
48900         proto.
48901         (_IO_flush_all_internal, _IO_adjust_column_internal)
48902         (_IO_default_uflow_internal, _IO_default_finish_internal)
48903         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
48904         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
48905         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
48906         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
48907         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
48908         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
48909         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
48910         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
48911         (_IO_file_close_internal, _IO_file_close_it_internal)
48912         (_IO_file_underflow_internal, _IO_file_overflow_internal)
48913         (_IO_file_init_internal, _IO_file_attach_internal)
48914         (_IO_file_fopen_internal, _IO_file_read_internal)
48915         (_IO_file_sync_internal, _IO_file_seek_internal)
48916         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
48917         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
48918         (_IO_str_underflow_internal, _IO_str_overflow_internal)
48919         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
48920         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
48921         (_IO_list_all_internal, _IO_link_in_internal)
48922         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
48923         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
48924         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
48925         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
48926         (_IO_do_write_internal, _IO_padn_internal)
48927         (_IO_getline_info_internal, _IO_getline_internal)
48928         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
48929         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
48930         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
48931         (_IO_vfscanf_internal, _IO_vfprintf_internal)
48932         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
48933         (_IO_init_internal, _IO_un_link_internal): Don't declare.
48934         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
48935         with libc_hidden_ver, remove use of INTUSE.
48936         * libio/genops.c: Likewise.
48937         * libio/freopen.c: Likewise.
48938         * libio/freopen64.c: Likewise.
48939         * libio/iofclose.c: Likewise.
48940         * libio/iofdopen.c: Likewise.
48941         * libio/iofflush.c: Likewise.
48942         * libio/iofflush_u.c: Likewise.
48943         * libio/iofgets.c: Likewise.
48944         * libio/iofgets_u.c: Likewise.
48945         * libio/iofopen.c: Likewise.
48946         * libio/iofopncook.c: Likewise.
48947         * libio/iofread.c: Likewise.
48948         * libio/iofread_u.c: Likewise.
48949         * libio/ioftell.c: Likewise.
48950         * libio/iofwrite.c: Likewise.
48951         * libio/iogetline.c: Likewise.
48952         * libio/iogets.c: Likewise.
48953         * libio/iogetwline.c: Likewise.
48954         * libio/iopadn.c: Likewise.
48955         * libio/iopopen.c: Likewise.
48956         * libio/ioseekoff.c: Likewise.
48957         * libio/ioseekpos.c: Likewise.
48958         * libio/iosetbuffer.c: Likewise.
48959         * libio/iosetvbuf.c: Likewise.
48960         * libio/ioungetc.c: Likewise.
48961         * libio/ioungetwc.c: Likewise.
48962         * libio/iovdprintf.c: Likewise.
48963         * libio/iovsprintf.c: Likewise.
48964         * libio/iovsscanf.c: Likewise.
48965         * libio/memstream.c: Likewise.
48966         * libio/obprintf.c: Likewise.
48967         * libio/oldfileops.c: Likewise.
48968         * libio/oldiofclose.c: Likewise.
48969         * libio/oldiofdopen.c: Likewise.
48970         * libio/oldiofopen.c: Likewise.
48971         * libio/oldiopopen.c: Likewise.
48972         * libio/oldstdfiles.c: Likewise.
48973         * libio/putc.c: Likewise.
48974         * libio/setbuf.c: Likewise.
48975         * libio/setlinebuf.c: Likewise.
48976         * libio/stdfiles.c: Likewise.
48977         * libio/strops.c: Likewise.
48978         * libio/vasprintf.c: Likewise.
48979         * libio/vscanf.c: Likewise.
48980         * libio/vsnprintf.c: Likewise.
48981         * libio/vswprintf.c: Likewise.
48982         * libio/wfiledoalloc.c: Likewise.
48983         * libio/wfileops.c: Likewise.
48984         * libio/wgenops.c: Likewise.
48985         * libio/wmemstream.c: Likewise.
48986         * libio/wstrops.c: Likewise.
48987         * libio/__fpurge.c: Likewise.
48988         * libio/__fsetlocking.c: Likewise.
48989         * assert/assert.c: Likewise.
48990         * debug/fgets_chk.c: Likewise.
48991         * debug/fgets_u_chk.c: Likewise.
48992         * debug/fread_chk.c: Likewise.
48993         * debug/fread_u_chk.c: Likewise.
48994         * debug/gets_chk.c: Likewise.
48995         * debug/obprintf_chk.c: Likewise.
48996         * debug/vasprintf_chk.c: Likewise.
48997         * debug/vdprintf_chk.c: Likewise.
48998         * debug/vsnprintf_chk.c: Likewise.
48999         * debug/vsprintf_chk.c: Likewise.
49000         * malloc/mtrace.c: Likewise.
49001         * misc/error.c: Likewise.
49002         * misc/syslog.c: Likewise.
49003         * stdio-common/asprintf.c: Likewise.
49004         * stdio-common/fxprintf.c: Likewise.
49005         * stdio-common/getw.c: Likewise.
49006         * stdio-common/isoc99_fscanf.c: Likewise.
49007         * stdio-common/isoc99_scanf.c: Likewise.
49008         * stdio-common/isoc99_vfscanf.c: Likewise.
49009         * stdio-common/isoc99_vscanf.c: Likewise.
49010         * stdio-common/isoc99_vsscanf.c: Likewise.
49011         * stdio-common/printf-prs.c: Likewise.
49012         * stdio-common/printf_fp.c: Likewise.
49013         * stdio-common/printf_fphex.c: Likewise.
49014         * stdio-common/printf_size.c: Likewise.
49015         * stdio-common/putw.c: Likewise.
49016         * stdio-common/scanf.c: Likewise.
49017         * stdio-common/sprintf.c: Likewise.
49018         * stdio-common/tmpfile.c: Likewise.
49019         * stdio-common/vfprintf.c: Likewise.
49020         * stdio-common/vfscanf.c: Likewise.
49021         * stdlib/strfmon_l.c: Likewise.
49022         * sunrpc/openchild.c: Likewise.
49023         * sunrpc/xdr_stdio.c: Likewise.
49024         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
49025         * sysdeps/mach/hurd/tmpfile.c: Likewise.
49027 2012-05-24  Roland McGrath  <roland@hack.frob.com>
49029         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49031         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
49032         in the third column, to generate for the shared library an IFUNC
49033         that uses _dl_vdso_vsym.
49034         * Makerules (COMPILE.c, compile-stdin.c): New variables.
49035         * Makeconfig (object-suffixes-noshared): New variable.
49037         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
49038         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
49039         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
49040         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
49042         [BZ #14132]
49043         * include/sys/time.h (__gettimeofday): Remove macro.
49044         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
49045         * time/gettimeofday.c (__gettimeofday): Remove #undef.
49046         Remove INTDEF.
49047         (__gettimeofday): Add libc_hidden_def.
49048         (gettimeofday): Add libc_hidden_weak.
49049         * sysdeps/mach/gettimeofday.c: Likewise.
49050         * sysdeps/posix/gettimeofday.c: Likewise.
49051         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
49052         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
49053         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
49054         (__gettimeofday_internal): Remove strong_alias.
49055         (__gettimeofday): Add libc_hidden_def.
49056         (gettimeofday): Add libc_hidden_weak.
49057         * sysdeps/unix/syscalls.list (gettimeofday):
49058         Remove __gettimeofday_internal alias.
49060 2012-05-24  Daniel Jacobowitz  <drow@false.org>
49061             H.J. Lu  <hongjiu.lu@intel.com>
49063         [BZ #12495]
49064         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
49065         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
49066         (largebin_index_32_big): New.
49067         (largebin_index): Use it for 16-byte alignment.
49068         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
49069         correction with front_misalign.
49071 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
49073         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
49074         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49075         Likewise.
49076         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
49077         Likewise.
49078         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
49079         Likewise.
49080         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
49081         Likewise.
49082         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
49083         Likewise.
49084         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
49085         Likewise.
49086         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
49087         Likewise.
49088         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49089         Likewise.
49090         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
49091         Likewise.
49092         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
49093         Likewise.
49094         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
49095         Likewise.
49096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
49097         Likewise.
49099         * scripts/data/c++-types-x32-linux-gnu.data: New file.
49100         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
49102 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
49104         [BZ #10846]
49105         [BZ #14036]
49106         * math/libm-test.inc (exp_test): Add test from bug 14036.
49107         (pow_test): Add test from bug 10846.
49109         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
49110         and other flags.
49111         (special_function): Do not include flags in test name.
49112         (parse_args): Likewise.
49113         * sysdeps/i386/fpu/libm-test-ulps: Update.
49114         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49115         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49116         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49119         * math/gen-libm-test.pl (%beautify): Add entries for underflow
49120         exceptions.
49121         * math/libm-test.inc ("Philosophy"): Update comment about
49122         exception testing.
49123         (UNDERFLOW_EXCEPTION): New macro.
49124         (UNDERFLOW_EXCEPTION_OK): Likewise.
49125         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
49126         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
49127         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
49128         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
49129         (INVALID_EXCEPTION_OK): Update value.
49130         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49131         (OVERFLOW_EXCEPTION_OK): Likewise.
49132         (IGNORE_ZERO_INF_SIGN): Likewise.
49133         (test_exceptions): Handle underflow exceptions.
49134         (acos_test): Update for underflow exception expectations.
49135         (cexp_test): Likewise.
49136         (clog_test): Likewise.
49137         (clog10_test): Likewise.
49138         (csqrt_test): Likewise.
49139         (ctan_test): Likewise.
49140         (ctanh_test): Likewise.
49141         (exp_test): Likewise.
49142         (exp10_test): Likewise.
49143         (exp2_test): Likewise.
49144         (expm1_test): Likewise.
49145         (fma_test): Likewise.
49146         (j0_test): Likewise.
49147         (jn_test): Likewise.
49148         (nexttoward_test): Likewise.
49149         (pow_test): Likewise.
49150         (scalbn_test): Likewise.
49151         (scalbln_test): Likewise.
49152         (tan_test): Likewise.
49153         (y1_test): Likewise.
49154         * sysdeps/i386/fpu/libm-test-ulps: Update.
49155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49157 2012-05-23  David S. Miller  <davem@davemloft.net>
49159         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49160         (__libc_sigaction): Remove unused local variables.
49162 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49164         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
49166 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
49168         mktime: avoid signed integer overflow
49169         * time/mktime.c (__mktime_internal): Do not mishandle the case
49170         where diff == INT_MIN.
49172         mktime: simplify computation of average
49173         * time/mktime.c (ranged_convert): Use new time_t_avg function
49174         instead of rolling our own (probably-slower) code.
49176         mktime: do not assume signed right shift propagates sign bit
49177         * time/mktime.c (isdst_differ): New static function.
49178         (__mktime_internal): No need to normalize tm_isdst now.
49179         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
49180         tm_isdst values.
49182         mktime: merge another wrapv change from gnulib
49183         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
49184         from some compilers.
49186         mktime: remove incorrect attempt at unusual arithmetics
49187         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
49188         The code didn't really work on such machines anyway.
49189         (TYPE_MINIMUM): Assume two's complement.
49190         (twos_complement_arithmetic): Verify that long_int and time_t
49191         are two's complement (or unsigned, in the latter case).
49193         mktime: check signed shifts on long_int and time_t, too
49194         * time/mktime.c (SHR): Check that shifts work as desired
49195         on the types long_int and time_t too, as SHR is used on
49196         such types.
49198         mktime: do not assume 'long' is wide enough
49199         * time/mktime.c (verify): Move decl up.
49200         (long_int): New type.
49201         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
49202         to remove assumption in the code that 'long' is wide enough to
49203         store year values.  This assumption is not true on x32 and on
49204         some non-glibc platforms.
49206         mktime: merge wrapv change from gnulib
49207         * time/mktime.c (WRAPV): New macro.
49208         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
49209         (guess_time_tm, __mktime_internal): Do not assume that signed
49210         integer overflow wraps around; modern compilers generate code
49211         where this assumption is no longer valid.
49213 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49215         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49216         Replace "jmp L(pseudo_end)" with "ret".
49217         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
49218         Likewise.
49220 2012-05-23  Andreas Jaeger  <aj@suse.de>
49222         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
49223         * sysdeps/unix/sysv/linux/poll.c: Remove file.
49225 2012-05-23  Andreas Jaeger  <aj@suse.de>
49226             Maximilian Attems  <max@stro.at>
49228         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
49229         New macros.
49231 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
49233         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
49234         code so that pseudo_end is just ret and the stack pointer is
49235         correct also for static library in error case.
49237 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
49239         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
49240         move to syscalls.list.
49241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
49242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
49243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
49244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
49246         * manual/install.texi (Running make install): Do not mention Linux
49247         kernel version for which pt_chown is not needed.
49248         (Linux): Do not mention problems with nscd with 2.0 kernels.
49249         * INSTALL: Regenerated.
49251 2012-05-23  Andreas Jaeger  <aj@suse.de>
49253         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
49254         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
49255         macro.
49256         * sysdeps/unix/sysv/linux/s390/bits/mman.h
49257         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49258         * sysdeps/unix/sysv/linux/sh/bits/mman.h
49259         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49260         * sysdeps/unix/sysv/linux/i386/bits/mman.h
49261         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49262         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
49263         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49264         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
49265         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49266         * sysdeps/unix/sysv/linux/bits/in.h
49267         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
49269 2012-05-22  Roland McGrath  <roland@hack.frob.com>
49271         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
49272         (PREPARE_VERSION): Just use assert instead, it will be elided
49273         under [NDEBUG] anyway.
49275 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49277         * sysdeps/unix/sysv/linux/Makefile: Include
49278         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
49279         (sysdep_routines): Remove sysctl.
49280         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
49281         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
49282         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
49283         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
49284         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
49286 2012-05-22  Andreas Jaeger  <aj@suse.de>
49288         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
49289         that pseudo_end is just ret and the stack pointer is correct also
49290         for static library in error case.
49292 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
49294         [BZ #14122]
49295         * nss/nsswitch.c (defconfig_entries): New variable.
49296         (__nss_database_lookup): Don't leak defconfig entries.
49297         (nss_parse_service_list): Don't leak on error paths.
49298         (free_database_entries): New function.
49299         (free_defconfig): New function.
49300         (free_mem): Move common code to free_database_entries.
49302 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49304         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
49305         Add arch_prctl.
49306         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
49308         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
49309         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
49310         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
49311         New macro.
49312         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
49313         (INTERNAL_SYSCALL_TYPES): Likewise.
49314         (LOAD_ARGS_TYPES_[1-6]): Likewise.
49315         (LOAD_REGS_TYPES_[1-6]): Likewise.
49316         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
49317         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
49319 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49321         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
49322         copysignl for GLIBC_2_0.
49323         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
49324         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
49325         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
49326         logbl for GLIBC_2_0.
49327         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
49328         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
49330 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49332         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
49333         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49335         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49336         Use "neg %eax".
49338         * time/mktime.c: Update copyright years.
49340 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
49342         mktime: merge comment-quoting-style change from gnulib
49343         * time/mktime.c: Quote 'like this' in comments.
49344         The GNU coding standards suggest that we no longer quote `like this',
49345         as "`" and "'" are typically rendered asymmetrically nowadays.
49346         The typical gnulib style is to quote 'like this' when quoting
49347         code, and "like this" when quoting English.
49349         * time/mktime.c (compile-command): Add "-I.".
49351         mktime: merge mktime-internal.h change from gnulib
49352         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
49354         mktime: merge time_r change from gnulib
49355         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
49357         mktime: merge DEBUG change from gnulib
49358         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
49359         case system <time.h> has a #define.
49361         mktime: merge <sys/types.h> change from gnulib
49362         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
49363         since <time.t> is now guaranteed to define time_t.
49365         mktime: merge HAVE_CONFIG_H change from gnulib
49366         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
49368 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49370         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49371         Use "neg %eax".
49373         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
49374         __rlim_t cast.
49375         (struct rusage): Use anonymous union to pad each field to
49376         __syscall_slong_t.
49378 2012-05-21  David S. Miller  <davem@davemloft.net>
49380         * Makefules (o-iterator): Remove .s cases.
49381         (compile-command.s): Delete.
49382         (COMPILE.s): Delete.
49383         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
49385 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
49387         * configure.in (libc_cv_predef_stack_protector): Only consider
49388         "foobar" and "__stack_chk_fail" lines in libc_undefs.
49389         * configure: Regenerated.
49391 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49393         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49394         New macro.  Use R*LP on int and pointer.
49395         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
49396         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
49397         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
49398         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
49400         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
49401         [__WORDSIZE_TIME64_COMPAT32] instead of
49402         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
49403         (struct utmp): Likewise.
49404         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
49405         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
49406         Renamed to ...
49407         (__WORDSIZE_TIME64_COMPAT32): This.
49408         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
49409         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
49410         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
49411         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
49412         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
49413         (__WORDSIZE_TIME64_COMPAT32): New macro.
49415 2012-05-21  Andreas Jaeger  <aj@suse.de>
49417         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
49418         only if [SHARED]. Add prototype for __wcschr_ia32.
49420 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49422         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
49423         of %rbp unmolested in the jmp_buf while mangling the low bits.
49424         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
49425         unmolested high bits of %rbp while demangling the low bits.
49426         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49428 2012-05-21  Andreas Jaeger  <aj@suse.de>
49430         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
49431         * sunrpc/svc_simple.c: Use it for registerrpc.
49432         * sunrpc/xcrypt.c: Use it for passwd2des.
49434         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
49436 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49438         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
49439         Don't define if [__SYSCALL_WORDSIZE != 32].
49440         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
49441         New macro.
49443 2012-05-21  Bruno Haible  <bruno@clisp.org>
49444             Andreas Jaeger  <aj@suse.de>
49446         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
49447         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
49448         inptr and inend for must_buffer_ch.
49449         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
49450         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
49451         * stdio-common/Makefile (tests): Remove bug15.
49452         (bug15-ENV): Remove macro.
49453         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
49454         anymore.
49456 2012-05-19  Andreas Jaeger  <aj@suse.de>
49457             Roland McGrath  <roland@hack.frob.com>
49459         * manual/contrib.texi: Completely rewritten. It contains now an
49460         alphabetical list of contributors and their contributions.
49462 2012-05-21  Richard Henderson  <rth@twiddle.net>
49464         * misc/getauxval.c (__getauxval): Use unsigned long int.
49465         * misc/sys/auxv.h: Include <sys/cdefs.h>.
49466         (getauxval): Use unsigned long int.
49468 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49470         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49472 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49474         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
49475         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
49476         __alignof__ (long double).
49478 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49480         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49482 2012-05-20  Richard Henderson  <rth@twiddle.net>
49484         * misc/getauxval.c: New file.
49485         * misc/sys/auxv.h: New file.
49486         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
49487         (routines): Add getauxval.
49488         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
49489         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
49490         * elf/dl-sysdep.c (_dl_auxv): Remove.
49491         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
49492         * elf/dl-support.c (_dl_auxv): New variable.
49493         (_dl_aux_init): Initialize it.
49494         * manual/startup.texi (Auxiliary Vector): New node.
49495         * sysdeps/generic/bits/hwcap.h: New file.
49496         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
49497         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
49498         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
49499         * sysdeps/sparc/sysdep.h: ... here.  Include it.
49500         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
49501         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
49502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49503         Update.
49504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
49505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
49506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
49507         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
49508         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49509         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49510         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
49511         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
49513 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49517 2012-05-19  David S. Miller  <davem@davemloft.net>
49519         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49521 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49523         [BZ #14123]
49524         * math/s_ccosh.c: Include <float.h>
49525         (__ccosh): Avoid internal overflow calculating sinh and cosh
49526         values before multiplying by sin and cos values.
49527         * math/s_ccoshf.c: Likewise.
49528         * math/s_ccoshl.c: Likewise.
49529         * math/s_csin.c: Likewise.
49530         * math/s_csinf.c: Likewise.
49531         * math/s_csinl.c: Likewise.
49532         * math/s_csinh.c: Likewise.
49533         * math/s_csinhf.c: Likewise.
49534         * math/s_csinhl.c: Likewise.
49535         * math/libm-test.inc (ccos_test): Add more tests.
49536         (ccosh_test): Likewise.
49537         (csin_test): Likewise.
49538         (csinh_test): Likewise.
49539         * sysdeps/i386/fpu/libm-test-ulps: Update.
49540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49542 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
49544         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
49545         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
49547         * sysdeps/x86_64/x32/_itoa.h: Add comment.
49549 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49551         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
49552         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
49553         * sysdeps/powerpc/soft-fp/Versions: Likewise.
49554         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
49555         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
49556         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
49557         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
49558         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
49559         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
49560         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
49561         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
49562         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
49563         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
49564         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
49565         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
49566         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
49567         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
49568         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
49569         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
49570         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
49571         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
49572         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
49573         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
49574         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
49575         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
49576         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
49577         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
49578         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
49579         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
49580         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
49581         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
49583 2012-05-18  Andreas Jaeger  <aj@suse.de>
49585         * csu/.gitignore: Delete.
49587 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49589         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
49590         (timex): Use __syscall_slong_t.
49592 2012-05-18  Andreas Jaeger  <aj@suse.de>
49593             Carlos O'Donell  <carlos_odonell@mentor.com>
49595         * manual/install.texi (Configuring and compiling): Update
49596         description about files modified in the source directory.
49597         * INSTALL: Regenerated.
49599 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49601         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
49602         value.  Use "or" to set return value to -1.
49603         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
49604         negate return value.
49606 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49608         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
49609         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
49610         failure if the compiler has Graphite support disabled.
49611         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
49612         Likewise.
49613         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
49614         (CFLAGS-memmove.c): Likewise.
49615         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
49616         Likewise.
49618 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49620         * sysdeps/x86_64/x32/_itoa.h: New file.
49622         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
49623         getdents system call only if kernel and user dirents have the
49624         same d_ino and d_off.
49626         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49627         LLONG_MAX != LONG_MAX.
49628         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49629         (_fitoa_word): Likewise.
49631         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
49632         years.
49633         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
49634         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
49635         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
49637         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
49638         include <bits/wordsize.h>.  Check __x86_64__ instead of
49639         __WORDSIZE.
49640         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
49641         if __x86_64__ is defined.  Use anonymous union on fpstate.
49643         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
49644         anonymous union.
49646 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
49648         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
49649         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
49650         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
49651         Refer to _rtld_local_ro instead of _rtld_global_ro.
49652         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
49653         Likewise.
49654         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
49655         Likewise.
49656         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
49657         Likewise.
49658         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
49659         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
49660         of _rtld_global, and rtld_progname instead of _dl_argv[0].
49662         [BZ #10882]
49663         * sysdeps/powerpc/powerpc32/dl-machine.c
49664         (__elf_machine_runtime_setup) [PROF]: Don't reference
49665         _dl_prof_resolve.
49667 2012-05-18  Andreas Jaeger  <aj@suse.de>
49669         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
49670         function only available for GCCs before 3.4 since GCC 3.4
49671         introduced a builtin.
49672         (lrint): Likewise.
49673         (llrintf): Likewise.
49674         (llrint): Likewise.
49675         (fmaxf): Likewise.
49676         (fmax): Likewise.
49677         (fminf): Likewise.
49678         (fmin): Likewise.
49679         (rint): Likewise.
49680         (rintf): Likewise.
49681         (nearbyint): Likewise.
49682         (nearbyintf): Likewise.
49683         (ceil): Likewise.
49684         (ceilf): Likewise.
49685         (floor): Likewise.
49686         (floorf): Likewise.
49688 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49690         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
49691         on both fields and cast pointer to __syscall_ulong_t.
49693         * bits/types.h (__fsword_t): New type.
49694         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49695         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
49696         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49697         (__FSWORD_T_TYPE): Likewise.
49698         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49699         (__FSWORD_T_TYPE): Likewise.
49700         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49701         (__FSWORD_T_TYPE): Likewise.
49702         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
49703         (__FSWORD_T_TYPE): Likewise.
49704         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
49705         __SWORD_TYPE with __fsword_t.
49706         (statfs64): Likewise.
49708 2012-05-17  David S. Miller  <davem@davemloft.net>
49710         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
49712 2012-05-17  Andreas Jaeger  <aj@suse.de>
49714         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
49715         warning.
49717 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49719         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
49721 2012-05-17  Andreas Jaeger  <aj@suse.de>
49723         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
49724         when it is used.
49726 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49728         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
49730 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49732         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
49733         * sysdeps/x86_64/tst-mallocalign1.c: New file.
49735 2012-05-17  Andreas Jaeger  <aj@suse.de>
49736             Carlos O'Donell  <carlos_odonell@mentor.com>
49738         [BZ #14059]
49739         * sysdeps/x86_64/multiarch/init-arch.h
49740         (bit_YMM_Usable): Rename to...
49741         (bit_AVX_Usable): ... this.
49742         (bit_FMA4_Usable): New macro.
49743         (bit_XMM_state): New macro.
49744         (bit_YMM_state): New macro.
49745         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49746         [__ASSEMBLER__] (index_AVX_Usable): ... this.
49747         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49748         (CPUID_OSXSAVE): New macro.
49749         (CPUID_AVX): New macro.
49750         (CPUID_FMA4): New macro.
49751         (index_YMM_Usable): Rename to...
49752         (index_AVX_Usable): ... this.
49753         (HAS_AVX): Use HAS_ARCH_FEATURE.
49754         (HAS_FMA4): Likewise.
49755         (HAS_YMM_USABLE): Remove.
49756         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49757         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
49758         are present.
49759         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
49760         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
49761         * sysdeps/x86_64/multiarch/Makefile: Likewise.
49762         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
49763         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
49765 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49767         * math/libm-test.c: Support platforms without multiple rounding modes.
49768         * math/bug-nextafter.c: Support platforms without FP exceptions.
49769         * math/bug-nexttoward.c: Likewise.
49770         * math/test-fenv.c: Likewise.
49771         * math/test-misc.c: Likewise.
49772         * stdlib/bug-getcontext.c: Likewise.
49774 2012-05-17  Andreas Jaeger  <aj@suse.de>
49776         * manual/examples/search.c (critter_cmp): Change signature to
49777         avoid warnings.
49778         * manual/string.texi (Collation Functions): Likewise.
49780 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49782         * bits/types.h: Fold copyright years.
49783         * bits/typesizes.h: Likewise.
49784         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
49785         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49786         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
49787         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
49788         * time/time.h: Likewise.
49790 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
49792         [BZ #208]
49793         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
49794         in instead of returning them.  Return void.
49795         (__libc_mallinfo): Accumulate over all arenas.
49796         (__malloc_stats): Adjust for change in int_mallinfo interface.
49798 2012-05-16  Roland McGrath  <roland@hack.frob.com>
49800         [BZ #10375]
49801         * configure.in (NM): Add AC_CHECK_TOOL for it.
49802         (libc_extra_cflags): New substituted variable.
49803         Check for -fstack-protector being used implicitly.
49804         * configure: Regenerated.
49805         * config.make.in (config-extra-cflags): New variable,
49806         gets @libc_extra_cflags@.
49807         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
49809         [BZ #10375]
49810         * configure.in: Check for _FORTIFY_SOURCE being predefined.
49811         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
49812         * configure: Regenerated.
49813         * config.make.in (CPPUNDEFS): New substituted variable.
49814         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
49815         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
49816         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
49818 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49820         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
49821         (mq_attr): Use __syscall_slong_t.
49823 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49825         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
49826         Check __x86_64__ instead of __WORDSIZE.
49827         (_STAT_VER_LINUX): Likewise.
49828         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
49829         __syscall_ulong_t and __syscall_slong_t.
49830         (stat64): Likewise.
49832 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49834         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
49836 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49838         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
49840 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49842         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
49843         __syscall_ulong_t.
49845         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
49846         include <bits/wordsize.h>.  Check __x86_64__ instead of
49847         __WORDSIZE.
49848         (greg_t): Use "__extension__ long long int" if __x86_64__ is
49849         defined.
49850         (mcontext_t): Replace "unsigned long" with "unsigned long long".
49852         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
49853         include <bits/wordsize.h>.  Check __x86_64__ instead of
49854         __WORDSIZE.
49855         (user_regs_struct): Use "__extension__ unsigned long long"
49856         instead of "unsigned long" if __x86_64__ is defined.
49857         (user): Likewise.  Pad after pointer field if __ILP32__ is
49858         defined.
49860 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
49862         * configure.in (makeinfo): Require version 4.5 or later.  Allow
49863         versions 5 to 9.
49864         * configure: Regenerated.
49865         * manual/install.texi (texinfo): Increase version requirement to
49866         4.5 or later.
49867         * INSTALL: Regenerated.
49869         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
49871 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49873         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
49875         * sysdeps/x86_64/x32/ffs.c: New file.
49877         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
49878         __syscall_ulong_t.
49879         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
49880         defined.  Use __syscall_ulong_t.
49881         (shminfo): Use __syscall_ulong_t.
49882         (shm_info): Likewise.
49884         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
49885         __syscall_ulong_t.
49887         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
49888         <bits/wordsize.h>.
49889         (msgqnum_t): Use __syscall_ulong_t.
49890         (msglen_t): Likewise.
49891         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
49892         __syscall_ulong_t.
49894         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
49895         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49897         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
49899         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
49900         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
49902         * sysvipc/sys/msg.h (msgbuf): Replace long int with
49903         __syscall_slong_t.
49905         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
49906         include <bits/wordsize.h>.  Check __x86_64__ instead of
49907         __WORDSIZE.
49909         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
49910         "unsigned long long int" if __x86_64__ is defined.
49911         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
49913         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
49914         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49915         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
49917         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
49918         <stdint.h>.
49919         (GET_PC): Cast to uintptr_t first.
49920         (GET_FRAME): Likewise.
49921         (GET_STACK): Likewise.
49923         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
49924         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
49925         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
49926         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
49927         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
49928         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
49929         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
49930         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
49931         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
49932         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
49933         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
49934         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
49935         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49936         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
49937         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
49938         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
49939         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
49940         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
49941         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
49942         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
49943         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
49944         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
49945         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
49946         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
49947         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
49948         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
49949         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
49950         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
49951         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
49953 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
49955         * Makerules (+depfiles): Also collect depfiles from .oS in
49956         $(extra-objs).
49957         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
49958         .oS, $(libnldbl-routines)).
49960         * Makerules (native-compile-mkdep-flags): Define.
49961         * sunrpc/Makefile (extra-objs): Add $(addprefix
49962         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
49963         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
49964         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
49965         calling $(make-target-directory).
49967 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49969         * bits/types.h (__snseconds_t): Removed.
49970         * time/time.h (struct timespec): Replace __snseconds_t with
49971         __syscall_slong_t.
49972         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
49973         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
49974         Likewise.
49975         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49976         (__SNSECONDS_T_TYPE): Likewise.
49977         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49978         (__SNSECONDS_T_TYPE): Likewise.
49979         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49980         (__SNSECONDS_T_TYPE): Likewise.
49982 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49984         * sysdeps/mach/hurd/bits/typesizes.h
49985         (__SYSCALL_SLONG_TYPE): New macro.
49986         (__SYSCALL_ULONG_TYPE): Likewise.
49988 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49990         * bits/types.h (__syscall_slong_t): New type.
49991         (__syscall_ulong_t): Likewise.
49993         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
49994         (__SYSCALL_ULONG_TYPE): Likewise.
49995         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49996         (__SYSCALL_SLONG_TYPE): Likewise.
49997         (__SYSCALL_ULONG_TYPE): Likewise.
49998         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49999         (__SYSCALL_SLONG_TYPE): Likewise.
50000         (__SYSCALL_ULONG_TYPE): Likewise.
50001         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50002         (__SYSCALL_SLONG_TYPE): Likewise.
50003         (__SYSCALL_ULONG_TYPE): Likewise.
50005 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50007         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
50008         Add sigaltstack-offsets.sym.
50009         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
50010         <sigaltstack-offsets.h>.
50011         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
50012         longjmp_msg pointer.
50013         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
50014         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
50015         signal stack.
50016         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
50018 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
50020         * elf/stackguard-macros.h: Remove file.
50021         * sysdeps/generic/stackguard-macros.h: New file.
50022         * sysdeps/i386/stackguard-macros.h: Likewise.
50023         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50024         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50025         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50026         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50027         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50028         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50029         * sysdeps/x86_64/stackguard-macros.h: Likewise.
50030         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
50031         <elf/stackguard-macros.h>.
50033         [BZ #14109]
50034         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
50035         __aligned__ in attribute.
50036         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
50037         (gregset_t): Likewise.
50039 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50041         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
50042         * sysdeps/x86_64/64/Implies-after: Here.  New file.
50043         * sysdeps/x86_64/x32/Implies-after: New file.
50045 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50047         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
50048         and access return value for _dl_profile_fixup.  Use R10_LP to
50049         load frame size.
50051 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50053         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
50055 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50057         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
50058         * sysdeps/x86_64/x32/sysdep.h: New file.
50060 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50062         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
50063         * sysdeps/x86_64/setjmp.S: Likewise.
50065 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50067         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
50068         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
50069         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
50070         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
50071         remove unused global constant.
50073 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
50075         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
50076         include of <not-cancel.h>.
50078 2012-05-15  Roland McGrath  <roland@hack.frob.com>
50080         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
50082 2012-05-15  Jeff Law  <law@redhat.com>
50083             Andreas Jaeger  <aj@suse.de>
50085         [BZ #13594]
50086         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
50087         out from...
50088         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
50089         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
50090         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
50091         code changing __hst_map_handle.map.
50093 2012-05-15  Roland McGrath  <roland@hack.frob.com>
50095         * configure.in (sysnames): Look for Implies-before and Implies-after
50096         files.
50097         * configure: Regenerated.
50099 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50101         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
50102         8-byte data alignment with LP_SIZE alignment.
50104 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50106         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
50107         into R10_LP.
50109 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50111         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
50113 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50115         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
50116         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
50117         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
50118         Likewise.
50119         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
50121 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50123         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
50124         (stackinfo_sub_sp): Likewise.
50126 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50128         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
50129         RAX_LP.
50131 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50133         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
50134         into R*_LP.
50136 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50138         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
50139         sizes into R*_LP.
50141 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50143         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
50145 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50147         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
50148         into R11_LP and load __x86_64_shared_cache_size_half into
50149         R8_LP.
50151 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50153         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
50154         R8_LP.
50156 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50158         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
50159         logb for POWER7.
50160         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
50161         logbf for POWER7.
50162         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
50163         logbl for POWER7.
50164         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
50165         powerpc32/power7/fpu/s_logb.c via #include.
50166         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
50167         powerpc32/power7/fpu/s_logbf.c via #include.
50168         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
50169         powerpc32/power7/fpu/s_logbl.c via #include.
50171 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
50173         * README.libm: Remove file.
50175 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50177         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
50178         count for x32.  Use R*_LP and omit operand-size suffix.
50180 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50182         * shlib-versions: Move x86_64-.*-linux.* entries to ...
50183         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
50184         * sysdeps/x86_64/x32/shlib-versions: New file.
50186 2012-05-14  Roland McGrath  <roland@hack.frob.com>
50188         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
50189         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
50190         Use _dl_fatal_printf instead.
50192 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
50194         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
50195         set if not set by the user.  Do not allow for being unset.
50196         * sysdeps/unix/sysv/linux/configure: Regenerated.
50198 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50200         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
50201         the `q' suffix from lea and replace .quad with ASM_ADDR.
50203 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50205         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
50206         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
50207         instead of $17.
50208         (PTR_DEMANGLE): Likewise.
50210 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50212         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
50213         (LP_OP): Likewise.
50214         (ASM_ADDR): Likewise.
50215         (RAX_LP): Likewise.
50216         (RBP_LP): Likewise.
50217         (RBX_LP): Likewise.
50218         (RCX_LP): Likewise.
50219         (RDI_LP): Likewise.
50220         (RSI_LP): Likewise.
50221         (RSP_LP): Likewise.
50222         (R8_LP): Likewise.
50223         (R9_LP): Likewise.
50224         (R10_LP): Likewise.
50225         (R10_LP): Likewise.
50226         (R11_LP): Likewise.
50227         (R12_LP): Likewise.
50228         (R13_LP): Likewise.
50229         (R14_LP): Likewise.
50230         (R15_LP): Likewise.
50232 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50234         * sysdeps/x86_64/x32/dl-machine.h: New file.
50236 2012-05-14  Andreas Jaeger  <aj@suse.de>
50238         * manual/Makefile (subdir): Remove export of subdir.
50239         (all): Remove target.
50240         (.PHONY): Remove all from list.
50241         (mkinstalldirs): Remove.
50242         (.PHONY): Remove installdirs from list.
50243         ($(inst_infodir)/libc.info): Use make-target-directory.
50244         (installdirs): Remove.
50245         (subdir_%): Remove.
50246         (glibc-targets): Remove.
50247         (lib): Remove.
50248         (stubs): Remove.
50249         ($(objpfx)stubs ../po/manual.pot): Remove.
50250         ($(objpfx)stamp%): Remove.
50251         (make-target-directory): Remove.
50252         (subdir_install): Remove.
50253         (routines): Remove.
50254         (aux): Remove.
50255         (sources): Remove.
50256         (objects): Remove.
50257         (headers): Remove.
50259         [BZ #13750]
50260         * manual/.gitignore: Remove, it's not needed anymore.
50261         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
50262         all files in it.
50263         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
50264         directory.
50265         (texis): Renamed to $(objpfx)texis.
50266         (texis-path): New, contains path to generated files.
50267         (chapters.%): Use texis-path for complete path, add extra argument
50268         libc-texinfo.sh.
50269         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
50270         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
50271         (summary,texi, stamp-summary): Use complete path of
50272         files. Generate files in build dir.
50273         (dir-add.texi): Build in build dir.
50274         (libm-err.texi,stamp-libm-err): Likewise.
50275         (version.texi, stamp-version): Likewise.
50276         (.%c.texi): Likewise.
50277         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
50278         (mostlyclean): Remove target.
50279         (realclean): Remove target.
50280         (generated): Add new variable with contents from mostlyclean and
50281         realclean, remove entries duplicated in common-mostlyclean, add
50282         stamp-libm-err and stamp-version.
50283         (generated-dirs): Add libc directory.
50284         ($(inst_infodir)/libc.info): Install files from build dir.
50286         * manual/install.texi (Configuring and compiling): Adjust since
50287         the info files are not part of the tar ball anymore.
50289 2012-05-14  Andreas Jaeger  <aj@suse.de>
50291         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
50292         variable.
50294 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
50296         [BZ #13717]
50297         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50298         to 2.2.0 where earlier.
50299         * sysdeps/unix/sysv/linux/configure: Regenerated.
50300         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
50301         Remove conditional code.
50302         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
50303         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
50304         Remove conditional code.
50305         [!__NR_lchown]: Likewise.
50306         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50307         [__NR_lchown]: Likewise.
50308         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
50309         comment referencing __ASSUME_LCHOWN_SYSCALL.
50310         * sysdeps/unix/sysv/linux/i386/sigaction.c
50311         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50312         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50313         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
50314         Remove conditional code.
50315         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
50316         (__protocol_available): Remove #if 0 code.
50317         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
50318         conditional code.
50319         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
50320         * sysdeps/unix/sysv/linux/kernel-features.h
50321         (__ASSUME_GETCWD_SYSCALL): Don't define.
50322         (__ASSUME_REALTIME_SIGNALS): Likewise.
50323         (__ASSUME_PREAD_SYSCALL): Likewise.
50324         (__ASSUME_PWRITE_SYSCALL): Likewise.
50325         (__ASSUME_POLL_SYSCALL): Likewise.
50326         (__ASSUME_LCHOWN_SYSCALL): Likewise.
50327         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
50328         non-SPARC.
50329         (__ASSUME_SIOCGIFNAME): Don't define.
50330         (__ASSUME_MSG_NOSIGNAL): Likewise.
50331         (__ASSUME_SENDFILE): Define unconditionally.
50332         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
50333         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
50334         conditional code.
50335         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
50336         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
50337         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50338         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50339         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
50340         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50341         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
50343         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50344         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
50346         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50347         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
50349         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50350         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
50352         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50353         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
50355         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50356         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
50358         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50359         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
50361         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50362         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
50364         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50365         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50366         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
50367         Remove conditional code.
50368         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50369         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50370         Remove conditional code.
50371         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50372         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
50373         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
50374         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50375         Remove conditional code.
50376         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50377         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
50378         Remove conditional code.
50379         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50380         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
50381         Remove conditional code.
50382         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50383         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50384         Remove conditional code.
50385         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50386         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50387         Remove conditional code.
50388         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50389         * sysdeps/unix/sysv/linux/sh/pwrite64.c
50390         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50391         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50392         * sysdeps/unix/sysv/linux/sigaction.c
50393         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50394         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50395         * sysdeps/unix/sysv/linux/sigpending.c
50396         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50397         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50398         * sysdeps/unix/sysv/linux/sigprocmask.c
50399         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50400         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50401         * sysdeps/unix/sysv/linux/sigsuspend.c
50402         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50403         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50404         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50405         (__libc_missing_rt_sigs): Remove.
50406         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
50407         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
50408         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
50409         Remove conditional code.
50410         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
50411         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
50412         return 1.
50413         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
50414         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
50415         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
50416         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
50418 2012-05-14  Andreas Jaeger  <aj@suse.de>
50420         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
50421         it's not used in glibc.
50422         (__coshm1): Likewise.
50423         (__acosh1p): Likewise.
50424         (__sgn): Likewise.
50426         * manual/string.texi (Copying and Concatenation): Add missing
50427         variable in concat example.
50428         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
50430 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50432         [BZ #14103]
50433         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
50434         __builtin_clzl with __builtin_clzll.
50436 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50438         [BZ #14104]
50439         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
50440         libc_freeres_ptr.
50442 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50444         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
50445         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
50446         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
50447         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
50449 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
50451         * NEWS: Update ia64 info.
50453 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
50455         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
50456         used as bcopy.
50458 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
50460         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
50461         * sysdeps/unix/syscalls.list (dup3): Likewise.
50462         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
50463         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
50465 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50467         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
50468         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
50470 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50472         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
50473         thread pointer.
50474         (TLS_IE): Use mov/add instead of movq/addq to load thread
50475         pointer.
50476         (TLS_GD_PREFIX): New.
50477         (TLS_GD): Use it.
50479 2012-05-11  David S. Miller  <davem@davemloft.net>
50481         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
50482         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
50483         (_FPU_SETCW): Likewise.
50485 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50487         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
50488         is 32-byte aligned.
50490 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
50492         [BZ #11837]
50493         * iconvdata/gb18030.c: Update tables.
50494         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
50495         characters specially.
50496         (BODY for TO_LOOP): Add encoding of missing ranges.
50498 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
50500         [BZ #13673]
50501         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
50502         * sysdeps/mach/hurd/dup3.c: Likewise.
50503         * sysdeps/mach/hurd/readlinkat.c: Likewise.
50504         * sysdeps/powerpc/memmove.c:: Likewise.
50506 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50508         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
50509         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
50511 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50513         * elf/elf.h (R_X86_64_RELATIVE64): New.
50514         (R_X86_64_NUM): Updated.
50515         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50516         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
50517         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
50518         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
50519         tst-quad1pie tst-quad2pie
50520         (modules-names): Add tst-quadmod1 tst-quadmod2.
50521         ($(objpfx)tst-quad1): New dependency.
50522         ($(objpfx)tst-quad2): Likewise.
50523         ($(objpfx)tst-quad1pie): Likewise.
50524         ($(objpfx)tst-quad2pie): Likewise.
50525         * sysdeps/x86_64/tst-quad1.c: New file.
50526         * sysdeps/x86_64/tst-quad1pie.c: New file.
50527         * sysdeps/x86_64/tst-quad2.c: Likewise.
50528         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
50529         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
50530         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
50531         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
50532         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
50534 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50536         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
50537         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
50538         * streams/stropts.h (t_scalar_t): Define type.
50540         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
50541         (_PATH_PRESERVE): Set to "/var/lib".
50542         (_PATH_RWHODIR): Set to "/var/spool/rwho".
50544         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
50545         instead of int.
50547         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
50548         if __dir_mkfile succeeded.
50550         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
50551         checking for _hurd_dtablesize.  Unlock it right after having
50552         finished _hurd_dtable allocation.
50554 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50556         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
50557         * sysdeps/mach/hurd/configure: Regenerated.
50558         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
50559         special-casing to...
50560         * sysdeps/gnu/configure.in: ... this new file.
50561         * sysdeps/unix/sysv/linux/configure: Regenerated.
50562         * sysdeps/gnu/configure: New generated file.
50564         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
50565         for Linux: use nsec instead of usec, as well as:
50566         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
50567         members of type struct timespec.
50568         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
50569         New macros.
50570         (struct stat64): Likewise.
50571         (_STATBUF_ST_NSEC): New macro.
50572         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
50574         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50575         __strtoul_internal rather than strtoul.
50577 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50579         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
50580         and reject them.
50582 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50584         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
50585         which preserves existing values.
50586         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
50588 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50590         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
50591         TIMEOUT values.  Return EINVAL for NFDS values either negative or
50592         greater than FD_SETSIZE.
50594 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50596         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
50597         allocated, call __vm_protect to finish enabling the existing space, and
50598         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
50599         allocate the remainder.
50601 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50603         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
50604         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
50606 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50608         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
50609         sysdeps/mach/hurd/readlink.c.
50611         * posix/tst-sysconf.c (posix_options): Only use
50612         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
50613         _POSIX_SYNCHRONIZED_IO when they are defined
50614         * sysdeps/mach/hurd/bits/posix_opt.h:
50615         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
50616         (_XOPEN_REALTIME): Undefine macro.
50617         (_XOPEN_REALTIME_THREADS): Undefine macro.
50618         (_XOPEN_SHM): Undefine macro.
50619         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
50620         macro to -1.
50621         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
50622         macro to -1.
50623         (_POSIX_ASYNC_IO): Undefine macro.
50624         (_POSIX_PRIORITIZED_IO): Undefine macro.
50625         (_POSIX_SPIN_LOCKS): Define macro to -1.
50627         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
50628         SA_NODEFER, SA_RESETHAND.
50629         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
50630         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
50631         F_DUPFD_CLOEXEC.
50633 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50635         * elf/Makefile (pldd-modules): Define unconditionally.
50637 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50639         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
50641 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50643         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
50644         Return ENOENT when name is empty.
50645         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
50647 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50649         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
50651         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
50653 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50655         Fix mlock in all cases except non-readable pages.
50656         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
50657         instead of VM_PROT_ALL as parameter to __vm_wire function.
50659         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
50660         (__mkdir): When path is `/', just fail with EEXIST.
50661         * sysdeps/mach/hurd/mkdirat.c: Likewise.
50663 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50665         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
50666         <sys/uio.h> (for writev).
50667         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
50668         and <sys/param.h> (for MIN).
50670 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50672         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
50673         REQUESTED_TIME.  Properly set the remaining time and return EINTR
50674         if interrupted.
50676 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50678         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
50679         Depend on against $(link-rpcuserlibs).
50681 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50683         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
50684         (__libc_stack_end): Do not use attribute_relro.
50685         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50686         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
50687         to libthread-provided value.
50688         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
50689         attribute_relro.
50691 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50693         [BZ #3748]
50694         * bits/libc-lock.h (__libc_once_get): New macro.
50695         * sysdeps/mach/bits/libc-lock.h: Likewise.
50696         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
50697         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
50698         instead of using implementation details.
50700         * libio/fileops.c: Unconditionally include <kernel-features.h>.
50701         * libio/freopen.c: Likewise.
50702         * libio/freopen64.c: Likewise.
50703         * misc/syslog.c: Likewise.
50704         * nscd/connections.c: Likewise.
50705         * nscd/netgroupcache.c: Likewise.
50706         * sysdeps/posix/getcwd.c: Likewise.
50708 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50710         * math/w_ilogbf.c: Add #include <limits.h>.
50712 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50714         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
50715         path instead of returning without unlocking.
50717         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
50718         immediate-write ioctls.
50719         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
50721 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50723         * sysdeps/mach/hurd/i386/init-first.c (init): Use
50724         __builtin_frame_address instead of making assumptions about the
50725         location of the return address relative to DATA.  Force early load of
50726         the return address.
50727         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
50728         __builtin_frame_address.
50730         dup3 for GNU Hurd.
50731         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
50732         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
50733         implement dup3 and do some further code clean-ups.
50734         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
50735         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
50737 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50739         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
50741         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50742         HURD_CRITICAL_END around holding _hurd_dtable_lock.
50743         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50744         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50745         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50746         d->port.lock.
50748         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50749         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
50750         when handler == SIG_ERR, not when handler != SIG_ERR.
50752 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50754         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50755         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50756         definitions.
50758         accept4 for GNU Hurd.
50759         * include/sys/socket.h (__libc_accept4): New prototype.
50760         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
50761         to implement __libc_accept4.
50762         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
50763         __libc_accept4.
50764         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
50766         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
50767         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
50768         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
50769         signal-defines.sym.
50771 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50773         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
50775 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50777         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
50778         assertion on O_CLOEXEC flag.
50779         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
50780         * hurd/intern-fd.c: Likewise.
50781         * hurd/port2fd.c: Likewise.
50783 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50785         [BZ #3906]
50786         * bits/in.h (IPV6_PKTINFO): Define new macro.
50787         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
50789 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50791         [BZ #13954]
50792         [BZ #13955]
50793         [BZ #13956]
50794         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50795         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50796         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
50797         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50798         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50799         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50800         * math/libm-test.inc (logb_test) : Additional logb tests.
50802 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
50803             Andreas Jaeger  <aj@suse.de>
50805         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
50806         * configure: Regenerated.
50807         * config.h.in (LINK_OBSOLETE_RPC): New macro.
50808         * config.make.in (link-obsolete-rpc): New substituted variable.
50809         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
50810         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
50811         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50812         (shared-only-routines): Don't set it under [link-obsolete-rpc],
50813         so that libc.a contains the symbols.
50814         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50815         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
50816         * sunrpc/auth_none.c: Likewise.
50817         * sunrpc/auth_unix.c: Likewise.
50818         * sunrpc/authdes_prot.c: Likewise.
50819         * sunrpc/authuxprot.c: Likewise.
50820         * sunrpc/clnt_gen.c: Likewise.
50821         * sunrpc/clnt_perr.c: Likewise.
50822         * sunrpc/clnt_raw.c: Likewise.
50823         * sunrpc/clnt_simp.c: Likewise.
50824         * sunrpc/clnt_tcp.c: Likewise.
50825         * sunrpc/clnt_udp.c: Likewise.
50826         * sunrpc/clnt_unix.c: Likewise.
50827         * sunrpc/des_crypt.c: Likewise.
50828         * sunrpc/des_soft.c: Likewise.
50829         * sunrpc/get_myaddr.c: Likewise.
50830         * sunrpc/key_call.c: Likewise.
50831         * sunrpc/key_prot.c: Likewise.
50832         * sunrpc/netname.c: Likewise.
50833         * sunrpc/pm_getmaps.c: Likewise.
50834         * sunrpc/pm_getport.c: Likewise.
50835         * sunrpc/pmap_clnt.c: Likewise.
50836         * sunrpc/pmap_prot.c: Likewise.
50837         * sunrpc/pmap_prot2.c: Likewise.
50838         * sunrpc/pmap_rmt.c: Likewise.
50839         * sunrpc/publickey.c: Likewise.
50840         * sunrpc/rpc_cmsg.c: Likewise.
50841         * sunrpc/rpc_common.c: Likewise.
50842         * sunrpc/rpc_dtable.c: Likewise.
50843         * sunrpc/rpc_prot.c: Likewise.
50844         * sunrpc/rpc_thread.c: Likewise.
50845         * sunrpc/rtime.c: Likewise.
50846         * sunrpc/svc.c: Likewise.
50847         * sunrpc/svc_auth.c: Likewise.
50848         * sunrpc/svc_raw.c: Likewise.
50849         * sunrpc/svc_run.c: Likewise.
50850         * sunrpc/svc_tcp.c: Likewise.
50851         * sunrpc/svc_udp.c: Likewise.
50852         * sunrpc/svc_unix.c: Likewise.
50853         * sunrpc/svcauth_des.c: Likewise.
50854         * sunrpc/xcrypt.c: Likewise.
50855         * sunrpc/xdr.c: Likewise.
50856         * sunrpc/xdr_array.c: Likewise.
50857         * sunrpc/xdr_float.c: Likewise.
50858         * sunrpc/xdr_intXX_t.c: Likewise.
50859         * sunrpc/xdr_mem.c: Likewise.
50860         * sunrpc/xdr_rec.c: Likewise.
50861         * sunrpc/xdr_ref.c: Likewise.
50862         * sunrpc/xdr_sizeof.c: Likewise.
50863         * sunrpc/xdr_stdio.c: Likewise.
50865 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50867         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
50868         change.  Update copyright years.
50870 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50872         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
50874 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
50875             Joseph Myers  <joseph@codesourcery.com>
50876             Paul Pluzhnikov  <ppluzhnikov@google.com>
50878         [BZ #14012]
50879         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
50880         requiring rpcgen.
50881         [cross-compiling] (extra-libs): Likewise.
50882         [cross-compiling] (extra-libs-others): Likewise.
50883         [cross-compiling] (librpcsvc-routines): Likewise.
50884         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
50885         [cross-compiling] (omit-deps): Likewise.
50886         (sunrpc-CPPFLAGS): New variable.
50887         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
50888         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
50889         (cross-rpcgen-objs): New variable.
50890         (extra-objs): Append $(cross-rpcgen-objs).
50891         ($(cross-rpcgen-objs)): New rule.
50892         ($(objpfx)cross-rpcgen): Likewise.
50893         (rpcgen-cmd): Define to use $(built-program-file).  Expand
50894         comment.
50895         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
50896         ($(objpfx)x%.stmp): Likewise.
50897         * sunrpc/proto.h [IS_IN_build] (_): Define.
50898         [IS_IN_build] (_libc_intl_domainname): Likewise.
50900 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50902         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
50903         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
50904         and R_X86_64_TPOFF64.
50906 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50908         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
50909         sysdeps/unix/sysv/syscalls.list.
50910         (stime): Likewise.
50911         (utime): Likewise.
50912         * sysdeps/unix/sysv/syscalls.list: Remove file.
50914 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
50916         [BZ #3440]
50917         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
50918         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
50919         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
50920         (__LC_IDENTIFICATION): Make these macros useful in #if
50921         expressions, as required by C99.
50923 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
50925         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
50926         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
50927         after this.
50929 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
50931         * stdlib/longlong.h: Updated from GCC.
50933 2012-05-09  Andreas Jaeger  <aj@suse.de>
50935         * nscd/nscd.c (run_modes): Make named enum, reorder so that
50936         default is first entry.
50937         (run_mode): Set type.
50938         (main): Remove informal message about syslog.
50939         (options): Fix typo.
50941         [BZ #14053]
50942         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
50943         to asm.
50944         (lrint): Likewise.
50945         (llrintf): Likewise.
50946         (llrint): Likewise.
50947         (rint): Likewise.
50948         (rintf): Likewise.
50949         (nearbyint): Likewise.
50950         (nearbyintf): Likewise.
50952 2012-05-09  Andreas Jaeger  <aj@suse.de>
50953             Pedro Alves  <palves@redhat.com>
50955         * nscd/nscd.c (run_mode): Use enum.
50956         (main): Cleanup coding style issue.
50958 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
50959             Andreas Jaeger  <aj@suse.de>
50961         * nscd/nscd.c (go_background): Replaced with...
50962         (run_mode): ... this.
50963         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
50964         (options): Add -F --foreground.
50965         (main): Implement it.
50966         (parse_opt): Parse it.
50968 2012-05-09  Andreas Jaeger  <aj@suse.de>
50970         [BZ #14083]
50971         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
50972         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
50973         -Wconversion warning.
50974         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
50975         Likewise.
50977 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
50979         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
50980         == 0.
50981         (LC_ALL): Use macro-int-constant.
50982         (LC_COLLATE): Likewise.
50983         (LC_CTYPE): Likewise.
50984         (LC_MESSAGES): Likewise.
50985         (LC_MONETARY): Likewise.
50986         (LC_NUMERIC): Likewise.
50987         (LC_TIME): Likewise.
50988         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
50989         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50990         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50991         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
50992         Specify type.
50993         [C99-based standards] (float_t): Expect type.
50994         [C99-based standards] (double_t): Expect type.
50995         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
50996         type.
50997         [C99-based standards] (HUGE_VALL): Likewise.
50998         [C99-based standards] (INFINITY): Likewise.
50999         [C99-based standards] (NAN): Likewise.
51000         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
51001         [C99-based standards] (FP_NAN): Likewise.
51002         [C99-based standards] (FP_NORMAL): Likewise.
51003         [C99-based standards] (FP_SUBNORMAL): Likewise.
51004         [C99-based standards] (FP_ZERO): Likewise.
51005         [C99-based standards] (FP_FAST_FMA): Use
51006         optional-macro-int-constant.  Specify type.  Require == 1.
51007         [C99-based standards] (FP_FAST_FMAF): Likewise.
51008         [C99-based standards] (FP_FAST_FMAL): Likewise.
51009         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
51010         [C99-based standards] (FP_ILOGBNAN): Likewise.
51011         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
51012         Specify type.
51013         [C99-based standards] (MATH_ERREXCEPT): Likewise.
51014         [C99-based standards] (math_errhandling): Specify type.
51015         [ISO99 || ISO11] (signgam): Do not allow.
51016         [non-C99-based standards] (copysignf): Do not allow.
51017         [non-C99-based standards] (exp2f): Likewise.
51018         [non-C99-based standards] (log2f): Likewise.
51019         [non-C99-based standards] (modff): Allow.
51020         [non-C99-based standards] (erff): Do not allow.
51021         [non-C99-based standards] (erfcf): Likewise.
51022         [non-C99-based standards] (gammaf): Likewise.
51023         [non-C99-based standards] (hypotf): Likewise.
51024         [non-C99-based standards] (j0f): Likewise.
51025         [non-C99-based standards] (j1f): Likewise.
51026         [non-C99-based standards] (jnf): Likewise.
51027         [non-C99-based standards] (lgammaf): Likewise.
51028         [non-C99-based standards] (tgammaf): Likewise.
51029         [non-C99-based standards] (y0f): Likewise.
51030         [non-C99-based standards] (y1f): Likewise.
51031         [non-C99-based standards] (ynf): Likewise.
51032         [non-C99-based standards] (isnanf): Likewise.
51033         [non-C99-based standards] (acoshf): Likewise.
51034         [non-C99-based standards] (asinhf): Likewise.
51035         [non-C99-based standards] (atanhf): Likewise.
51036         [non-C99-based standards] (cbrtf): Likewise.
51037         [non-C99-based standards] (expm1f): Likewise.
51038         [non-C99-based standards] (ilogbf): Likewise.
51039         [non-C99-based standards] (log1pf): Likewise.
51040         [non-C99-based standards] (logbf): Likewise.
51041         [non-C99-based standards] (nextafterf): Likewise.
51042         [non-C99-based standards] (remainderf): Likewise.
51043         [non-C99-based standards] (rintf): Likewise.
51044         [non-C99-based standards] (scalbf): Likewise.
51045         [non-C99-based standards] (copysignl): Likewise.
51046         [non-C99-based standards] (exp2l): Likewise.
51047         [non-C99-based standards] (log2l): Likewise.
51048         [non-C99-based standards] (modfl): Allow.
51049         [non-C99-based standards] (erfl): Do not allow.
51050         [non-C99-based standards] (erfcl): Likewise.
51051         [non-C99-based standards] (gammal): Likewise.
51052         [non-C99-based standards] (hypotl): Likewise.
51053         [non-C99-based standards] (j0l): Likewise.
51054         [non-C99-based standards] (j1l): Likewise.
51055         [non-C99-based standards] (jnl): Likewise.
51056         [non-C99-based standards] (lgammal): Likewise.
51057         [non-C99-based standards] (tgammal): Likewise.
51058         [non-C99-based standards] (y0l): Likewise.
51059         [non-C99-based standards] (y1l): Likewise.
51060         [non-C99-based standards] (ynl): Likewise.
51061         [non-C99-based standards] (isnanl): Likewise.
51062         [non-C99-based standards] (acoshl): Likewise.
51063         [non-C99-based standards] (asinhl): Likewise.
51064         [non-C99-based standards] (atanhl): Likewise.
51065         [non-C99-based standards] (cbrtl): Likewise.
51066         [non-C99-based standards] (expm1l): Likewise.
51067         [non-C99-based standards] (ilogbl): Likewise.
51068         [non-C99-based standards] (log1pl): Likewise.
51069         [non-C99-based standards] (logbl): Likewise.
51070         [non-C99-based standards] (nextafterl): Likewise.
51071         [non-C99-based standards] (remainderl): Likewise.
51072         [non-C99-based standards] (rintl): Likewise.
51073         [non-C99-based standards] (scalbl): Likewise.
51074         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51075         [non-C99-based standards] (FP_*): Do not allow.
51076         [C99-based standards] (FP_*): Change to
51077         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51078         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51079         allow.
51080         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
51081         (SIG_ERR): Likewise.
51082         [X/Open-based standards] (SIG_HOLD): Likewise.
51083         (SIG_IGN): Likewise.
51084         (SIGABRT): Use macro-int-constant.  Specify type.  Require
51085         positive value.
51086         (SIGFPE): Likewise.
51087         (SIGILL): Likewise.
51088         (SIGINT): Likewise.
51089         (SIGSEGV): Likewise.
51090         (SIGTER): Likewise.
51091         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
51092         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
51093         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
51094         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
51095         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
51096         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
51097         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
51098         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
51099         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
51100         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
51101         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
51102         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
51103         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
51104         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
51105         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
51106         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
51107         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
51108         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
51109         [X/Open-based standards] (SIGTRAP): Likewise.
51110         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
51111         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
51112         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
51113         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
51114         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51115         allow.
51117 2012-05-08  Ian Wienand  <ianw@vmware.com>
51119         [BZ #14080]
51120         * time/tzset.c (__tzset_parse_tz): Update default rules for
51121         daylight time changes in the Energy Policy Act of 2005.
51123 2012-05-09  Andreas Jaeger  <aj@suse.de>
51125         [BZ #13983]
51126         * elf/ldconfig.c (parse_conf): Change string to make clear that
51127         ldconfig only issued a warning if ld.so.conf does not exist.
51129 2012-05-08  David S. Miller  <davem@davemloft.net>
51131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
51132         movxtod instead of popping the value on the stack.
51134         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51136 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
51138         * config.h.in: Add HAVE_ARM_PCS_VFP.
51140 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
51142         [BZ #13979]
51143         * include/features.h: Warn if user requests __FORTIFY_SOURCE
51144         checking but the checks are disabled for any reason.
51146 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
51148         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
51149         and ELF64_R_TYPE with ELFW(R_TYPE).
51151 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
51153         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
51154         (ulimit): Likewise.
51156         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
51157         (settimeofday): Likewise.
51159 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
51161         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
51162         a struct th_u2 inside the union, and move tu_block/tu_code into
51163         a new th_u3 union of tu_block/tu_code inside of that.  Move
51164         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
51165         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
51166         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
51167         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
51168         (th_stuff): Change to th_u1.tu_stuff.
51169         (th_data): Define.
51170         (th_msg): Change to th_u1.th_u2.tu_data.
51172 2012-05-07  David S. Miller  <davem@davemloft.net>
51174         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51176         [BZ #14074]
51177         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
51178         (SETUP_PIC_REG): Use it.
51179         (SETUP_PIC_REG_LEAF): Use it.
51181 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
51183         [BZ #13885]
51184         [BZ #13923]
51185         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51186         USE_AS_EXPM1L.
51187         (EXPL_FINITE): Likewise.
51188         (FLDLOG): Likewise.
51189         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51190         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51191         e_expl.S.
51192         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51193         USE_AS_EXPM1L.
51194         (EXPL_FINITE): Likewise.
51195         (FLDLOG): Likewise.
51196         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51197         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51198         e_expl.S.
51199         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
51200         test of -max_value argument for long double.
51201         * sysdeps/i386/fpu/libm-test-ulps: Update.
51202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51204 2012-05-06  David S. Miller  <davem@davemloft.net>
51206         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
51207         quad soft-float symbols whose references which are compiler
51208         generated.
51209         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51211 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
51213         [BZ #13884]
51214         [BZ #13914]
51215         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51216         USE_AS_EXP10L.
51217         (EXPL_FINITE): Likewise.
51218         (FLDLOG): Likewise.
51219         (c0): Likewise.
51220         (c1): Likewise.
51221         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
51222         Adjust comments for base varying.
51223         (__expl_finite): Change alias to EXPL_FINITE.
51224         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
51225         e_expl.S.
51226         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
51227         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
51228         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51229         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
51230         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51231         USE_AS_EXP10L.
51232         (EXPL_FINITE): Likewise.
51233         (FLDLOG): Likewise.
51234         (c0): Likewise.
51235         (c1): Likewise.
51236         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
51237         Adjust comments for base varying.
51238         (__expl_finite): Change alias to EXPL_FINITE.
51239         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
51240         tests for bugs.
51241         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51243         [BZ #14064]
51244         * math/libm-test.inc (check_float_internal): Correct ulp
51245         calculation for subnormal expected results.
51247 2012-05-06  Andreas Jaeger  <aj@suse.de>
51249         * Makeconfig (+math-flags): New, set to -frounding-math.
51250         (+cflags): Add +math-flags so that all of glibc gets compiled with
51251         it.
51253         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
51255 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
51257         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
51258         Disable one test.
51260         [BZ #13787]
51261         [BZ #13922]
51262         [BZ #14036]
51263         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
51264         (__ieee754_expl): Allow for and saturate large arguments.
51265         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
51266         (u_threshold): Likewise.
51267         (__exp): Call __ieee754_exp before checking for overflow and
51268         underflow.
51269         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
51270         (u_threshold): Likewise.
51271         (__expf): Call __ieee754_expf before checking for overflow and
51272         underflow.
51273         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
51274         (u_threshold): Likewise.
51275         (__expl): Call __ieee754_expl before checking for overflow and
51276         underflow.
51277         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
51278         (__ieee754_expl): Allow for and saturate large arguments.
51279         * math/libm-test.inc (exp_test): Add another test.  Do not allow
51280         missing overflow exception on overflow.
51281         (expm1_test): Do not allow missing overflow exception on overflow.
51283         * sysdeps/i386/fpu/e_expl.c: Move to ...
51284         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
51285         rather than using inline asm.
51286         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
51287         * sysdeps/x86_64/fpu/e_expl.S: Copy from
51288         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
51290         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
51291         (nice): Likewise.
51292         (poll): Likewise.
51293         (signal): Likewise.
51294         (time): Likewise.
51295         (times): Likewise.
51297 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51299         * sysdeps/unix/syscalls.list (adjtime): Add entry from
51300         sysdeps/unix/common/syscalls.list.
51301         (fchmod): Likewise.
51302         (fchown): Likewise.
51303         (ftruncate): Likewise.
51304         (getrusage): Likewise.
51305         (gettimeofday): Likewise.
51306         (setpgid): Likewise.
51307         (setregid): Likewise.
51308         (setreuid): Likewise.
51309         (sigaction): Likewise.
51310         (truncate): Likewise.
51311         (vhangup): Likewise.
51312         * sysdeps/unix/common/syscalls.list: Remove file.
51313         * sysdeps/unix/bsd/Implies: Don't include unix/common.
51314         * sysdeps/unix/sysv/linux/Implies: Likewise.
51316 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
51318         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
51319         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
51320         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
51321         Moved to ...
51322         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51323         Here.
51324         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
51325         to ...
51326         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
51327         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
51328         to ...
51329         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
51330         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
51331         to ...
51332         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
51333         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
51334         to ...
51335         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
51336         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
51337         to ...
51338         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
51339         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
51340         to ...
51341         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
51342         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
51343         to ...
51344         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51345         Here.
51346         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
51347         to ...
51348         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
51349         Here.
51350         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
51351         to ...
51352         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
51353         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
51354         Moved to ...
51355         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
51356         Here.
51357         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
51358         to ...
51359         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
51361 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51363         * sysdeps/unix/common/bits/dirent.h: Remove file.
51364         * sysdeps/unix/common/bits/fcntl.h: Likewise.
51366         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
51367         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
51368         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
51369         * sysdeps/unix/bsd/isatty.c: Likewise.
51370         * sysdeps/unix/bsd/tcdrain.c: Likewise.
51371         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
51372         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
51374 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51376         [BZ #13563]
51377         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
51378         long double comparison inaccuracies.
51379         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
51380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51382 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
51384         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
51385         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
51387 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51389         [BZ #14049]
51390         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
51391         nonzero digits before rounding a hex value.
51392         * stdlib/tst-strtod.c (tests): Add another test.
51394 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51396         * sysdeps/s390/fpu/libm-test-ulps: Update.
51398 2012-05-03  Andreas Jaeger  <aj@suse.de>
51400         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
51401         does not get optimized out.
51402         (malloc_opt_barrier): New.
51404 2012-05-03  Andreas Jaeger  <aj@suse.de>
51405             Roland McGrath  <roland@hack.frob.com>
51407         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
51408         intermediate file deletion.
51409         (generated): Add .symlist files.
51411 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
51413         [BZ #13775]
51414         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
51415         Redirect under this condition.
51416         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51417         [__USE_GNU] (__dprintf_chk): Not under this condition.
51418         [__USE_GNU] (__vdprintf_chk): Likewise.
51419         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
51420         under this condition.
51421         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51422         [__USE_XOPEN2K8] (dprintf): Define under this condition.
51423         [__USE_XOPEN2K8] (vdprintf): Likewise.
51424         [__USE_GNU] (__dprintf_chk): Not under this condition.
51425         [__USE_GNU] (__vdprintf_chk): Likewise.
51426         [__USE_GNU] (dprintf): Likewise.
51427         [__USE_GNU] (vdprintf): Likewise.
51429 2012-05-03  Roland McGrath  <roland@hack.frob.com>
51431         * elf/Makefile (common-generated): Set this instead of generated for
51432         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
51433         $(all-built-dso)-derived lists.
51435 2012-05-03  Andreas Jaeger  <aj@suse.de>
51437         * sysdeps/i386/fpu/libm-test-ulps: Update.
51439         * FAQ: Removed.
51440         * FAQ.in: Likewise.
51441         * scripts/gen-FAQ.pl: Likewise.
51442         * manual/install.texi (Installation): Point to online location of
51443         FAQ.
51444         * Makefile (files-for-dist): Remove FAQ.
51445         (FAQ): Remove.
51447 2012-05-02  Allan McRae  <allan@archlinux.org>
51449         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
51450         (LDFLAGS-reldepmod5.so): Likewise.
51451         (LDFLAGS-reldep6mod1.so): Likewise.
51452         (LDFLAGS-reldep6mod4.so): Likewise.
51453         (LDFLAGS-reldep8mod3.so): Likewise.
51454         (LDFLAGS-unload4mod1.so): Likewise.
51455         (LDFLAGS-unload4mod2.so): Likewise.
51456         (LDFLAGS-tst-initorder): Likewise.
51457         (LDFLAGS-tst-initordera2.so): Likewise.
51458         (LDFLAGS-tst-initordera3.so): Likewise.
51459         (LDFLAGS-tst-initordera4.so): Likewise.
51460         (LDFLAGS-tst-initorderb2.so): Likewise.
51461         (LDFLAGS-noload): Likewise.
51462         (LDFLAGS-next): Likewise.
51463         (LDFLAGS-order2mod1.so): Likewise.
51464         (LDFLAGS-order2mod2.so): Likewise.
51465         (LDFLAGS-tst-initorder2): Likewise.
51466         (LDFLAGS-tst-initorder2a.so): Likewise.
51467         (LDFLAGS-tst-initorder2b.so): Likewise.
51468         (LDFLAGS-tst-initorder2c.so): Likewise.
51469         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
51471 2012-05-02  David S. Miller  <davem@davemloft.net>
51473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51475 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
51477         [BZ #14055]
51478         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
51480 2012-05-02  Andreas Jaeger  <aj@suse.de>
51482         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
51483         since we manipulate rounding mode.
51484         (CPPFLAGS-test-idouble.c): Likewise.
51485         (CPPFLAGS-test-ifloat.c): Likewise.
51486         (CFLAGS-test-ldouble.c): Likewise.
51487         (CFLAGS-test-double.c): Likewise.
51488         (CFLAGS-test-float.c): Likewise.
51489         (CFLAGS-test-misc.c): Likewise.
51490         (CFLAGS-test-test-fenv.c): Likewise.
51492 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51494         [BZ #2550]
51495         [BZ #2570]
51496         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
51497         comparisons to determine direction to adjust input.
51499 2012-05-01  Roland McGrath  <roland@hack.frob.com>
51501         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
51502         output to the target.
51504         * scripts/localplt.awk: New file.
51505         * elf/Makefile ($(objpfx)check-localplt): Target removed.
51506         (check-localplt-CFLAGS): Variable removed.
51507         ($(all-built-dso:=.jmprel)): New static pattern rule.
51508         (generated): Add those targets.
51509         (localplt-built-dso): New variable.
51510         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
51512         * elf/check-localplt.c: File removed.
51514         * scripts/check-execstack.awk: New file.
51515         * elf/Makefile ($(objpfx)check-execstack): Target removed.
51516         (check-execstack-CFLAGS): Variable removed.
51517         ($(objpfx)check-execstack.h): Target removed.
51518         ($(objpfx)execstack-default): New target.
51519         (generated): Add that instead of check-execstack.h.
51520         ($(all-built-dso:=.phdr)): New static pattern rule.
51521         (generated): Add those targets.
51522         * elf/check-execstack.c: File removed.
51524         * scripts/check-textrel.awk: New file.
51525         * elf/Makefile ($(objpfx)check-textrel): Target removed.
51526         (check-textrel-CFLAGS): Variable removed.
51527         (all-built-dso): Use := to define.o
51528         ($(all-built-dso:=.dyn)): New static pattern rule.
51529         (generated): Add those targets.
51530         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
51531         * config.make.in (READELF): New substituted variable.
51532         * elf/check-textrel.c: File removed.
51534 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51536         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51537         allow.
51538         * conform/data/ctype.h-data [C99-based standards] (isblank):
51539         Expect function.
51540         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
51541         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
51542         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51543         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
51544         Specify type.  Require positive value.
51545         (EILSEQ): Likewise.
51546         (ERANGE): Likewise.
51547         [ISO || POSIX] (EILSEQ): Do not expect.
51548         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
51549         Specify type.  Require positive value.
51550         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
51551         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
51552         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
51553         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
51554         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
51555         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
51556         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
51557         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
51558         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
51559         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
51560         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
51561         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
51562         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
51563         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
51564         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
51565         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
51566         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
51567         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
51568         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
51569         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
51570         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
51571         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
51572         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
51573         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
51574         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
51575         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
51576         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
51577         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
51578         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
51579         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
51580         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
51581         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
51582         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
51583         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
51584         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
51585         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
51586         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
51587         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
51588         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
51589         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
51590         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
51591         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
51592         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
51593         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
51594         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
51595         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
51596         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
51597         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
51598         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
51599         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
51600         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
51601         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
51602         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
51603         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
51604         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
51605         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
51606         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
51607         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
51608         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
51609         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
51610         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
51611         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
51612         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
51613         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
51614         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
51615         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
51616         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
51617         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
51618         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
51619         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
51620         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
51621         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
51622         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
51623         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
51624         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
51625         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
51626         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
51627         Require >= 2.
51628         (FLT_ROUNDS): Expect as macro, not constant.
51629         (FLT_MANT_DIG): Use macro-int-constant.
51630         (DBL_MANT_DIG): Likewise.
51631         (LDBL_MANT_DIG): Likewise.
51632         (FLT_DIG): Likewise.
51633         (DBL_DIG): Likewise.
51634         (LDBL_DIG): Likewise.
51635         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
51636         (DBL_MIN_EXP): Likewise.
51637         (LDBL_MIN_EXP): Likewise.
51638         (FLT_MAX_EXP): Use macro-int-constant.
51639         (DBL_MAX_EXP): Likewise.
51640         (LDBL_MAX_EXP): Likewise.
51641         (FLT_MAX_10_EXP): Likewise.
51642         (DBL_MAX_10_EXP): Likewise.
51643         (LDBL_MAX_10_EXP): Likewise.
51644         (FLT_MAX): Use macro-constant.
51645         (DBL_MAX): Likewise.
51646         (LDBL_MAX): Likewise.
51647         (FLT_EPSILON): Use macro-constant.  Give upper bound.
51648         (DBL_EPSILON): Likewise.
51649         (LDBL_EPSILON): Likewise.
51650         (FLT_MIN): Likewise.
51651         (DBL_MIN): Likewise.
51652         (LDBL_MIN): Likewise.
51653         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
51654         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
51655         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
51656         [ISO11] (FLT_HAS_SUBNORM): Likewise.
51657         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
51658         [ISO11] (DBL_DECIMAL_DIG): Likewise.
51659         [ISO11] (FLT_DECIMAL_DIG): Likewise.
51660         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
51661         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
51662         [ISO11] (FLT_TRUE_MIN): Likewise.
51663         [ISO11] (LDBL_TRUE_MIN): Likewise.
51664         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51665         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
51666         (SCHAR_MIN): Use macro-int-constant.  Specify type.
51667         (SCHAR_MAX): Likewise.
51668         (UCHAR_MAX): Likewise.
51669         (CHAR_MIN): Likewise.
51670         (CHAR_MAX): Likewise.
51671         (MB_LEN_MAX): Use macro-int-constant.
51672         (SHRT_MIN): Use macro-int-constant.  Specify type.
51673         (SHRT_MAX): Likewise.
51674         (USHRT_MAX): Likewise.
51675         (INT_MAX): Likewise.
51676         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
51677         bound negative.
51678         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51679         bound with "U".
51680         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51681         bound with "L".
51682         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
51683         bound negative.  Suffix upper bound with "L".
51684         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51685         bound with "UL".
51686         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
51687         Specify type.
51688         [C99-based standards] (LLONG_MAX): Likewise.
51689         [C99-based standards] (ULLONG_MAX): Likewise.
51690         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
51691         == 0.
51692         [ISO11] (max_align_t): Require type.
51693         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51695         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
51696         from $CFLAGS, without defining away __attribute__ calls.
51697         (checknamespace): Use $CFLAGS_namespace.
51699         * conform/conformtest.pl (@keywords): Only include C99 keywords
51700         for standards based on C99 or C11.
51702         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
51703         Disable tests.
51704         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
51705         UNIX98]: Likewise.
51707         * conform/conformtest.pl: Handle "macro-int-constant" and test for
51708         usability of symbols in #if.
51710         * conform/conformtest.pl: If macro or constant types start
51711         "promoted:", expect the symbol to be of the following type
51712         promoted by the integer promotions.
51714         * conform/conformtest.pl: Parse all "constant" and "macro" lines
51715         in one place.  Also handle "macro-constant".
51717         * conform/conformtest.pl: Only accept expected macro values with
51718         "==".  Parse all "macro" lines in one place.
51719         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
51721         * conform/conformtest.pl: Handle braced types on "constant" lines
51722         instead of handling "typed-constant".
51723         * conform/data/signal.h-data: Use "constant" instead of
51724         "typed-constant".
51726         * conform/conformtest.pl: Handle "optional-" at start of lines in
51727         one place rather than duplicating several cases.  Handle each
51728         format of "macro" line with initial "optional-".
51730         * conform/conformtest.pl: Only accept expected constant or
51731         optional-constant values with "==".  Parse all "constant" lines in
51732         one place.  Parse all "optional-constant" lines in one place.
51733         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
51734         * conform/data/fmtmsg.h-data: Likewise.
51735         * conform/data/netinet/in.h-data: Likewise.
51736         * conform/data/tar.h-data: Likewise.
51737         * conform/data/limits.h-data: Use "==" form on "constant" and
51738         "optional-constant" lines.
51740         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
51741         Use -std=c99 for XOPEN2K.
51742         (@knownproblems): Remove.
51743         (newtoken): Don't check %isknown.
51745         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51746         Do not expect macro.
51747         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51748         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51749         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51750         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51751         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51752         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51753         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51754         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51755         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51756         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51757         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51758         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
51759         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
51760         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
51761         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
51762         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
51763         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
51764         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51765         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
51766         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
51767         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
51768         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51769         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
51770         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
51771         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
51772         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
51773         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51774         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
51775         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
51776         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
51777         [XPG3] (acosh): Likewise.
51778         [XPG3] (asinh): Likewise.
51779         [XPG3] (atanh): Likewise.
51780         [XPG3] (cbrt): Likewise.
51781         [XPG3] (expm1): Likewise.
51782         [XPG3] (ilogb): Likewise.
51783         [XPG3] (log1p): Likewise.
51784         [XPG3] (logb): Likewise.
51785         [XPG3] (nextafter): Likewise.
51786         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
51787         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
51788         [XPG3] (remainder): Likewise.
51789         [XPG3] (rint): Likewise.
51790         [XPG3 || XPG4 || UNIX98] (round): Likewise.
51791         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
51792         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
51793         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
51794         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
51795         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
51796         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
51797         [UNIX98 || XOPEN2K] (scalb): Expect.
51798         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
51799         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
51800         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
51801         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
51802         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
51803         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
51804         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
51805         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
51806         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
51807         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
51808         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
51809         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
51810         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
51811         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
51812         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
51813         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
51814         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
51815         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
51816         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
51817         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
51818         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
51819         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
51820         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
51821         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
51822         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
51823         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
51824         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
51825         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
51826         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
51827         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
51828         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
51829         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
51830         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
51831         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
51832         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
51833         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
51834         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
51835         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
51836         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
51837         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
51838         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
51839         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
51840         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
51841         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
51842         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
51843         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
51844         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
51845         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
51846         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
51847         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
51848         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
51849         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
51850         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
51851         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
51852         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
51853         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
51854         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
51855         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
51856         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
51857         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
51858         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
51859         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
51860         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
51861         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
51862         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
51863         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
51864         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
51865         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
51866         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
51867         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
51868         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
51869         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
51870         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
51871         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
51872         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
51873         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
51874         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
51875         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
51876         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
51877         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
51878         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
51879         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
51880         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
51881         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
51882         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
51883         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
51884         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
51885         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
51886         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
51887         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
51888         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
51889         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
51890         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
51891         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
51892         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
51893         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
51894         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
51895         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
51896         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
51897         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
51898         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
51899         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
51900         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
51901         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
51902         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
51903         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
51904         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
51905         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
51906         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
51907         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
51908         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
51909         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
51910         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
51911         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
51912         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
51913         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
51914         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
51915         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
51916         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
51917         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
51918         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
51919         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
51920         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
51921         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
51922         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
51923         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
51924         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
51925         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
51926         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
51927         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
51928         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
51929         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
51930         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
51931         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
51932         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
51933         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
51934         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
51936         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
51937         _XOPEN_SOURCE_EXTENDED for XPG4.
51939         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
51941         * Makeconfig (localtime): Remove variable.
51942         (inst_localtime-file): Likewise.
51944 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
51947         Update.
51948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51949         Update.
51950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
51951         Update.
51952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51953         Update.
51954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
51955         Update.
51956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
51957         Update.
51958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51959         Update.
51960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
51961         Update.
51962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51963         Update.
51965 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51967         [BZ #2550]
51968         [BZ #2570]
51969         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
51970         comparisons to determine direction to adjust input.
51971         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
51972         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
51973         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
51974         Likewise.
51975         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
51976         Likewise.
51977         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51978         Likewise.
51979         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
51980         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
51981         Likewise.
51982         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
51983         Likewise.
51984         * math/libm-test.inc (nexttoward_test): Add more tests.
51986 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51988         [BZ #14040]
51989         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
51990         in version GLIBC_2.1, not GLIBC_2.0.
51991         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
51992         Likewise.
51994 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
51996         [BZ #13942]
51997         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
51998         (1 - x) * (1 + x).
51999         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52000         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
52001         * math/libm-test.inc (acos_test): Add more tests.
52002         (asin_test): Likewise.
52003         * sysdeps/i386/fpu/libm-test-ulps: Update.
52004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52006         [BZ #14034]
52007         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
52008         of square root.
52009         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
52010         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52011         * math/libm-test.inc (acos_test_tonearest): New function.
52012         (acos_test_towardzero): Likewise.
52013         (acos_test_downward): Likewise.
52014         (acos_test_upward): Likewise.
52015         (asin_test_tonearest): Likewise.
52016         (asin_test_towardzero): Likewise.
52017         (asin_test_downward): Likewise.
52018         (asin_test_upward): Likewise.
52019         (main): Call the new functions.
52020         * sysdeps/i386/fpu/libm-test-ulps: Update.
52021         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52023         [BZ #13884]
52024         [BZ #13924]
52025         * math/e_exp10.c: Include <float.h>.
52026         (__ieee754_exp10): Handle underflow here rather than multiplying
52027         large negative argument by M_LN10.
52028         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
52029         of __ieee754_expf.
52030         * math/e_exp10l.c: Include <float.h>.
52031         (__ieee754_exp10l): Handle underflow here rather than multiplying
52032         large negative argument by M_LN10l.
52033         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
52034         spurious overflow exception on underflow.
52036 2012-04-29  Marek Polacek  <polacek@redhat.com>
52038         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
52039         (__fortify_function): New macro.
52040         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
52041         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
52042         __extern_always_inline.
52043         * libio/bits/stdio2.h: Likewise.
52044         * libio/bits/stdio.h: Likewise.
52045         * string/string.h: Likewise.
52046         * string/bits/string3.h: Likewise.
52047         * include/stdio.h: Likewise.
52048         * stdlib/bits/stdlib.h: Likewise.
52049         * stdlib/stdlib.h: Likewise.
52050         * rt/bits/mqueue2.h: Likewise.
52051         * rt/mqueue.h: Likewise.
52052         * posix/bits/unistd.h: Likewise.
52053         * posix/unistd.h: Likewise.
52054         * io/bits/poll2.h: Likewise.
52055         * io/bits/fcntl2.h: Likewise.
52056         * io/fcntl.h: Likewise.
52057         * io/sys/poll.h: Likewise.
52058         * misc/bits/syslog.h: Likewise.
52059         * misc/bits/syslog-ldbl.h: Likewise.
52060         * misc/sys/syslog.h: Likewise.
52061         * socket/bits/socket2.h: Likewise.
52062         * socket/sys/socket.h: Likewise.
52063         * debug/tst-chk1.c: Likewise.
52064         * wcsmbs/bits/wchar2.h: Likewise.
52065         * wcsmbs/bits/wchar-ldbl.h: Likewise.
52066         * wcsmbs/wchar.h: Likewise.
52068 2012-04-29  Andreas Jaeger  <aj@suse.de>
52070         * Makerules (tests): Remove enable-check-abi protection.
52071         (check-abi-warn): Remove.
52072         (check-abi-%): Remove check-abi-warn usage.
52074         * configure.in: Remove check-abi configure option.
52075         * configure: Regenerated.
52076         * config.make.in (enable-check-abi): Remove.
52078 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
52080         [BZ #14033]
52081         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
52082         double functions to double *_finite functions.
52084         [BZ #13941]
52085         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
52086         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
52087         LDBL_MIN_EXP.
52088         * stdio-common/Makefile (tests): Add tst-sprintf3.
52089         * stdio-common/tst-sprintf3.c: New file.
52091         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
52092         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
52094 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
52096         * conform/conformtest.pl: Remove duplicate typed-constant
52097         handling.
52099 2012-04-28  David S. Miller  <davem@davemloft.net>
52101         * Makerules (%.abilist): Add vpath on sysdep_dirs.
52102         (check-abi-%): Remove AWK script prerequisite and explicit
52103         abilist directory.
52104         (check-abi): Rewrite to just diff the symlist with the abilist.
52105         (config-tls, config-abi-config): Delete, no longer used.
52106         (update-abi-%): Remove AWK script and explicit abilist directory.
52107         (update-abi): Rewrite to simply compare and conditionally copy the
52108         symlist and the sysdep abilist file.  Remove update-abi-config
52109         checks.
52110         * abilist/ld.abilist: Remove.
52111         * abilist/libBrokenLocale.abilist: Remove.
52112         * abilist/libanl.abilist: Remove.
52113         * abilist/libcrypt.abilist: Remove.
52114         * abilist/libdl.abilist: Remove.
52115         * abilist/librt.abilist: Remove.
52116         * abilist/libthread_db.abilist: Remove.
52117         * abilist/libutil.abilist: Remove.
52118         * scripts/extract-abilist.awk: Remove.
52119         * scripts/merge-abilist.awk: Remove.
52120         * sysdeps/generic/libcidn.abilist: New file.
52121         * sysdeps/generic/libnss_compat.abilist: New file.
52122         * sysdeps/generic/libnss_db.abilist: New file.
52123         * sysdeps/generic/libnss_dns.abilist: New file.
52124         * sysdeps/generic/libnss_files.abilist: New file.
52125         * sysdeps/generic/libnss_hesiod.abilist: New file.
52126         * sysdeps/generic/libnss_nis.abilist: New file.
52127         * sysdeps/generic/libnss_nisplus.abilist: New file.
52128         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
52129         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
52130         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
52131         file.
52132         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
52133         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
52134         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
52135         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
52136         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
52137         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
52138         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
52139         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
52140         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
52141         file.
52142         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
52143         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
52144         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
52145         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
52146         file.
52147         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
52148         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
52149         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
52150         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
52151         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
52152         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
52153         file.
52154         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
52155         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
52156         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
52157         file.
52158         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
52159         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
52160         New file.
52161         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
52162         New file.
52163         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
52164         New file.
52165         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
52166         New file.
52167         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
52168         New file.
52169         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
52170         New file.
52171         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
52172         New file.
52173         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
52174         New file.
52175         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
52176         New file.
52177         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
52178         New file.
52179         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
52180         New file.
52181         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
52182         New file.
52183         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
52184         New file.
52185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
52186         file.
52187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
52188         New file.
52189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
52190         New file.
52191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
52192         file.
52193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
52194         New file.
52195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
52196         New file.
52197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
52198         file.
52199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
52200         New file.
52201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52202         New file.
52203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
52204         New file.
52205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
52206         New file.
52207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
52208         New file.
52209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
52210         New file.
52211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
52212         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
52213         file.
52214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
52215         New file.
52216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
52217         file.
52218         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
52219         file.
52220         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
52221         file.
52222         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
52223         file.
52224         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
52225         file.
52226         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52227         New file.
52228         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
52229         file.
52230         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
52231         file.
52232         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
52233         New file.
52234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
52235         file.
52236         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
52237         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
52238         file.
52239         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
52240         New file.
52241         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
52242         file.
52243         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
52244         file.
52245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
52246         file.
52247         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
52248         file.
52249         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
52250         file.
52251         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52252         New file.
52253         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
52254         file.
52255         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
52256         file.
52257         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
52258         New file.
52259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
52260         file.
52261         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
52262         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
52263         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
52264         file.
52265         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
52266         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
52267         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
52268         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
52269         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
52270         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
52271         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
52272         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
52273         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
52274         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
52275         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
52276         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
52277         file.
52278         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
52279         New file.
52280         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
52281         file.
52282         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
52283         file.
52284         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
52285         file.
52286         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
52287         file.
52288         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
52289         file.
52290         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
52291         New file.
52292         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
52293         New file.
52294         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
52295         file.
52296         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
52297         New file.
52298         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
52299         file.
52300         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
52301         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
52302         file.
52303         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
52304         New file.
52305         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
52306         file.
52307         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
52308         file.
52309         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
52310         file.
52311         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
52312         file.
52313         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
52314         file.
52315         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
52316         New file.
52317         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
52318         New file.
52319         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
52320         file.
52321         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
52322         New file.
52323         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
52324         file.
52326 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
52328         * conform/conformtest.pl: Fix typo in handling typed-constant from
52329         allow-header.
52331 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52333         * README: Cut down references to pre-2.6 Linux kernels and
52334         Linuxthreads.  Update lists of configurations in libc and ports
52335         and sort alphabetically.  Say "or newer" with Linux kernel version
52336         requirements.
52338         * config.h.in [IS_IN_build]: Allow compiling without optimization.
52340 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52342         [BZ #887]
52343         * math/libm-test.inc (logb_test_downward): New test to expose
52344         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
52345         rounding mode.
52347 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52349         [BZ #14027]
52350         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
52351         to be done.
52352         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
52353         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
52355 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
52357         * sysdeps/unix/i386/brk.S: Remove file.
52358         * sysdeps/unix/i386/dl-brk.S: Likewise.
52359         * sysdeps/unix/i386/pipe.S: Likewise.
52360         * sysdeps/unix/i386/sigreturn.S: Likewise.
52361         * sysdeps/unix/i386/syscall.S: Likewise.
52362         * sysdeps/unix/i386/vfork.S: Likewise.
52363         * sysdeps/unix/i386/wait.S: Likewise.
52365         * sysdeps/unix/common/tcsendbrk.c: Move to ...
52366         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
52368         * configure.in (arm*-none*): Do not allow without
52369         --enable-hacker-mode.
52370         (netbsd*): Remove case setting base_os.
52371         (386bsd*): Likewise.
52372         (freebsd*): Likewise.
52373         (bsdi*): Likewise.
52374         (osf*): Likewise.
52375         (sunos*): Likewise.
52376         (ultrix*): Likewise.
52377         (newsos*): Likewise.
52378         (dynix*): Likewise.
52379         (*bsd*): Likewise.
52380         (sysv*): Likewise.
52381         (isc*): Likewise.
52382         (esix*): Likewise.
52383         (sco*): Likewise.
52384         (minix*): Likewise.
52385         (irix4*): Likewise.
52386         (irix6*): Likewise.
52387         (solaris[2-9]*): Likewise.
52388         (none): Likewise.
52389         * configure: Regenerated.
52391 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52393         [BZ #11521]
52394         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
52395         overflow or cancellation in calculating denominator.
52396         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
52397         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
52398         down expression to avoid unexpected rounding in newer GCCs.
52399         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
52401 2012-04-26  David S. Miller  <davem@davemloft.net>
52403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
52404         long-double compat symbols.
52405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
52409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
52411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
52412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
52413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
52414         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
52415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
52416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
52417         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52419 2012-04-25  David S. Miller  <davem@davemloft.net>
52421         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
52422         HWCAP_* values only after the memory barriers have been defined.
52423         (atomic_full_barrier): Define.
52424         (atomic_read_barrier): Define.
52425         (atomic_write_barrier): Define.
52427 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52429         * shlib-versions: Add libgcc_s version information.
52430         * sysdeps/generic/libgcc_s.h: Remove.
52431         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
52432         libgcc_s.h.
52433         * sysdeps/gnu/unwind-resume.c: Likewise.
52434         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
52436 2012-04-25  David S. Miller  <davem@davemloft.net>
52438         * sysdeps/unix/sparc/brk.S: Delete.
52439         * sysdeps/unix/sparc/dl-brk.S: Delete.
52440         * sysdeps/unix/sparc/pipe.S: Delete.
52441         * sysdeps/unix/sparc/sysdep.S: Delete.
52442         * sysdeps/unix/sparc/sysdep.h: Delete.
52443         * sysdeps/unix/sparc/vfork.S: Delete.
52444         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
52445         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
52446         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
52447         (ret_ERRVAL, r0, r1, MOVE): Define.
52448         (JUMPTARGET): Remove.
52449         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
52450         sysdeps/unix/sparc/sysdep.h
52451         (ENTRY, END): Remove.
52452         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52454 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
52456         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
52457         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
52458         -DIS_IN_build.
52460         * timezone/README: Update upstream location and email address for
52461         tzcode and tzdata.
52462         * timezone/zdump.c: Update from tzcode 2012b.
52463         * timezone/zic.c: Likewise.
52465         * configure.in (libc_cv_as_needed): Remove test.
52466         * configure: Regenerated.
52467         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
52468         conditional definition.
52469         [$(have-as-needed) != yes] (no-as-needed): Likewise.
52470         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
52471         * config.make.in (have-as-needed): Remove variable.
52473 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52474             Paul Pluzhnikov  <ppluzhnikov@google.com>
52476         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
52477         strings correctly.
52479 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
52481         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
52482         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
52483         * sysdeps/sh/strlen.S: Likewise.
52485 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52487         * sysdeps/unix/fork.S: Remove file.
52488         * sysdeps/unix/i386/fork.S: Likewise.
52489         * sysdeps/unix/sparc/fork.S: Likewise.
52491         * sysdeps/unix/system.c: Remove file.
52492         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
52494         * sysdeps/unix/getegid.S: Remove file.
52495         * sysdeps/unix/geteuid.S: Likewise.
52497 2012-04-24  Roland McGrath  <roland@hack.frob.com>
52499         * scripts/check-localplt.awk: New file.
52500         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
52501         of diff.
52502         * scripts/data/localplt-generic.data: Add a comment.
52504         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
52505         NODE when __dir_mkfile failed.
52506         * sysdeps/mach/hurd/symlinkat.c: Likewise.
52507         Reported by Ludovic Courtès <ludo@gnu.org>.
52509 2012-04-24  Andreas Jaeger  <aj@suse.de>
52511         * Makerules (common-clean): Also remove gen-as-const-headers
52512         files.
52514 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52516         * Makerules (native-compile): Do not change working directory for
52517         build.  Use $(OUTPUT_OPTION) in command.
52518         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
52520 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52522         [BZ #13886]
52523         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
52524         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
52525         * math/libm-test.inc (floor_test): Add more tests.
52526         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
52528 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52530         * sysdeps/unix/getdents.c: Remove file.
52531         * sysdeps/unix/sysv/getdents.c: Likewise.
52532         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
52534         * sysdeps/unix/syscalls.list (madvise): Add syscall from
52535         sysdeps/unix/mman/syscalls.list.
52536         (mmap): Likewise.
52537         (mprotect): Likewise.
52538         (msync): Likewise.
52539         (munmap): Likewise.
52540         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
52541         * sysdeps/unix/mman/syscalls.list: Remove.
52542         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
52544         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
52545         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
52546         * configure: Regenerated.
52547         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
52548         $(libgcc_s_suffix).
52549         * config.make.in (libgcc_s_suffix): Remove variable.
52551 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
52553         * sysdeps/unix/sysv/gethostname.c: Move to ...
52554         * sysdeps/posix/gethostname.c: ... here.
52556         * sysdeps/unix/execve.S: Remove file.
52558         * sysdeps/unix/_exit.S: Remove file.
52560 2012-04-23  Andreas Jaeger  <aj@suse.de>
52562         [BZ #13739]
52563         * manual/Makefile: Remove make dist support, there's no
52564         need for a stand-alone documentation tar ball.
52565         (TEXI2DVI): Define always, it's not in Makeconfig.
52566         (dist): Removed.
52567         (tar-it): Removed.
52568         (edition): Removed.
52569         (glibc-doc-$(edition).tar): Removed
52570         (%.Z): Removed.
52571         (%.gz): Removed.
52572         (%.uu): Removed.
52573         (ETAGS): Remove, it's in Makeconfig.
52574         (move-if-change): Remove, it's in Makeconfig.
52576 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
52578         [BZ #13970]
52579         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
52580         (strtod, strtof, strtold, strtol, strtoul, strtoq)
52581         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
52582         (strtod_l, strtof_l, strtold_l): Remove __wur.
52583         It is not necessarily an error to ignore strtol's return value.
52584         One can reliably look at the stored endptr to decide whether
52585         the number had valid syntax.
52587 2012-04-21  Andreas Jaeger  <aj@suse.de>
52589         [BZ #13739]
52590         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
52592 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
52594         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
52595         * sysdeps/unix/sysv/Versions: Remove file.
52597 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
52599         [BZ #13927]
52600         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52602 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
52604         [BZ #7064]
52605         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
52606         version from __vm86.
52608 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
52610         * sysdeps/unix/common/lxstat.c: Remove file.
52611         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
52613         * sysdeps/unix/sysv/Makefile: Remove file.
52615         * sysdeps/unix/sysv/direct.h: Remove file.
52617         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
52618         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
52619         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
52620         * sysdeps/unix/sysv/bits/signum.h: Likewise.
52621         * sysdeps/unix/sysv/bits/stat.h: Likewise.
52622         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
52623         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
52625         * sysdeps/unix/sysv/setrlimit.c: Remove file.
52627         * sysdeps/unix/xmknod.c: Remove file.
52628         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
52630         * sysdeps/unix/sysv/settimeofday.c: Remove file.
52632         * sysdeps/unix/sysv/i386/time.S: Remove file.
52634         * sysdeps/unix/fxstat.c: Remove file.
52635         * sysdeps/unix/xstat.c: Likewise.
52636         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
52638         * sysdeps/unix/sysv/sigaction.c: Remove file.
52640         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
52641         (sysdep_headers): Remove variable.
52642         [termio.h not in sysdep_headers] (generated): Likewise.
52643         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
52644         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
52645         * sysdeps/unix/sysv/tcdrain.c: Likewise.
52646         * sysdeps/unix/sysv/tcflow.c: Likewise.
52647         * sysdeps/unix/sysv/tcflush.c: Likewise.
52648         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
52649         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
52650         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
52651         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
52652         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
52654         * sysdeps/unix/siglist.c: Remove file.
52656         * sysdeps/unix/getppid.S: Remove file.
52658         * sysdeps/unix/mkdir.c: Remove file.
52659         * sysdeps/unix/rmdir.c: Likewise.
52661 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
52663         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
52664         ERR_MAX value.
52665         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
52666         errlist-compat value.
52668 2012-04-18  David S. Miller  <davem@davemloft.net>
52670         * sysdeps/generic/memcopy.h (reg_char): Delete.
52671         * debug/strcat_chk.c: Use char, not reg_char.
52672         * debug/strcpy_chk.c: Likewise.
52673         * debug/strncat_chk.c: Likewise.
52674         * debug/strncpy_chk.c: Likewise.
52675         * string/memchr.c: Likewise.
52676         * string/memrchr.c: Likewise.
52677         * string/rawmemchr.c: Likewise.
52678         * string/strcat.c: Likewise.
52679         * string/strchr.c: Likewise.
52680         * string/strchrnul.c: Likewise.
52681         * string/strcmp.c: Likewise.
52682         * string/strcpy.c: Likewise.
52683         * string/strncat.c: Likewise.
52684         * string/strncmp.c: Likewise.
52685         * string/strncpy.c: Likewise.
52687 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52689         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
52690         __builtin_memcopy is called when src and dest ranges are known to not
52691         overlap.
52693 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52695         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
52696         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
52697         fwd_align_merge macro call.
52698         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
52699         bwd_align_merge macro call.
52700         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52702 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52704         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
52705         bwd_align_merge macros.
52706         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
52707         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
52708         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52710 2012-04-18  David S. Miller  <davem@davemloft.net>
52712         * sysdeps/sparc/sparc64/memcopy.h: Delete.
52714 2012-04-18  Andreas Jaeger  <aj@suse.de>
52716         [BZ# 6794]
52717         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
52718         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52719         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52721         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
52722         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
52723         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52725         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
52726         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
52727         Adjust for changed ldbl-128 files.
52729         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
52730         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
52731         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52733 2012-04-17  David S. Miller  <davem@davemloft.net>
52735         * sysdeps/sparc/sparc32/memcopy.h: Delete.
52737 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
52739         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
52740         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
52741         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52742         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52743         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52744         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52746 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52748         [BZ #6794]
52749         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52750         * math/libm-test.inc: Add ilogb errno and exception tests.
52751         * math/w_ilogb.c: New file: ilogb wrapper.
52752         * math/w_ilogbf.c: New file: ilogbf wrapper.
52753         * math/w_ilogbl.c: New file: ilogbl wrapper.
52754         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52755         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52756         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52757         exception being thrown with 0.0 as argument.
52758         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
52759         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
52760         exception being thrown with 0.0 as argument.
52761         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
52762         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52763         exception being thrown with 0.0 as argument.
52764         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52765         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52766         exception being thrown with 0.0 as argument.
52767         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
52768         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
52769         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
52770         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
52771         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
52772         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
52773         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
52774         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
52775         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
52777 2012-04-17  Petr Baudis  <pasky@ucw.cz>
52779         * include/sys/uio.h: Change __vector to __iovec to avoid clash
52780         with altivec.
52782 2012-04-16  Marek Polacek  <polacek@redhat.com>
52784         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
52786 2012-04-16  Marek Polacek  <polacek@redhat.com>
52788         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
52789         operands of fdivp instruction.
52791 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52793         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
52794         * elf/tst-auditmod3b.c: Likewise.
52795         * elf/tst-auditmod4b.c: Likewise.
52796         * elf/tst-auditmod5b.c: Likewise.
52797         * elf/tst-auditmod6b.c: Likewise.
52798         * elf/tst-auditmod6c.c: Likewise.
52799         * elf/tst-auditmod7b.c: Likewise.
52800         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
52801         * sysdeps/x86_64/preconfigure.in: Likewise.
52802         * sysdeps/x86_64/preconfigure: Regenerated.
52804 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52806         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
52807         __ILP32__.
52809 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
52811         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52812         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
52814 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
52816         [BZ #13973]
52817         * locale/iso-639.def: Fix gl language name. Spotted by
52818         Yaron Shahrabani.
52820 2012-04-12  Roland McGrath  <roland@hack.frob.com>
52822         [BZ #2074]
52823         * libio/libio.h (__io_write_fn): Update comment.
52825 2012-04-12  Petr Baudis  <pasky@ucw.cz>
52827         [BZ #2074]
52828         * stdio.texi (Hook Functions): The user provided writer function
52829         is not allowed to return -1.
52831 2012-04-11  David S. Miller  <davem@davemloft.net>
52833         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52835 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
52837         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
52838         Add a leading slash to rtkaio.
52840 2012-04-11  Jim Meyering  <meyering@redhat.com>
52842         [BZ #11959]
52843         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
52844         It is not necessarily an error to ignore fwrite's return
52845         value.  One can reliably use ferror to test for errors after
52846         the fact.
52848 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52850         * bits/types.h (__snseconds_t): New type.
52851         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
52853         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
52854         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52855         (__SNSECONDS_T_TYPE): Likewise.
52856         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52857         (__SNSECONDS_T_TYPE): Likewise.
52858         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52859         (__SNSECONDS_T_TYPE): Likewise.
52861 2012-04-10  Andreas Jaeger  <aj@suse.de>
52863         [BZ #2636]
52864         * manual/time.texi (Processor Time): Return type of times is
52865         elapsed real time since an arbitrary point in the past.
52866         (CPU Time): Move CLK_TCK from here...
52867         (Processor Time): ...to here.  Correct description.
52868         * manual/conf.texi (Constants for Sysconf): Correct description of
52869         _SC_CLK_TCK.
52871 2012-04-10  David S. Miller  <davem@davemloft.net>
52873         [BZ #13967]
52874         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
52875         where the is a gap between DT_REL(A) and DT_JMPREL.
52877 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52879         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
52880         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52881         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52883 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52885         * elf/dl-support.c (_dl_inhibit_cache): New variable.
52886         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
52887         (dl_main): Handle --inhibit-cache.
52888         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
52889         _dl_inhibit_cache.
52890         * elf/dl-load.c (_dl_map_object): Use it.
52891         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
52893 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52895         [BZ #13872]
52896         * sysdeps/i386/fpu/e_powl.S (p78): New object.
52897         (__ieee754_powl): Saturate large exponents rather than testing for
52898         overflow of y*log2(x).
52899         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52900         * math/libm-test.inc (pow_test): Do not permit spurious overflow
52901         exceptions.
52903         [BZ #11521]
52904         * math/s_ctan.c: Include <float.h>.
52905         (__ctan): Avoid internal overflow or cancellation in calculating
52906         denominator.
52907         * math/s_ctanf.c: Likewise.
52908         * math/s_ctanl.c: Likewise.
52909         * math/s_ctanh.c: Likewise.
52910         * math/s_ctanhf.c: Likewise.
52911         * math/s_ctanhl.c: Likewise.
52912         * math/libm-test.inc (ctan_test): Add more tests.
52913         (ctanh_test): Likewise.
52914         * sysdeps/i386/fpu/libm-test-ulps: Update.
52915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52917 2012-04-09  Andreas Jaeger  <aj@suse.de>
52919         [BZ #6894]
52920         * manual/filesys.texi (Directory Entries): Mention that d_namlen
52921         is an optional BSD extension.
52923         [BZ #10254]
52924         * manual/stdio.texi (Opening Streams): Document additional fopen
52925         parameters.
52927 2012-04-09  Roland McGrath  <roland@hack.frob.com>
52929         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
52930         %eax without telling the compiler.
52932 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
52934         [BZ # 13963]
52935         * manual/install.texi: Use sourceware.org.
52937 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52939         [BZ #13873]
52940         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
52941         (__ieee754_pow): Generate overflow and underflow using huge*huge
52942         and tiny*tiny rather than just returning constant infinity or zero
52943         for large exponents.
52944         * math/libm-test.inc (pow_test): Require overflow exceptions for
52945         applicable cases of large exponents.
52947         [BZ #706]
52948         * sysdeps/i386/fpu/e_pow.S (p10): New object.
52949         (__ieee754_pow): Use iterative multiplication algorithm only for
52950         integer exponents with absolute value below 1024.  Check for odd
52951         integer exponents when using algorithm for real exponents.
52952         * math/libm-test.inc (pow_test): Add more tests.
52953         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52955 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
52957         [BZ #13705]
52958         * math/libm-test.inc (exp_test): Do not allow overflow exception
52959         on underflow test.
52961 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
52963         [BZ #13705]
52964         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
52965         instead of __kernel_standard_f.
52967 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
52969         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
52970         * sysdeps/x86_64/memset_chk.S: Likewise.
52972 2012-04-08  Andreas Jaeger  <aj@suse.de>
52974         [BZ #10153]
52975         * manual/startup.texi (Environment Access): Describe return value
52976         for putenv and setenv.
52978         [BZ #6895]
52979         * manual/filesys.texi (Directory Entries): Add description for
52980         DT_LNK.
52982         [BZ #6890]
52983         * manual/filesys.texi (Directory Entries): Clarify that it's file
52984         system not operating system in the description of DT_UNKNOWN.
52986         [BZ #6578]
52987         * manual/syslog.texi (closelog): Fix reference, it's openlog.
52989 2012-04-08  Stephen Compall  <s11@member.fsf.org>
52991         [BZ #6649]
52992         * manual/llio.texi (Opening and Closing Files): Add cross
52993         reference to explain mode argument.
52995 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
52997         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
52998         * sysdeps/x86_64/memset_chk.S: Likewise.
53000 2012-04-07  David S. Miller  <davem@davemloft.net>
53002         * elf/elf.h (R_SPARC_WDISP10): Define.
53003         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
53004         R_SPARC_SIZE32.
53005         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
53006         R_SPARC_SIZE64 and R_SPARC_H34.
53008 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
53010         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
53011         conditions and remove no longer applicable assertion.
53013 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
53015         * bits/byteswap.h: Include <features.h>.
53016         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53017         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53019 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
53021         * bits/byteswap.h (__bswap_16): Removed.
53022         Include <bits/byteswap-16.h> to get __bswap_16.
53023         * sysdeps/i386/bits/byteswap.h: Likewise.
53024         * sysdeps/s390/bits/byteswap.h: Likewise.
53025         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53026         * bits/byteswap-16.h: New file.
53027         * sysdeps/i386/bits/byteswap-16.h: Likewise.
53028         * sysdeps/s390/bits/byteswap-16.h: Likewise.
53029         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
53030         * string/Makefile (headers): Add bits/byteswap-16.h.
53032 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53034         [BZ #13895]
53035         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
53036         extra indirection.
53037         * nss/Makefile (tests-static, tests): Add tst-nss-static.
53038         * nss/tst-nss-static.c: New.
53040 2012-04-06  Robert Millan  <rmh@gnu.org>
53042         [BZ #6486]
53043         * manual/llio.texi (File Position Primitive): lseek
53044         refers to WHENCE when it really means OFFSET.
53046 2012-04-06  Andreas Jaeger  <aj@suse.de>
53048         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
53049         strncmp declarations.
53051         * abilist/libc.abilist: Add __poll and __ppoll.
53053 2012-04-05  David S. Miller  <davem@davemloft.net>
53055         * scripts/check-local-headers.sh: Accept a host triplet in the
53056         path matched by the exclude regexp.
53058         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
53059         definition.
53060         * sysdeps/powerpc/powerpc32/dl-machine.h
53061         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
53062         * sysdeps/s390/s390-32/dl-machine.h
53063         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53064         * sysdeps/sparc/sparc32/dl-machine.h
53065         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53066         * sysdeps/sparc/sparc64/dl-machine.h
53067         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53069         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
53070         lazy binding.
53071         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
53072         undefined symbol errors.
53074         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
53075         DT_NEEDED entries.
53077 2012-04-05  Michael Matz  <matz@suse.de>
53079         [BZ #13592]
53080         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
53082 2012-04-05  Andreas Jaeger  <aj@suse.de>
53084         [BZ #13908]
53085         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
53086         comment.
53088 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53090         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
53091         which ROUND is no valid rounding mode.
53093 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53095         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
53096         read again.
53097         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
53099 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53101         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
53102         an exception using FPU order intentionally.
53104 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53106         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
53107         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
53108         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
53109         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
53111 2012-04-05  Simon Josefsson  <simon@josefsson.org>
53113         [BZ #12340]
53114         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
53115         EINVAL when BUFLEN is too smal.
53117 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
53119         [BZ #13553]
53120         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
53121         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
53123 2012-04-03  Andreas Jaeger  <aj@suse.de>
53125         [BZ #13938]
53126         * manual/setjmp.texi (System V contexts): Fix sentence.
53128         [BZ #13926]
53129         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
53130         New macro for this case.
53131         [!__GNUC__] (__bswap_64): New inline function for this case.
53132         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53133         * bits/byteswap.h: Likewise.
53134         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
53135         ull, guard with __GLIBC_HAVE_LONG_LONG.
53137         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
53138         __GLIBC_HAVE_LONG_LONG.
53140         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
53141         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
53143 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53145         [BZ #13691]
53146         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
53147         inptr and inend, rather than using last_ch.
53149 2012-04-02  David S. Miller  <davem@davemloft.net>
53151         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
53152         * stdio-common/printf-parse.h (read_int): Change return type to
53153         'int', return -1 on INT_MAX overflow.
53154         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
53155         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
53156         overflows INT_MAX.  Check for overflow of in-format-string precision
53157         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
53158         SIZE_MAX not INT_MAX for integer overflow test.
53159         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
53160         skip the construct in the format string but do not record anything.
53161         * stdio-common/bug22.c: Adjust to test both width/prevision
53162         INT_MAX overflow as well as total length INT_MAX overflow.  Check
53163         explicitly for proper errno values.
53165 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
53167         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
53168         CHAR_MAX.
53169         * string/test-strcmp.c [! WIDE]: Likewise.
53170         * time/tst-mktime2.c: Likewise for INT_MAX.
53171         * string/test-string.h: #include <sys/param.h> for MIN.
53173         * csu/init-first.c (__libc_init_first): Call __ctype_init.
53174         * sysdeps/i386/init-first.c (init): Likewise.
53175         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
53176         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
53177         * sysdeps/sh/init-first.c (init): Likewise.
53179 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
53181         * po/ru.po: Update from translation team.
53182         * po/vi.po: Likewise.
53184 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53186         * resolv/nss_dns/dns-host.c: Merge copyright years.
53188 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53190         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53191         Optimize memcpy with prefetch if
53192         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
53193         src, dst pointers have unequal 16 byte alignments.
53195 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53197         [BZ #13928]
53198         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
53199         from a CNAME entry and return the minimum ttl for the query.
53200         (gaih_getanswer_slice): Likewise.
53202 2012-03-30  Jeff Law  <law@redhat.com>
53204         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
53205         due to long keys.
53206         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
53207         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
53209         * resolv/nss_dns/dns-host.c: Update copyright year.
53211 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
53213         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
53214         requests to save a system call.  Fix check that all bytes are sent.
53216         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
53217         comments for sendmmsg.
53219 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53221         [BZ #13691]
53222         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
53223         with only 1 character between 0x0041 and 0x01b0.
53224         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
53225         * wcsmbs/tst-mbsnrtowcs.c: New file.
53227 2012-03-29  David S. Miller  <davem@davemloft.net>
53229         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
53230         small copies by hand.
53232 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53234         [BZ #13761]
53235         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
53236         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
53237         group memberships.
53239 2012-03-28  David S. Miller  <davem@davemloft.net>
53241         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
53242         that branches into memcpy.
53243         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
53244         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
53245         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
53246         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
53247         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
53248         bits.
53249         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
53250         implementation too.
53251         * sysdeps/sparc/mempcpy.S: New file.
53253         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
53254         the IFUNC routine in the libc case.
53255         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53257         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
53258         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
53259         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
53260         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
53261         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
53262         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
53263         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
53264         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
53266         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
53267         loop to 256 bytes instead of 64 bytes and fix test signedness.
53269         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
53270         * sysdeps/sparc/sparc32/Makefile: rather than here...
53271         * sysdeps/sparc/sparc64/Makefile: and here.
53273 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
53275         * malloc/mallocbug.c: Avoid warnings about unused variables.
53277 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53279         [BZ #13760]
53280         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
53281         in the right place. Discard and retry query if response is
53282         larger than input buffer size.
53284 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
53286         [BZ #369]
53287         [BZ #2678]
53288         [BZ #3866]
53289         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
53290         x for large integer exponent.
53291         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
53292         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
53293         sign of result as needed afterwards.
53294         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
53295         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
53296         result for underflowing pow the same as for overflow.
53297         (__kernel_standard_l): Handle powl overflow and underflow here
53298         rather than calling __kernel_standard.
53299         * math/libm-test.inc (pow_test): Add more tests.
53301         [BZ #3868]
53302         [BZ #13879]
53303         [BZ #13910]
53304         [BZ #13911]
53305         [BZ #13912]
53306         [BZ #13913]
53307         [BZ #13915]
53308         [BZ #13916]
53309         [BZ #13917]
53310         [BZ #13918]
53311         [BZ #13919]
53312         [BZ #13920]
53313         [BZ #13921]
53314         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
53315         * sysdeps/ieee754/k_standard.c: Include <float.h>.
53316         (__kernel_standard_l): New function.
53317         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
53318         __kernel_standard.
53319         * math/w_acosl.c (__acosl): Likewise.
53320         * math/w_asinl.c (__asinl): Likewise.
53321         * math/w_atan2l.c (__atan2l): Likewise.
53322         * math/w_atanhl.c (__atanhl): Likewise.
53323         * math/w_coshl.c (__coshl): Likewise.
53324         * math/w_exp10l.c (__exp10l): Likewise.
53325         * math/w_exp2l.c (__exp2l): Likewise.
53326         * math/w_fmodl.c (__fmodl): Likewise.
53327         * math/w_hypotl.c (__hypotl): Likewise.
53328         * math/w_j0l.c (__j0l, __y0l): Likewise.
53329         * math/w_j1l.c (__j1l, __y1l): Likewise.
53330         * math/w_jnl.c (__jnl, __ynl): Likewise.
53331         * math/w_lgammal.c (__lgammal): Likewise.
53332         * math/w_log10l.c (__log10l): Likewise.
53333         * math/w_log2l.c (__log2l): Likewise.
53334         * math/w_logl.c (__logl): Likewise.
53335         * math/w_powl.c (__powl): Likewise.
53336         * math/w_remainderl.c (__remainderl): Likewise.
53337         * math/w_scalbl.c (sysv_scalbl): Likewise.
53338         * math/w_sinhl.c (__sinhl): Likewise.
53339         * math/w_sqrtl.c (__sqrtl): Likewise.
53340         * math/w_tgammal.c (__tgammal): Likewise.
53341         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
53342         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
53343         * math/libm-test.inc (acos_test): Add more tests.
53344         (acosh_test): Likewise.
53345         (asin_test): Likewise.
53346         (atanh_test): Likewise.
53347         (exp_test): Likewise.
53348         (exp10_test): Likewise.
53349         (exp2_test): Likewise.
53350         (expm1_test): Likewise.
53351         (lgamma_test): Likewise.
53352         (log_test): Likewise.
53353         (log10_test): Likewise.
53354         (log1p_test): Likewise.
53355         (log2_test): Likewise.
53356         (pow_test): Do not allow some spurious overflow exceptions.
53357         (sqrt_test): Add more tests.
53358         (tgamma_test): Likewise.
53359         (y0_test): Likewise.
53360         (y1_test): Likewise.
53361         (yn_test): Likewise.
53363 2012-03-27  Anton Blanchard  <anton@samba.org>
53365         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
53366         MAP_HUGETLB.
53367         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53368         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53369         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53371 2012-03-27  David S. Miller  <davem@davemloft.net>
53373         * conform/Makefile: Run run-conformtest.sh using $(BASH).
53375         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
53376         have-as-vis3 check.
53378 2012-03-27  Andreas Jaeger  <aj@suse.de>
53380         * sysdeps/x86_64/elf/configure.in: Moved to ...
53381         * sysdeps/x86_64/configure.in: ... here.
53382         * sysdeps/x86_64/elf/start.S: Moved to ...
53383         * sysdeps/x86_64/start.S: ... here.
53384         * sysdeps/x86_64/elf/configure: Delete.
53386         * sysdeps/x86_64/configure.in: Merge contents from
53387         sysdeps/i386/configure.in (without i686 check).
53389         * sysdeps/i386/elf/Versions: Merge into ...
53390         * sysdeps/i386/Versions: ... this.
53391         * sysdeps/i386/elf/Versions: Delete file.
53392         * sysdeps/i386/elf/start.S: Moved to ...
53393         * sysdeps/i386/start.S: ...here.
53394         * sysdeps/i386/elf/configure.in: Merge into...
53395         * sysdeps/i386/configure.in: ...here.
53396         * sysdeps/i386/elf/configure.in: Delete file.
53397         * sysdeps/i386/elf/configure: Delete file.
53399         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
53400         * debug/backtracesyms.c: ... here.
53401         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
53402         * debug/backtracesymsfd.c: ... here.
53403         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
53404         * sysdeps/generic/ifunc-sel.h: ... here.
53406         * sysdeps/unix/i386/start.c: Delete file.
53407         * sysdeps/unix/sparc/start.c: Delete file.
53408         * sysdeps/unix/start.c: Delete file.
53410         * sysdeps/sh/elf/configure.in: Moved to ...
53411         * sysdeps/sh/configure.in: ... here.
53412         * sysdeps/sh/elf/start.S: Moved to ...
53413         * sysdeps/sh/start.S: ... here.
53414         * sysdeps/sh/elf/configure: Delete file.
53416         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
53417         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
53418         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
53419         * sysdeps/powerpc/powerpc64/entry.h: ... here.
53420         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
53421         * sysdeps/powerpc/powerpc64/start.S: here.
53422         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
53423         * sysdeps/powerpc/powerpc64/Makefile: ... this.
53424         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
53425         * sysdeps/powerpc/powerpc64/configure.in: ... this.
53426         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
53428         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
53429         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
53430         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
53431         * sysdeps/powerpc/powerpc32/start.S: ... here.
53432         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
53433         * sysdeps/powerpc/powerpc32/configure.in: ... this.
53434         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
53436         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
53437         * sysdeps/powerpc/ifunc-sel.h: ... here.
53438         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
53439         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
53441         * sysdeps/sparc/elf/configure.in: Moved to ...
53442         * sysdeps/sparc/configure.in: ... here.
53443         * sysdeps/sparc/elf/configure: Delete file.
53444         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
53445         * sysdeps/sparc/sparc32/start.S: ... here.
53446         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
53447         * sysdeps/sparc/sparc64/start.S: ... here.
53448         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
53449         * sysdeps/sparc/sparc32/Makefile: ... this.
53450         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
53451         * sysdeps/sparc/sparc64/Makefile: ... this.
53453         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
53454         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
53455         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
53456         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
53457         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
53458         * sysdeps/s390/s390-32/setjmp.S: ... here.
53459         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
53460         * sysdeps/s390/s390-32/configure.in: ... here.
53461         * sysdeps/s390/s390-32/elf/configure: Delete file.
53462         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
53463         * sysdeps/s390/s390-32/start.S: ... here.
53465         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
53466         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
53467         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
53468         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
53469         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
53470         * sysdeps/s390/s390-64/setjmp.S: ... here.
53471         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
53472         * sysdeps/s390/s390-64/configure.in: ... here
53473         * sysdeps/s390/s390-64/elf/configure: Delete file.
53474         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
53475         * sysdeps/s390/s390-64/start.S: ... here.
53476         * sysdeps/s390/s390-64/elf/configure: Delete.
53478         * configure.in: Remove support for elf directories in sysdeps.
53480         * configure: Regenerated.
53481         * sysdeps/i386/configure: Regenerated.
53482         * sysdeps/powerpc/powerpc32/configure: Regenerated.
53483         * sysdeps/powerpc/powerpc64/configure: Regenerated.
53484         * sysdeps/s390/s390-32/configure: Regenerated.
53485         * sysdeps/s390/s390-64/configure: Regenerated.
53486         * sysdeps/sh/configure: Regenerated.
53487         * sysdeps/sparc/configure: Regenerated.
53488         * sysdeps/x86_64/configure: Regenerated.
53490 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
53492         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53494         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
53495         denormal result into account.
53497 2012-03-25  Roland McGrath  <roland@hack.frob.com>
53499         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
53500         Reported by Allan McRae <allan@archlinux.org>.
53502 2012-03-23  Jeff Law  <law@redhat.com>
53504         * nss/getnssent.c (__nss_getent): Fix typo.
53506 2012-03-23  David S. Miller  <davem@davemloft.net>
53508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53510 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
53512         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
53513         to pad to uint64_t for each field.
53514         (dl_tls_index): Replace unsigned long with uint64_t.
53516 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
53517         Paul Pluzhnikov  <ppluzhnikov@google.com>
53519         [BZ #6528]
53520         * grp/Makefile (otherlibs): Don't set it.
53521         * inet/Makefile (otherlibs): Likewise.
53522         * login/Makefile (otherlibs): Likewise.
53523         * nscd/Makefile (otherlibs): Likewise.
53524         * posix/Makefile (otherlibs): Likewise.
53525         * pwd/Makefile (otherlibs): Likewise.
53526         * rt/Makefile (otherlibs): Likewise.
53527         * sunrpc/Makefile (otherlibs): Likewise.
53528         * nss/Makefile (otherlibs): Likewise.
53529         Add libnss_files to routines and static-only-routines.
53530         ($(objpfx)getent): Remove rule.
53531         * resolv/Makefile: Add libnss_dns and libresolv to routines and
53532         static-only-routines.
53534 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53536         [BZ #13892]
53537         * math/s_cexp.c: Include <float.h>.
53538         (__cexp): Handle exp result overflowing not necessarily
53539         overflowing both real and imaginary parts of result.
53540         * math/s_cexpf.c: Likewise.
53541         * math/s_cexpl.c: Likewise.
53542         * math/libm-test.inc (cexp_test): Add more tests.
53543         * sysdeps/i386/fpu/libm-test-ulps: Update.
53544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53546 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53548         * include/link.h (ELFW): New macro.
53549         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
53550         Replace ELF64_R_TYPE with ELFW(R_TYPE).
53552 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53554         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
53555         with uint64_t.
53557 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53559         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
53560         declaration.
53561         (struct La_x32_retval): Likewise.
53563 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53565         * sysdeps/x86_64/preconfigure.in: New file.
53566         * sysdeps/x86_64/preconfigure: New generated file.
53568 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53570         [BZ #13824]
53571         * math/e_exp2l.c: Include <float.h>.
53572         (__ieee754_exp2l): Handle overflow and underflow cases
53573         separately.  Only pass fractional part of argument to
53574         __ieee754_expl.
53575         * math/libm-test.inc (exp2_test): Add more tests.
53577         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
53578         negating x to take absolute value.
53579         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
53580         Likewise.
53581         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
53582         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
53583         Likewise.
53584         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
53585         computing low part if x was negated.
53586         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
53588 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53590         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
53591         la_x32_gnu_pltexit.
53592         (pltexit): Cast int_retval to ptrdiff_t.
53593         * elf/tst-auditmod3b.c: Likewise.
53594         * elf/tst-auditmod4b.c: Likewise.
53595         * elf/tst-auditmod5b.c: Likewise.
53596         * elf/tst-auditmod6b.c: Likewise.
53597         * elf/tst-auditmod6c.c: Likewise.
53598         * elf/tst-auditmod7b.c: Likewise.
53600         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
53601         and x32_gnu_pltexit.
53603         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
53604         __ELF_NATIVE_CLASS.
53605         (La_x32_regs): New macro.
53606         (La_x32_retval): Likewise.
53607         (la_x32_gnu_pltenter): New function prototype.
53608         (la_x32_gnu_pltexit): Likewise.
53610 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
53612         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
53613         exponent.
53615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53617         * configure.in (libc_cv_cc_nofma): Check for option to disable
53618         generation of FMA instructions.
53619         * configure: Regenerate.
53620         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
53621         * sysdeps/ieee754/dbl-64/Makefile: New file.
53622         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
53623         Remove brandred-fma4.
53624         (CFLAGS-brandred-fma4.c): Remove.
53625         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
53626         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
53627         define.
53628         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
53629         define.
53631 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53633         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53634         LLONG_MAX != LONG_MAX.
53635         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53636         (_fitoa_word): Likewise.
53637         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
53638         LLONG_MAX != LONG_MAX.
53639         * stdio-common/_itowa.h: Include <_itoa.h>.
53640         (_itowa_word): Use _ITOA_WORD_TYPE on value.
53641         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
53642         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
53643         only if not defined.
53644         (_ITOA_WORD_TYPE): Likewise.
53645         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53646         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
53648 2012-03-21  David S. Miller  <davem@davemloft.net>
53650         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53652 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53654         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
53655         of x86_64 when setting libc_cv_slibdir, libdir and
53656         libc_cv_localedir.
53657         * sysdeps/unix/sysv/linux/configure: Regenerated.
53659 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53661         * manual/lang.texi (Old Varargs): Remove section.
53662         (How Variadic): Update menu.
53663         (va_start): Do not mention varargs.h.
53665 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53666             Joseph Myers  <joseph@codesourcery.com>
53668         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
53669         link test.
53670         * configure: Regenerated.
53672 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53674         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
53675         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
53676         conformtest.pl
53678 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53680         * NOTES: Remove.
53681         * Makefile (files-for-dist): Remove NOTES.
53682         (NOTES): Remove rule.
53683         * README: Don't refer to NOTES.
53684         * manual/creature.texi: Don't include macros.texi.
53685         * manual/intro.texi (creature.texi): Remove comment referring to
53686         NOTES.
53688         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
53689         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
53690         * configure: Regenerated.
53691         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
53692         LIBC_TRY_CC_OPTION.
53693         (libc_cv_as_i686): Likewise.
53694         (libc_cv_cc_avx): Likewise.
53695         (libc_cv_cc_sse2avx): Likewise.
53696         (libc_cv_cc_fma4): Likewise.
53697         (libc_cv_cc_novzeroupper): Likewise.
53698         * sysdeps/i386/configure: Regenerated.
53700         [BZ #13883]
53701         * sysdeps/i386/fpu/s_cexp.S: Remove.
53702         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53703         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53704         * math/libm-test.inc (cexp_test): Add more tests.
53705         * sysdeps/i386/fpu/libm-test-ulps: Update.
53706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53708 2012-03-21  Allan McRae  <allan@archlinux.org>
53710         * timezone/Makefile: Do not install iso3166.tab and zone.tab
53712 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53714         [BZ #13871]
53715         * math/w_exp2.c: Do not include <float.h>.
53716         (o_threshold, u_threshold): Remove.
53717         (__exp2): Calculate result before checking finiteness and calling
53718         __kernel_standard.
53719         * math/w_exp2f.c: Likewise.
53720         * math/w_exp2l.c: Likewise.
53721         * math/libm-test.inc (exp2_test): Require overflow exception for
53722         1e6 input.
53724         [BZ #3866]
53725         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
53726         range of signed 64-bit integers before using fistpll.  Remove
53727         checks for whether integers fit in mantissa bits.
53728         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
53729         the range of signed 32-bit integers before using fistpl.  Remove
53730         checks for whether integers fit in mantissa bits.
53731         * sysdeps/i386/fpu/e_powl.S (p64): New object.
53732         (__ieee754_powl): Test for y outside the range of signed 64-bit
53733         integers before using fistpll.  Reduce 64-bit values to 63-bit
53734         ones as needed.
53735         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
53736         divide-by-zero is raised for zero to large negative powers.
53737         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
53738         (__ieee754_powl): Test for y outside the range of signed 64-bit
53739         integers before using fistpll.  Reduce 64-bit values to 63-bit
53740         ones as needed.
53741         * math/libm-test.inc (pow_test): Add more tests.
53743 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53745         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53746         <stdio-common/_itoa.h>.
53747         * debug/segfault.c: Likewise.
53748         * elf/dl-cache.c: Likewise.
53749         * elf/dl-minimal.c: Likewise.
53750         * elf/dl-misc.c: Likewise.
53751         * elf/dl-sysdep.c: Likewise.
53752         * elf/dl-version.c: Likewise.
53753         * elf/rtld.c: Likewise.
53754         * hurd/hurdsock.c: Likewise.
53755         * hurd/lookup-retry.c: Likewise.
53756         * malloc/malloc.c: Likewise.
53757         * malloc/mtrace.c: Likewise.
53758         * nscd/nscd_getgr_r.c: Likewise.
53759         * nscd/nscd_getpw_r.c: Likewise.
53760         * nscd/nscd_getserv_r.c: Likewise.
53761         * posix/getopt_init.c: Likewise.
53762         * posix/wordexp.c: Likewise.
53763         * stdio-common/_itoa.c: Likewise.
53764         * stdio-common/printf_fphex.c: Likewise.
53765         * stdio-common/vfprintf.c: Likewise.
53766         * string/_strerror.c: Likewise.
53767         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
53768         * sysdeps/i386/i686/hp-timing.h: Likewise.
53769         * sysdeps/mach/_strerror.c: Likewise.
53770         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
53771         * sysdeps/mach/hurd/sethostid.c: Likewise.
53772         * sysdeps/mach/hurd/xmknodat.c: Likewise.
53773         * sysdeps/mach/xpg-strerror.c: Likewise.
53774         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53775         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53776         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
53777         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
53778         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53779         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
53780         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
53781         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53782         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
53783         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
53784         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
53785         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53786         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
53787         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53788         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53789         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
53790         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
53791         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
53792         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
53793         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
53794         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
53796         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
53798         * stdio-common/_itoa.h: Moved to ...
53799         * sysdeps/generic/_itoa.h: Here.
53801         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
53803         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
53804         instead of "_itoa.h" and "_itowa.h".
53805         * stdio-common/vfprintf.: Likewise.
53807 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53809         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
53810         <bits/wordsize.h>.
53811         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
53812         (__signbit): Likwise.
53813         (llrintf): Likwise.
53814         (llrint): Likwise.
53816 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53818         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
53819         __WORDSIZE != 64.
53821 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
53823         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
53824         OVERFLOW_EXCEPTION_OK.
53825         * math/libm-test.inc ("Philosophy"): Update comment about
53826         exception testing.
53827         (OVERFLOW_EXCEPTION): Define.
53828         (OVERFLOW_EXCEPTION_OK): Likewise.
53829         (INVALID_EXCEPTION_OK): Renumber.
53830         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53831         (IGNORE_ZERO_INF_SIGN): Likewise.
53832         (test_exceptions): Handle FE_OVERFLOW.
53833         (exp10_test): Expect overflow exceptions.
53834         (exp2_test): Likewise.
53835         (expm1_test): Likewise.
53836         (nextafter_test): Likewise.
53837         (pow_test): Likewise.
53838         (scalbn_test): Likewise.
53839         (scalbln_test): Likewise.
53841 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53843         * sysdeps/x86_64/bits/atomic.h
53844         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
53845         64bit integer.
53846         (atomic_exchange_acq): Likewise.
53847         (__arch_exchange_and_add_body): Likewise.
53848         (__arch_add_body): Likewise.
53849         (atomic_add_negative): Likewise.
53850         (atomic_add_zero): Likewise.
53852 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53854         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
53855         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
53857 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53859         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
53860         Check __x86_64__ instead of __WORDSIZE.
53862 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53864         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
53866 2012-03-19  David S. Miller  <davem@davemloft.net>
53868         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53870         * sysdeps/sparc/fpu/fenv_private.h: New file.
53871         * sysdeps/sparc/fpu/math_private.h: Use it.
53872         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
53873         Remove.
53874         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
53875         (libc_feholdexcept_setroundl): Remove.
53876         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
53877         Remove.
53878         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
53879         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
53881 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53883         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
53884         int64_t instead of long int.
53885         (INSERT_WORDS64): Likwise.
53887 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53889         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
53890         _Unwind_GetCFA return to _Unwind_Ptr first.
53892 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
53894         [BZ #13629]
53895         * math/s_clog.c: Include <float.h>.
53896         (__clog): Scale large or subnormal inputs.
53897         * math/s_clogf.c: Likewise.
53898         * math/s_clogl.c: Likewise.
53899         * math/s_clog10.c: Include <float.h>.
53900         (M_LOG10_2): Define.
53901         (__clog10): Scale large or subnormal inputs.
53902         * math/s_clog10f.c: Likewise.
53903         * math/s_clog10l.c: Likewise.
53904         * math/libm-test.inc (clog_test): Add more tests.
53905         (clog10_test): Likewise.
53906         * sysdeps/i386/fpu/libm-test-ulps: Update.
53907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53909         [BZ #11451]
53910         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
53911         x and y.
53912         * math/libm-test.inc (atan2_test): Add another test.
53914         * Makerules (common-objdir-compile): Remove.
53915         * sysdeps/unix/Makefile (config-generated): Do not add
53916         $(unix-generated) to variable.
53917         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
53918         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
53919         Remove rule.
53920         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
53921         Likewise.
53922         [generic bits/local_lim.h] (before-compile): Do not append to
53923         variable.
53924         [generic bits/local_lim.h] (common-generated): Likewise.
53925         [generic sys/param.h] (before-compile): Do not append to variable.
53926         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
53927         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
53928         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
53929         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
53930         include.
53931         [generic sys/param.h] (sys/param.h-includes): Remove variable.
53932         [generic sys/param.h] (sys/param.h-includes): Remove rule.
53933         [generic sys/param.h] ($(addprefix
53934         $(common-objpfx),$(sys/param.h-includes))): Likewise.
53935         [generic sys/param.h] (common-generated): Do not append to
53936         variable.
53937         [generic sys/param.h] (sysdep_headers): Likewise.
53938         [generic bits/errno.h] (before-compile): Do not append to
53939         variable.
53940         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
53941         rule.
53942         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
53943         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
53944         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
53945         [generic bits/errno.h] (common-generated): Do not append to
53946         variable.
53947         [generic bits/ioctls.h] (before-compile): Do not append to
53948         variable.
53949         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
53950         rule.
53951         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
53952         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
53953         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
53954         rule.
53955         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
53956         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
53957         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
53958         [generic bits/ioctls.h] (common-generated): Do not append to
53959         variable.
53960         [generic sys/syscall.h] (syscall.h): Remove variable.
53961         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
53962         rule.
53963         [generic sys/syscall.h] (before-compile): Do not append to
53964         variable.
53965         [generic sys/syscall.h] (common-generated): Likewise.
53966         * sysdeps/unix/errnos-tmpl.c: Remove file.
53967         * sysdeps/unix/errnos.awk: Likewise.
53968         * sysdeps/unix/ioctls-tmpl.c: Likewise.
53969         * sysdeps/unix/ioctls.awk: Likewise.
53970         * sysdeps/unix/mk-local_lim.c: Likewise.
53971         * sysdeps/unix/snarf-ioctls: Likewise.
53973 2012-03-19  Richard Henderson  <rth@twiddle.net>
53975         * sysdeps/i386/fpu/fenv_private.h: New file.
53976         * sysdeps/i386/fpu/math_private.h: Use it.
53977         (math_opt_barrier, math_force_eval): Remove.
53978         (libc_feholdexcept_setround_53bit): Remove.
53979         (libc_feupdateenv_53bit): Remove.
53980         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53981         (math_opt_barrier, math_force_eval): Remove.
53982         (libc_feholdexcept): Remove.
53983         (libc_feholdexcept_setround): Remove.
53984         (libc_fetestexcept, libc_fesetenv): Remove.
53985         (libc_feupdateenv_test): Remove.
53986         (libc_feupdateenv, libc_feholdsetround): Remove.
53987         (libc_feresetround): Remove.
53989         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
53990         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
53992         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
53993         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
53994         (libc_feupdateenv_testl): New.
53995         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
53996         (libc_feupdateenv_testf): New.
53997         (libc_feupdateenv): Use libc_feupdateenv_test.
53998         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
53999         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
54001         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
54002         (libc_feholdsetroundf, libc_feholdsetroundl): New.
54003         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
54004         (libc_feresetround_noex): New.
54005         (libc_feresetround_noexf): New.
54006         (libc_feresetround_noexl): New.
54007         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
54008         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
54009         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
54010         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
54011         SET_RESTORE_ROUND.
54012         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
54013         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
54014         (__cos): Likewise.
54015         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
54016         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
54017         SET_RESTORE_ROUND_NOEX.
54018         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
54019         SET_RESTORE_ROUND_NOEXF.
54020         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
54021         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
54022         (libc_feholdsetroundf): New.
54023         (libc_feresetround, libc_feresetroundf): New.
54025         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
54026         (libc_feholdexcept_setround_53bit): Convert from macro to function.
54027         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
54029         * sysdeps/generic/math_private.h: Include <fenv.h>.
54030         (default_libc_feholdexcept): New.
54031         (default_libc_feholdexcept_setround): New.
54032         (default_libc_fesetenv, default_libc_feupdateenv): New.
54033         (libc_feholdexcept): Only define if undefined.
54034         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
54035         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
54036         (libc_feholdexcept_setroundl): Likewise.
54037         (libc_feholdexcept_setround_53bit): Likewise.
54038         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
54039         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
54040         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
54041         (libc_feupdateenv_53bit): Likewise.
54042         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
54043         (libc_feholdexcept): Convert from macro to inline function.
54044         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
54045         (libc_fesetenv, libc_feupdateenv): Likewise.
54047         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
54048         not previously defined.
54049         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
54050         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
54051         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
54052         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
54053         * sysdeps/ieee754/flt-32/math_private.h: New file.
54054         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
54055         math_private.h below SET_FLOAT_WORD.
54056         (__isnan, __isinf_ns, __finite): Remove.
54057         (__isnanf, __isinf_nsf, __finitef): Remove.
54059 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
54061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54063 2012-03-17  David S. Miller  <davem@davemloft.net>
54065         [BZ #6471]
54066         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
54067         for 2.16.
54069 2012-03-16  David S. Miller  <davem@davemloft.net>
54071         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
54072         warnings.
54074         [BZ #6471]
54075         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
54076         properly.
54077         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
54078         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
54079         sysdep_routines when subdir is sysvipc.
54080         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
54081         __getshmlba helper.
54083         * sysdeps/sparc/fpu/libm-test/ulps: Update.
54085 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54087         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
54088         [__LP64__].
54090 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54092         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
54093         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
54094         (__lround): Renamed to ...
54095         (__llround): This.  Replace long int with long long int.
54096         Define lround functions as aliases of llround functions.
54097         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
54099 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54101         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
54102         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
54103         adresses to uintptr_t.  Replace "long int" and "unsigned long
54104         int" with "greg_t" on va_arg.
54106 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54108         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
54109         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
54111         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
54112         Move e_machine check before EI_CLASS check.  Handle x32
54113         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
54114         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
54115         SKIP_EM_IA_64 and include
54116         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
54118         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
54119         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
54120         (add_system_dir): New macro.
54122         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
54123         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
54125 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
54127         [BZ #2551]
54128         [BZ #2552]
54129         [BZ #2553]
54130         [BZ #2554]
54131         [BZ #2562]
54132         [BZ #2563]
54133         [BZ #2565]
54134         [BZ #2566]
54135         [BZ #2576]
54136         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
54137         (y0): Likewise.
54138         * math/w_j0f.c (j0f): Likewise.
54139         (y0f): Likewise.
54140         * math/w_j0l.c (__j0l): Likewise.
54141         (__y0l): Likewise.
54142         * math/w_j1.c (j1): Likewise.
54143         (y1): Likewise.
54144         * math/w_j1f.c (j1f): Likewise.
54145         (y1f): Likewise.
54146         * math/w_j1l.c (__j1l): Likewise.
54147         (__y1l): Likewise.
54148         * math/w_jn.c (jn): Likewise.
54149         (yn): Likewise.
54150         * math/w_jnf.c (jnf): Likewise.
54151         (ynf): Likewise.
54152         * math/w_jnl.c (__jnl): Likewise.
54153         (__ynl): Likewise.
54154         * math/libm-test.inc (j0_test): Add more tests.
54155         (j1_test): Likewise.
54156         (jn_test): Likewise.  Add trailing semicolon to existing test.
54157         (y0_test): Likewise.
54158         (y1_test): Likewise.
54159         * sysdeps/i386/fpu/libm-test-ulps: Update.
54160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54162         [BZ #13851]
54163         [BZ #13854]
54164         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
54165         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
54166         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
54167         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
54168         (__tanl): Set errno for infinite argument.
54169         * sysdeps/i386/fpu/mptan.c: Remove.
54170         * sysdeps/i386/fpu/s_tan.S: Likewise.
54171         * sysdeps/i386/fpu/s_tanl.S: Likewise.
54172         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
54173         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
54174         * math/libm-test.inc (tan_test): Add more tests and enable more
54175         tests for double and long double.
54176         * sysdeps/i386/fpu/libm-test-ulps: Update.
54177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54179 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
54181         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
54182         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
54184 2012-03-16  Roland McGrath  <roland@hack.frob.com>
54186         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
54187         * configure.in: Use it for both main tree and add-ons.
54188         * configure: Regenerated.
54190 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54192         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
54194 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
54196         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
54197         in comment.
54199         [BZ #13851]
54200         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
54201         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
54202         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
54203         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
54204         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
54205         infinite argument.
54206         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
54207         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
54208         != 0 for prec == 2.
54209         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
54210         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
54211         * sysdeps/i386/fpu/s_cosl.S: Likewise.
54212         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
54213         * sysdeps/i386/fpu/s_sinl.S: Likewise.
54214         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
54215         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
54216         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
54217         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
54218         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
54219         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
54220         * math/libm-test.inc (cos_test): Add more tests and enable more
54221         tests for long double.
54222         (sin_test): Likewise.
54223         (sincos_test): Likewise.
54224         * sysdeps/i386/fpu/libm-test-ulps: Update.
54225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54227 2012-03-16  David S. Miller  <davem@davemloft.net>
54229         * sysdeps/sparc/fpu/math_private.h: New file.
54231 2012-03-15  David S. Miller  <davem@davemloft.net>
54233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
54234         file.
54235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
54236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
54237         file.
54238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
54239         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
54240         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
54241         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
54242         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
54243         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
54244         sysdep routines.
54245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54247         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
54248         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
54250         * sysdeps/sparc/sparc-ifunc.h: New file.
54251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
54252         sparc-ifunc.h
54253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
54254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
54255         Likewise.
54256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
54257         Likewise.
54258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
54259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
54260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
54262         Likewise.
54263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
54265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
54267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
54268         Likewise.
54269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
54270         Likewise.
54271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
54273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
54274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
54275         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
54276         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
54277         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
54278         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
54279         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
54280         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
54281         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
54282         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
54283         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
54284         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
54285         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
54286         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
54287         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
54288         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
54289         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
54290         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
54291         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
54292         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
54293         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
54294         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
54296 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54298         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
54299         scaling.
54300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54302 2012-03-15  Andreas Jaeger  <aj@suse.de>
54304         [BZ #13852]
54305         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
54306         ieee754/flt-32 implementation for sin, cos and sincos.
54307         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
54308         * sysdeps/i386/fpu/s_cosf.S: Likewise.
54309         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
54310         * sysdeps/i386/fpu/s_sinf.S: Likewise.
54311         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
54312         ieee754/flt-32 implementation for tan.
54314         * math/libm-test.inc (cos_test): Enable some large input tests for
54315         float as well
54316         (sin_test): Likewise.
54317         (sincos_test): Likewise.
54318         (tan_test): Add tests for large input.
54320         * sysdeps/i386/fpu/libm-test-ulps: Update.
54322 2012-03-15  Andreas Jaeger  <aj@suse.de>
54324         [BZ #13658]
54325         * math/libm-test.inc (cos_test): Add more test cases.
54326         (sin_test): Likewise.
54327         (sincos_test): Likewise.
54329 2012-03-15  Andreas Jaeger  <aj@suse.de>
54331         [BZ #13837]
54332         * math/libm-test.inc (cos_test): Add a test case for large input
54333         value.
54334         (sin_test): Likewise.
54335         (sincos_test): Likewise.
54337 2012-03-15  Andreas Jaeger  <aj@suse.de>
54338             Joseph Myers  <joseph@codesourcery.com>
54340         [BZ #13658]
54341         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
54342         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
54343         * sysdeps/i386/fpu/branred.c: Likewise.
54344         * sysdeps/i386/fpu/dosincos.c: Likewise.
54345         * sysdeps/i386/fpu/mpa.c: Likewise.
54346         * sysdeps/i386/fpu/s_cos.S: Likewise.
54347         * sysdeps/i386/fpu/s_sin.S: Likewise.
54348         * sysdeps/i386/fpu/s_sincos.S: Likewise.
54349         * sysdeps/i386/fpu/sincos32.c: Likewise.
54351         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
54352         Define.
54353         (libc_feupdateenv_53bit): Define.
54354         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
54355         Define.
54356         (libc_feupdateenv_53bit): Define.
54358         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
54359         53 bit (without extend i386 double precision).
54361         * math/libm-test.inc (sincos_test): Add tests for large input.
54362         (sin): Likewise.
54363         (cos): Likewise.
54365         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
54367 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54369         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54371 2012-03-15  David S. Miller  <davem@davemloft.net>
54373         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
54374         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
54375         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
54376         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
54377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
54378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
54379         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
54380         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
54381         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
54382         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
54383         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
54384         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
54385         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
54386         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
54387         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
54388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
54389         file.
54390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
54391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
54392         file.
54393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
54394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
54395         file.
54396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
54397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
54398         file.
54399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
54400         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
54401         fmin/fmax sysdep routines.
54402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54404 2012-03-14  David S. Miller  <davem@davemloft.net>
54406         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
54407         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
54408         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
54409         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
54410         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
54411         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
54412         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
54413         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
54414         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
54415         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
54416         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
54417         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
54418         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
54419         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
54420         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
54421         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
54422         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
54423         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
54424         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
54425         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
54426         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
54427         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
54428         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
54429         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
54430         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
54431         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
54432         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
54433         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
54434         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
54435         routines.
54436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
54437         file.
54438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
54439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
54440         file.
54441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
54442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
54443         file.
54444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
54445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
54446         file.
54447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
54448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
54449         file.
54450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
54451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
54452         file.
54453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
54454         file.
54455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
54456         file.
54457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
54458         file.
54459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
54460         New file.
54461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
54462         file.
54463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
54464         file.
54465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
54466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
54467         file.
54468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
54469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
54470         file.
54471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
54472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
54473         file.
54474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
54475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
54476         VIS3 routines.
54478         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54479         New file.
54481         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54483         * sysdeps/sparc/configure.in: New file.
54484         * sysdeps/sparc/configure: Generate.
54485         * configure.in (libc_cv_sparc_as_vis3): Substitute.
54486         * configure: Regenerate.
54487         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
54488         * config.make.in (have-as-vis3): New.
54489         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
54490         available use -Av9d instead of -Av9a.
54491         * sysdeps/sparc/sparc64/Makefile: Likewise.
54492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
54493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
54494         New file.
54495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
54496         file.
54497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
54498         New file.
54499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
54500         file.
54501         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
54502         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
54503         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
54504         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
54505         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
54507         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
54508         fzeros/fnegs to load 0x80000000 into a float register instead of
54509         using the stack.
54510         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
54512 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54514         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54515         bits/syscall.h.
54516         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
54517         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
54518         ($(inst_includedir)/bits/syscall.h): Remove rule.
54519         ($(objpfx)bits/syscall.d): Include instead of
54520         $(objpfx)syscall-list.d.
54521         (generated): Change syscall-list.h and syscall-list.d to
54522         bits/syscall.h and bits/syscall.d.
54524 2012-03-14  Roland McGrath  <roland@hack.frob.com>
54526         [BZ #13846]
54527         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
54529 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54531         [BZ #13841]
54532         * math/s_csqrt.c: Include <float.h>.
54533         (__csqrt): Scale large or subnormal inputs.
54534         * math/s_csqrtf.c: Likewise.
54535         * math/s_csqrtl.c: Likewise.
54536         * math/libm-test.inc (csqrt_test): Add more tests.
54537         * sysdeps/i386/fpu/libm-test-ulps: Update.
54538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54540         [BZ #13840]
54541         * math/libm-test.inc (hypot_test): Add more tests.
54543 2012-03-13  David S. Miller  <davem@davemloft.net>
54545         [BZ #13840]
54546         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
54547         double-precision for the calculation instead of scaling.
54549 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
54551         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
54552         manipulate bits before adding and subtracting TWO52[sx].
54553         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
54554         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
54555         Likewise.
54556         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
54558 2012-03-13  David S. Miller  <davem@davemloft.net>
54560         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
54561         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
54562         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
54563         rtld-global-offsets.h
54564         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54566         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
54567         large parameters.
54569         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
54571         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
54572         'err' in the ifdef scope in which it is actually used.
54574         * nss/nss_db/db-init.c: Include string.h
54576 2012-03-12  David S. Miller  <davem@davemloft.net>
54578         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54579         masking out of the most significant byte of random value used.
54580         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54581         Fix coding style in previous change.
54583         * sysdeps/unix/sysv/linux/kernel-features.h
54584         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
54585         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
54586         expression.
54587         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
54588         later.
54590 2012-03-11  David S. Miller  <davem@davemloft.net>
54592         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54593         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
54594         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
54595         for 'resultvar' otherwise things get truncated on 64-bit.
54597         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54598         Fix masking out of the most significant byte of random value used.
54600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54602 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
54604         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54606 2012-03-09  David S. Miller  <davem@davemloft.net>
54608         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
54609         variables with appropriate CPP guards.
54610         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
54611         from the frame pointer, not the stack pointer.  Correct layout
54612         comments.  Fix test on resulting framesize and the management of
54613         the outregs buffer for pltexit.  Preserve floating point return
54614         values across _dl_call_pltexit call.
54615         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
54616         framesize and the management of the outregs buffer for pltexit.
54617         Preserve floating point return values across _dl_call_pltexit
54618         call.
54619         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
54620         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
54621         (la_sparc64_gnu_pltexit): New functions.
54622         (print_exit): Fix format string for return register value.
54624 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
54626         * sunrpc/Makefile (others): Add rpcgen.
54627         ($(objpfx)rpcgen): Remove special build rule and dependency on
54628         libc.
54629         * sunrpc/rpcgen.c: New file.
54631 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
54633         [BZ #13673]
54634         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
54635         * stdio-common/bug-vfprintf-nargs.c: Likewise.
54636         * sysdeps/i386/crti.S: Likewise.
54637         * sysdeps/i386/crtn.S: Likewise.
54638         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
54639         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
54640         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
54641         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
54642         * sysdeps/sh/crti.S: Likewise.
54643         * sysdeps/sh/crtn.S: Likewise.
54644         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54646         [BZ #13673]
54647         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
54648         with URL.
54649         * locale/programs/locfile-kw.gperf: Likewise.
54650         * locale/programs/charmap-kw.h: Regenerated.
54651         * locale/programs/locfile-kw.h: Likewise.
54653         [BZ #13673]
54654         * intl/plural.y: Replace FSF snail mail address with URL.
54655         * intl/plural.c: Regenerated.
54657 2012-03-09  Richard Henderson  <rth@twiddle.net>
54659         * include/math_private.h: Remove file.
54660         * math/math_private.h: Move file ...
54661         * sysdeps/generic/math_private.h: ... here.
54663         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
54664         * sysdeps/powerpc/fpu/math_private.h: Likewise.
54665         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54667         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
54668         and <math_private.h>.
54669         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54670         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54671         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54672         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54673         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54674         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
54675         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54676         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54677         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54678         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54679         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54680         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54681         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54682         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54683         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54684         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54685         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54686         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54687         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54688         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54689         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54690         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54691         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54692         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54693         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54694         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54695         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54696         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54697         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54698         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54699         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54700         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54701         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54702         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54703         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54704         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54705         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54706         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54707         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54708         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54709         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54710         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54711         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54712         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54713         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54714         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54715         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
54716         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54717         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54718         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54719         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54720         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
54721         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54722         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54723         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54724         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54725         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54726         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54727         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54728         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
54729         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54730         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54731         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54732         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54733         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
54734         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54735         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54736         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54737         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
54738         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
54739         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54740         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54741         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54742         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54743         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54744         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54745         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54746         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54747         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54748         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54749         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54750         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54751         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54752         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54753         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54754         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54755         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54756         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54757         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54758         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54759         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54760         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54761         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54762         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54763         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54764         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54765         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54766         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54767         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54768         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54769         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54770         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54771         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54772         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54773         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54774         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54775         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54776         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54777         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54778         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54779         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54780         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54781         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54782         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54783         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
54784         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54785         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54786         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54787         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54788         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54789         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54790         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54791         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54792         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
54793         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54794         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54795         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54796         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
54797         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54798         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
54799         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
54800         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54801         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54802         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
54803         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
54804         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54805         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54806         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54807         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
54808         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54809         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54810         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54811         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54812         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
54813         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
54814         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54815         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54816         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54817         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
54818         * sysdeps/ieee754/k_standard.c: Likewise.
54819         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54820         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54821         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54822         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54823         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54824         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54825         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54826         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54827         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54828         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54829         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54830         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54831         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54832         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54833         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54834         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54835         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54836         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54837         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54838         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
54839         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
54840         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
54841         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54842         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54843         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54844         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
54845         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54846         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54847         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54848         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54849         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54850         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54851         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54852         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54853         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54854         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54855         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54856         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
54857         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
54858         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54859         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54860         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54861         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54862         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54863         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54864         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54865         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54866         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54867         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54868         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54869         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54870         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54871         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54872         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
54873         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54874         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54875         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
54876         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
54877         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54878         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54879         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54880         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54881         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54882         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54883         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54884         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54885         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54886         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54887         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54888         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54889         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54890         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54891         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54892         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54893         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54894         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54895         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
54896         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54897         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54898         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54899         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54900         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54901         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54902         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54903         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
54904         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54905         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54906         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
54907         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54908         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54909         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
54910         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54911         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
54912         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54913         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54914         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54915         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
54916         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
54917         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
54918         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
54919         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54920         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54921         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54922         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54923         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
54924         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54925         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54926         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
54927         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
54928         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54929         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54930         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54931         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54932         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54933         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54934         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54935         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54936         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54937         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54938         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54939         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54940         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54941         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54942         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54943         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54944         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
54945         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54946         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54947         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54948         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54949         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54950         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54951         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54952         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54953         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54954         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54955         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
54956         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54957         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54958         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
54959         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
54960         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54961         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
54962         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
54963         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54964         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54965         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54966         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54967         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54968         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
54969         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54970         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54971         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54972         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54973         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
54974         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
54975         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54976         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54977         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54978         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54979         * sysdeps/ieee754/s_lib_version.c: Likewise.
54980         * sysdeps/ieee754/s_matherr.c: Likewise.
54981         * sysdeps/ieee754/s_signgam.c: Likewise.
54982         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54983         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54984         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
54985         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
54986         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
54987         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54988         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
54989         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
54990         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
54991         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
54992         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54993         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
54994         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54995         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54996         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
54997         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54998         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54999         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55000         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55001         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55002         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55004 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
55006         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
55007         * sunrpc/rpc_main.c: Likewise.
55008         * sunrpc/rpc_svcout.c: Likewise.
55010 2012-03-09  David S. Miller  <davem@davemloft.net>
55012         * include/math_private.h: New file.
55014 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
55016         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
55017         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
55018         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
55019         from <bits/socket_type.h>.
55020         (enum __socket_type): Don't define here.
55021         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
55022         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55023         bits/socket_type.h.
55025         [BZ #13566]
55026         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
55027         checking __USE_GNU.
55029         * Makerules ($(inst_includedir)/%.h): New rule.
55030         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
55031         (install-others): Remove variable setting.
55032         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
55034 2012-03-08  Richard Henderson  <rth@twiddle.net>
55036         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
55037         from macro to inline function; merge with the
55038         !__LIBC_INTERNAL_MATH_INLINES version.
55039         (__ieee754_sqrtf): Likewise.
55041         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
55042         to inline function.
55043         (__rintf, __floor, __floorf): Likewise.
55045         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
55046         macro to inline function.
55047         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
55049         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
55050         not <math/math_private.h>.
55052 2012-03-08  David S. Miller  <davem@davemloft.net>
55054         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
55055         copyright year.
55056         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
55058 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
55060         * resolv/gai_misc.c (handle_requests): Fix struct timespec
55061         normalization.
55062         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
55063         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
55065 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
55067         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
55068         be defined individually, they must be defined as a block.  Define
55069         S for printing a string instead of hidint the different by using a
55070         macro for adding the 'l'.
55071         * stdio-common/tst-fphex-wide.c: Adjust.
55073 2012-03-07  Marek Polacek  <polacek@redhat.com>
55075         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
55077 2012-03-08  Marek Polacek  <polacek@redhat.com>
55079         [BZ #13806]
55080         * stdio-common/Makefile (tests): Add tst-fphex-wide.
55081         * stdio-common/tst-fphex.c: Define a few macros to make the
55082         test reusable.  Use them.
55083         * stdio-common/tst-fphex-wide.c: New file.
55085 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
55087         [BZ #6911]
55088         * manual/macros.texi (gnusystems): New macro.
55089         (nongnusystems): Likewise.
55090         (gnulinuxhurdsystems): Likewise.
55091         (gnuhurdsystems): Likewise..
55092         (gnulinuxsystems): Likewise.
55093         * manual/charset.texi: Use new macros or @theglibc{} to refer to
55094         variants of the GNU system, not "GNU system".
55095         * manual/conf.texi: Likewise.
55096         * manual/errno.texi: Likewise.  Update example of errno macro
55097         expansion.
55098         * manual/filesys.texi: Likewise.
55099         (getumask): Document as specific to GNU/Hurd.
55100         * manual/install.texi: Likewise.  Reword some references to
55101         GNU/Linux.
55102         * manual/intro.texi: Likewise.
55103         * manual/io.texi: Likewise.
55104         (File Name Portability): Detail which constraints are inapplicable
55105         to all GNU systems and which are only inapplicable to GNU/Hurd.
55106         * manual/job.texi: Likewise.
55107         * manual/llio.texi: Likewise.
55108         (O_NOCTTY): Document as present on GNU/Linux.
55109         * manual/maint.texi: Likewise.
55110         * manual/memory.texi: Likewise.
55111         * manual/pattern.texi: Likewise.
55112         * manual/pipe.texi: Likewise.
55113         * manual/process.texi: Likewise.
55114         * manual/resource.texi: Likewise.
55115         (RUSAGE_CHILDREN): Remove statement about specifying a particular
55116         child on GNU/Hurd.
55117         * manual/setjmp.texi: Likewise.
55118         * manual/signal.texi: Likewise.
55119         * manual/startup.texi: Likewise.
55120         * manual/stdio.texi: Likewise.
55121         * manual/terminal.texi: Likewise.
55122         (ONLCR): Document as POSIX.
55123         (OXTABS): Document availability on GNU/Linux as XTABS.
55124         (ONOEOT): Document availability separately from other bits.
55125         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
55126         * manual/time.texi: Likewise.
55127         * manual/users.texi: Likewise.
55128         * INSTALL: Regenerated.
55129         * sysdeps/gnu/errlist.c: Regenerated.
55131         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
55132         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
55133         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
55134         puts.
55135         * configure: Regenerated.
55137 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
55139         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
55140         default includes instead of AC_HEADER_CHECK.
55141         * sysdeps/i386/configure: Regenerated.
55143         [BZ #10716]
55144         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
55145         * math/s_cacoshf.c (__cacoshf): Likewise.
55146         * math/s_cacoshl.c (__cacoshl): Likewise.
55147         * math/s_casinh.c (__casinh): Set signs of result from argument.
55148         * math/s_casinhf.c (__casinhf): Likewise.
55149         * math/s_casinhl.c (__casinhl): Likewise.
55150         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
55151         (casinh_test): Add more tests.
55152         * sysdeps/i386/fpu/libm-test-ulps: Update.
55153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55155 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
55157         * po/zh_TW.po: Update from translation team.
55159         * login/Makefile (distribute): Remove variable.
55160         * catgets/Makefile: Likewise.
55161         * mach/Makefile: Likewise.
55162         * malloc/Makefile: Likewise.
55163         * misc/Makefile: Likewise.
55164         * iconv/Makefile: Likewise.
55165         * nscd/Makefile: Likewise.
55166         * hurd/Makefile: Likewise.
55167         * manual/Makefile: Likewise.
55168         * locale/Makefile: Likewise.
55169         * intl/Makefile: Likewise.
55170         * conform/Makefile: Likewise.
55171         * nss/Makefile: Likewise.
55172         * time/Makefile: Likewise.
55173         * soft-fp/Makefile: Likewise.
55174         * dirent/Makefile: Likewise.
55175         * gmon/Makefile: Likewise.
55176         * po/Makefile: Likewise.
55177         * rt/Makefile: Likewise.
55178         * socket/Makefile: Likewise.
55179         * math/Makefile: Likewise.
55180         * signal/Makefile: Likewise.
55181         * debug/Makefile: Likewise.
55182         * elf/Makefile: Likewise.
55183         * timezone/Makefile: Likewise.
55184         * stdlib/Makefile: Likewise.
55185         * iconvdata/Makefile: Likewise.
55186         * sunrpc/Makefile: Likewise.
55187         * io/Makefile: Likewise.
55188         * argp/Makefile: Likewise.
55189         * inet/Makefile: Likewise.
55190         * hesiod/Makefile: Likewise.
55191         * grp/Makefile: Likewise.
55192         * csu/Makefile: Likewise.
55193         * wctype/Makefile: Likewise.
55194         * crypt/Makefile: Likewise.
55195         * libio/Makefile: Likewise.
55196         * string/Makefile: Likewise.
55197         * nis/Makefile: Likewise.
55198         * resolv/Makefile: Likewise.
55199         * stdio-common/Makefile: Likewise.
55200         * wcsmbs/Makefile: Likewise.
55201         * dlfcn/Makefile: Likewise.
55202         * posix/Makefile: Likewise.
55204         [BZ #6959]
55205         * timezone/Makefile: Don't install timezone files, just the programs
55206         and scripts.
55208 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
55210         * nss/databases.def: Add missing gshadow entry.
55212         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
55214 2012-03-06  Marek Polacek  <polacek@redhat.com>
55216         [BZ #13726]
55217         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
55218         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55219         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
55220         * stdio-common/tst-long-dbl-fphex.c: New file.
55222 2012-03-06  David S. Miller  <davem@davemloft.net>
55224         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55225         (set_obp_int): New function.
55226         (get_obp_int): New function.
55227         (__get_clockfreq_via_dev_openprom): Likewise.
55228         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
55229         Avoid unused variable warnings on 'val' and use builtin_expect.
55230         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
55231         __builtin_expect.
55232         (INLINE_CLONE_SYSCALL): Likewise.
55234 2012-03-05  David S. Miller  <davem@davemloft.net>
55236         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55238 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
55240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55242         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
55243         only for |x| >= 40.
55244         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55246 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
55248         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
55249         Replace gettimeofday with __vdso_gettimeofday.
55251         * sysdeps/unix/sysv/linux/x86_64/init-first.c
55252         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
55253         __vdso_clock_gettime and __vdso_getcpu.
55255         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
55256         time with __vdso_time.
55258 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
55260         * manual/lang.texi (size_t): Note types to which size_t may be
55261         equivalent with the GNU C Library, but do not describe when
55262         differences between them are significant.
55264 2012-03-05  Andreas Jaeger  <aj@suse.de>
55266         * sysdeps/i386/fpu/libm-test-ulps: Update.
55268 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
55270         [BZ #3976]
55271         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
55272         (__ieee754_pow): Save and restore rounding mode and use
55273         round-to-nearest for main computations.
55274         * math/libm-test.inc (pow_test_tonearest): New function.
55275         (pow_test_towardzero): Likewise.
55276         (pow_test_downward): Likewise.
55277         (pow_test_upward): Likewise.
55278         (main): Call the new functions.
55279         * sysdeps/i386/fpu/libm-test-ulps: Update.
55280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55282         [BZ #3976]
55283         * math/libm-test.inc (cosh_test_tonearest): New function.
55284         (cosh_test_towardzero): Likewise.
55285         (cosh_test_downward): Likewise.
55286         (cosh_test_upward): Likewise.
55287         (sinh_test_tonearest): Likewise.
55288         (sinh_test_towardzero): Likewise.
55289         (sinh_test_downward): Likewise.
55290         (sinh_test_upward): Likewise.
55291         (main): Call the new functions.
55292         * sysdeps/i386/fpu/libm-test-ulps: Update.
55293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55295 2012-03-05  Tom de Vries  <tom@codesourcery.com>
55297         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
55298         default stack guard is set in last bytes.
55299         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
55301 2012-03-05  Kees Cook  <keescook@chromium.org>
55303         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
55305         [BZ #13656]
55306         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
55307         possibly allocate from heap instead of stack.
55308         * stdio-common/bug-vfprintf-nargs.c: New file.
55309         * stdio-common/Makefile (tests): Add nargs overflow test.
55311 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
55313         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55315 2012-03-03  Marek Polacek  <polacek@redhat.com>
55317         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
55318         * math/math_private.h: Likewise.
55319         * stdlib/tst-strtod.c: Likewise.
55320         * sysdeps/i386/i486/bits/atomic.h: Likewise.
55321         * sysdeps/x86_64/bits/atomic.h: Likewise.
55323 2012-03-02  David S. Miller  <davem@davemloft.net>
55325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
55326         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
55327         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
55328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
55329         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
55330         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
55331         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
55332         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
55334 2012-03-02  Roland McGrath  <roland@hack.frob.com>
55336         [BZ #13792]
55337         * manual/examples/README: New file, says the example source files
55338         can be used under GPL>=2.
55339         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
55340         line containing just "*/".
55341         * manual/examples/add.c: Add copyright header (GPL>=2).
55342         * manual/examples/argp-ex1.c: Likewise.
55343         * manual/examples/argp-ex2.c: Likewise.
55344         * manual/examples/argp-ex3.c: Likewise.
55345         * manual/examples/argp-ex4.c: Likewise.
55346         * manual/examples/atexit.c: Likewise.
55347         * manual/examples/db.c: Likewise.
55348         * manual/examples/dir.c: Likewise.
55349         * manual/examples/dir2.c: Likewise.
55350         * manual/examples/execinfo.c: Likewise.
55351         * manual/examples/filecli.c: Likewise.
55352         * manual/examples/filesrv.c: Likewise.
55353         * manual/examples/fmtmsgexpl.c: Likewise.
55354         * manual/examples/genpass.c: Likewise.
55355         * manual/examples/inetcli.c: Likewise.
55356         * manual/examples/inetsrv.c: Likewise.
55357         * manual/examples/isockad.c: Likewise.
55358         * manual/examples/longopt.c: Likewise.
55359         * manual/examples/memopen.c: Likewise.
55360         * manual/examples/memstrm.c: Likewise.
55361         * manual/examples/mkfsock.c: Likewise.
55362         * manual/examples/mkisock.c: Likewise.
55363         * manual/examples/mygetpass.c: Likewise.
55364         * manual/examples/pipe.c: Likewise.
55365         * manual/examples/popen.c: Likewise.
55366         * manual/examples/rprintf.c: Likewise.
55367         * manual/examples/search.c: Likewise.
55368         * manual/examples/select.c: Likewise.
55369         * manual/examples/setjmp.c: Likewise.
55370         * manual/examples/sigh1.c: Likewise.
55371         * manual/examples/sigusr.c: Likewise.
55372         * manual/examples/stpcpy.c: Likewise.
55373         * manual/examples/strdupa.c: Likewise.
55374         * manual/examples/strftim.c: Likewise.
55375         * manual/examples/strncat.c: Likewise.
55376         * manual/examples/subopt.c: Likewise.
55377         * manual/examples/swapcontext.c: Likewise.
55378         * manual/examples/termios.c: Likewise.
55379         * manual/examples/testopt.c: Likewise.
55380         * manual/examples/testpass.c: Likewise.
55381         * manual/examples/timeval_subtract.c: Likewise.
55383         [BZ #13792]
55384         * manual/time.texi (Elapsed Time): Move timeval_subtract example
55385         function to ...
55386         * manual/timeval_subtract.c.texi: ... here, new file.
55388 2012-03-02  David S. Miller  <davem@davemloft.net>
55390         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
55392 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
55394         [BZ #3976]
55395         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
55396         (__sin): Save and restore rounding mode and use round-to-nearest
55397         for all computations.
55398         (__cos): Save and restore rounding mode and use round-to-nearest
55399         for all computations.
55400         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
55401         <fenv.h>.
55402         (tan): Save and restore rounding mode and use round-to-nearest for
55403         all computations.
55404         * math/libm-test.inc (cos_test_tonearest): New function.
55405         (cos_test_towardzero): Likewise.
55406         (cos_test_downward): Likewise.
55407         (cos_test_upward): Likewise.
55408         (sin_test_tonearest): Likewise.
55409         (sin_test_towardzero): Likewise.
55410         (sin_test_downward): Likewise.
55411         (sin_test_upward): Likewise.
55412         (tan_test_tonearest): Likewise.
55413         (tan_test_towardzero): Likewise.
55414         (tan_test_downward): Likewise.
55415         (tan_test_upward): Likewise.
55416         (main): Call the new functions.
55417         * sysdeps/i386/fpu/libm-test-ulps: Update.
55418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55420         [BZ #10135]
55421         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
55422         small n, then large n, before computing and testing k+n.
55423         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
55424         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
55425         Likewise.
55426         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
55427         Likewise.
55428         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
55429         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
55430         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
55431         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
55432         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55433         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55434         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
55435         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
55436         * math/libm-test.inc (scalbn_test): Add more tests.
55437         (scalbln_test): Likewise.
55439         * manual/filesys.texi (mode_t): Describe constraints on size and
55440         signedness, not exact equivalence to a particular type.
55441         (ino_t): Likewise.
55442         (ino64_t): Likewise.
55443         (dev_t): Likewise.
55444         (nlink_t): Likewise.
55445         (blkcnt_t): Likewise.
55446         (blkcnt64_t): Likewise.
55447         * manual/llio.texi (off_t): Likewise.
55449         [BZ #3976]
55450         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
55451         (__ieee754_exp): Save and restore rounding mode and use
55452         round-to-nearest for all computations.
55453         * math/libm-test.inc (exp_test_tonearest): New function.
55454         (exp_test_towardzero): Likewise.
55455         (exp_test_downward): Likewise.
55456         (exp_test_upward): Likewise.
55457         (main): Call the new functions.
55458         * sysdeps/i386/fpu/libm-test-ulps: Update.
55459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55461 2012-03-01  Chris Demetriou  <cgd@google.com>
55463         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
55464         have predictable order.
55466 2012-03-01  David S. Miller  <davem@davemloft.net>
55468         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
55470         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
55471         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
55472         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
55473         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
55475         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
55476         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
55477         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
55478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
55479         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
55480         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
55481         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
55482         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
55483         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
55485         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55487         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
55488         * sysdeps/sparc/fpu/libm-test-ulps: to here.
55489         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
55491         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
55492         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55493         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55494         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
55495         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
55496         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
55497         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
55498         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55499         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55500         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
55501         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
55502         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55503         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55504         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55505         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55506         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55507         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
55508         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
55509         * sysdeps/sparc/elf/configure: Regenerated.
55511 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
55513         * configure.in (AS, LD): Require binutils 2.20 or later.
55514         * configure: Regenerated.
55515         * manual/install.texi (Tools for Compilation): Give binutils 2.20
55516         as required minimum version.
55517         * INSTALL: Regenerated.
55519         [BZ #2541]
55520         [BZ #4108]
55521         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
55522         before squaring exponent.
55523         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
55524         bottom long double and 27 bits of top long double before squaring
55525         exponent.
55526         * math/libm-test.inc (erfc_test): Add more tests.
55527         * sysdeps/i386/fpu/libm-test-ulps: Update.
55528         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55531 2012-03-01  Kai Tietz  <ktietz@redhat.com>
55533         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
55534         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
55535         containing bit-fields.
55536         * soft-fp/extended.h (_FP_UNION_E): Likewise.
55537         * soft-fp/single.h (_FP_UNION_S): Likewise.
55538         * soft-fp/double.h (_FP_UNION_D): Likewise.
55540 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55542         [BZ #13786]
55543         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
55544         not include ../strcmp.S.
55545         [USE_AS_STRNCASECMP_L]: Likewise.
55546         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
55547         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
55548         * sysdeps/i386/i686/multiarch/strncase_l-c.c
55549         (__strncasecmp_l_ia32): Define as alias to
55550         __strncasecmp_l_nonascii.
55552         [BZ #5794]
55553         * math/libm-test.inc (expm1_test): Add test for bug 5794.
55554         * sysdeps/i386/fpu/libm-test-ulps: Update.
55555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55557         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
55558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55560 2012-02-29  Jeff Law  <law@redhat.com>
55562         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
55563         out of bounds read.
55565 2012-02-29  Marek Polacek  <polacek@redhat.com>
55567         [BZ #13706]
55568         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
55569         * elf/Makefile: Add rules to run tst-unused-dep.out.
55571 2012-02-28  David S. Miller  <davem@davemloft.net>
55573         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
55574         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
55575         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
55576         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
55577         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
55578         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
55580 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55582         * math/libm-test.inc (llround_test): Move one test from
55583         lround_test.  Use TEST_f_L in moved test.
55584         (lround_test): Move misplaced test to llround_test.  Add testcase
55585         from bug 2561.
55587 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
55589         * sysdeps/x86_64/fpu/e_expf.S: New file.
55590         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
55592 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
55594         [BZ #13637]
55595         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
55596         of remain_len that may cause incomplete multi-byte character and
55597         false match.
55598         * posix/bug-regex33.c: New file.
55599         * posix/Makefile (tests): Add bug-regex33.
55601 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
55603         * manual/macros.texi: New file.
55604         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
55605         * manual/libc.texinfo: Include macros.texi.
55606         * manual/creatute.texi: Likewise.
55607         * manual/install.texi: Likewise.
55608         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
55609         @glibcadj{} in references to the GNU C Library.
55610         * manual/charset.texi: Likewise.
55611         * manual/conf.texi: Likewise.
55612         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
55613         when not using those macros.
55614         * manual/creature.texi: Likewise.
55615         * manual/crypt.texi: Likewise.
55616         * manual/errno.texi: Likewise.
55617         * manual/filesys.texi: Likewise.
55618         * manual/header.texi: Likewise.
55619         * manual/install.texi: Likewise.
55620         * manual/intro.texi: Likewise.
55621         * manual/io.texi: Likewise.
55622         * manual/job.texi: Likewise.
55623         * manual/lang.texi: Likewise.
55624         * manual/libc.texiinfo: Likewise.
55625         * manual/llio.texi: Likewise.
55626         * manual/locale.texi: Likewise.
55627         * manual/maint.texi: Likewise.
55628         * manual/math.texi: Likewise.
55629         * manual/memory.texi: Likewise.
55630         * manual/message.texi: Likewise.
55631         * manual/nss.texi: Likewise.
55632         * manual/pattern.texi: Likewise.
55633         * manual/process.texi: Likewise.
55634         * manual/resource.texi: Likewise.
55635         * manual/search.texi: Likewise.
55636         * manual/setjmp.texi: Likewise.
55637         * manual/signal.texi: Likewise.
55638         * manual/socket.texi: Likewise.
55639         * manual/startup.texi: Likewise.
55640         * manual/stdio.texi: Likewise.
55641         * manual/string.texi: Likewise.
55642         * manual/sysinfo.texi: Likewise.
55643         * manual/syslog.texi: Likewise.
55644         * manual/terminal.texi: Likewise.
55645         * manual/time.texi: Likewise.
55646         * manual/users.texi: Likewise.
55647         * INSTALL: Regenerated.
55648         * NOTES: Regenerated.
55649         * sysdeps/gnu/errlist.c: Regenerated.
55651 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
55653         * include/dirent.h: Include <dirstream.h> before
55654         <dirent/dirent.h>.
55656 2012-02-28  David S. Miller  <davem@davemloft.net>
55658         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
55659         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
55660         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
55661         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
55663 2012-02-27  David S. Miller  <davem@davemloft.net>
55665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
55666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
55667         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
55668         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
55670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
55671         frame pointer instead of stack pointer relative arg slot.
55672         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55673         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55674         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55676 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
55678         [BZ #3992]
55679         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
55681 2012-02-27  David S. Miller  <davem@davemloft.net>
55683         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
55684         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55685         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
55687         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55688         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55689         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
55690         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
55692 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55694         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
55695         later.  Allow versions 5-9.
55696         * configure: Regenerated.
55697         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
55698         required minimum version and 4.6 as recommended version.  Do not
55699         mention bugs in GCC 2.7 and 2.8.
55700         * INSTALL: Regenerated.
55702 2012-02-27  David S. Miller  <davem@davemloft.net>
55704         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
55705         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
55706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
55707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
55708         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
55709         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
55710         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
55711         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
55713         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
55714         manipulate bits before adding and subtracting TWO112[sx].
55715         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55717 2012-02-27  Roland McGrath  <roland@hack.frob.com>
55719         [BZ #13775]
55720         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
55721         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
55722         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
55723         being in POSIX, because they are in 1003.1-2008.
55725         * rt/tst-aio.c: Include <fcntl.h>.
55726         * rt/tst-aio7.c: Likewise.
55727         * rt/tst-aio64.c: Likewise.
55729         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
55731 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55733         * manual/install.texi (--with-headers): Describe headers as
55734         interface headers, not private headers.
55735         (Specific advice for GNU/Linux systems): Describe use of headers
55736         from "make headers_install", not private headers from older
55737         kernels.
55738         * INSTALL: Regenerated.
55739         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
55740         Change to 2.6.19.
55741         * sysdeps/unix/sysv/linux/configure: Regenerated.
55743         * manual/llio.texi (fclean): Remove documentation.
55745         * manual/Makefile (libc-texi-generated): New variable.  Include
55746         version.texi.
55747         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55748         $(libc-texi-generated), not duplicated list of files.
55749         (version.texi, stamp-version): New rules.
55750         (realclean): Remove $(libc-texi-generated), not individual files
55751         from that list.  Do not remove dir-add.texinfo.
55752         * manual/libc.texinfo: Comment out uses of edition numbers and
55753         references to printed manual.  Remove last-updated dates.
55754         (EDITION): Comment out.
55755         (ISBN): Likewise.
55756         (VERSION, UPDATED): Remove.
55757         (version.texi): Include.
55759 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
55761         * sysdeps/posix/spawni.c: Include <signal.h>.
55762         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
55763         * sysdeps/pthread/aio_fsync.c: Likewise.
55765 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
55767         * conform/Makefile (tests): Run only when not cross-compiling and
55768         when fast-check is not defined.
55770         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
55771         * conform/data/limits.h-data: Fixes for POSIX2008.
55772         * conform/run-conformtest.sh: Run all tests.
55773         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
55774         headers.
55775         * include/bits/dlfcn.h: Likewise.
55776         * include/langinfo.h: Likewise.
55777         * include/monetary.h: Likewise.
55778         * include/sys/poll.h: Likewise.
55780         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
55781         for __USE_GNU.
55782         * posix/spawn.h: Define __need_sigset_t.
55783         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
55784         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
55785         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
55786         to get sigevent_t only.
55787         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
55788         only for __USE_GNU.
55789         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55790         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55791         process_vm_writev only for __USE_GNU.
55792         * termios/termios.h: Declare tcgetsid also for POSIX2008.
55794         * conform/Makefile: For now ignore errors from run-conformtest.
55795         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
55796         POSIX to avoid namespace pollution.  Don't prepend headers.
55797         * conform/data/aio.h-data: Fixes for POSIX testing.
55798         * conform/data/fcntl.h-data: Likewise.
55799         * conform/data/glob.h-data: Likewise.
55800         * conform/data/grp.h-data: Likewise.
55801         * conform/data/pthread.h-data: Likewise.
55802         * conform/data/pwd.h-data: Likewise.
55803         * conform/data/signal.h-data: Likewise.
55804         * conform/data/spawn.h-data: Likewise.
55805         * conform/data/stdio.h-data: Likewise.
55806         * conform/data/stdlib.h-data: Likewise.
55807         * conform/data/stropts.h-data: Likewise.
55808         * conform/data/sys/mman.h-data: Likewise.
55809         * conform/data/sys/stat.h-data: Likewise.
55810         * conform/data/sys/types.h-data: Likewise.
55811         * conform/data/sys/wait.h-data: Likewise.
55812         * conform/data/time.h-data: Likewise.
55813         * conform/data/unistd.h-data: Likewise.
55814         * conform/data/utime.h-data: Likewise.
55816         * io/sys/stat.h: fchmod was always in POSIX.
55817         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
55818         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
55819         * rt/aio.h: Define __need_timespec before including <time.h>.
55820         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
55821         struct.  Add forward declaration of pthread_attr_t and use it in
55822         sigevent.
55823         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55824         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55825         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
55826         always remove CLK_TCK definition.
55828 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
55830         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
55832 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
55834         * conform/run-conformtest.sh: New file.
55835         * conform/Makefile: Run run-conformtest for tests.
55836         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
55837         support.
55839         * conform/data/uchar.h-data: New file.
55840         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
55841         * conform/data/arpa/inet.h-data: Likewise.
55842         * conform/data/assert.h-data: Likewise.
55843         * conform/data/complex.h-data: Likewise.
55844         * conform/data/cpio.h-data: Likewise.
55845         * conform/data/ctype.h-data: Likewise.
55846         * conform/data/dirent.h-data: Likewise.
55847         * conform/data/dlfcn.h-data: Likewise.
55848         * conform/data/errno.h-data: Likewise.
55849         * conform/data/fcntl.h-data: Likewise.
55850         * conform/data/float.h-data: Likewise.
55851         * conform/data/fmtmsg.h-data: Likewise.
55852         * conform/data/fnmatch.h-data: Likewise.
55853         * conform/data/ftw.h-data: Likewise.
55854         * conform/data/glob.h-data: Likewise.
55855         * conform/data/grp.h-data: Likewise.
55856         * conform/data/iconv.h-data: Likewise.
55857         * conform/data/inttypes.h-data: Likewise.
55858         * conform/data/langinfo.h-data: Likewise.
55859         * conform/data/libgen.h-data: Likewise.
55860         * conform/data/limits.h-data: Likewise.
55861         * conform/data/locale.h-data: Likewise.
55862         * conform/data/math.h-data: Likewise.
55863         * conform/data/monetary.h-data: Likewise.
55864         * conform/data/mqueue.h-data: Likewise.
55865         * conform/data/ndbm.h-data: Likewise.
55866         * conform/data/net/if.h-data: Likewise.
55867         * conform/data/netdb.h-data: Likewise.
55868         * conform/data/netinet/in.h-data: Likewise.
55869         * conform/data/nl_types.h-data: Likewise.
55870         * conform/data/poll.h-data: Likewise.
55871         * conform/data/pthread.h-data: Likewise.
55872         * conform/data/pwd.h-data: Likewise.
55873         * conform/data/regex.h-data: Likewise.
55874         * conform/data/sched.h-data: Likewise.
55875         * conform/data/search.h-data: Likewise.
55876         * conform/data/semaphore.h-data: Likewise.
55877         * conform/data/setjmp.h-data: Likewise.
55878         * conform/data/signal.h-data: Likewise.
55879         * conform/data/spawn.h-data: Likewise.
55880         * conform/data/stdarg.h-data: Likewise.
55881         * conform/data/stdio.h-data: Likewise.
55882         * conform/data/stdlib.h-data: Likewise.
55883         * conform/data/string.h-data: Likewise.
55884         * conform/data/strings.h-data: Likewise.
55885         * conform/data/stropts.h-data: Likewise.
55886         * conform/data/sys/ipc.h-data: Likewise.
55887         * conform/data/sys/mman.h-data: Likewise.
55888         * conform/data/sys/msg.h-data: Likewise.
55889         * conform/data/sys/resource.h-data: Likewise.
55890         * conform/data/sys/select.h-data: Likewise.
55891         * conform/data/sys/sem.h-data: Likewise.
55892         * conform/data/sys/shm.h-data: Likewise.
55893         * conform/data/sys/socket.h-data: Likewise.
55894         * conform/data/sys/stat.h-data: Likewise.
55895         * conform/data/sys/statvfs.h-data: Likewise.
55896         * conform/data/sys/time.h-data: Likewise.
55897         * conform/data/sys/timeb.h-data: Likewise.
55898         * conform/data/sys/times.h-data: Likewise.
55899         * conform/data/sys/types.h-data: Likewise.
55900         * conform/data/sys/uio.h-data: Likewise.
55901         * conform/data/sys/un.h-data: Likewise.
55902         * conform/data/sys/utsname.h-data: Likewise.
55903         * conform/data/sys/wait.h-data: Likewise.
55904         * conform/data/syslog.h-data: Likewise.
55905         * conform/data/tar.h-data: Likewise.
55906         * conform/data/termios.h-data: Likewise.
55907         * conform/data/utime.h-data: Likewise.
55908         * conform/data/utmpx.h-data: Likewise.
55909         * conform/data/varargs.h-data: Likewise.
55910         * conform/data/wchar.h-data: Likewise.
55911         * conform/data/wctype.h-data: Likewise.
55912         * conform/data/wordexp.h-data: Likewise.
55914         * include/stropts.h: New file.
55915         * include/uchar.h: New file.
55916         * include/aio.h: Changes to allow conformtest.pl to use the headers.
55917         * include/assert.h: Likewise.
55918         * include/ctype.h: Likewise.
55919         * include/dirent.h: Likewise.
55920         * include/dlfcn.h: Likewise.
55921         * include/fcntl.h: Likewise.
55922         * include/fnmatch.h: Likewise.
55923         * include/glob.h: Likewise.
55924         * include/grp.h: Likewise.
55925         * include/libio.h: Likewise.
55926         * include/locale.h: Likewise.
55927         * include/math.h: Likewise.
55928         * include/net/if.h: Likewise.
55929         * include/netdb.h: Likewise.
55930         * include/netinet/in.h: Likewise.
55931         * include/pthread.h: Likewise.
55932         * include/pwd.h: Likewise.
55933         * include/regex.h: Likewise.
55934         * include/sched.h: Likewise.
55935         * include/search.h: Likewise.
55936         * include/setjmp.h: Likewise.
55937         * include/signal.h: Likewise.
55938         * include/stdio.h: Likewise.
55939         * include/stdlib.h: Likewise.
55940         * include/string.h: Likewise.
55941         * include/sys/cdefs.h: Likewise.
55942         * include/sys/mman.h: Likewise.
55943         * include/sys/msg.h: Likewise.
55944         * include/sys/resource.h: Likewise.
55945         * include/sys/select.h: Likewise.
55946         * include/sys/socket.h: Likewise.
55947         * include/sys/stat.h: Likewise.
55948         * include/sys/statvfs.h: Likewise.
55949         * include/sys/time.h: Likewise.
55950         * include/sys/times.h: Likewise.
55951         * include/sys/uio.h: Likewise.
55952         * include/sys/utsname.h: Likewise.
55953         * include/sys/wait.h: Likewise.
55954         * include/termios.h: Likewise.
55955         * include/time.h: Likewise.
55956         * include/ulimit.h: Likewise.
55957         * include/unistd.h: Likewise.
55958         * include/utime.h: Likewise.
55959         * include/wchar.h: Likewise.
55960         * include/wctype.h: Likewise.
55961         * include/wordexp.h: Likewise.
55963         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
55965         * time/time.h: TIME_UTC must be a macro.
55966         Make timespec_get available for ISO C11 only as well.
55968 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
55970         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
55971         Reported by Peng Haitao <penght@cn.fujitsu.com>.
55973 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55975         * configure.in: Use -o not -a in test for unsupported multi-arch.
55977 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55979         * manual/texinfo.tex: Update to version 2012-01-19.16.
55981 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55983         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
55985 2012-02-24  Roland McGrath  <roland@hack.frob.com>
55987         [BZ #13738]
55988         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
55989         * manual/fdl-1.3.texi: New file.
55990         * manual/fdl-1.1.texi: File removed.
55992         [BZ #13738]
55993         * manual/libc.texinfo (FDL_VERSION): New @set.
55994         Use it for mention of FDL in cover text.
55995         (Documentation License): Use it in @include file name.
55997 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55998             Roland McGrath  <roland@hack.frob.com>
56000         [BZ #5461]
56001         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
56002         (not LONG_LONG_MAX and LONG_LONG_MIN.
56003         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
56004         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
56005         name.
56006         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
56008 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56010         [BZ #2547]
56011         [BZ #11365]
56012         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
56013         manipulate bits before adding and subtracting TWO23[sx].
56014         * math/libm-test.inc (nearbyint_test): Add more tests.
56016 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56018         [BZ #2548]
56019         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
56020         bits before adding and subtracting TWO23[sx].
56021         * math/libm-test.inc (rint_test): Add more tests.
56022         (rint_test_tonearest): Likewise.
56023         (rint_test_towardzero): Likewise.
56024         (rint_test_downward): Likewise.
56025         (rint_test_upward: Likewise.
56027 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56029         [BZ #10110]
56030         * include/stdc-predef.h: New file.  Extracted from features.h.
56031         * include/features.h: Include stdc-predef.h.
56032         * Makefile (headers): Add stdc-predef.h.
56033         * CONFORMANCE (Compiler limitations): Update.
56035 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56037         * manual/libc.texinfo (VERSION, UPDATED): Revert.
56039 2012-02-21  David S. Miller  <davem@davemloft.net>
56041         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
56042         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56044 2012-02-20  David S. Miller  <davem@davemloft.net>
56046         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
56047         using a normal save/restore sequence, rather than allocating a
56048         dummy stack frame just to store a frame pointer and restore.
56049         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56051 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56053         * manual/install.texi: Fix stray word in line-wrapped comment.
56055 2012-02-20  David S. Miller  <davem@davemloft.net>
56057         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
56058         both binutils and gcc support GOTDATA.
56060         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
56061         "rd %pc" in the PIC register setup sequences.
56063         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
56064         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
56065         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56066         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
56067         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56068         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
56069         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56070         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56071         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
56072         (SYSCALL_ERROR_HANDLER): Likewise.
56073         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56074         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56075         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
56076         (SYSCALL_ERROR_HANDLER): Likewise.
56078         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
56079         (HAVE_GCC_GOTDATA): New.
56080         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
56081         relocation support in both binutils and gcc.
56082         * sysdeps/sparc/elf/configure: Regenerate.
56084         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
56085         * sysdeps/sparc/sparc32/elf/configure: Delete.
56086         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
56087         * sysdeps/sparc/sparc64/elf/configure: Delete.
56088         * sysdeps/sparc/elf/configure.in: New file.
56089         * sysdeps/sparc/elf/configure: Generate.
56091         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
56092         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
56093         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56094         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
56095         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
56097 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56099         * manual/install.texi: Do not mention specific glibc version
56100         numbers.
56101         * manual/libc.texinfo (VERSION, UPDATED): Update.
56102         (@copying): Use @copyright{} and range of years.
56104 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56106         [BZ #13695]
56107         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
56108         [crti.S not in sysdirs] (generated): Do not append.
56109         [crti.S not in sysdirs] (omit-deps): Likewise.
56110         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
56111         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
56112         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
56113         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
56114         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
56115         Likewise.
56116         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
56117         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
56118         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
56119         * csu/defs.awk: Remove file.
56120         * sysdeps/generic/initfini.c: Likewise.
56121         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
56122         variable.
56123         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
56124         Likewise.
56126 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56128         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
56129         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
56130         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
56131         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
56132         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56133         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
56134         <bits/epoll.h>.
56135         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
56136         (__EPOLL_PACKED): Define to empty if not defined by
56137         <bits/epoll.h>.
56138         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
56139         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56140         bits/epoll.h.
56142 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56144         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
56145         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
56146         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
56147         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
56148         <bits/timerfd.h>.
56149         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
56150         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56151         bits/timerfd.h.
56153 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
56155         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
56156         in C locale.
56157         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56158         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56159         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
56160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56162 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
56164         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56165         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56167 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
56169         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
56170         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
56171         defined.
56172         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
56173         Likewise.
56174         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
56175         entry for 2.16.
56177 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
56179         * math/w_acos.c: Use non-signaling floating-point comparisons.
56180         * math/w_acosf.c: Likewise.
56181         * math/w_acosh.c: Likewise.
56182         * math/w_acoshf.c: Likewise.
56183         * math/w_acoshl.c: Likewise.
56184         * math/w_acosl.c: Likewise.
56185         * math/w_asin.c: Likewise.
56186         * math/w_asinf.c: Likewise.
56187         * math/w_asinl.c: Likewise.
56188         * math/w_atanh.c: Likewise.
56189         * math/w_atanhf.c: Likewise.
56190         * math/w_atanhl.c: Likewise.
56191         * math/w_exp2.c: Likewise.
56192         * math/w_exp2f.c: Likewise.
56193         * math/w_exp2l.c: Likewise.
56194         * math/w_j0.c: Likewise.
56195         * math/w_j0f.c: Likewise.
56196         * math/w_j0l.c: Likewise.
56197         * math/w_j1.c: Likewise.
56198         * math/w_j1f.c: Likewise.
56199         * math/w_j1l.c: Likewise.
56200         * math/w_jn.c: Likewise.
56201         * math/w_jnf.c: Likewise.
56202         * math/w_log.c: Likewise.
56203         * math/w_log10.c: Likewise.
56204         * math/w_log10f.c: Likewise.
56205         * math/w_log10l.c: Likewise.
56206         * math/w_log2.c: Likewise.
56207         * math/w_log2f.c: Likewise.
56208         * math/w_log2l.c: Likewise.
56209         * math/w_logf.c: Likewise.
56210         * math/w_logl.c: Likewise.
56211         * math/w_sqrt.c: Likewise.
56212         * math/w_sqrtf.c: Likewise.
56213         * math/w_sqrtl.c: Likewise.
56214         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56215         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
56216         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56217         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56218         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56220 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56222         [BZ #9739]
56223         * manual/string.texi (strnlen): Use correct parameter name in
56224         equivalent expression.
56226 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56228         [BZ #11174]
56229         * manual/users.texi (seteuid): Consistently use neweuid for
56230         argument name.
56232 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
56234         [BZ #13704]
56235         * manual/nss.texi (Services in the NSS configuration): Correct
56236         list of services in example configuration file.
56238 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
56240         [BZ #11322]
56241         * manual/arith.texi: Remove statements about negative zero
56242         behaving identically to zero.
56244 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
56246         [BZ #5993]
56247         * manual/install.texi: Do not document upgrading from libc5.
56249 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
56251         [BZ #4596]
56252         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
56254 2012-02-18  David S. Miller  <davem@davemloft.net>
56256         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
56257         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
56258         %o7 across the call.
56259         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
56260         instead.
56261         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
56262         SETUP_PIC_REG_LEAF.
56263         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56264         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
56265         * sysdeps/sparc/crtn.S: Likewise.
56267 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
56269         * aout/Makefile: Remove.
56271 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
56273         [BZ #13058]
56274         * manual/examples/argp-ex1.c (main): Format definition in GNU
56275         style.
56276         * manual/examples/argp-ex2.c (main): Likewise.
56277         * manual/examples/argp-ex3.c (main): Likewise.
56278         * manual/examples/argp-ex4.c (main): Likewise.
56279         * manual/examples/longopt.c (main): Use new-style prototype
56280         definition.
56281         * manual/examples/strncat.c (main): Specify return type and use
56282         (void) for arguments.
56283         * manual/examples/subopt.c (main): Use char **argv argument.
56285 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56287         [BZ #5077]
56288         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
56289         rounding modes.
56291 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
56293         [BZ #6907]
56294         * manual/string.texi (strchr): Change when strchrnul is
56295         recommended.
56297 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
56299         [BZ #174]
56300         * manual/locale.texi (setlocale): Document LOCPATH.
56302 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56304         [BZ #10210]
56305         * manual/process.texi (execle): Move @dots{} before last argument.
56307 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
56309         [BZ #12047]
56310         * manual/charset.texi (Generic Charset Conversion): Fix typo
56311         (LC_TYPE -> LC_CTYPE).
56313 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
56315         [BZ #5805]
56316         * manual/arith.texi (scalbn): Use @var{} on parameter names.
56317         (scalbnf): Likewise.
56318         (scalbnl): Likewise.
56319         (scalbln): Likewise.
56320         (scalblnf): Likewise.
56321         (scalblnl): Likewise.
56322         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
56323         (vwarnx): Likewise.
56324         (verr): Likewise.
56325         (verrx): Likewise.
56326         * manual/filesys.texi (telldir): Use braces around return type.
56327         * manual/llio.texi (mmap): Add space after comma.
56328         (mmap64): Likewise.
56329         * manual/math.texi (jn): Use @var{} on parameter names.
56330         (jnf): Likewise.
56331         (jnl): Likewise.
56332         (yn): Likewise.
56333         (ynf): Likewise.
56334         (ynl): Likewise.
56335         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
56336         line.
56337         * manual/resource.texi (ulimit): Use @dots{} instead of literal
56338         "...".
56339         (sched_get_priority_min): Remove semicolon on @deftypefun line.
56340         (sched_get_priority_max): Likewise.
56341         * manual/signal.texi (sigvec): Add space after comma.
56342         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
56343         names.
56344         (if_indextoname): Likewise.
56345         (if_freenameindex): Likewise.
56346         (sendto): Use ',' instead of '.' in prototype.
56347         * manual/startup.texi (syscall): Use @dots{} instead of literal
56348         "...".
56349         * manual/stdio.texi (__fpending): Separate initial words of
56350         paragraph from @deftypefun line.
56351         * manual/syslog.texi (syslog): Use @dots{} instead of literal
56352         "...".
56353         (vsyslog): Use @var{} on parameter names.
56354         * manual/terminal.texi (stty): Use @var{} on parameter names.
56355         * manual/users.texi (getutmp): Use @var{} on parameter names.
56356         (getutmpx): Likewise.
56358 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56360         [BZ #6884]
56361         * manual/stdio.texi (fopen): Fix typos in description of
56362         ",ccs=STRING".
56364 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
56366         [BZ #4026]
56367         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
56368         get clock_id definition.
56370 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
56372         [BZ #4822]
56373         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
56374         (madvise): Cast every argument to void on its own.
56376 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56378         [BZ #9902]
56379         * manual/startup.texi (Exit Status): Fix typo.
56381 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56383         [BZ #10140]
56384         * manual/examples/argp-ex1.c: Include <stdlib.h>.
56385         * manual/examples/argp-ex2.c: Likewise.
56386         * manual/examples/argp-ex3.c: Likewise.
56388 2012-02-16  Richard Henderson  <rth@redhat.com>
56390         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
56391         * sysdeps/s390/s390-32/initfini.c: Remove.
56392         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
56393         * sysdeps/s390/s390-64/initfini.c: Remove.
56395 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56397         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
56398         compiler output for sysdeps/generic/initfini.c.
56399         * sysdeps/sh/elf/initfini.c: Remove file.
56401 2012-02-16  David S. Miller  <davem@davemloft.net>
56403         [BZ #11494]
56404         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
56406         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
56407         * sysdeps/sparc/crti.S: New file.
56408         * sysdeps/sparc/crtn.S: New file.
56409         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
56410         * sysdeps/sparc/sparc64/Makefile: Likewise.
56412 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
56414         [BZ #3335]
56415         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
56417 2012-02-15  Roland McGrath  <roland@hack.frob.com>
56419         [BZ #4822]
56420         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
56422         * mach/devstream.c (cookie_io_functions_t): Macro removed.
56423         (write, read, close): Likewise.
56424         Patch by Aurelien Jarno <aurelien@aurel32.net>.
56426 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
56428         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
56429         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
56430         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
56431         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
56432         <bits/signalfd.h>.
56433         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
56434         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56435         bits/signalfd.h.
56437 2012-02-14  Marek Polacek  <polacek@redhat.com>
56439         * sysdeps/x86_64/crti.S: New file.
56440         * sysdeps/x86_64/crtn.S: New file.
56441         * sysdeps/x86_64/elf/initfini.c: Remove file.
56443 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56445         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
56446         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
56447         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
56448         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
56449         <bits/inotify.h>.
56450         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
56451         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56452         bits/inotify.h.
56454 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56456         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
56457         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
56458         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
56459         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
56460         <bits/eventfd.h>.
56461         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
56462         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56463         bits/eventfd.h.
56465 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
56467         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
56468         __feraiseexcept instead of feraiseexcept.
56470         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
56471         nanosleep invocations.
56472         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
56473         strings, and add error checking for a nanosleep invocations.
56475 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
56477         Replace FSF snail mail address with URLs, as per GNU coding standards.
56478         Most of the snail mail addresses were wrong anyway, and omitting
56479         them makes the source code easier to maintain.  Almost all of the
56480         changes are to license notices and to locale LC_IDENTIFICATION
56481         addresses, except for this one:
56482         * manual/libc.texinfo: In "Published by", give the FSF's URL,
56483         not its snail mail address.
56485 2012-02-09  Richard Henderson  <rth@twiddle.net>
56487         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
56488         of kernel-features.h.
56490         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
56492 2012-02-08  Marek Polacek  <polacek@redhat.com>
56494         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
56495         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
56496         * sysdeps/gnu/_G_config.h: Likewise.
56497         * sysdeps/generic/_G_config.h: Likewise.
56499 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
56501         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
56502         tests.
56503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56505         * sysdeps/powerpc/powerpc32/crti.S: New file.
56506         * sysdeps/powerpc/powerpc32/crtn.S: New file.
56507         * sysdeps/powerpc/powerpc64/crti.S: New file.
56508         * sysdeps/powerpc/powerpc64/crtn.S: New file.
56510         * Makeconfig (have-initfini): Don't set.
56511         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
56512         * configure.in (nopic_initfini): Don't substitute.
56513         * config.h.in (HAVE_INITFINI): Don't #undef.
56514         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
56515         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
56517 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
56519         Support crti.S and crtn.S provided directly by architectures.
56520         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
56521         [crti.S in sysdirs] (omit-deps): Likewise.
56522         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
56523         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
56524         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
56525         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
56526         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
56527         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
56528         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
56529         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
56530         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
56531         compiler output for sysdeps/generic/initfini.c.
56532         * sysdeps/i386/elf/Makefile: Remove file.
56533         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
56535 2012-02-07  Marek Polacek  <polacek@redhat.com>
56537         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
56538         * sysdeps/gnu/_G_config.h: Likewise.
56539         * sysdeps/mach/hurd/_G_config.h: Likewise.
56541 2012-02-07  Marek Polacek  <polacek@redhat.com>
56543         * math/Makefile (tests): Add tst-CMPLX2.
56544         * math/tst-CMPLX2.c: New file.
56546 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
56548         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56550         * math/libm-test.inc (jn_test): Add missing L suffix.
56552 2012-02-06  Marek Polacek  <polacek@redhat.com>
56554         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
56555         * sysdeps/i386/fpu/e_powf.S: Likewise.
56556         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56557         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56558         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56559         * sysdeps/i386/fpu/e_pow.S: Likewise.
56560         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56561         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56562         * sysdeps/i386/fpu/s_expm1.S: Likewise.
56563         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56564         * sysdeps/i386/fpu/e_log2.S: Likewise.
56565         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56566         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56567         * sysdeps/i386/fpu/e_powl.S: Likewise.
56568         * sysdeps/i386/fpu/s_log1p.S: Likewise.
56569         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56570         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56571         * sysdeps/i386/fpu/e_logl.S: Likewise.
56572         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56573         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
56574         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56575         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56576         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56577         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56578         * sysdeps/i386/fpu/e_log.S: Likewise.
56579         * sysdeps/i386/fpu/s_cexp.S: Likewise.
56580         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56581         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
56582         * sysdeps/i386/fpu/e_logf.S: Likewise.
56583         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56584         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56585         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
56586         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56587         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56588         * sysdeps/i386/fpu/e_log10.S: Likewise.
56589         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56590         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56591         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56592         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56593         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56594         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56595         * sysdeps/i386/asm-syntax.h: Likewise.
56596         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56597         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56598         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56599         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
56600         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
56601         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56602         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56603         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56604         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56605         * sysdeps/powerpc/sysdep.h: Likewise.
56606         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
56607         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56609 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56611         [BZ #411]
56612         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
56614 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56616         * sysdeps/i386/sysdep.h: Include <features.h>.
56617         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
56618         version.
56620 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
56622         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
56623         Define.
56624         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
56625         LOAD_PIC_REG_STR.
56627 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56629         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
56630         (SETUP_PIC_REG): Use GET_PC_THUNK.
56631         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
56632         macro.
56634 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56636         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
56637         for non-PIC compilation.
56638         (SETUP_PIC_REG): Add .p2align directive.
56639         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
56640         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
56641         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56642         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56643         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56644         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56645         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
56646         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56647         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56648         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56649         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56650         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56651         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56652         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56653         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56654         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56655         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56656         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56657         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56658         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56659         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56660         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56661         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56662         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56663         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56664         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56665         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56666         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56667         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56668         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56669         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56670         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56671         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56672         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56673         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56674         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56675         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56676         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56677         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56678         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56679         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56681 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56683         * math/tst-CMPLX.c: Include <stdio.h>.
56685 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
56687         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
56688         float.
56689         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56690         * sysdeps/sparc/bits/mathdef.h: Likewise.
56692 2012-01-31  Marek Polacek  <polacek@redhat.com>
56694         * libio/libio.h: Don't define _PARAMS.
56695         * locale/programs/config.h: Don't define PARAMS.
56696         * stdlib/strtol_l.c: Likewise.
56697         (__strtol_l): Remove PARAMS from the prototype.
56699 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
56701         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
56702         names.  Just use the correct names.  Remove unnecessary wrapper
56703         functions.
56704         * malloc/arena.c: Likewise.
56705         * malloc/hooks.c: Likewise.
56707         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
56708         ARENA_TEST says not to.  Simplify test for creation of a new arena.
56709         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
56711 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
56713         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
56714         into tail calls.
56715         (update_get_addr): New function.
56716         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
56717         GET_ADDR_MODULE parameter.
56719 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56721         * crypt/cert.c: Remove __STDC__ conditionals.
56722         * crypt/crypt-entry.c: Likewise.
56723         * crypt/crypt_util.c: Likewise.
56724         * libio/filedoalloc.c: Likewise.
56725         * libio/fileops.c: Likewise.
56726         * libio/genops.c: Likewise.
56727         * libio/iofclose.c: Likewise.
56728         * libio/iofdopen.c: Likewise.
56729         * libio/iofopen.c: Likewise.
56730         * libio/iofopen64.c: Likewise.
56731         * libio/iogetdelim.c: Likewise.
56732         * libio/iopopen.c: Likewise.
56733         * libio/obprintf.c: Likewise.
56734         * libio/oldfileops.c: Likewise.
56735         * libio/oldiofclose.c: Likewise.
56736         * libio/oldiofdopen.c: Likewise.
56737         * libio/oldiofopen.c: Likewise.
56738         * libio/oldiopopen.c: Likewise.
56739         * libio/wfiledoalloc.c: Likewise.
56740         * libio/wgenops.c: Likewise.
56741         * locale/programs/xmalloc.c: Likewise.
56742         * misc/syslog.c: Likewise.
56743         * stdio-common/xbug.c: Likewise.
56744         * string/memchr.c: Likewise.
56745         * string/memcmp.c: Likewise.
56746         * string/memrchr.c: Likewise.
56747         * string/rawmemchr.c: Likewise.
56748         * sysdeps/posix/getcwd.c: Likewise.
56749         * time/strftime_l.c: Likewise.
56751 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56753         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
56754         * config.make.in (config-cflags-sse2avx): Define.
56755         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56756         Fix typo.
56758 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
56760         * scripts/config.guess: Update from upstream config git repository.
56761         * scripts/config.sub: Likewise.
56763 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
56765         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
56766         (EM_NUM): Update.
56767         (R_TILEPRO_*, R_TILEGX_*): New macros.
56769         * scripts/firstversions.awk: Fix bug in version range handling.
56771         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
56773         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
56775         * include/sys/epoll.h: New file.
56776         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
56777         libc_hidden_def.
56779 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
56781         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
56782         Avoid unnecessary __WORDSIZE == 64 test.
56783         (fmaxf): Use VEX format if possible.
56784         (fmax): Likewise.
56785         (fminf): Likewise.
56786         (fmin): Likewise.
56788         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
56789         * math/math_private.h: Remove libc_fegetround* and
56790         libc_fesetround*.
56791         * sysdeps/i386/configure.in: Check for -msse2avx.
56792         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
56793         also if SSE2AVX is defined.
56794         Remove libc_fegetround* and libc_fesetround*.
56795         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
56796         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
56797         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
56798         of HAS_YMM_USABLE.
56799         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56800         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56801         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56802         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56803         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56805         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
56807 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56809         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
56810         size is not set.
56811         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56813 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
56815         [BZ #13618]
56816         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
56817         relocation.
56818         * Makeconfig (libm): Define.
56819         * elf/Makefile: Add rules to build and run tst-relsort1.
56820         * elf/tst-relsort1.c: New file.
56821         * elf/tst-relsort1mod1.c: New file.
56822         * elf/tst-relsort1mod2.c: New file.
56824 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
56826         * math/s_ldexp.c: Remove __STDC__ conditionals.
56827         * math/s_ldexpf.c: Likewise.
56828         * math/s_ldexpl.c: Likewise.
56829         * math/s_nextafter.c: Likewise.
56830         * math/s_nexttowardf.c: Likewise.
56831         * math/s_significand.c: Likewise.
56832         * math/s_significandf.c: Likewise.
56833         * math/s_significandl.c: Likewise.
56834         * math/w_jnl.c: Likewise.
56835         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56836         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56837         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56838         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56839         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56840         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56841         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
56842         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56843         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56844         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56845         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56846         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56847         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56848         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56849         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56850         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56851         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56852         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56853         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56854         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56855         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56856         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56857         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56858         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56859         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56860         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56861         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56862         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56863         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56864         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56865         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56866         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56867         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56868         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56869         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56870         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56871         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56872         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56873         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56874         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56875         * sysdeps/ieee754/k_standard.c: Likewise.
56876         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56877         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56878         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56879         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56880         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56881         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56882         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56883         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56884         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56885         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56886         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56887         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56888         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56889         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56890         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56891         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56892         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56893         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56894         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56895         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56896         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56897         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56898         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56899         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56900         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56901         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56902         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56903         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56904         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56905         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56906         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56907         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
56908         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56909         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56910         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56911         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56912         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
56913         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56914         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56915         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
56916         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
56917         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56918         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
56919         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
56920         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56921         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56922         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56923         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56924         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56925         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
56926         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
56927         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56928         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56929         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56930         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56931         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56932         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
56933         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56934         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56935         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56936         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56937         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56938         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56939         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56940         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56941         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56942         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56943         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56944         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56945         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56946         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56947         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56948         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56949         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56950         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56951         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56952         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56953         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56954         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56955         * sysdeps/ieee754/s_matherr.c: Likewise.
56956         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56957         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56958         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56959         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56961 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56963         * crypt/md5.h: Remove __STDC__ conditionals.
56964         * libio/libioP.h: Likewise.
56965         * locale/programs/config.h: Likewise.
56966         * sysdeps/generic/sysdep.h: Likewise.
56967         * sysdeps/i386/asm-syntax.h: Likewise.
56968         * sysdeps/s390/asm-syntax.h: Likewise.
56969         * sysdeps/unix/sysdep.h: Likewise.
56970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
56971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56973 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56975         * libio/libio.h: Remove __STDC__ conditionals.
56976         * malloc/obstack.h: Likewise.
56977         * math/complex.h: Likewise.
56978         * math/math.h: Likewise.
56979         * sysdeps/generic/_G_config.h: Likewise.
56980         * sysdeps/gnu/_G_config.h: Likewise.
56981         * sysdeps/mach/hurd/_G_config.h: Likewise.
56982         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56983         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56984         * sysdeps/sparc/bits/mathdef.h: Likewise.
56986 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
56988         [BZ #13583]
56989         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
56990         Clean up HAS_* macros.
56991         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
56992         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
56993         possible.
56994         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
56995         HAS_AVX.
56996         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56997         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56998         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56999         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57000         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57002 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
57004         * elf/tst-unique3.cc (gets): Remove declaration.
57005         * elf/tst-unique3lib.cc (gets): Likewise.
57006         * elf/tst-unique3lib2.cc (gets): Likewise.
57007         * elf/tst-unique4.cc (gets): Likewise.
57009 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
57011         * include/stdio.h: Add C++ protection.  Add gets declarations and
57012         definitions.
57013         * debug/tst-chk1.c: Don't declare gets here.
57014         * stdio-common/tst-gets.c: Likewise.
57016 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
57018         * posix/glob: Remove directory.
57020 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
57022         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
57024 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
57026         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
57027         of the non-standard EPFNOSUPPORT.
57029 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57031         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
57032         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
57033         ANYWHERE set to 1 only on KERN_NO_SPACE error.
57035 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
57037         * wcsmbs/uchar.h: Test __STDC_VERSION__.
57039 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
57041         * nscd/aicache.c (addhstaiX): Do not cache negative results of
57042         transient errors.
57043         * nscd/grpcache.c (cache_addgr): Likewise.
57044         * nscd/hstcache.c (cache_addhst): Likewise.
57045         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57046         * nscd/pwdcache.c (cache_addpw): Likewise.
57047         * nscd/servicescache.c (cache_addserv): Likewise.
57049 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
57051         * malloc/malloc.c: Various cleanups.
57052         * malloc/hooks.c: Likewise.
57054         * stdlib/Makefile (tests): Add bug-fmtmsg1.
57055         * stdlib/bug-fmtmsg1.c: New file.
57057         * stdlib/fmtmsg.c (init): Add missing unlock.
57058         Patch by Peng Haitao <penght@cn.fujitsu.com>.
57060 2012-01-12  Marek Polacek  <polacek@redhat.com>
57062         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
57063         and _GNU_SOURCE.
57065 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
57067         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
57068         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
57069         macro to ensure uniqueness of label name.
57070         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57071         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57073 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
57075         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
57077         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
57078         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
57079         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57080         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
57082 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
57084         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
57086         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
57087         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
57088         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57090         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
57092         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
57093         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
57094         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57095         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
57097         * math/bits/math-finite.h: Add ldexp support.
57099 2012-01-10  Marek Polacek  <polacek@redhat.com>
57101         * locale/programs/localedef.h (show_archive_content): Add noreturn
57102         attribute.
57104 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
57106         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
57108 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57110         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
57112         * io/Makefile (headers): Add bits/poll2.h.
57114 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
57116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
57117         typo #include statement.
57119 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57121         * include/sys/cdefs.h: Define __attribute_alloc_size.
57122         * catgets/gencat.c: Add alloc_size attribute and apply consistently
57123         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
57124         * elf/pldd.c: Likewise.
57125         * iconv/iconv_charmap.c: Likewise.
57126         * iconv/iconvconfig.c: Likewise.
57127         * iconv/strtab.c: Likewise.
57128         * locale/programs/locale.c: Likewise.
57129         * locale/programs/localedef.h: Likewise.
57130         * locale/programs/simple-hash.c: Likewise.
57131         * nscd/nscd.h: Likewise.
57132         * nss/makedb.c: Likewise.
57133         * sysdeps/generic/ldconfig.h: Likewise.
57134         * locale/programs/localedef.c: Remove xmalloc prototype.
57135         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
57137 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
57139         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
57140         appropriate.
57142 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
57144         * math/Makefile (tests): Add tst-CMPLX.
57145         * math/tst-CMPLX.c: New file.
57147         * math/complex.h (CMPLXL): Fix typo.
57149         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
57150         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
57151         GLIBC_2.16.
57152         * debug/tst-chk1.c: Add poll and ppoll tests.
57153         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
57154         * include/sys/poll.h: Add hidden proto for ppoll.
57155         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
57156         * sysdeps/mach/hurd/ppoll.c: Likewise.
57157         * io/ppoll.c: Likewise.
57158         * debug/poll_chk.c: New file.
57159         * debug/ppoll_chk.c: New file.
57160         * include/bits/poll2.h: New file.
57161         * io/bits/poll2.h: New file.
57163         [BZ #1350]
57164         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
57166         * configure.in: static is always set to yes.  Remove.
57167         * config.make.in: Don't set build-static.
57168         * Makeconfig: Remove use of build-static.
57169         * dlfcn/Makefile: Likewise.
57170         * elf/Makefile: Likewise.
57171         * math/Makefile: Likewise.
57172         * misc/Makefile: Likewise.
57173         * nptl/Makefile: Likewise.
57174         * sysdeps/mach/hurd/Makefile: Likewise.
57176         * configure.in: PWD_P is not used anymore.
57177         * config.make.in: Remove PWD_P entry.
57179         * configure.in: Remove last remnants of RANLIB.
57180         No need to check for signed size_t anymore.
57181         Don't set libc_commonpagesize and libc_relro_required here for Alpha
57182         and IA-64.
57183         Remove __builtin_expect test because we require at least gcc 3.4.
57184         * aclocal.m4: Likewise.
57186         * wcsmbs/mbrtoc16.c: Implement using towc function.
57187         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
57188         * wcsmbs/wcsmbsload.c: Likewise.
57189         * iconv/gconv_simple.c: Likewise.
57190         * iconv/gconv_int.h: Likewise.
57191         * iconv/gconv_builtin.h: Likewise.
57192         * iconv/iconv_prog.c: Remove CHAR16 handling.
57194         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
57196         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
57198         * configure.in: Remove --with-elf and --enable-bounded options.
57199         Dont set base_machine for ia64.  More non-ELF conditions removed.
57200         Remove testing and setting of leading underscore information.
57201         * config.make.in (build-bounded): Set to no.
57202         * config.h.in: Remove NO_UNDERSCORES entry.
57203         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
57204         them.
57205         * csu/start.c: Remove !NO_UNDERSCORE code.
57206         * locale/localeinfo.h: Likewise.
57207         * sysdeps/generic/machine-gmon.h: Likewise.
57208         * sysdeps/generic/sysdep.h: Likewise.
57209         * sysdeps/i386/sysdep.h: Likewise.
57210         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57211         * sysdeps/mach/sysdep.h: Likewise.
57212         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57213         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57214         * sysdeps/sh/sysdep.h: Likewise.
57215         * sysdeps/sparc/sparc32/alloca.S: Likewise.
57216         * sysdeps/unix/i386/sysdep.S: Likewise.
57217         * sysdeps/unix/sparc/start.c: Likewise.
57218         * sysdeps/unix/sparc/sysdep.S: Likewise.
57219         * sysdeps/unix/sparc/sysdep.h: Likewise.
57220         * sysdeps/unix/start.c: Likewise.
57221         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57222         * sysdeps/x86_64/sysdep.h: Likewise.
57224 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
57226         [BZ #13553]
57227         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
57228         for non-gcc.
57229         * argp/argp-fmtstream.h: Use const instead __const.
57230         * argp/argp.h: Likewise.
57231         * assert/assert.h: Likewise.
57232         * bits/fenv.h: Likewise.
57233         * bits/sched.h: Likewise.
57234         * bits/sigset.h: Likewise.
57235         * bits/sigthread.h: Likewise.
57236         * catgets/nl_types.h: Likewise.
57237         * conform/data/pthread.h-data: Likewise.
57238         * crypt/crypt-private.h: Likewise.
57239         * crypt/crypt.h: Likewise.
57240         * crypt/crypt_util.c: Likewise.
57241         * ctype/ctype.h: Likewise.
57242         * debug/execinfo.h: Likewise.
57243         * debug/mbsnrtowcs_chk.c: Likewise.
57244         * debug/mbsrtowcs_chk.c: Likewise.
57245         * debug/wcsnrtombs_chk.c: Likewise.
57246         * debug/wcsrtombs_chk.c: Likewise.
57247         * debug/wcstombs_chk.c: Likewise.
57248         * dirent/dirent.h: Likewise.
57249         * dlfcn/dlfcn.h: Likewise.
57250         * elf/neededtest4.c: Likewise.
57251         * grp/grp.h: Likewise.
57252         * gshadow/gshadow.h: Likewise.
57253         * iconv/gconv.h: Likewise.
57254         * iconv/gconv_int.h: Likewise.
57255         * iconv/gconv_simple.c: Likewise.
57256         * iconv/iconv.h: Likewise.
57257         * iconv/loop.c: Likewise.
57258         * iconv/skeleton.c: Likewise.
57259         * include/aio.h: Likewise.
57260         * include/aliases.h: Likewise.
57261         * include/argz.h: Likewise.
57262         * include/arpa/inet.h: Likewise.
57263         * include/assert.h: Likewise.
57264         * include/dirent.h: Likewise.
57265         * include/dlfcn.h: Likewise.
57266         * include/execinfo.h: Likewise.
57267         * include/fcntl.h: Likewise.
57268         * include/fenv.h: Likewise.
57269         * include/glob.h: Likewise.
57270         * include/grp.h: Likewise.
57271         * include/libintl.h: Likewise.
57272         * include/mntent.h: Likewise.
57273         * include/netdb.h: Likewise.
57274         * include/pwd.h: Likewise.
57275         * include/rpc/netdb.h: Likewise.
57276         * include/sched.h: Likewise.
57277         * include/search.h: Likewise.
57278         * include/shadow.h: Likewise.
57279         * include/signal.h: Likewise.
57280         * include/stdio.h: Likewise.
57281         * include/stdlib.h: Likewise.
57282         * include/string.h: Likewise.
57283         * include/sys/socket.h: Likewise.
57284         * include/sys/stat.h: Likewise.
57285         * include/sys/statfs.h: Likewise.
57286         * include/sys/statvfs.h: Likewise.
57287         * include/sys/syslog.h: Likewise.
57288         * include/sys/time.h: Likewise.
57289         * include/sys/uio.h: Likewise.
57290         * include/time.h: Likewise.
57291         * include/unistd.h: Likewise.
57292         * include/utmp.h: Likewise.
57293         * include/wchar.h: Likewise.
57294         * include/wctype.h: Likewise.
57295         * inet/aliases.h: Likewise.
57296         * inet/arpa/inet.h: Likewise.
57297         * inet/netinet/ether.h: Likewise.
57298         * inet/netinet/in.h: Likewise.
57299         * intl/libintl.h: Likewise.
57300         * io/bits/fcntl2.h: Likewise.
57301         * io/fcntl.h: Likewise.
57302         * io/ftw.h: Likewise.
57303         * io/sys/poll.h: Likewise.
57304         * io/sys/stat.h: Likewise.
57305         * io/sys/statfs.h: Likewise.
57306         * io/sys/statvfs.h: Likewise.
57307         * io/utime.h: Likewise.
57308         * libio/bits/stdio.h: Likewise.
57309         * libio/bits/stdio2.h: Likewise.
57310         * libio/libio.h: Likewise.
57311         * libio/libioP.h: Likewise.
57312         * libio/stdio.h: Likewise.
57313         * locale/lc-ctype.c: Likewise.
57314         * locale/locale.h: Likewise.
57315         * login/utmp.h: Likewise.
57316         * malloc/arena.c: Likewise.
57317         * malloc/malloc.c: Likewise.
57318         * malloc/malloc.h: Likewise.
57319         * malloc/mcheck.c: Likewise.
57320         * malloc/mtrace.c: Likewise.
57321         * math/bits/mathcalls.h: Likewise.
57322         * math/fenv.h: Likewise.
57323         * math/math_private.h: Likewise.
57324         * misc/bits/error.h: Likewise.
57325         * misc/bits/syslog.h: Likewise.
57326         * misc/err.h: Likewise.
57327         * misc/error.h: Likewise.
57328         * misc/fstab.h: Likewise.
57329         * misc/mntent.h: Likewise.
57330         * misc/regexp.h: Likewise.
57331         * misc/search.h: Likewise.
57332         * misc/sgtty.h: Likewise.
57333         * misc/sys/mman.h: Likewise.
57334         * misc/sys/syslog.h: Likewise.
57335         * misc/sys/uio.h: Likewise.
57336         * misc/sys/xattr.h: Likewise.
57337         * misc/ttyent.h: Likewise.
57338         * nis/rpcsvc/ypclnt.h: Likewise.
57339         * nss/nss.h: Likewise.
57340         * posix/bits/unistd.h: Likewise.
57341         * posix/fnmatch.h: Likewise.
57342         * posix/glob.h: Likewise.
57343         * posix/sched.h: Likewise.
57344         * posix/spawn.h: Likewise.
57345         * posix/sys/wait.h: Likewise.
57346         * posix/unistd.h: Likewise.
57347         * posix/wordexp.h: Likewise.
57348         * pwd/pwd.h: Likewise.
57349         * resolv/netdb.h: Likewise.
57350         * resource/sys/resource.h: Likewise.
57351         * rt/aio.h: Likewise.
57352         * rt/bits/mqueue2.h: Likewise.
57353         * rt/mqueue.h: Likewise.
57354         * shadow/shadow.h: Likewise.
57355         * signal/signal.h: Likewise.
57356         * socket/send.c: Likewise.
57357         * socket/sendto.c: Likewise.
57358         * socket/sys/socket.h: Likewise.
57359         * stdio-common/printf.h: Likewise.
57360         * stdlib/bits/stdlib.h: Likewise.
57361         * stdlib/fmtmsg.h: Likewise.
57362         * stdlib/monetary.h: Likewise.
57363         * stdlib/stdlib.h: Likewise.
57364         * stdlib/ucontext.h: Likewise.
57365         * streams/stropts.h: Likewise.
57366         * string/argz.h: Likewise.
57367         * string/bits/string2.h: Likewise.
57368         * string/string.h: Likewise.
57369         * string/strings.h: Likewise.
57370         * sunrpc/rpc/auth.h: Likewise.
57371         * sunrpc/rpc/auth_des.h: Likewise.
57372         * sunrpc/rpc/clnt.h: Likewise.
57373         * sunrpc/rpc/netdb.h: Likewise.
57374         * sunrpc/rpc/pmap_clnt.h: Likewise.
57375         * sunrpc/rpc/xdr.h: Likewise.
57376         * sysdeps/generic/inttypes.h: Likewise.
57377         * sysdeps/generic/net/if.h: Likewise.
57378         * sysdeps/generic/sys/swap.h: Likewise.
57379         * sysdeps/gnu/net/if.h: Likewise.
57380         * sysdeps/gnu/utmpx.h: Likewise.
57381         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
57382         * sysdeps/i386/i486/bits/string.h: Likewise.
57383         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
57384         * sysdeps/s390/bits/string.h: Likewise.
57385         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
57386         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
57387         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
57388         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
57389         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
57390         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
57391         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
57392         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
57393         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
57394         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
57395         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
57396         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
57397         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
57398         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
57399         * sysdeps/unix/sysv/linux/readv.c: Likewise.
57400         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
57401         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
57402         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57403         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
57404         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
57405         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57406         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
57407         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
57408         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
57409         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
57410         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
57411         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
57412         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57413         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
57414         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
57415         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
57416         * sysvipc/sys/ipc.h: Likewise.
57417         * sysvipc/sys/msg.h: Likewise.
57418         * sysvipc/sys/sem.h: Likewise.
57419         * sysvipc/sys/shm.h: Likewise.
57420         * termios/termios.h: Likewise.
57421         * time/sys/time.h: Likewise.
57422         * time/time.h: Likewise.
57423         * wcsmbs/bits/wchar2.h: Likewise.
57424         * wcsmbs/uchar.h: Likewise.
57425         * wcsmbs/wchar.h: Likewise.
57426         * wctype/wctype.h: Likewise.
57428         [BZ #13551]
57429         * Makeconfig: Remove all but ELF support including AIX support.
57430         * Makerules: Likewise.
57431         * config.h.in: Likewise.
57432         * config.make.in: Likewise.
57433         * configure: Likewise.
57434         * configure.in: Likewise.
57435         * csu/Makefile: Likewise.
57436         * csu/version.c: Likewise.
57437         * debug/Makefile: Likewise.
57438         * dlfcn/Makefile: Likewise.
57439         * elf/Makefile: Likewise.
57440         * extra-lib.mk: Likewise.
57441         * iconv/Makefile: Likewise.
57442         * include/libc-symbols.h: Likewise.
57443         * include/shlib-compat.h: Likewise.
57444         * resolv/Makefile: Likewise.
57445         * resolv/res_libc.c: Likewise.
57446         * rt/Makefile: Likewise.
57447         * sysdeps/i386/asm-syntax.h: Likewise.
57448         * sysdeps/i386/sysdep.h: Likewise.
57449         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57450         * sysdeps/mach/sysdep.h: Likewise.
57451         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
57452         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
57453         * sysdeps/s390/asm-syntax.h: Likewise.
57454         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57455         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57456         * sysdeps/sh/sysdep.h: Likewise.
57457         * sysdeps/unix/sparc/sysdep.h: Likewise.
57458         * sysdeps/wordsize-32/divdi3.c: Likewise.
57459         * sysdeps/x86_64/sysdep.h: Likewise.
57461         * argp/Versions: Remove _argp_unlock_xxx.
57463         [BZ #13559]
57464         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
57465         * abilist/libBrokenLocale.abilist: Likewise.
57466         * abilist/libanl.abilist: Likewise.
57467         * abilist/libc.abilist: Likewise.
57468         * abilist/libcrypt.abilist: Likewise.
57469         * abilist/libdl.abilist: Likewise.
57470         * abilist/libm.abilist: Likewise.
57471         * abilist/libnsl.abilist: Likewise.
57472         * abilist/libpthread.abilist: Likewise.
57473         * abilist/libresolv.abilist: Likewise.
57474         * abilist/librt.abilist: Likewise.
57475         * abilist/libthread_db.abilist: Likewise.
57476         * abilist/libutil.abilist: Likewise.
57477         * abilist/libnss_db.abilist: New file.
57479         * scripts/abilist.awk: Add support for indirect functions.
57481         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
57483         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
57485         * shlib-versions: Remove entries for ports architectures.
57487         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
57488         files in ports.
57489         * elf/stackguard-macros.h: Remove support for IA-64.
57490         * elf/tst-auditmod1.c: Likewise.
57491         * sysdeps/generic/ldsodefs.h: Likewise.
57493         * sysdeps/unix/sysv/linux/configure.in: Ports should define
57494         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
57495         configure files.
57497         [BZ #13552]
57498         * configure.in: Remove --enable-omitfp support.
57499         * FAQ.in: Adjust.
57500         * config.make.in: Likewise.
57501         * Makeconfig: Likewise.
57502         * manual/install.texi: Likewise.
57504         In case anyone cares, the IA-64 architecture could move to ports.
57505         * sysdeps/ia64/*: Removed.
57506         * sysdeps/unix/sysv/linux/ia64/*: Removed.
57507         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
57509         [BZ #13555]
57510         * configure.in: Remove entries for unsupported architectures.
57512         [BZ #13533]
57513         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
57514         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
57515         routines.
57516         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
57517         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
57518         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
57519         fall back to using wcrtomb.
57520         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
57521         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
57522         renaming.
57523         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
57524         * wcsmbs/tst-c16c32-1.c: New file.
57526         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
57527         local variable.
57529         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
57531         * elf/tst-unique3.cc: Add explicit declaration of gets.
57532         * elf/tst-unique3lib.cc: Likewise.
57533         * elf/tst-unique3lib2.cc: Likewise.
57534         * elf/tst-unique4.cc: Likewise.
57536         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
57538 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
57540         [BZ #13566]
57541         * assert/assert.h (static_assert): Don't define for C++.
57542         * libio/stdio.h (gets): Do declare for C++ <= C++11.
57543         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
57545 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
57547         * iconv/loop.c (single loop): Fix assertion in storing of
57548         remaining bytes.
57550         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
57552 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
57554         * posix/getconf.c: Update copyright year.
57555         * nss/getent.c: Likewise.
57556         * nss/makedb.c: Likewise.
57557         * iconv/iconvconfig.c: Likewise.
57558         * iconv/iconv_prog.c: Likewise.
57559         * elf/ldconfig.c: Likewise.
57560         * elf/pldd.c: Likewise.
57561         * elf/sotruss.ksh: Likewise.
57562         * catgets/gencat.c: Likewise.
57563         * csu/version.c: Likewise.
57564         * elf/ldd.bash.in: Likewise.
57565         * elf/sprof.c (print_version): Likewise.
57566         * locale/programs/locale.c: Likewise.
57567         * locale/programs/localedef.c: Likewise.
57568         * login/programs/pt_chown.c: Likewise.
57569         * nscd/nscd.c (print_version): Likewise.
57570         * debug/xtrace.sh: Likewise.
57571         * malloc/memusage.sh: Likewise.
57572         * malloc/mtrace.pl: Likewise.
57573         * debug/catchsegv.sh: Likewise.
57575 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
57577         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
57578         pure attribute.
57580 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
57582         [BZ #13533]
57583         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
57584         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
57585         transformations.
57586         * iconv/gconv_int.h: Likewise.
57587         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
57588         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
57589         from libc for GLIBC_2.16.
57590         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
57591         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
57592         * wcsmbs/uchar.h: Really define mbstate_t.
57593         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
57594         * wcsmbs/c16rtomb.c: New file.
57595         * wcsmbs/mbrtoc16.c: New file.
57596         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
57597         for C/POSIX locale.
57598         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
57599         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
57601         * wcsmbs/wchar.h: Add missing __restrict.
57603 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57605         [BZ #13532]
57606         * time/Makefile (routines): Add timespec_get.
57607         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
57608         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
57609         timespec for ISO C11.
57610         * time/timespec_get.c: New file.
57611         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
57612         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
57614         [BZ #13531]
57615         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
57616         * stdlib/stdlib.h: Declare aligned_alloc.
57617         * Versions.def: Add GLIBC_2.16 for libc.
57618         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
57620         [BZ 13527]
57621         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
57622         ISO C11.
57624         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
57625         code.
57627         [BZ #13528]
57628         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
57630         [BZ #13529]
57631         * assert/assert.h (static_assert): Define.
57633         * version.h: Update for 2.16 development version.
57635         [BZ #13526]
57636         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
57637         _ISOC11_SOURCE.
57639         * version.h (RELEASE): Bump for 2.15 release.
57640         * include/features.h (__GLIBC_MINOR__): Bump to 15.
57642         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
57643         Patch by Marek Polacek <mpolacek@redhat.com>.
57645         * bits/byteswap.h: Protect long long constants with __extension__.
57646         * sysdeps/i386/bits/byteswap.h: Likewise.
57647         * sysdeps/ia64/bits/byteswap.h: Likewise.
57648         * sysdeps/s390/bits/byteswap.h: Likewise.
57649         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57651 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57653         [BZ #13540]
57654         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
57655         destination buffer.
57656         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
57658 2011-12-23  Marek Polacek  <polacek@redhat.com>
57660         * elf/dl-addr.c (determine_info): Add inline keyword.
57661         * elf/tst-auditmod4b.c (check_avx): Likewise.
57662         * elf/tst-auditmod6b.c (check_avx): Likewise.
57663         * elf/tst-auditmod6c.c (check_avx): Likewise.
57664         * elf/tst-auditmod7b.c (check_avx): Likewise.
57666 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57668         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
57669         !__SSE_MATH__.
57671 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57673         [BZ #13540]
57674         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
57675         processing for last bytes.
57677 2011-08-06  Bruno Haible  <bruno@clisp.org>
57679         [BZ #13061]
57680         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
57681         U+0385, not to U+1FEE.
57683         [BZ #13062]
57684         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
57685         entry for U+00A5 U+0301.
57687 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57689         [BZ #13166]
57690         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
57691         buffer for the output is too small.
57693         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
57694         optimization.
57696         [BZ #13185]
57697         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
57698         SSE flags if possible.
57700 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57702         [BZ #13540]
57703         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
57704         processing for last bytes.
57706 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
57708         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
57709         (syscall-list-default-options, syscall-list-default-condition)
57710         (syscall-list-includes): Define.
57711         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
57712         list of ABIs and options and #if conditions for each ABI.  Do not
57713         handle common syscalls between ABIs specially.
57714         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
57715         Remove.
57716         (syscall-list-variants, syscall-list-32bit-options)
57717         (syscall-list-32bit-condition, syscall-list-64bit-options)
57718         (syscall-list-64bit-condition): Define.
57719         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
57720         (syscall-list-variants, syscall-list-32bit-options)
57721         (syscall-list-32bit-condition, syscall-list-64bit-options)
57722         (syscall-list-64bit-condition): Define.
57723         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
57724         Remove.
57725         (syscall-list-variants, syscall-list-32bit-options)
57726         (syscall-list-32bit-condition, syscall-list-64bit-options)
57727         (syscall-list-64bit-condition): Define.
57728         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
57729         Remove.
57730         (syscall-list-variants, syscall-list-32bit-options)
57731         (syscall-list-32bit-condition, syscall-list-64bit-options)
57732         (syscall-list-64bit-condition): Define.
57734 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57736         * locale/iso-639.def: Add brx entry.
57738         [BZ #13328]
57739         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
57740         Proposed by Mariusz_Cukr <marcukr@op.pl>.
57742         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57743         __feraiseexcept_renamed.
57745 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57747         [BZ #13538]
57748         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57749         EPOLLET with unsigned values.
57750         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57751         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57753         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57754         to large cancellation.
57755         * math/s_cacoshf.c: Likewise.
57756         * math/s_cacoshl.c: Likewise.
57758 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
57760         [BZ #13305]
57761         [BZ #12786]
57762         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
57763         * math/s_cacoshf.c: Likewise.
57764         * math/s_cacoshl.c: Likewise.
57766 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57768         [BZ #13439]
57769         * iconv/gconv.h: Define __GCONV_SWAP.
57770         * iconvdata/unicode.c: The swap bit must be stored in __flags.
57771         * iconvdata/utf-16.c: Likewise.
57772         * iconvdata/utf-32.c: Likewise.
57774 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
57776         [BZ #13524]
57777         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
57778         numerator after shifting it by one limb.
57780 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
57782         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
57783         under [__USE_EXTERN_INLINES].
57785 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57787         [BZ #13446]
57788         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
57790 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57792         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
57793         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
57794         optimized code.
57795         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
57796         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
57797         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
57798         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
57799         for strncasecmp/strncasecmp_l compilation.
57800         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
57801         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
57803 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
57805         [BZ #13484]
57806         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
57807         of __asm__.
57809 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57811         [BZ #13506]
57812         * time/tzfile.c (__tzfile_read): Check values from file header.
57814 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57816         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
57817         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
57818         * powerpc/powerpc32/dl-start.S: Likewise.
57819         * powerpc/powerpc32/elf/start.S: Likewise.
57820         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57821         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
57822         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
57823         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
57824         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57825         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
57826         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
57827         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57828         * powerpc/powerpc32/fpu/s_round.S: Likewise.
57829         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57830         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57831         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57832         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
57833         * powerpc/powerpc32/memset.S: Likewise.
57834         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57835         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57836         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57837         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57838         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57839         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57840         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57841         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57842         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
57843         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
57844         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
57845         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57846         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57848 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57850         * math/libm-test.inc: Added more nearbyint tests.
57851         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
57852         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
57853         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
57854         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
57856 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
57858         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
57859         FD_CLOEXEC.
57861 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57863         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
57864         Add wcscpy-ssse3 wcscpy-c.
57865         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
57866         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
57867         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
57868         * sysdeps/x86_64/wcschr.S: New file.
57869         * sysdeps/x86_64/wcsrchr.S: New file.
57870         * string/test-strcmp.c: Remove checking of wcscmp function for
57871         wrong alignments.
57872         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
57873         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
57874         wcsrchr-sse2 wcsrchr-c.
57875         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
57876         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
57877         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
57878         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
57879         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
57880         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
57881         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
57882         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
57883         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
57884         * wcsmbc/wcschr.c (WCSCHR): New macro.
57886 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57888         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
57889         * wcsmbs/test-wcsrchr.c: New file.
57890         * string/test-strrchr.c: Add wcsrchr support.
57891         (WIDE): New macro.
57892         * wcsmbs/test-wcscpy.c: New file.
57893         * string/test-strcpy.c: Add wcscpy support.
57894         (WIDE): New macro.
57896 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
57898         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
57899         the inner loop.
57901 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
57903         [BZ #13472]
57904         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
57906 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
57908         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
57909         Minor optimizations.
57911         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
57912         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
57913         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
57915 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
57917         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
57918         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
57919         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
57920         for gcc to avoid warnings.
57921         * inet/Makefile (tests): Add tst-checks.
57922         * inet/tst-checks.c: New file.
57924         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
57925         warning.
57927         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
57928         __wmemcmp_sse2.
57930         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
57931         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
57933         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
57935 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
57937         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
57938         problem.
57940         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
57942 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
57944         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
57945         conditional on GCC version.
57946         (__arch_compare_and_exchange_val_8_acq)
57947         (__arch_compare_and_exchange_val_16_acq)
57948         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
57949         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
57950         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
57952 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
57954         * sysdeps/sh/backtrace.c: New file.
57956 2011-12-02  Andreas Schwab  <schwab@redhat.com>
57958         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
57959         parenthesis.
57961 2011-12-01  Andreas Schwab  <schwab@redhat.com>
57963         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
57964         falling back to utime.
57966 2011-11-30  Andreas Schwab  <schwab@redhat.com>
57968         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
57969         expectations for float.
57971 2011-11-29  Andreas Schwab  <schwab@redhat.com>
57973         * locale/weight.h (findidx): Add parameter len.
57974         * locale/weightwc.h (findidx): Likewise.
57975         * posix/fnmatch_loop.c (FCT): Adjust caller.
57976         * posix/regcomp.c (build_equiv_class): Likewise.
57977         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
57978         * posix/regexec.c (check_node_accept_bytes): Likewise.
57979         * string/strcoll_l.c (STRCOLL): Likewise.
57980         * string/strxfrm_l.c (STRXFRM): Likewise.
57982 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
57984         * Makefile.in: Remove CVSOPT handling.
57985         * configure.in: Remove use of AC_REVISION.
57986         * iconvdata/Makefile (distribute): No need to filter out CVS.
57987         * scripts/list-sources.sh: Remove CVS, subversion and monotone
57988         handling.
57990 2011-11-16  Andreas Schwab  <schwab@redhat.com>
57992         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
57993         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
57994         [USE_AS_STRNCASECMP_L]: Likewise.
57995         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
57996         NO_TLS_DIRECT_SEG_REFS.
57997         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
57998         Fix argument offsets for non-PIC.
57999         [USE_AS_STRNCASECMP_L]: Likewise.
58000         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
58001         NO_TLS_DIRECT_SEG_REFS.
58003 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
58005         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
58006         O_CLOEXEC.
58007         * locale/loadlocale.c (_nl_load_locale): Likewise.
58009 2011-11-15  Andreas Schwab  <schwab@redhat.com>
58011         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
58012         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
58013         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
58014         (SYSCALL_GETTIME): Set errno on error.
58016         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
58017         count references to noai6ai_cached.
58019 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
58021         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
58023         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
58024         FD_CLOEXEC for /proc/self/maps.
58026         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
58027         FD_CLOEXEC for /proc/meminfo.
58029         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
58030         gai.conf.
58032         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
58033         FD_CLOEXEC for given file.
58035         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
58037         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
58038         FD_CLOEXEC for /etc/hosts.
58039         (_gethtent): Likewise.
58041         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
58043         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
58044         cancellation and set FD_CLOEXEC for /etc/netgroup.
58046         * nss/nss_files/files-key.c (search): Don't allow cancellation when
58047         reading /etc/publickey.
58049         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
58050         allow cancellation when reading /etc/group.
58052         * nss/nss_files/files-alias.c (internal_setent): Don't allow
58053         cancellation.
58054         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
58056         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
58057         when using data file.
58059         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
58061         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
58062         (write_nis_obj): Use "c" and "e" in fopen.
58064         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
58066         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
58068         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
58070         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
58072         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
58073         locale.alias.
58075         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
58077         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
58079         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
58081         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
58082         file parsing and set FD_CLOEXEC.
58084 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
58086         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
58088 2011-11-14  Andreas Schwab  <schwab@redhat.com>
58090         * malloc/arena.c (arena_get2): Don't call reused_arena when
58091         _int_new_arena failed.
58093 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
58095         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
58096         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
58097         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
58098         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58099         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58100         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
58101         to compile strcasecmp and strncasecmp.
58102         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
58103         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
58105         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
58107 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
58109         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
58110         locale-defines.sym to gen-as-const-headers.
58111         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
58112         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
58113         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
58114         to compile strcasecmp and strncasecmp.
58115         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
58116         strcasecmp_l and strncasecmp_l.
58117         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
58118         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
58119         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
58120         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
58121         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
58122         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
58123         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
58124         * sysdeps/i386/i686/multiarch/strncase.S: New file.
58125         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
58126         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
58127         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
58129 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
58131         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
58132         result of SYSDEP_GETTIME_CPU to retval.
58133         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
58134         parameter list to macro.  Remove trailing semicolon.  Adjust users.
58136         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
58137         variable.
58139         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
58140         mantissa words.
58141         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
58143         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
58144         from unused variable.
58146         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
58147         DWARF definitions.
58148         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
58149         for assembling.
58151         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
58152         over namespaces.
58154         * sunrpc/rpc_prot.c (rejected): Fix case value.
58156         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
58157         unsigned long long int to avoid warnings in shift.
58159         * posix/regex_internal.c (re_string_reconstruct): Actually use result
58160         of use of trans.
58161         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
58162         variable tmp.
58164         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
58165         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
58166         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
58168         * nis/nis_table.c (nis_list): Use variable of correct type for
58169         result of __follow_path call.
58171 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58173         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
58174         of math functions ceil, trunc, floor, round, and sqrt, when
58175         avaliable on the platform.
58176         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
58177         name clash.
58178         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58179         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58180         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58182 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
58184         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
58185         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58187 2011-11-11  Roland McGrath  <roland@hack.frob.com>
58189         * include/unistd.h: Fix __readlink return type.
58190         Reported by Chris Metcalf <cmetcalf@tilera.com>.
58192 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
58194         * stdlib/ucontext.h: Undo last change for makecontext.
58196 2011-11-11  Andreas Schwab  <schwab@redhat.com>
58198         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
58200         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
58201         * setjmp/setjmp.h: Mark functions as non-leaf.
58202         * setjmp/bits/setjmp2.h: Likewise.
58203         * stdlib/ucontext.h: Likewise.
58205 2011-11-10  Andreas Schwab  <schwab@redhat.com>
58207         * malloc/arena.c (_int_new_arena): Don't increment narenas.
58208         (reused_arena): Don't check arena limit.
58209         (arena_get2): Atomically check arena limit.
58211 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
58213         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
58214         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
58216         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
58217         instructions.
58219 2011-11-07  Andreas Schwab  <schwab@redhat.com>
58221         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
58222         handler when locking.
58224         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58225         Fix size of allocated buffer.
58227 2011-11-04  Andreas Schwab  <schwab@redhat.com>
58229         [BZ #10103]
58230         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
58231         declarations for long double functions.
58232         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
58234         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
58236 2011-11-03  Andreas Schwab  <schwab@redhat.com>
58238         * nscd/nscd.c (main): Don't start AVC thread until credentials are
58239         installed.
58241         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
58242         is disabled.
58244 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58246         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
58248 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58250         * include/alloca.h (stackinfo_alloca_round): Define.
58251         (extend_alloca): Use it.
58252         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
58253         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
58254         here.
58256         * scripts/check-local-headers.sh: Ignore libaudit.h.
58258         * nscd/Makefile (extra-objs): Make recursively expanded.
58260 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
58262         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
58263         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
58265         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
58266         * posix/tst-rfc3484-2.c: Likewise.
58267         * posix/tst-rfc3484-3.c: Likewise.
58269         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
58270         process_vm_writev.
58271         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
58272         process_vm_writev.
58273         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
58274         process_vm_writev from libc using GLIBC_2.15 version.
58276         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
58278 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
58280         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
58281         stack usage.
58283 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
58285         [BZ #13367]
58286         * nss/getent.c (initgroups_keys): Show error message in case no group
58287         names are given.
58289         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
58290         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
58291         __bump_nl_timestamp.
58292         * nscd/connections (nscd_init): When host database is served open
58293         netlink socket and request notification about configuration changes.
58294         (main_loop_poll): Track netlink file descriptor and bump timestamp
58295         in case data becomes available.
58296         (main_loop_epoll): Likewise.
58297         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
58298         (database_pers_head): Add extra_data fileds.
58299         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
58300         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
58301         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
58302         Adjust caller.
58303         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
58304         in6ai data, call __free_in6ai.
58305         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
58306         Add -DHAVE_NETLINK.
58307         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
58308         interface information.  Reuse previous data if netlink timestamp
58309         is not changed.
58310         (__bump_nl_timestamp): New function.
58311         (__free_in6ai): New function.
58313 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
58315         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
58316         close_not_cancel_no_status here.
58317         (__check_pf): Reorganize code a bit to not call close twice if OOM.
58319 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58321         [BZ #13276]
58322         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
58323         return value.
58325         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
58326         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
58327         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
58329 2011-07-03  Andreas Jaeger  <aj@suse.de>
58331         [BZ #10709]
58332         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
58333         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
58334         * math/libm-test.inc (sin_test): Add test case.
58336 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58338         [BZ #13337]
58339         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
58340         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58342         * elf/chroot_canon.c (chroot_canon): Cleanups.
58344         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
58346         [BZ #13335]
58347         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
58348         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58350         * string/test-strchr.c: Make usable for strchrnul testing.
58351         * string/test-strchrnul.c: New file.
58352         * string/Makefile (strop-tests): Add strchrnul.
58354         * po/it.po: Update from translation team.
58355         * po/es.po: Likewise.
58357 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
58359         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
58360         the three constants needed as parameters.  Drop the others.
58361         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
58362         __m128i_strloadu_tolower.
58363         Create and initialize variable zero and use it in all the places
58364         where _mm_setzero_si128 was used.
58366         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
58367         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
58368         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
58369         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
58370         anymore.
58371         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
58372         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
58373         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
58374         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
58375         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
58376         __mpranred, __mptan.
58377         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
58378         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
58379         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
58380         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
58381         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
58382         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
58383         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
58384         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
58385         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
58387 2011-10-28  Andreas Schwab  <schwab@redhat.com>
58389         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
58390         redefine if SHARED.
58391         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
58393         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
58394         wide char related routines to wcsmbs subdir.
58396 2011-10-27  Andreas Schwab  <schwab@redhat.com>
58398         [BZ #13344]
58399         * misc/sys/cdefs.h (__THROWNL): Define.
58400         * posix/unistd.h: Use __THREADNL instead of __THREAD
58401         for memory synchronization functions.
58403 2011-10-26  Roland McGrath  <roland@hack.frob.com>
58405         [BZ #13349]
58406         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
58407         doesn't exist.
58408         * manual/stdio.texi (Obstack Streams): Node removed.
58410 2011-10-26  Andreas Schwab  <schwab@redhat.com>
58412         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
58413         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58414         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58416         * math/math_private.h (math_force_eval): Allow non-addressable
58417         arguments.
58418         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
58420 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58422         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
58423         file is not needed.
58425         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
58426         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
58427         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58428         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58429         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58430         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58431         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58432         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
58433         Add AVX variants.
58434         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
58435         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
58436         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
58437         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
58438         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
58439         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
58440         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
58441         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
58442         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
58443         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
58444         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
58445         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
58446         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
58447         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
58448         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
58449         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
58450         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
58451         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
58452         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
58454         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
58455         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
58457         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
58458         place.  Use VEX encoding when compiling for AVX.
58460 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58462         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
58463         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58465         * string/test-strchr.c (do_test): Don't generate NUL bytes.
58467 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58469         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
58470         useless if() expression.
58471         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58472         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58473         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58474         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58475         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58476         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58477         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58478         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58479         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58480         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58481         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58482         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58483         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
58484         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58485         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
58486         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58487         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58488         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58489         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
58491         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
58493 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58495         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
58496         condition.
58497         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58499 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58501         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
58502         .text section.  Avoid duplicate constants.
58503         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58504         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58505         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58506         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58507         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58508         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58509         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58510         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58511         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58512         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
58513         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58514         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58515         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
58516         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
58517         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58518         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
58519         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58520         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58521         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58522         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58523         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58524         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58525         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58526         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
58527         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
58528         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
58529         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
58530         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
58531         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
58532         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
58533         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
58534         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
58535         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58536         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
58537         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
58538         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
58539         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
58540         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
58541         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
58542         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
58543         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
58544         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
58545         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
58546         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
58547         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
58549 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
58551         * sysdeps/x86_64/dla.h: Move to ...
58552         * sysdeps/x86_64/fpu/dla.h: ...here.
58553         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
58554         situations.  Use __builtin_fma only for gcc 4.6 and up.
58556         * config.make.in: Add have-mfma4 entry.
58557         * configure.in: Substitute libc_cv_cc_fma4.
58558         * math/Makefile (dbl-only-routines): Add sincostab.
58559         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
58560         Use __sincostab not sincos.
58561         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
58562         name is a macro.
58563         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58564         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58565         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58566         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
58567         using __copysign.
58568         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
58569         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
58570         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
58571         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
58572         and __inv.
58573         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
58574         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
58575         __copysign.
58576         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
58577         define aliases when function name is a macro.
58578         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
58579         sysdeps/ieee754/dbl-64/sincos.tbl.
58580         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
58581         fma4-enabled routines.
58582         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
58583         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
58584         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
58585         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
58586         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
58587         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
58588         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
58589         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
58590         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
58591         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
58592         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
58593         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
58594         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
58595         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
58596         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
58597         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
58598         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
58599         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
58600         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
58601         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
58602         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
58603         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
58604         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
58605         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
58606         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
58607         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
58608         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
58609         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
58610         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
58611         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
58613         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
58614         rename.
58615         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58616         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58617         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58618         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58619         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58620         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58621         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58622         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58624 2011-10-24  Andreas Schwab  <schwab@redhat.com>
58626         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
58628 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58630         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
58632         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
58633         prediction.
58634         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
58636         * string/strnlen.c: Don't define STRNLEN, reverse logic.
58637         Remove unused variable magic_bits.
58638         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
58640         * string/strnlen.c: Define and use STRNLEN macro.
58641         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
58642         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
58643         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
58644         * wcsmbs/wcslen.c: Define and use WCSLEN.
58645         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
58646         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
58647         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
58648         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
58649         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
58650         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
58651         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58653 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58655         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58656         strnlen-sse2-no-bsf.
58657         Rename strlen-no-bsf to strlen-sse2-no-bsf.
58658         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
58659         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
58660         Add strnlen support.
58661         (USE_AS_STRNLEN): New macro.
58662         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
58663         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
58664         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
58665         * sysdeps/x86_64/wcslen.S: New file.
58667 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
58669         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58670         XMM-moves are used for copying on small sizes.
58672 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58674         * wcsmbs/Makefile (strop-tests): Add wcschr.
58675         * wcsmbs/test-wcschr.c: New file.
58676         * string/test-strchr.c: Update.
58677         Add wcschr support.
58678         (WIDE): New macro.
58680 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58682         * wcsmbs/Makefile (strop-tests): Add wcslen.
58683         * wcsmbs/test-wcslen.c: New file.
58684         * string/test-strlen.c: Update.
58685         Add wcslen support.
58686         (WIDE): New macro.
58688 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58690         * po/it.po: Update from translation team.
58692 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58694         * sysdeps/x86_64/wcscmp.S: Update.
58695         Fix wrong comparison semantics.
58696         wcscmp shall use signed comparison not unsigned.
58697         Don't use substraction to avoid overflow bug.
58698         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
58699         * wcsmbc/wcscmp.c: Likewise.
58700         * string/test-strcmp.c: Likewise.
58701         Add new tests to check cases with negative values.
58703 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58705         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
58706         * sysdeps/x86_64/dla.h: ...here.  New file.
58707         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
58708         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58709         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58710         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58711         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58712         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58713         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58714         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58715         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58717 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
58719         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
58720         __ynl_finite aliases.
58722 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58724         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58726         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
58727         define DLA_FMA.
58728         [DLA_FMA] (EMULV): Use DLA_FMA.
58729         [DLA_FMA] (MUL12): Use EMULV.
58730         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
58731         that are not needed.
58732         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58733         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58734         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58735         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58736         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58737         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58738         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58740 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
58742         * math/s_nan.c: Undef __nan.
58743         * math/s_nanf.c: Undef __nanf.
58744         * math/s_nanl.c: Undef __nanl.
58745         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58746         "math_private.h".
58748 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58750         * math/s_catan.c: Add branch predictions.
58751         * math/s_catanf.c: Likewise.
58752         * math/s_catanh.c: Likewise.
58753         * math/s_catanhf.c: Likewise.
58754         * math/s_catanhl.c: Likewise.
58755         * math/s_catanl.c: Likewise.
58756         * math/s_cexp.c: Likewise.
58757         * math/s_cexpf.c: Likewise.
58758         * math/s_cexpl.c: Likewise.
58759         * math/s_clog.c: Likewise.
58760         * math/s_clog10.c: Likewise.
58761         * math/s_clog10f.c: Likewise.
58762         * math/s_clog10l.c: Likewise.
58763         * math/s_clogf.c: Likewise.
58764         * math/s_clogl.c: Likewise.
58765         * math/s_csqrt.c: Likewise.
58766         * math/s_csqrtf.c: Likewise.
58767         * math/s_csqrtl.c: Likewise.
58768         * math/s_ctanf.c: Likewise.
58769         * math/s_ctanh.c: Likewise.
58770         * math/s_ctanhf.c: Likewise.
58771         * math/s_ctanhl.c: Likewise.
58772         * math/s_ctanl.c: Likewise.
58774         * math/math_private.h: Define __nan, __nanf, __nanl.
58775         * math/s_cacosh.c: Include <math_private.h>.
58776         * math/s_cacoshl.c: Likewise.
58777         * math/s_casinh.c: Likewise.
58778         * math/s_casinhf.c: Likewise.
58779         * math/s_casinhl.c: Likewise.
58780         * math/s_ccos.c: Rely entire on ccosh.
58781         * math/s_ccosf.c: Rely entire on ccoshf.
58782         * math/s_ccosl.c: Rely entirely on ccoshl.
58783         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
58784         Remove tests for FE_INVALID.
58785         * math/s_ccoshf.c: Likewise.
58786         * math/s_ccoshl.c: Likewise.
58787         * math/s_csin.c: Likewise.
58788         * math/s_csinf.c: Likewise.
58789         * math/s_csinh.c Likewise.
58790         * math/s_csinhf.c: Likewise.
58791         * math/s_csinhl.c: Likewise.
58792         * math/s_csinl.c: Likewise.
58793         * math/s_ctan.c: Likewise.
58794         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
58795         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
58796         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
58798 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
58800         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
58801         compilation problems.
58803         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
58804         __builtin_expect.
58806 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
58808         * sysdeps/i386/configure.in: Test for -mfma4 option.
58809         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
58810         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
58811         COMMON_CPUID_INDEX_80000001.
58812         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
58813         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
58814         use it if FMA3 is not supported.
58815         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
58817         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
58818         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58820 2011-10-20  Andreas Schwab  <schwab@redhat.com>
58822         [BZ #12892]
58823         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
58824         it would create a cycle with a link time dependency.
58826 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
58828         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
58829         instruction.
58830         * string/Makefile (strop-tests): Add rawmemchr.
58831         * string/test-rawmemchr.c: New file.
58833         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
58834         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
58835         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
58836         when compiling str{,n}casecmp and when AVX is available.  Hook up
58837         new optimized code in initializers.
58839 2011-10-19  Andreas Schwab  <schwab@redhat.com>
58841         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
58842         __feraiseexcept instead of feraiseexcept.
58844 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
58846         * math/math_private.h: Define defaults for libc_fetestexcept and
58847         libc_feupdateenv.
58848         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
58849         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
58850         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58851         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58852         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58853         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58854         libc_fetestexcept and libc_feupdateenv.
58856         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
58857         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
58858         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
58859         * sysdeps/x86_64/fpu/math_private.h: Define special version of
58860         libc_feholdexcept_setround.
58862         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
58863         Add s_nearbyint-c and s_nearbyintf-c.
58864         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
58865         nearbyintf inlines.
58866         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
58867         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
58868         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
58869         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
58871         * math/math_private.h: Define defaults for libc_fegetround,
58872         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
58873         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
58874         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
58875         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
58876         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
58877         standard functions.
58878         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58879         Remove comments and hacks for old compiler versions.
58880         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58881         libc_fegetround, libc_fesetround, libc_feholdexcept, and
58882         libc_feholdexceptl.
58884 2011-10-18  Andreas Schwab  <schwab@redhat.com>
58886         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
58887         (__feraiseexcept_renamed): Add __NTH.
58888         (feraiseexcept): Add __NTH.  Rename local variables to fix
58889         namespace violations.
58891 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
58893         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
58895         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
58897         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
58898         recently added interfaces.
58899         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
58901         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
58902         about macro parameter expansion.
58904         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
58905         __NO_MATH_INLINES is defined.  Cleanups.
58907         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
58908         and __floorf is target has SSE4.1.
58909         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
58910         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
58911         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
58912         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
58914         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
58915         name.
58916         (floorf): Likewise.
58918         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
58920 2011-10-17  Andreas Schwab  <schwab@redhat.com>
58922         * misc/sys/cdefs.h: Fix last change.
58924         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
58925         database lookup.
58927 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
58929         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
58931         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
58932         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58933         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58934         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58935         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58936         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
58937         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58938         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58939         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
58940         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
58941         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
58942         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
58943         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
58944         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
58945         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
58946         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
58947         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
58948         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
58949         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
58950         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
58951         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
58952         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
58954         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
58955         ceil, ceilf, floor, floorf.
58957         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
58958         Perform IRELATIVE relocations last.
58960         * elf/do-rel.h: Add another parameter nrelative, replacing the
58961         local variable with the same name.  Change name of the function
58962         to end in Rel or Rela (uppercase).
58963         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
58964         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
58965         elf_dynamic_do_##reloc function.
58967 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58969         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
58970         is sufficient, at least on modern CPUs.
58972         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
58974         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
58975         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
58977         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
58978         __expl_finite.
58979         * math/bits/math-finite.h: Add entries for exp.
58980         * math/e_expl.c: Add __*_finite alias.
58981         * sysdeps/i386/fpu/e_exp.S: Likewise.
58982         * sysdeps/i386/fpu/e_expf.S: Likewise.
58983         * sysdeps/i386/fpu/e_expl.c: Likewise.
58984         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58985         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58986         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58987         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58988         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
58989         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58990         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58992         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
58993         is sufficient, at least on modern CPUs.
58995         * ctype/ctype-info.c (__ctype_init): Define.
58996         * include/ctype.h (__ctype_init): Declare.
58997         (__ctype_b_loc): The variable is always initialized.
58998         (__ctype_toupper_loc): Likewise.
58999         (__ctype_tolower_loc): Likewise.
59000         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
59001         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
59003 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
59005         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
59007         * configure.in: Also look in $cxxmachine/include for C++ system
59008         headers.
59010 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59012         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
59013         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
59014         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
59015         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
59016         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
59017         (USE_AS_WMEMCMP): New macro.
59018         Fixing indents.
59019         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
59020         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
59021         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
59022         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
59023         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59024         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
59025         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
59026         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
59027         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
59028         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
59029         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
59030         (USE_AS_WMEMCMP): New macro.
59031         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
59032         * sysdeps/string/test-memcmp.c: Update.
59033         Fix simple_wmemcmp.
59034         Add new tests.
59035         * wcsmbs/wmemcmp.c: Update.
59036         (WMEMCMP): New macro.
59037         Fix overflow bug.
59039 2011-10-12  Andreas Jaeger  <aj@suse.de>
59041         [BZ #13268]
59042         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
59044 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
59046         * libio/iofwide.c (do_length): Avoid warning.
59048         * ctype/ctype.h (__isctype_f): Add missing __THROW.
59050 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
59052         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
59054         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
59055         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
59056         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
59057         * sysdeps/i386/i686/fpu/e_log.S: New file.
59058         * sysdeps/i386/i686/fpu/e_logf.S: New file.
59059         * sysdeps/i386/i686/fpu/e_logl.S: New file.
59061         * ctype/ctype.h: Add support for inlined isXXX functions when
59062         compiling C++ code.
59064 2011-10-14  Andreas Schwab  <schwab@redhat.com>
59066         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59068         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
59070 2011-10-13  Roland McGrath  <roland@hack.frob.com>
59072         [BZ #13291]
59073         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
59075 2011-10-13  Andreas Schwab  <schwab@redhat.com>
59077         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
59078         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
59079         feraiseexcept.
59081         * sysdeps/x86_64/memrchr.S: Check for zero size.
59083         * string/stratcliff.c: Add memrchr tests.
59085 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59087         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59088         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
59089         rawmemchr-sse2 rawmemchr-sse2-bsf.
59090         * sysdeps/i386/i686/multiarch/memchr.S: New file.
59091         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
59092         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
59093         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
59094         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
59095         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
59096         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
59097         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
59098         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
59099         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
59100         * string/memrchr.c (MEMRCHR): New macro.
59102 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
59104         Add integration with gcc's -ffinite-math-only and optimize wrapper
59105         functions in libm.
59106         * Versions.def: Define GLIBC_2.15 version for libm.
59107         * math/Makefile (headers): Add bits/math-finite.h.
59108         * math/bits/math-finite.h: New file.
59109         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
59110         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
59111         * math/e_acoshl.c: Add __*_finite alias.
59112         * math/e_acosl.c: Likewise.
59113         * math/e_asinl.c: Likewise.
59114         * math/e_atan2l.c: Likewise.
59115         * math/e_atanhl.c: Likewise.
59116         * math/e_coshl.c: Likewise.
59117         * math/e_exp10.c: Likewise.
59118         * math/e_exp10f.c: Likewise.
59119         * math/e_exp10l.c: Likewise.
59120         * math/e_exp2l.c: Likewise.
59121         * math/e_fmodl.c: Likewise.
59122         * math/e_gammal_r.c: Likewise.
59123         * math/e_hypotl.c: Likewise.
59124         * math/e_j0l.c: Likewise.
59125         * math/e_j1l.c: Likewise.
59126         * math/e_jnl.c: Likewise.
59127         * math/e_lgammal_r.c: Likewise.
59128         * math/e_log10l.c: Likewise.
59129         * math/e_log2l.c: Likewise.
59130         * math/e_logl.c: Likewise.
59131         * math/e_powl.c: Likewise.
59132         * math/e_sinhl.c: Likewise.
59133         * math/e_sqrtl.c: Likewise.
59134         * math/e_scalb.c: Completely rewritten and optimized.
59135         * math/e_scalbf.c: Likewise.
59136         * math/e_scalbl.c: Likewise.
59137         * math/w_acos.c: Likewise.
59138         * math/w_acosf.c: Likewise.
59139         * math/w_acosl.c: Likewise.
59140         * math/w_acosh.c: Likewise.
59141         * math/w_acoshf.c: Likewise.
59142         * math/w_acoshl.c: Likewise.
59143         * math/w_asin.c: Likewise.
59144         * math/w_asinf.c: Likewise.
59145         * math/w_asinl.c: Likewise.
59146         * math/w_atan2.c: Likewise.
59147         * math/w_atan2f.c: Likewise.
59148         * math/w_atan2l.c: Likewise.
59149         * math/w_atanh.c: Likewise.
59150         * math/w_atanhf.c: Likewise.
59151         * math/w_atanhl.c: Likewise.
59152         * math/w_exp10.c: Likewise.
59153         * math/w_exp10f.c: Likewise.
59154         * math/w_exp10l.c: Likewise.
59155         * math/w_fmod.c: Likewise.
59156         * math/w_fmodf.c: Likewise.
59157         * math/w_fmodl.c: Likewise.
59158         * math/w_j0.c: Likewise.
59159         * math/w_j0f.c: Likewise.
59160         * math/w_j0l.c: Likewise.
59161         * math/w_j1.c: Likewise.
59162         * math/w_j1f.c: Likewise.
59163         * math/w_j1l.c: Likewise.
59164         * math/w_jn.c: Likewise.
59165         * math/w_jnf.c: Likewise.
59166         * math/w_log.c: Likewise.
59167         * math/w_logf.c: Likewise.
59168         * math/w_logl.c: Likewise.
59169         * math/w_log10.c: Likewise.
59170         * math/w_log10f.c: Likewise.
59171         * math/w_log10l.c: Likewise.
59172         * math/w_log2.c: Likewise.
59173         * math/w_log2f.c: Likewise.
59174         * math/w_log2l.c: Likewise.
59175         * math/w_pow.c: Likewise.
59176         * math/w_powf.c: Likewise.
59177         * math/w_powl.c: Likewise.
59178         * math/w_remainder.c: Likewise.
59179         * math/w_remainderf.c: Likewise.
59180         * math/w_remainderl.c: Likewise.
59181         * math/w_scalb.c: Likewise.
59182         * math/w_scalbf.c: Likewise.
59183         * math/w_scalbl.c: Likewise.
59184         * math/w_sqrt.c: Likewise.
59185         * math/w_sqrtf.c: Likewise.
59186         * math/w_sqrtl.c: Likewise.
59187         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
59188         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
59189         used.
59190         * math/math_private.h: Declare __kernel_standard_f.
59191         * math/w_cosh.c: Remove cruft and optimize a bit.
59192         * math/w_coshf.c: Likewise.
59193         * math/w_coshl.c: Likewise.
59194         * math/w_exp2.c: Likewise.
59195         * math/w_exp2f.c: Likewise.
59196         * math/w_exp2l.c: Likewise.
59197         * math/w_hypot.c: Likewise.
59198         * math/w_hypotf.c: Likewise.
59199         * math/w_hypotl.c: Likewise.
59200         * math/w_lgamma.c: Likewise.
59201         * math/w_lgamma_r.c: Likewise.
59202         * math/w_lgammaf.c: Likewise.
59203         * math/w_lgammaf_r.c: Likewise.
59204         * math/w_lgammal.c: Likewise.
59205         * math/w_lgammal_r.c: Likewise.
59206         * math/w_sinh.c: Likewise.
59207         * math/w_sinhf.c: Likewise.
59208         * math/w_sinhl.c: Likewise.
59209         * math/w_tgamma.c: Likewise.
59210         * math/w_tgammaf.c: Likewise.
59211         * math/w_tgammal.c: Likewise.
59212         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
59213         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59214         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
59215         Minor optimizations.  Pretty printing.  Remove cruft.
59216         * sysdeps/i386/fpu/e_acosf.S: Likewise.
59217         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59218         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59219         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59220         * sysdeps/i386/fpu/e_acosl.c: Likewise.
59221         * sysdeps/i386/fpu/e_asin.S: Likewise.
59222         * sysdeps/i386/fpu/e_asinf.S: Likewise.
59223         * sysdeps/i386/fpu/e_atan2.S: Likewise.
59224         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
59225         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
59226         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59227         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59228         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59229         * sysdeps/i386/fpu/e_exp10.S: Likewise.
59230         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
59231         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
59232         * sysdeps/i386/fpu/e_exp2.S: Likewise.
59233         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
59234         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
59235         * sysdeps/i386/fpu/e_fmod.S: Likewise.
59236         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
59237         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
59238         * sysdeps/i386/fpu/e_hypot.S: Likewise.
59239         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
59240         * sysdeps/i386/fpu/e_log.S: Likewise.
59241         * sysdeps/i386/fpu/e_log10.S: Likewise.
59242         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59243         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59244         * sysdeps/i386/fpu/e_log2.S: Likewise.
59245         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59246         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59247         * sysdeps/i386/fpu/e_logf.S: Likewise.
59248         * sysdeps/i386/fpu/e_logl.S: Likewise.
59249         * sysdeps/i386/fpu/e_pow.S: Likewise.
59250         * sysdeps/i386/fpu/e_powf.S: Likewise.
59251         * sysdeps/i386/fpu/e_powl.S: Likewise.
59252         * sysdeps/i386/fpu/e_remainder.S: Likewise.
59253         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
59254         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
59255         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59256         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59257         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59258         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
59259         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
59260         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
59261         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59262         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59263         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59264         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59265         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59266         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59267         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
59268         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59269         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59270         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59271         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59272         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
59273         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59274         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59275         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59276         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59277         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59278         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59279         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59280         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59281         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59282         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
59283         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59284         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59285         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
59286         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
59287         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59288         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
59289         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
59290         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
59291         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59292         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
59293         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59294         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
59295         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
59296         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
59297         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
59298         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
59299         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
59300         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
59301         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
59302         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
59303         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
59304         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
59305         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59306         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
59307         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
59308         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
59309         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
59310         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
59311         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
59312         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
59313         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
59314         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59315         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
59316         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
59317         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
59318         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
59319         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
59320         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
59321         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
59322         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
59323         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59324         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59325         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
59326         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
59327         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
59328         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
59329         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
59330         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
59331         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
59332         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
59333         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
59334         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
59335         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
59336         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59337         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
59338         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
59339         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59340         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
59341         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59342         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
59343         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
59344         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59345         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59346         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
59347         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59348         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
59349         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59350         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
59351         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59352         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59353         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59354         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
59355         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59356         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59357         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59358         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
59359         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
59360         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
59361         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
59362         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
59363         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
59364         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
59365         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59366         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59367         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59368         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59369         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
59370         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59371         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
59372         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
59373         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
59374         (__isnanf): Likewise.
59375         (__isinf_ns): Likewise.
59376         (__isinf_nsf): Likewise.
59377         (__finite): Likewise.
59378         (__finitef): Likewise.
59379         (__ieee754_sqrt): Define as macro.
59380         (__ieee754_sqrtf): Define as macro.
59381         (__ieee754_sqrtl): Define as macro.
59382         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
59383         inlined copy.
59384         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
59385         __FINITE_MATH_ONLY__ consistent.
59386         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
59388 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
59390         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
59391         of rawmemchr.
59393         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
59395 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
59397         * po/ja.po: Update from translation team.
59399 2011-10-08  Roland McGrath  <roland@hack.frob.com>
59401         * locale/programs/locarchive.c (prepare_address_space): New function.
59402         (create_archive, enlarge_archive, open_archive): Use it.
59404         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
59405         inside [SHARED], where it is used.
59407         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
59409         * nss/getent.c (netgroup_keys): Remove unused variable.
59410         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
59412 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
59414         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
59415         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
59416         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
59417         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
59418         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
59419         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
59420         * math/Makefile (libm-calls): Add s_isinf_ns.
59421         * math/divtc3.c: Use __isinf_nsl instead of isinf.
59422         * math/multc3.c: Likewise.
59423         * math/s_casin.c: Likewise.
59424         * math/s_casinf.c: Likewise.
59425         * math/s_casinl.c: Likewise.
59426         * math/s_ccos.c: Likewise.
59427         * math/s_ccosf.c: Likewise.
59428         * math/s_ccosl.c: Likewise.
59429         * math/s_ctan.c: Likewise.
59430         * math/s_ctanf.c: Likewise.
59431         * math/s_ctanh.c: Likewise.
59432         * math/s_ctanhf.c: Likewise.
59433         * math/s_ctanhl.c: Likewise.
59434         * math/s_ctanl.c: Likewise.
59435         * math/w_fmod.c: Likewise.
59436         * math/w_fmodf.c: Likewise.
59437         * math/w_fmodl.c: Likewise.
59438         * math/w_remainder.c: Likewise.
59439         * math/w_remainderf.c: Likewise.
59440         * math/w_remainderl.c: Likewise.
59441         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
59442         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
59443         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
59444         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
59445         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
59446         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
59447         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
59448         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
59450         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
59451         of the number.
59452         * stdio-common/printf_fphex.c: Likewise.
59453         * stdio-common/printf_size.c: Likewise.
59455         * math/e_exp10.c: Include math_private.h using <...> not "...".
59456         * math/e_exp10f.c: Likewise.
59457         * math/e_exp10l.c: Likewise.
59458         * math/e_exp2l.c: Likewise.
59459         * math/e_j0l.c: Likewise.
59460         * math/e_j1l.c: Likewise.
59461         * math/e_jnl.c: Likewise.
59462         * math/e_lgammal_r.c: Likewise.
59463         * math/e_rem_pio2l.c: Likewise.
59464         * math/e_scalb.c: Likewise.
59465         * math/e_scalbf.c: Likewise.
59466         * math/e_scalbl.c: Likewise.
59467         * math/k_cosl.c: Likewise.
59468         * math/k_sinl.c: Likewise.
59469         * math/k_tanl.c: Likewise.
59470         * math/s_cacoshf.c: Likewise.
59471         * math/s_catan.c: Likewise.
59472         * math/s_catanf.c: Likewise.
59473         * math/s_catanh.c: Likewise.
59474         * math/s_catanhf.c: Likewise.
59475         * math/s_catanhl.c: Likewise.
59476         * math/s_catanl.c: Likewise.
59477         * math/s_ccosh.c: Likewise.
59478         * math/s_ccoshf.c: Likewise.
59479         * math/s_ccoshl.c: Likewise.
59480         * math/s_cexp.c: Likewise.
59481         * math/s_cexpf.c: Likewise.
59482         * math/s_cexpl.c: Likewise.
59483         * math/s_clog.c: Likewise.
59484         * math/s_clog10.c: Likewise.
59485         * math/s_clog10f.c: Likewise.
59486         * math/s_clog10l.c: Likewise.
59487         * math/s_clogf.c: Likewise.
59488         * math/s_clogl.c: Likewise.
59489         * math/s_csin.c: Likewise.
59490         * math/s_csinf.c: Likewise.
59491         * math/s_csinh.c: Likewise.
59492         * math/s_csinhf.c: Likewise.
59493         * math/s_csinhl.c: Likewise.
59494         * math/s_csinl.c: Likewise.
59495         * math/s_csqrt.c: Likewise.
59496         * math/s_csqrtf.c: Likewise.
59497         * math/s_csqrtl.c: Likewise.
59498         * math/s_ctan.c: Likewise.
59499         * math/s_ctanf.c: Likewise.
59500         * math/s_ctanh.c: Likewise.
59501         * math/s_ctanhf.c: Likewise.
59502         * math/s_ctanhl.c: Likewise.
59503         * math/s_ctanl.c: Likewise.
59504         * math/s_ldexp.c: Likewise.
59505         * math/s_ldexpf.c: Likewise.
59506         * math/s_ldexpl.c: Likewise.
59507         * math/s_significand.c: Likewise.
59508         * math/s_significandf.c: Likewise.
59509         * math/s_significandl.c: Likewise.
59510         * math/w_acos.c: Likewise.
59511         * math/w_acosf.c: Likewise.
59512         * math/w_acosh.c: Likewise.
59513         * math/w_acoshf.c: Likewise.
59514         * math/w_acoshl.c: Likewise.
59515         * math/w_acosl.c: Likewise.
59516         * math/w_asin.c: Likewise.
59517         * math/w_asinf.c: Likewise.
59518         * math/w_asinl.c: Likewise.
59519         * math/w_atan2.c: Likewise.
59520         * math/w_atan2f.c: Likewise.
59521         * math/w_atan2l.c: Likewise.
59522         * math/w_atanh.c: Likewise.
59523         * math/w_atanhf.c: Likewise.
59524         * math/w_atanhl.c: Likewise.
59525         * math/w_cosh.c: Likewise.
59526         * math/w_coshf.c: Likewise.
59527         * math/w_coshl.c: Likewise.
59528         * math/w_dremf.c: Likewise.
59529         * math/w_exp10.c: Likewise.
59530         * math/w_exp10f.c: Likewise.
59531         * math/w_exp10l.c: Likewise.
59532         * math/w_exp2.c: Likewise.
59533         * math/w_exp2f.c: Likewise.
59534         * math/w_fmod.c: Likewise.
59535         * math/w_fmodf.c: Likewise.
59536         * math/w_fmodl.c: Likewise.
59537         * math/w_hypot.c: Likewise.
59538         * math/w_hypotf.c: Likewise.
59539         * math/w_hypotl.c: Likewise.
59540         * math/w_j0.c: Likewise.
59541         * math/w_j0f.c: Likewise.
59542         * math/w_j0l.c: Likewise.
59543         * math/w_j1.c: Likewise.
59544         * math/w_j1f.c: Likewise.
59545         * math/w_j1l.c: Likewise.
59546         * math/w_jn.c: Likewise.
59547         * math/w_jnf.c: Likewise.
59548         * math/w_jnl.c: Likewise.
59549         * math/w_lgamma.c: Likewise.
59550         * math/w_lgamma_r.c: Likewise.
59551         * math/w_lgammaf.c: Likewise.
59552         * math/w_lgammaf_r.c: Likewise.
59553         * math/w_lgammal.c: Likewise.
59554         * math/w_lgammal_r.c: Likewise.
59555         * math/w_log.c: Likewise.
59556         * math/w_log10.c: Likewise.
59557         * math/w_log10f.c: Likewise.
59558         * math/w_log10l.c: Likewise.
59559         * math/w_log2.c: Likewise.
59560         * math/w_log2f.c: Likewise.
59561         * math/w_log2l.c: Likewise.
59562         * math/w_logf.c: Likewise.
59563         * math/w_logl.c: Likewise.
59564         * math/w_pow.c: Likewise.
59565         * math/w_powf.c: Likewise.
59566         * math/w_powl.c: Likewise.
59567         * math/w_remainder.c: Likewise.
59568         * math/w_remainderf.c: Likewise.
59569         * math/w_remainderl.c: Likewise.
59570         * math/w_scalb.c: Likewise.
59571         * math/w_scalbf.c: Likewise.
59572         * math/w_scalbl.c: Likewise.
59573         * math/w_sinh.c: Likewise.
59574         * math/w_sinhf.c: Likewise.
59575         * math/w_sinhl.c: Likewise.
59576         * math/w_sqrt.c: Likewise.
59577         * math/w_sqrtf.c: Likewise.
59578         * math/w_sqrtl.c: Likewise.
59579         * math/w_tgamma.c: Likewise.
59580         * math/w_tgammaf.c: Likewise.
59581         * math/w_tgammal.c: Likewise.
59583         * po/ja.po: Update from translation team.
59585 2011-09-29  Andreas Jaeger  <aj@suse.de>
59587         [BZ #13179]
59588         * sunrpc/netname.c (netname2host): Fix logic.
59590         [BZ #6779]
59591         [BZ #6783]
59592         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
59593         correctly.
59594         * math/w_remainder.c (__remainder): Likewise.
59595         * math/w_remainderf.c (__remainderf): Likewise.
59596         * math/libm-test.inc (remainder_test): Add test cases.
59598 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59600         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
59601         sdiv_qrnnd.
59603 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59605         * string/test-memcmp.c: Avoid unncessary #defines.
59606         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59608 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59610         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
59611         Use new sse2 version for core i3 - i7 as it's faster
59612         than sse42 version.
59613         (bit_Prefer_PMINUB_for_stringop): New.
59614         * sysdeps/x86_64/rawmemchr.S: Update.
59615         Replace with faster SSE2 version.
59616         * sysdeps/x86_64/memrchr.S: New file.
59617         * sysdeps/x86_64/memchr.S: Update.
59618         Replace with faster SSE2 version.
59620 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
59622         * elf/dl-load.c (lose): Add cast to avoid warning.
59624 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59626         * po/ca.po: Update from translation team.
59628         * inet/getnetgrent_r.c: Hook up nscd.
59629         * nscd/Makefile (routines): Add nscd_netgroup.
59630         (nscd-modules): Add netgroupcache.
59631         (CFLAGS-netgroupcache.c): Define.
59632         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
59633         (cache_search): Add const to second parameter.
59634         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
59635         INNETGR.
59636         (dbs): Add netgrdb entry.
59637         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
59638         (verify_persistent_db): Handle netgrdb.
59639         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
59640         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
59641         GETFDNETGR.
59642         (netgroup_response_header): Define.
59643         (innetgroup_response_header): Define.
59644         (datahead): Add netgroup_response_header and innetgroup_response_header
59645         elements.
59646         * nscd/nscd.conf: Add entries for netgroup cache.
59647         * nscd/nscd.h (dbtype): Add netgrdb.
59648         (_PATH_NSCD_NETGROUP_DB): Define.
59649         (netgroup_iov_disabled): Declare.
59650         (xmalloc, xcalloc, xrealloc): Move declarations here.
59651         (cache_search): Adjust prototype.
59652         Add netgroup-related prototypes.
59653         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
59654         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
59655         (__nscd_innetgr): Declare.
59656         * nscd/selinux.c (perms): Use access_vector_t as element type and
59657         add netgroup-related initializers.
59658         * nscd/netgroupcache.c: New file.
59659         * nscd/nscd_netgroup.c: New file.
59660         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
59661         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
59662         For four parameters use innetgr.
59663         * nss/nss_files/files-init.c: Add definition and callback for netgr.
59664         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
59665         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
59666         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
59668         * nscd/connections.c (register_traced_file): Don't register file
59669         for disabled databases.
59671 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
59673         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
59675         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
59676         from tree and freeing node.
59678 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
59680         * nss/nsswitch.c (__nss_database_lookup): Handle
59681         nss_parse_service_list out of memory case.
59683 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
59685         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
59686         out of memory case.
59688 2011-10-04  Andreas Schwab  <schwab@redhat.com>
59690         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
59691         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
59692         pass it down.
59693         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
59694         elf_machine_rela, elf_machine_lazy_rel.
59695         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
59696         (ELF_DYNAMIC_DO_REL): Likewise.
59697         (ELF_DYNAMIC_DO_RELA): Likewise.
59698         (ELF_DYNAMIC_RELOCATE): Likewise.
59699         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
59700         to ELF_DYNAMIC_DO_REL.
59701         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
59702         (dl_main): In trace mode always set __RTLD_NOIFUNC.
59703         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
59704         elf_machine_rela.
59705         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
59706         skip_ifunc, don't call ifunc function if non-zero.
59707         (elf_machine_rela): Likewise.
59708         (elf_machine_lazy_rel): Likewise.
59709         (elf_machine_lazy_rela): Likewise.
59710         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
59711         (elf_machine_lazy_rel): Likewise.
59712         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
59713         Likewise.
59714         (elf_machine_lazy_rel): Likewise.
59715         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59716         Likewise.
59717         (elf_machine_lazy_rel): Likewise.
59718         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
59719         (elf_machine_lazy_rel): Likewise.
59720         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
59721         (elf_machine_lazy_rel): Likewise.
59722         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59723         (elf_machine_lazy_rel): Likewise.
59724         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
59725         (elf_machine_lazy_rel): Likewise.
59726         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
59727         (elf_machine_lazy_rel): Likewise.
59728         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59729         (elf_machine_lazy_rel): Likewise.
59731 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
59733         * nss/nss_files/files-init.c (_nss_files_init): Use static
59734         initialization for all the *_traced_file variables.
59736 2011-09-28  Andreas Schwab  <schwab@redhat.com>
59738         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59740 2011-09-27  Roland McGrath  <roland@hack.frob.com>
59742         [BZ #13226]
59743         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59745 2011-09-27  Andreas Schwab  <schwab@redhat.com>
59747         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59748         Reread the line before reparsing it.
59750 2011-09-26  Andreas Schwab  <schwab@redhat.com>
59752         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59754 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
59755             Maxim Kuvyrkov  <maxim@codesourcery.com>
59756             Joseph Myers  <joseph@codesourcery.com>
59758         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
59759         if needed for __stack_chk_guard.
59761 2011-09-19  Roland McGrath  <roland@hack.frob.com>
59763         * sysdeps/posix/spawni.c (script_execute): Always define it.
59764         It will be optimized away if unused.
59765         (maybe_script_execute): New function.
59766         (__spawni): Call it.
59768         * Makerules: Don't include tls.make.
59769         (config-tls): Always set to thread.
59770         * tls.make.c: File removed.
59772 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
59774         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
59775         * config.make.in (CPPFLAGS-config): New substituted variable.
59777 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59779         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
59781         [BZ #13192]
59782         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
59783         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
59785 2011-09-15  Roland McGrath  <roland@hack.frob.com>
59787         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
59788         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
59789         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59790         (CALL_FAIL): Likewise.
59791         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
59792         (CALL_FAIL): Macro removed.
59793         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
59795 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59797         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
59798         for __FINITE_MATH_ONLY__ == 1.
59800 2011-09-15  Andreas Schwab  <schwab@redhat.com>
59802         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
59803         __ieee754_sqrt instead of sqrt.
59804         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
59805         __ieee754_sqrtf instead of sqrtf.
59806         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
59807         __floorf instead of floorf.
59808         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
59809         __floorf, __truncf instead of floorf, truncf.
59811 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
59813         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
59815         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
59816         __extern_always_inline.
59817         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
59818         32-bit.
59820 2011-09-14  Andreas Schwab  <schwab@redhat.com>
59822         * elf/rtld.c (dl_main): Also relocate in dependency order when
59823         doing symbol dependency testing.
59825 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
59827         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59828         Always define `refsym'.
59830 2011-09-13  Andreas Schwab  <schwab@redhat.com>
59832         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
59833         (__FD_ELT): Renamed from __FDELT.
59834         * misc/bits/select2.h (__FD_ELT): Likewise.
59835         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
59836         __FD_MASK instead of __FDELT, __FDMASK.
59837         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59838         Likewise.
59839         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59840         Likewise.
59842         * elf/Makefile (gen-ldd): Fix pattern.
59844         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
59845         (init_tls): Likewise.
59847 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
59849         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
59851 2011-09-12  Andreas Schwab  <schwab@redhat.com>
59853         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
59854         `struct cmsghdr *' instead of `void *'.
59855         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
59856         Likewise.
59858 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
59860         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
59861         if non-absolute.
59862         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
59863         ldd_rewrite_script.
59865 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
59867         * configure.in: Remove --with-tls option.
59868         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
59869         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
59870         out in case it is missing.
59871         * sysdeps/ia64/elf/configure.in: Likewise.
59872         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
59873         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
59874         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
59875         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
59876         * sysdeps/sh/elf/configure.in: Likewise.
59877         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
59878         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
59879         * sysdeps/x86_64/elf/configure.in: Likewise.
59880         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
59881         * sysdeps/mach/hurd/tls.h: Likewise.
59883         [BZ #13067]
59884         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
59886         [BZ #13090]
59887         * configure.in: Fix use of AC_INIT.
59889         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
59891 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
59893         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
59894         __set_errno.
59895         * malloc/hooks.c: Likewise.
59897         [BZ #11929]
59898         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
59899         variables statically.
59900         (narenas): Initialize.
59901         (list_lock): Initialize.
59902         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
59903         initializtion of main_arena and list_lock.  Small cleanups.
59904         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
59905         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
59906         Add initializers to main_arena and mp_.
59907         (malloc_state): Remove pagesize member.  Change all users to use
59908         GLRO(dl_pagesize).
59910         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
59911         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
59912         is always initialized.
59914         * malloc/malloc.c: Removed unused configurations and dead code.
59915         * malloc/arena.c: Likewise.
59916         * malloc/hooks.c: Likewise.
59917         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
59919         * include/tls.h: Removed.  USE___THREAD must always be defined.
59920         * bits/libc-tsd.h: Don't handle !USE___THREAD.
59921         * elf/dl-libc.c: Likewise.
59922         * elf/dl-tsd.c: Likewise.
59923         * include/errno.h: Likewise.
59924         * include/netdb.h: Likewise.
59925         * include/resolv.h: Likewise.
59926         * inet/herrno-loc.c: Likewise.
59927         * inet/herrno.c: Likewise.
59928         * malloc/arena.c: Likewise.
59929         * malloc/hooks.c: Likewise.
59930         * malloc/malloc.c: Likewise.
59931         * resolv/res-state.c: Likewise.
59932         * resolv/res_libc.c: Likewise.
59933         * sysdeps/i386/dl-machine.h: Likewise.
59934         * sysdeps/ia64/dl-machine.h: Likewise.
59935         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
59936         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59937         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
59938         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
59939         * sysdeps/sh/dl-machine.h: Likewise.
59940         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59941         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59942         * sysdeps/unix/i386/sysdep.S: Likewise.
59943         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
59944         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
59945         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
59946         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
59947         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
59948         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
59949         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
59950         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59951         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59952         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
59953         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59954         * sysdeps/x86_64/dl-machine.h: Likewise.
59955         * tls.make.c: Likewise.
59957         * configure.in: Remove --with-__thread option.  Make tests for
59958         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
59959         tls_model attribute fail if no support is available.  Remove
59960         USE_IN_LIBIO.
59961         * Makeconfig: Adjust for dropped configure option.  All features are
59962         now mandatory.
59963         * Makerules: Likewise.
59964         * Versions.def: Likewise.
59965         * argp/argp-fmtstream.c: Likewise.
59966         * argp/argp-fmtstream.h: Likewise.
59967         * argp/argp-help.c: Likewise.
59968         * assert/assert.c: Likewise.
59969         * config.h.in: Likewise.
59970         * config.make.in: Likewise.
59971         * configure: Likewise.
59972         * configure.in: Likewise.
59973         * csu/Versions: Likewise.
59974         * csu/init.c: Likewise.
59975         * elf/tst-audit2.c: Likewise.
59976         * elf/tst-tls10.c: Likewise.
59977         * elf/tst-tls10.h: Likewise.
59978         * elf/tst-tls11.c: Likewise.
59979         * elf/tst-tls12.c: Likewise.
59980         * elf/tst-tls14.c: Likewise.
59981         * elf/tst-tlsmod11.c: Likewise.
59982         * elf/tst-tlsmod12.c: Likewise.
59983         * elf/tst-tlsmod13.c: Likewise.
59984         * elf/tst-tlsmod13a.c: Likewise.
59985         * elf/tst-tlsmod14a.c: Likewise.
59986         * elf/tst-tlsmod15b.c: Likewise.
59987         * elf/tst-tlsmod16a.c: Likewise.
59988         * elf/tst-tlsmod16b.c: Likewise.
59989         * elf/tst-tlsmod7.c: Likewise.
59990         * elf/tst-tlsmod8.c: Likewise.
59991         * elf/tst-tlsmod9.c: Likewise.
59992         * gmon/gmon.c: Likewise.
59993         * grp/fgetgrent_r.c: Likewise.
59994         * grp/putgrent.c: Likewise.
59995         * hurd/fopenport.c: Likewise.
59996         * include/libc-symbols.h: Likewise.
59997         * include/tls.h: Likewise.
59998         * intl/gettextP.h: Likewise.
59999         * intl/loadinfo.h: Likewise.
60000         * locale/global-locale.c: Likewise.
60001         * locale/localeinfo.h: Likewise.
60002         * mach/devstream.c: Likewise.
60003         * malloc/arena.c: Likewise.
60004         * malloc/set-freeres.c: Likewise.
60005         * misc/err.c: Likewise.
60006         * misc/getttyent.c: Likewise.
60007         * misc/mntent_r.c: Likewise.
60008         * posix/getopt.c: Likewise.
60009         * posix/wordexp.c: Likewise.
60010         * pwd/fgetpwent_r.c: Likewise.
60011         * resolv/Versions: Likewise.
60012         * resolv/res_hconf.c: Likewise.
60013         * shadow/fgetspent_r.c: Likewise.
60014         * shadow/putspent.c: Likewise.
60015         * stdio-common/printf_fphex.c: Likewise.
60016         * stdio-common/tmpfile.c: Likewise.
60017         * stdlib/abort.c: Likewise.
60018         * stdlib/fmtmsg.c: Likewise.
60019         * sunrpc/auth_unix.c: Likewise.
60020         * sunrpc/clnt_perr.c: Likewise.
60021         * sunrpc/clnt_tcp.c: Likewise.
60022         * sunrpc/clnt_udp.c: Likewise.
60023         * sunrpc/clnt_unix.c: Likewise.
60024         * sunrpc/openchild.c: Likewise.
60025         * sunrpc/svc_simple.c: Likewise.
60026         * sunrpc/svc_tcp.c: Likewise.
60027         * sunrpc/svc_udp.c: Likewise.
60028         * sunrpc/svc_unix.c: Likewise.
60029         * sunrpc/xdr.c: Likewise.
60030         * sunrpc/xdr_array.c: Likewise.
60031         * sunrpc/xdr_rec.c: Likewise.
60032         * sunrpc/xdr_ref.c: Likewise.
60033         * sunrpc/xdr_stdio.c: Likewise.
60035 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60037         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60039 2011-07-03  Andreas Jaeger  <aj@suse.de>
60041         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
60042         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
60043         regenerate with gen-libm-tests.pl.
60045 2010-05-12  Petr Baudis  <pasky@suse.cz>
60047         [BZ #11589]
60048         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
60049         around j0() zero points by switching to j1().
60050         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60051         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60052         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
60053         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60055 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60057         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
60058         instead of 0.
60059         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
60060         instead of 0.
60061         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60062         Patch in part by Pavel Roskin <proski@gnu.org>.
60064         [BZ #13138]
60065         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
60066         realloc.
60067         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
60068         Free memory block if necessary.
60070         [BZ #12847]
60071         * libio/genops.c (INTDEF): For string streams the _lock pointer can
60072         be NULL.  Don't lock in this case.
60074 2011-09-09  Roland McGrath  <roland@hack.frob.com>
60076         * elf/elf.h (ELFOSABI_GNU): New macro.
60077         (ELFOSABI_LINUX): Define to that.
60079 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
60081         * string/strncat.c (strncat): Undef the symbol in case it has been
60082         defined in bits/string.h.
60084 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60086         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
60088         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
60089         link map.
60091 2011-08-17  Andreas Jaeger  <aj@suse.de>
60093         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
60095 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
60096             Ian Lance Taylor  <iant@google.com>
60098         * math/libm-test.inc (lround_test): New testcase.
60099         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
60101 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
60103         * Makefile: Remove support for automatic cvs check-ins.
60104         * Makerules: Likewise.
60105         * config.make.in: Likewise.
60106         * configure.in: Likewise.
60107         * intl/Makefile: Likewise.
60108         * locale/Makefile: Likewise.
60109         * po/Makefile: Likewise.
60110         * posix/Makefile: Likewise.
60111         * sysdeps/gnu/Makefile: Likewise.
60112         * sysdeps/mach/hurd/Makefile: Likewise.
60113         * sysdeps/sparc/sparc32/Makefile: Likewise.
60115         [BZ #13118]
60116         * posix/Makefile (bug-regex32-ENV): Define.
60117         Patch by John Stanley <jpsinthemix@verizon.net>.
60119         * misc/Makefile (headers): Add bits/select2.h.
60120         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
60121         * misc/bits/select2.h: New file.
60122         * include/bits/select2.h: New file.
60123         * debug/Makefile (routines): Add fdelt_chk.
60124         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
60125         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
60126         FD_ISSET.
60127         * debug/fdelt_chk.c: New file.
60129         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
60130         * wcsmbs/test-wmemcmp.c: Likewise.
60131         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
60132         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
60134 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60136         * string/Makefile (strop-tests): Add memcmp.
60137         * string/test-wmemcmp.c: New file.
60138         * string/test-memcmp.c: Add wmemcmp support.
60140 2011-09-08  Roland McGrath  <roland@hack.frob.com>
60142         [BZ #13153]
60143         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
60144         2011-07-19 change.
60146         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
60147         garbage value in a __mach_port_mod_refs call in the cases of the
60148         task-self and thread-self ports.
60150 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60152         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
60154 2011-09-08  Andreas Schwab  <schwab@redhat.com>
60156         * elf/dl-load.c (lose): Check for non-null L.
60158 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
60160         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
60162         * elf/dl-libc.c (dlerror_run): Pass back error code from
60163         dl_catch_error.
60165         [BZ #13123]
60166         * elf/dl-load.c (lose): Free l_origin if it is valid.
60168         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
60169         names.
60170         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
60171         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60172         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60173         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60174         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
60175         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
60177 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60179         * sysdeps/powerpc/fpu/e_hypot.c: New file.
60180         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
60181         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
60182         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
60183         * sysdeps/powerpc/fpu/k_cosf.c: New file.
60184         * sysdeps/powerpc/fpu/k_sinf.c: New file.
60185         * sysdeps/powerpc/fpu/s_cosf.c: New file.
60186         * sysdeps/powerpc/fpu/s_sinf.c: New file.
60187         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
60188         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
60190 2011-08-15  Alan Modra  <amodra@gmail.com>
60192         [BZ #13092]
60193         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
60194         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
60195         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
60196         ppc_mcount to static-only-routines.
60197         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
60198         __mcount_internal.
60199         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
60200         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
60202 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
60204         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
60205         for finite and infinity parameters.
60207 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
60209         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
60210         and add nop instructions for throughput optimization.
60211         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60213 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
60215         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
60216         aligned copy for power7 with vector-scalar instructions.
60217         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
60219 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
60221         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
60222         AVX check.
60224 2011-09-07  Andreas Schwab  <schwab@redhat.com>
60226         [BZ #13144]
60227         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
60228         last change.
60230 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
60232         * sysdeps/unix/sysv/linux/x86_64/init-first.c
60233         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
60234         syscall wrapper around clock_gettime in __vdso_clock_gettime.
60235         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
60236         clock_gettime.
60238 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
60240         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
60241         Forgot to demangle the pointer.
60243         * sysdeps/i386/sysdep.h: Define atom_text_section.
60244         * sysdeps/x86_64/sysdep.h: Likewise.
60245         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
60246         section with atom_text_section.
60247         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60248         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60249         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
60250         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60251         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
60253         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
60254         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
60255         already be defined.  Change to take two parameters and don't assign
60256         result to variable.  Adjust all users.
60257         Define INTERNAL_GETTIME if not already defined.
60258         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
60259         call.
60260         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
60261         HAVE_CLOCK_GETTIME_VSYSCALL.
60262         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
60264         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
60265         gettimeofday vsyscall, just use time.
60267 2011-09-06  Andreas Schwab  <schwab@redhat.com>
60269         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
60270         <errno.h>.
60272 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
60274         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
60275         syscall on x86-64.
60276         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
60277         syscall.
60278         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
60279         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
60280         syscall if possible.
60282 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60284         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
60285         e_ident.  Don't pass to find_mapsXX.
60286         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
60288 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60290         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60291         strchr-sse2-no-bsf strrchr-sse2-no-bsf
60292         * sysdeps/x86_64/multiarch/strchr.S: Update.
60293         Check bit_slow_BSF bit.
60294         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60295         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
60296         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
60298 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60300         [BZ #13134]
60301         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
60302         before glibc 2.15.
60303         (tryshell): Define.
60304         (__spawni): Change last parameter to be flag.  Test
60305         SPAWN_XFLAGS_USE_PATH flag to use path or not.
60306         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
60307         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
60308         * posix/spawni.c: Likewise.
60309         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
60310         * posix/spawnp.c: Likewise.  Change normal version to use
60311         SPAWN_XFLAGS_USE_PATH.
60312         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
60313         SPAWN_XFLAGS_TRY_SHELL.
60315         [BZ #13150]
60316         * posix/glob.h: Remove gcc 1.x support.
60318         [BZ #13068]
60319         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
60321 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60323         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60324         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
60325         strrchr-sse2-bsf
60326         * sysdeps/i386/i686/multiarch/strchr.S: New file.
60327         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
60328         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
60329         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
60330         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
60331         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
60333 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60335         * sysdeps/x86_64/wcscmp.S: New file.
60337         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
60338         wcscmp-c wcscmp-sse2
60339         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
60340         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
60341         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
60342         * wcsmbs/wcscmp.c: Allow renaming.
60344 2011-09-05  David S. Miller  <davem@davemloft.net>
60346         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
60347         stack slot, rather than the struct return pointer slot.
60348         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
60349         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
60350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
60351         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
60353 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60355         * po/ja.po: Update from translation team.
60357         [BZ #13144]
60358         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
60359         kernel in 64-bit binaries.
60361 2011-09-01  David S. Miller  <davem@davemloft.net>
60363         * elf/elf.h (HWCAP_SPARC_*): Move to..
60364         * sysdeps/sparc/sysdep.h: this new file and add new values.
60365         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
60366         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
60367         _DL_HWCAP_COUNT to 24.
60368         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60369         entries.
60370         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
60371         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
60372         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
60373         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
60374         instead of magic constants.
60375         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60377 2011-08-31  David S. Miller  <davem@davemloft.net>
60379         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
60380         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
60381         Reimplement to do errno handling inline.
60382         (SYSCALL_ERROR_HANDLER): New macro.
60383         (__SYSCALL_STRING): Do not do errno handling in asm.
60384         (__CLONE_SYSCALL_STRING): Delete.
60385         (__INTERNAL_SYSCALL_STRING): Delete.
60386         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
60387         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
60388         (PSEUDO): Reimplement to do errno handling inline.
60389         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
60390         (SYSCALL_ERROR_HANDLER): New macro.
60391         (__SYSCALL_STRING): Do not do errno handling in asm.
60392         (__CLONE_SYSCALL_STRING): Delete.
60393         (__INTERNAL_SYSCALL_STRING): Delete.
60394         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
60395         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
60396         i386.
60397         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
60398         (inline_syscall*): Add 'err' argument.
60399         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
60400         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
60401         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
60402         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
60404         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
60405         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60407 2011-08-30  Andreas Schwab  <schwab@redhat.com>
60409         * elf/rtld.c (dl_main): Relocate objects in dependency order.
60411 2011-08-29  Jiri Olsa <jolsa@redhat.com>
60413         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
60414         directive.
60416 2011-08-24  David S. Miller  <davem@davemloft.net>
60418         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
60420 2011-08-24  Andreas Schwab  <schwab@redhat.com>
60422         * elf/Makefile: Add rules to build and run unload8 test.
60423         * elf/unload8.c: New file.
60424         * elf/unload8mod1.c: New file.
60425         * elf/unload8mod1x.c: New file.
60426         * elf/unload8mod2.c: New file.
60427         * elf/unload8mod3.c: New file.
60429         * elf/dl-close.c (_dl_close_worker): Reset private search list if
60430         it wasn't used.
60432 2011-08-23  David S. Miller  <davem@davemloft.net>
60434         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
60435         subtract stack bias.
60436         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
60437         %sp not %fp in calculations.
60438         (_JMPBUF_UNWINDS_ADJ): Likewise.
60440         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
60441         (aio_suspend): Call it to force an exception region around the
60442         AIO_MISC_WAIT() invocation.
60444 2011-08-23  Andreas Schwab  <schwab@redhat.com>
60446         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
60447         backslash.
60449 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
60451         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
60452         protection macro.
60453         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
60454         and <dl-machine.h>.
60455         (Elf64_FuncDesc): Remove.
60457 2011-08-22  David S. Miller  <davem@davemloft.net>
60459         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
60460         sigaltstack check, add missing cfi directives.
60461         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
60462         missing cfi directives, and sigaltstack handling.
60464 2011-08-16  Andreas Schwab  <schwab@redhat.com>
60466         [BZ #11724]
60467         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
60468         object is seen twice.
60469         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60471         * elf/Makefile (distribute): Add tst-initorder2.c.
60472         (tests): Add tst-initorder2.
60473         (modules-names): Add tst-initorder2a tst-initorder2b
60474         tst-initorder2c tst-initorder2d.  Add rules to build them.
60475         ($(objpfx)tst-initorder2.out): New rule.
60476         * elf/tst-initorder2.c: New file.
60477         * elf/tst-initorder2.exp: New file.
60479 2011-08-22  Andreas Schwab  <schwab@redhat.com>
60481         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
60483         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
60484         dependencies back to end of function.
60486         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60487         $(elfobjdir)/ld.so.
60489 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
60491         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
60492         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
60493         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
60494         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
60495         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
60496         of __vdso_gettimeofday.
60497         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
60498         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
60499         attribute_hidden.
60500         (_libc_vdso_platform_setup): Remove initialization of
60501         __vdso_gettimeofday and __vdso_time.
60503 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60505         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
60506         and fgetc_unlocked.
60507         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
60508         getc_unlocked.
60510         * elf/dl-open.c (add_to_global): Report additions to the global scope
60511         for LD_DEBUG=scopes.
60512         (dl_open_worker): Also print scope of newly loaded dependencies.
60513         (_dl_show_scope): Indicate if there is no scope.
60515         [BZ #13114]
60516         * stdio-common/Makefile (tests): Add bug24.
60517         * stdio-common/bug24.c: New file.
60519 2011-08-19  Andreas Jaeger  <aj@suse.de>
60521         [BZ #13114]
60522         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
60523         non-existant file when using close-on-exec mode.
60525 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60527         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
60528         the very first instruction.
60530         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
60531         the CFI state in the end.
60532         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
60533         inclusion of dl-trampoline.h.
60534         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
60536 2011-08-19  Andreas Schwab  <schwab@redhat.com>
60538         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
60539         expectations for long double.
60541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
60542         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
60544 2011-08-14  David S. Miller  <davem@davemloft.net>
60546         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
60547         artificual limit depends upon the system page size.
60549 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60551         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
60552         * resolv/Makefile: Define CFLAGS-libresolv.
60554 2011-08-17  Andreas Schwab  <schwab@redhat.com>
60556         * nss/makedb.c (compute_tables): Make variables used in nested
60557         function static.
60559 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60561         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
60562         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
60563         if buffer was too small.
60565         * elf/pldd.c (main): Attach to all threads in the process.
60566         Rewrite /proc handling to use *at functions.
60568 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
60570         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
60571         specifies first scope to show.
60572         (dl_open_worker): Update callers.  Move printing scope of new
60573         object to before the relocation.
60574         * elf/rtld.c (dl_main): Update _dl_show_scope call.
60575         * sysdeps/generic/ldsodefs.h: Update declaration.
60577         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
60578         string for the scope number.
60580 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
60582         * nscd/servicescache.c (cache_addserv): Make sure written is always
60583         initialized.
60585 2011-08-14  Roland McGrath  <roland@hack.frob.com>
60587         * sysdeps/i386/i486/bits/atomic.h
60588         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
60589         statement expression, so as to suppress "set but not used" warning.
60590         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
60592         * string/strncat.c (STRNCAT): Use prototype definition.
60594         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
60595         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
60596         -Iprograms here.
60597         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
60598         (localedef-modules): Add localedef.
60599         (locale-modules): Add locale.
60601         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
60602         * elf/rtld.c (dl_main): Invert order of assignment in last change,
60603         to avoid a warning.
60605 2011-08-14  David S. Miller  <davem@davemloft.net>
60607         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
60608         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
60610 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
60612         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
60613         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
60614         * elf/rtld.c (dl_main): Set l_name of vDSO.
60615         Call _dl_show_scope when DL_DEBUG_SCOPES.
60616         (process_dl_debug): Recognize scopes flag and also set it for all.
60617         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
60618         Declare _dl_show_scope.
60620         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
60621         (do_dlopen): Pass caller_dlopen to dl_open.
60622         (__libc_dlopen_mode): Initialize caller_dlopen.
60624         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
60625         of libc.  Make tolower call locale-independent.  Optimize a bit by
60626         using isdigit instead of isalnum.
60627         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
60629 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
60631         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
60632         was a dependency or dynamically loaded.
60634 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
60636         * intl/l10nflist.c: Allow architecture-specific pop function.
60637         * sysdeps/x86_64/l10nflist.c: New file.
60639         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
60640         classification.
60642 2011-08-10  Andreas Schwab  <schwab@redhat.com>
60644         * include/dirent.h: Add libc_hidden_proto for scandirat and
60645         scandirat64.  Don't declare __scandirat64.
60646         * dirent/scandirat.c: Add libc_hidden_def.
60647         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
60648         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
60650 2011-08-10  David S. Miller  <davem@davemloft.net>
60652         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
60653         enum.
60654         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60655         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60656         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60658 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
60660         * Versions.def [libc]: Add GLIBC_2.15.
60661         * dirent/Makefile (routines): Add scandirat and scandirat64.
60662         * dirent/Versions [libc]: Export scandirat and scandirat64 for
60663         GLIBC_2.15.
60664         * dirent/dirent.h: Declare scandirat and scandirat64.
60665         * dirent/scandirat.c: New file.
60666         * dirent/scandirat64.c: New file.
60667         * sysdeps/wordsize-64/scandirat.c: New file.
60668         * sysdeps/wordsize-64/scandirat64.c: New file.
60669         * dirent/opendir.c: Define opendirat.
60670         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
60671         using scandirat.
60672         * dirent/scandir64.c: Adjust for scandir.c change.
60673         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
60674         __scandirat64, and __scandir_cancel_handler.
60675         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
60676         additional parameter and use openat instead of open (outside of ld.so).
60677         Add new __opendir as wrapper around __opendirat.
60678         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
60679         here without requiring old scandirat implementation.
60681 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
60683         * dirent/scandir.c (cancel_handler): Renamed to
60684         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
60685         defined.  Adjust users.
60686         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
60687         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
60689 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
60691         * string/test-string.h (IMPL): Use __STRING to expand name and then
60692         stringify it.
60694         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
60695         of cleanups.
60697 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60699         * string/Makefile: Update.
60700         (strop-tests): Append strncat.
60701         * string/test-wcscmp.c: New file.
60702         New comprehensive test for wcscmp.
60703         * string/test-strcmp.c: Update.
60704         (WIDE): New define.
60706 2011-07-22  Andreas Schwab  <schwab@redhat.com>
60708         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
60709         line.
60711 2011-07-26  Andreas Schwab  <schwab@redhat.com>
60713         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60714         encoding to ACE if AI_IDN.
60716 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
60718         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
60719         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
60721 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60723         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
60724         Fix overflow bug in strncat.
60725         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
60727         * string/test-strncat.c: Update.
60728         Add new tests for checking overflow bugs.
60730 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60732         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60733         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
60734         * sysdeps/i386/i686/multiarch/strcat.S: New file.
60735         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
60736         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
60737         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
60738         * sysdeps/i386/i686/multiarch/strncat.S: New file.
60739         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
60740         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60742         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60743         (USE_AS_STRCAT): Define.
60744         Add strcat and strncat support.
60745         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60747 2011-07-25  Andreas Schwab  <schwab@redhat.com>
60749         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60750         __n bigger than INT_MAX+1.
60751         (__strncmp_g): Likewise.
60753 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
60755         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60756         * libio/stido.h: Likewise.
60758         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
60759         (AF_NFC): Define.
60760         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
60761         (AF_NFC): Define.
60763         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
60764         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60765         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60766         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
60767         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60769         [BZ #13021]
60770         * scripts/test-installation.pl: Don't expect libnss_test1 to be
60771         installed.
60773         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
60774         typo.
60775         (_dl_x86_64_save_sse): Likewise.
60777 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
60779         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
60780         OSXSAVE.
60781         (_dl_x86_64_save_sse): Likewise.
60783         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
60785         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
60787 2011-07-21  Andreas Schwab  <schwab@redhat.com>
60789         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
60790         change.
60791         (_dl_x86_64_save_sse): Use correct AVX check.
60793 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60795         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
60796         bug in strncpy/strncat.
60797         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
60799 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
60801         * string/tester.c (test_strcat): Add tests for different alignments
60802         of source and destination.
60803         (test_strncat): Likewise.
60805 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60807         [BZ #12852]
60808         * posix/glob.c (glob): Check passed in values before using them in
60809         expressions to avoid some overflows.
60810         (glob_in_dir): Likewise.
60812         [BZ #13007]
60813         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
60814         check for AVX enablement so that we don't crash with old kernels and
60815         new hardware.
60816         * elf/tst-audit4.c: Add same checks here.
60817         * elf/tst-audit6.c: Likewise.
60819         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
60821 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
60823         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
60825 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60827         * po/cs.po: Update from translation team.
60828         * po/bg.po: Likewise.
60830 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
60832         * misc/sys/cdefs.h: Add support for const attribute.
60833         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
60834         to gnu_dev_{major,minor,makedev} functions.
60836 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
60838         * intl/dcigettext.c (get_output_charset): Add missing bracket.
60840 2011-07-20  Andreas Schwab  <schwab@redhat.com>
60842         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
60843         strlen results.
60845 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60847         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
60848         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
60849         register in order to avoid conflicts with the soft frame pointer
60850         being held in r11 when necessary.
60851         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
60852         (INTERNAL_VSYSCALL_NCS): Likewise.
60854 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
60856         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
60857         * elf/dl-fini.c (_dl_fini): Adjust caller.
60858         * elf/dl-close.c (_dl_close_worker): Likewise.
60859         * sysdeps/generic/ldsodefs.h: Adjust declaration.
60861 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60863         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
60864         "aux_cache->nlibs < 0".
60866         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
60867         in the reload-count case.
60869 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60871         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60872         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
60873         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
60874         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
60875         * sysdeps/x86_64/multiarch/strcat.S: New file.
60876         * sysdeps/x86_64/multiarch/strncat.S: New file.
60877         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
60878         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
60879         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
60880         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
60881         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
60882         (USE_AS_STRCAT): Define.
60883         Add strcat and strncat support.
60884         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60885         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60886         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
60887         * string/strncat.c: Update.
60888         (USE_AS_STRNCAT): Define.
60889         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60890         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
60891         and i7.
60892         * sysdeps/x86_64/multiarch/init-arch.h
60893         (bit_Prefer_PMINUB_for_stringop): New.
60894         (index_Prefer_PMINUB_for_stringop): Likewise.
60895         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
60896         bit_Prefer_PMINUB_for_stringop.
60898 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60900         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
60901         buffer64.
60902         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
60903         of casting of buffer.
60904         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
60905         buffer32 and buffer64.
60906         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
60907         writes instead of casting of buffer.
60908         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
60909         buffer32.
60910         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
60911         casting of buffer.
60913 2011-07-19  Andreas Schwab  <schwab@redhat.com>
60915         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
60917 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60919         * nscd/nscd.c (termination_handler): Don't do anything for a database
60920         if it has not yet been initialized.
60922 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60924         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60926 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60928         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60930 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60932         * po/nl.po: Update from translation team.
60933         * po/sv.po: Likewise.
60935 2011-07-16  Roland McGrath  <roland@hack.frob.com>
60937         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
60938         now disallowed by GCC.
60940         * configure.in (use-default-link): Default to yes if a test -shared
60941         link meets our qualifications.
60942         * configure: Regenerated.
60944         * config.make.in (output-format): New variable.
60945         * configure.in: Check for ld --print-output-format support.
60946         * configure: Regenerated.
60947         * Makerules ($(common-objpfx)format.lds)
60948         [$(output-format) != unknown]: Just use $(output-format),
60949         instead of the linker-script munging.
60951 2011-07-14  Roland McGrath  <roland@hack.frob.com>
60953         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
60954         of $(common-objpfx)shlib.lds.
60955         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
60957         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
60958         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
60960         * configure.in (-z relro check): Adjust test code to add a large
60961         writable data section after it.
60962         * configure: Regenerated.
60964 2011-07-11  Roland McGrath  <roland@hack.frob.com>
60966         * configure.in (-z relro check): Fix test code to make the variable
60967         truly const.
60968         * configure: Regenerated.
60970 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
60972         * nscd/nscd.h (struct traced_file): Define.
60973         (struct database_dyn): Remove inotify_descr, reset_res, and filename
60974         elements.  Add traced_files.
60975         (inotify_fd): Declare.
60976         (register_traced_file): Declare.
60977         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
60978         (inotify_fd): Export.
60979         (resolv_conf_descr): Remove.
60980         (nscd_init): Move inotify descriptor creation to main.
60981         Don't register files for notification here.
60982         (register_traced_file): New function.
60983         (invalidate_cache): Don't use reset_res to determine whether to call
60984         res_init, go through the list of registered files.
60985         (main_loop_poll): The inotify descriptors are now stored in the
60986         structures for the traced files.
60987         (main_loop_epoll): Likewise
60988         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
60989         to __nss_disable_nscd.
60990         * nscd/cache.c (prune_cache): There is no single inotify descriptor
60991         for a database anymore.  Check the records for all the registered
60992         files instead.
60993         * nss/Makefile (libnss_files-routines): Add files-init.
60994         (libnss_db-routines): Add db-init.
60995         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
60996         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
60997         * nss/nss_db/db-init.c: New file.
60998         * nss/nss_files/files-init.c: New file.
60999         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
61000         __nss_lookup_function.
61001         (__nss_lookup_function): Call nss_load_library.
61002         (nss_load_all_libraries): New function.
61003         (__nss_disable_nscd): Take parameter with callback function for files
61004         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
61005         used for the cached services.
61006         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
61007         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
61008         options for features to all the files in nscd.
61010         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
61012 2011-07-10  Roland McGrath  <roland@hack.frob.com>
61014         * csu/elf-init.c (__libc_csu_init): Comment typo.
61016 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
61018         * po/pl.po: Update from translation team.
61019         * po/ja.po: Likewise.
61020         * po/ru.po: Likewise.
61021         * po/ko.po: Likewise.
61022         * po/fr.po: Likewise.
61024 2011-07-09  Roland McGrath  <roland@hack.frob.com>
61026         * configure.in (.ctors/.dtors header and trailer check):
61027         Use an empirical test on a built program.
61028         * configure: Regenerated.
61030         * configure.in (-z relro check): Use an empirical test on a built DSO.
61031         Detect, but do not require, on ia64.
61032         * configure: Regenerated.
61034         * configure.in (READELF): Find it with AC_CHECK_TOOL.
61035         Update tests that use readelf to use $READELF instead.
61036         * configure: Regenerated.
61038 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
61040         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
61041         if the result is not used.
61043 2011-07-05  Andreas Jaeger  <aj@suse.de>
61045         [BZ#9696]
61046         * stdlib/tst-strtod.c: Add testcase.
61048 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
61050         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
61051         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
61052         The latter has a higher limit.  Take additional parameter to pass to
61053         the new function.
61054         (__pathconf): Pass file to __statfs_link_max.
61055         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
61056         __statfs_link_max.
61057         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
61058         __statfs_link_max.
61060         [BZ #12868]
61061         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
61062         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61063         Handle Lustre.
61064         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
61065         (__statfs_filesize_max): Likewise.
61066         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
61068 2011-07-05  Andreas Jaeger  <aj@suse.de>
61070         * resolv/res_comp.c (dn_skipname): Remove unused variable.
61072 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
61074         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
61075         `status' variable.
61076         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
61077         Likewise.
61079 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
61081         * Makefile (strop-tests): Add strncat.
61082         * string/test-strncat.c: New file.
61084 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
61086         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
61088 2011-06-21  Andreas Jaeger  <aj@suse.de>
61090         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
61091         Copy rule from iconvdata/Makefile.
61093 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
61095         [BZ #12922]
61096         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
61097         but no long options are defined, just return 'W'.
61099 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
61101         [BZ #9696]
61102         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
61104 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
61106         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
61107         netgroups to read.
61108         (innetgr): Likewise.
61110 2011-07-05  Roland McGrath  <roland@hack.frob.com>
61112         * config.make.in (install_root): Default to $(DESTDIR).
61114 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
61116         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
61118 2011-07-02  Roland McGrath  <roland@hack.frob.com>
61120         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
61122         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
61123         containing directory rather than embedding absolute directory names.
61125         * scripts/check-local-headers.sh: Rewritten using awk.
61126         Match by word, not by line.  Print error messages for matches.
61127         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
61129         * Makerules [shlib-lds-flags empty]:
61130         ($(common-objpfx)libc_pic.opts): New target.
61131         ($(common-objpfx)libc_pic.os.clean): New target.
61132         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
61134         * config.make.in (OBJCOPY): New variable.
61135         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
61136         * configure: Regenerated.
61138         * config.make.in (use-default-link): New variable.
61139         * configure.in (use_default_link): Grok --with-default-link to set it.
61140         * configure: Regenerated.
61141         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
61142         (shlib-lds, shlib-lds-flags): Define to empty.
61144         * Makerules (shlib-lds): New variable.
61145         (shlib-lds-flags): New variable.
61146         (build-shlib, build-moduile, build-module-asneeded): Use it.
61147         ($(common-objpfx)libc.so): Use $(shlib-lds).
61148         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
61149         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
61151         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
61152         DT_FLAGS/DT_FLAGS_1 with zero flags.
61154         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
61155         linker script munging.
61157 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
61159         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
61160         as 128-bit value.
61161         * crypt/sha512.c (sha512_process_block): Perform total addition using
61162         128-bit if possible.
61163         (__sha512_finish_ctx): Likewise.
61164         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
61165         as 64-bit value.
61166         * crypt/sha256.c (SWAP64): Define.
61167         (sha256_process_block): Perform total addition using 64-bit if
61168         possible.
61169         (__sha256_finish_ctx): Likewise.
61171 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
61173         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
61174         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61175         * nscd/hstcache.c (cache_addhst): Likewise.
61176         * nscd/grpcache.c (cache_addgr): Likewise.
61177         * nscd/aicache.c (addhstaiX): Likewise
61178         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
61180 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
61182         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
61183         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61184         * nscd/hstcache.c (cache_addhst): Likewise.
61185         * nscd/grpcache.c (cache_addgr): Likewise.
61186         * nscd/aicache.c (addhstaiX): Likewise
61188 2011-07-01  Andreas Schwab  <schwab@redhat.com>
61190         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
61191         domain only when needed.
61193 2011-06-30  Andreas Schwab  <schwab@redhat.com>
61195         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
61196         is always restored.
61198 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
61200         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
61201         are re-adding the entry.
61202         * nscd/servicescache.c (cache_addserv): Likewise.
61204 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
61206         * sysdeps/generic/dl-irel.h: fix protection against multiple
61207         inclusions.
61208         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
61210 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
61212         [BZ #12935]
61213         * malloc/memusage.sh: Fix quoting in message.
61214         * debug/xtrace.sh: Likewise.
61216         * configure.in: Remove support for --experimental-malloc option, make
61217         it the default.
61218         * config.make.in: Likewise.
61219         * malloc/Makefile: Likewise.
61221 2011-06-27  Andreas Schwab  <schwab@redhat.com>
61223         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
61224         two-byte characters.
61226 2011-06-27  Roland McGrath  <roland@hack.frob.com>
61228         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
61229         AC_CACHE_CHECK invocation.
61230         * configure: Regenerated.
61232         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
61234 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
61236         [BZ #12350]
61237         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
61238         bit from old_res_options.
61240         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
61242         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
61243         value type for setfct.
61245 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
61247         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61248         __gettimeofday instead of gettimeofday.
61250 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
61252         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
61254 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
61256         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
61258         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
61259         info.
61261 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
61263         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61264         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61265         strcpy-sse2-unaligned strncpy-sse2-unaligned
61266         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
61267         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
61268         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
61269         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
61270         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
61271         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
61272         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
61273         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
61274         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
61275         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
61276         (STRCPY): Support SSE2 and SSSE3 versions.
61278 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
61280         [BZ #12874]
61281         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
61282         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
61283         kernels which artificially limit size of requests.
61285 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
61287         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61288         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61289         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
61290         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
61291         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
61292         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
61293         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
61294         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
61295         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
61296         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
61297         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
61298         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
61299         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
61300         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
61301         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
61302         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61303         Enable unaligned load optimization for Intel Core i3, i5 and i7
61304         processors.
61305         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
61306         Define.
61307         (index_Fast_Unaligned_Load): Define.
61308         (HAS_FAST_UNALIGNED_LOAD): Define.
61310 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
61312         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
61314 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61316         [BZ #12907]
61317         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
61318         until it is clear that the information is realy needed.
61319         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
61321 2011-06-22  Andreas Schwab  <schwab@redhat.com>
61323         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
61325 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61327         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61328         /sys/devices/system/cpu/online if it is usable.
61330         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
61331         reading the information from the /proc filesystem to once a second.
61333 2011-06-21  Andreas Jaeger  <aj@suse.de>
61335         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
61336         NULL after inclusion of kernel headers.
61338 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
61340         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
61341         calls to internal_setent.
61343         [BZ #12885]
61344         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
61345         addresses using gethostbyname4_r ignore IPv4 addresses.
61347         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
61348         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
61350         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
61352 2011-06-20  David S. Miller  <davem@davemloft.net>
61354         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
61355         inclusions.
61356         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
61358         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
61359         (elf_irel): Use it.
61360         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
61361         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
61362         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
61363         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
61364         * sysdeps/x86_64/dl-irel.h: Likewise.
61366         * elf/dl-runtime.c: Use elf_ifunc_invoke.
61367         * elf/dl-sym.c: Likewise.
61369 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61371         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
61372         need to dereference resplen2.
61374 2011-06-14  Andreas Schwab  <schwab@redhat.com>
61376         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
61378 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61380         * Makeconfig: Define vardbdir and inst_vardbdir.
61381         * nss/Makefile: Add rules to install db-Makefile.
61383         * nss/nss_db/db-XXX.c: Cleanup.
61385         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
61386         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
61387         GLIBC_PRIVATE.
61388         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
61389         * nss/makedb.c: Implement -g option to specify that value strings
61390         are generated and should not be added to table iterated over for
61391         get*ent calls.
61392         * nss/nss_db/db-initgroups.c: New file.
61394         * nss/getent.c: Add support for initgroups lookups through getgrouplist
61395         interface.
61397         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
61398         (internal_getgrouplist): Adjust to name change.
61399         Update use_initgroups_entry if this is not the first call.
61400         * nss/databases.def: Add initgroups entry.
61402         * nss/makedb.c (compute_tables): Check result of multiple hash table
61403         sizes to minimize maximum chain length.
61405 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
61407         * Versions.def: Add entry for libnss_db.
61408         * shlib-versions: Likewise.
61409         * nss/Makefile: Add rules to build libnss_db.
61410         * nss/Versions: Add libnss_db information.  Organize libnss_files
61411         entries better.
61412         * nss/db-Makefile: Add gshadow support.  Change rules for the new
61413         makedb progra.  Some minor improvements to generate smaller files.
61414         * nss/nss_db/nss_db.h: Move NSS database header data structures to
61415         here from...
61416         * nss/makedb.c: ...here.
61417         Improve database format to be smaller and require less memory at
61418         runtime.
61419         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
61420         db anymore.
61421         * nss/nss_db/db-netgrp.c: Likewise.
61422         * nss/nss_db/db-open.c: Likewise.
61423         * nss/nss_files/flies-XXX.x: Adjust comments.
61424         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
61425         * nss/nss_files/files-grp.c: Likewise.
61426         * nss/nss_files/files-hosts.c: Likewise.
61427         * nss/nss_files/files-network.c: Likewise.
61428         * nss/nss_files/files-proto.c: Likewise.
61429         * nss/nss_files/files-pwd.c: Likewise.
61430         * nss/nss_files/files-rpc.c: Likewise.
61431         * nss/nss_files/files-service.c: Likewise.
61432         * nss/nss_files/files-sgrp.c: Likewise.
61433         * nss/nss_files/files-spwd.c: Likewise.
61434         * nss/nss_db/db-alias.c: Removed.
61435         * nss/nss_db/dummy-db.h: Removed.
61437 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
61439         * nss/makedb.c: Rewritten to not use database library.
61440         * nss/Makefile: Update to build new makedb program.
61442 2011-06-14  Andreas Jaeger  <aj@suse.de>
61444         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
61445         memset declaration.
61447 2011-06-10  Andreas Schwab  <schwab@redhat.com>
61449         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
61450         tmpbuf.
61452 2011-06-10  Roland McGrath  <roland@hack.frob.com>
61454         * Makerules (shlib.lds): Fail if the linker script comes out empty.
61455         * elf/Makefile ($(objpfx)ld.so): Likewise.
61457         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
61458         Don't list ld.so twice in dependencies.
61460         * posix/bug-regex31.c: Include <stdlib.h>.
61462         * nscd/hstcache.c (cache_addhst): Remove unused variable.
61464         * nis/nss_compat/compat-spwd.c
61465         (getspent_next_nss_netgr): Remove unused variable.
61466         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
61468         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
61469         nonmembers" output to use the right array.
61471         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
61473         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
61475         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
61476         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
61477         * catgets/gencat.c (read_input_file): Likewise.
61478         * locale/programs/locarchive.c (enlarge_archive): Likewise.
61480         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
61481         variable definition inside #if's controlling its use.
61483         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
61485         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
61487         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
61489         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
61490         unreachable code.
61492         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
61494         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
61495         * configure: Regenerated.
61497         * Makerules: Revert last change.
61498         * elf/Makefile: Likewise.
61500 2011-06-09  Roland McGrath  <roland@hack.frob.com>
61502         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
61503         * elf/Makefile ($(objpfx)librtld.os): Likewise.
61504         (reloc-link): Likewise.
61506 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
61508         * elf/Makefile: Add rules to build pldd.
61509         * elf/pldd.c: New file.
61510         * elf/pldd-xx.c: New file.
61512 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
61514         * version.h: Update for 2.15 development version.
61516 2011-06-07  David S. Miller  <davem@davemloft.net>
61518         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
61519         ifuncs.
61520         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
61521         elf_machine_lazy_rel): Likewise.
61522         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
61523         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
61524         elf_machine_lazy_rel): Likewise.
61525         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
61526         dl_hwcap via passed in argument.
61527         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
61528         Likewise.
61530 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61532         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
61534 2011-06-06  Roland McGrath  <roland@hack.frob.com>
61536         [BZ #12849]
61537         * manual/fdl-1.1.texi: New file, verbatim from:
61538         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
61539         * manual/lgpl-2.1.texi: New file, verbatim from:
61540         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
61541         * manual/Makefile (licenses): New variable, list those new file names.
61542         (texis): Use it.
61543         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
61545         * manual/fdl.texi: File removed.
61546         * manual/lesser.texi: File removed.
61547         * manual/libc.texinfo (Copying, Documentation License):
61548         Use new @include file names, put @appendix directive before @include.
61550 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
61552         [BZ #12841]
61553         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
61554         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
61555         (mq_open): Add __NTH.
61557 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
61559         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61560         Assume Intel Core i3/i5/i7 processor if AVX is available.
61562 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61564         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61565         typo.
61567 2011-05-31  Andreas Schwab  <schwab@redhat.com>
61569         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
61570         memory.  Use alloca_account.  Fix memory leak when retrying.
61572 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61574         * version.h (RELEASE): Bump for 2.14 release.
61575         * include/features.h (__GLIBC_MINOR__): Bump to 14.
61577         * config.make.in (RANLIB): Remove entry.
61579 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
61581         * po/Makefile (po-sed-cmd): Add ksh to extensions.
61582         (libc.pot): Work around missing support for .ksh extension in xgettext.
61584         [BZ #12684]
61585         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
61586         if both request failed.
61587         (send_dg): In case of server errors clear resplen or *resplen2.
61589         [BZ #12454]
61590         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
61591         when there are multiple maps.
61592         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
61593         (_dl_fini): Remove test here.
61595         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
61597 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
61599         [BZ #12350]
61600         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
61601         bit from old_res_options.
61602         (gaih_inet): Likewise.
61604         [BZ #11099]
61605         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
61606         as signed.
61608         * resolv/res_init.c (res_setoptions): Make the code more compact.
61610         [BZ #11558]
61611         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
61612         set RES_USEVC.
61614         [BZ #11634]
61615         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
61617         * malloc/malloc.h: Mark malloc hook variables as deprecated.
61619         [BZ #11781]
61620         * malloc/malloc.h: Declare malloc hook variables as volatile.
61622         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
61623         in last patch.
61625         [BZ #11799]
61626         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
61627         raise in the comment.
61628         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61629         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61630         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
61632 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
61634         [BZ #12811]
61635         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
61636         grow the buffers more if it already has to be sufficient.
61637         (build_wcs_upper_buffer): Likewise.
61638         * posix/regexec.c (check_matching): Likewise.
61639         (clean_state_log_if_needed): Likewise.
61640         (extend_buffers): Don't enlarge buffers beyond size of the input
61641         buffer.
61642         Patches mostly by Emil Wojak <emil@wojak.eu>.
61643         * posix/bug-regex32.c: New file.
61644         * posix/Makefile (tests): Add bug-regex32.
61646         * locale/findlocale.c (_nl_find_locale): Return right away if
61647         _nl_explode_name failed.
61648         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
61650         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
61652         * debug/xtrace.sh: Unify messages.
61653         * malloc/memusage.sh: Likewise.
61655         [BZ #12813]
61656         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
61657         time symbol from vDSO.  Substitute with vsyscall if not available.
61658         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
61659         __vdso_time.
61661         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
61662         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
61663         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
61664         Add sendmmsg and internal_sendmmsg.
61665         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
61666         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
61667         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
61669         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
61670         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
61671         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
61673 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
61675         [BZ #12813]
61676         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
61677         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
61678         available.
61679         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
61680         __vdso_getcpu.
61682         [BZ #12814]
61683         * iconvdata/Makefile (tests): Add bug-iconv9.
61684         * iconvdata/bug-iconv9.c: New file.
61686 2011-05-27  Andreas Schwab  <schwab@redhat.com>
61688         [BZ #12814]
61689         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
61691 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
61693         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61694         (struct user_regs_struct): Change intcs field back to cs.
61696 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
61698         * po/ja.po: Update from translation team.
61700 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
61702         [BZ #12795]
61703         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
61704         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
61706 2011-05-20  Andreas Schwab  <schwab@redhat.com>
61708         * stdlib/longlong.h: Update from GCC.
61710 2011-05-23  Andreas Schwab  <schwab@redhat.com>
61712         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
61713         parameter name.
61714         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
61715         Add parameter name.
61716         (__sysconf): Pass it down.
61718 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
61720         [BZ #12671]
61721         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
61722         some situations.
61723         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
61724         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
61725         add in in __libc_use_alloca calls.  Adjust callers.
61726         (glob): Use malloc in some situations.
61728         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
61729         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
61730         pltexit.
61732 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
61734         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
61735         and CLOCK_BOOTTIME_ALARM.
61737         [BZ #12782]
61738         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
61739         is returned.
61741         * string/_strerror.c (__strerror_r): Print negative errors as signed
61742         numbers.
61744         [BZ #12777]
61745         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61746         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61747         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61749         * configure.in: Fix typo in redirection and correct removal of test
61750         files in two cases.
61752         [BZ #12788]
61753         * locale/setlocale.c (new_composite_name): Fix test to check for
61754         identical name of all categories.
61756         [BZ #12792]
61757         * libio/filedoalloc.c (local_isatty): New function.
61758         (_IO_file_doallocate): Use local_isatty.
61759         * stdio-common/perror.c (perror): In case a new stream is used
61760         forward the stream error.
61761         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
61762         error flag.
61764 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
61766         [BZ #11869]
61767         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
61768         alloca.
61769         * include/alloca.h (extend_alloca_account): Define.
61771         [BZ #11857]
61772         * posix/regex.h: Fix comments with documentation of user-accessible
61773         fields after compilation and describe correct free'ing of pattern
61774         after re_compile_pattern.
61775         Patch by Reuben Thomas <rrt@sc3d.org>.
61777 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
61779         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
61780         and -mno-altivec to prevent the compiler from using Altivec and/or
61781         VSX instructions when the corresponding registers are not available.
61783 2011-05-19  Andreas Schwab  <schwab@redhat.com>
61785         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
61787 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
61789         * libio/freopen.c (freopen): Use __dup2, not dup2.
61790         * libio/freopen64.c (freopen64): Likewise.
61792 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61794         [BZ #12775]
61795         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
61796         * math/Makefile (tests): Add test-powl.
61797         (CFLAGS-test-powl.c): Define.
61798         * math/test-powl.c: New file.
61800 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61802         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
61804 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
61806         [BZ #11837]
61807         * iconvdata/gb18030.c: Update to GB18020-2005.
61809 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
61811         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
61812         RE_SYNTAX_POSIX_AWK): Update to match recent development.
61813         Patch by Aharon Robbins <arnold@skeeve.com>.
61815         [BZ #11892]
61816         * stdlib/putenv.c (putenv): Don't always create copy of the variable
61817         on the stack.
61819         [BZ #11895]
61820         * misc/pselect.c (__pselect): Handle timeout value errors hidden
61821         through underflows.
61823         [BZ #12766]
61824         * misc/error.c (error_at_line): Ensure file_name and old_file_name
61825         point to strings before performing equality test for error_one_per_line
61826         mode.
61828         [BZ #11697]
61829         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
61831         [BZ #11820]
61832         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61833         (struct user_fpregs_struct): Avoid __uint*_t types.
61835         [BZ #6420]
61836         * malloc/mtrace.c (tr_where): Add additional parameter to point to
61837         symbol info.  Use it instead of calling _dl_addr locally.
61838         (lock_and_info): New function.
61839         (tr_freehook): Call lock_and_info and pass symbol info as additional
61840         parameter to tr_where.
61841         (tr_mallochook): Likewise.
61842         (tr_reallochook): Likewise.
61843         (tr_memalignhook): Likewise.
61845         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
61846         used and couldn't be at all thread-safe.
61848 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
61850         * libio/freopen.c (freopen): Don't close old file descriptor
61851         before the new one is opened.  Instead dup the new file descriptor
61852         to the old one after the new stream is created.
61853         * libio/freopen64.c (freopen64): Likewise.
61854         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
61855         * libio/fileops.c (_IO_new_file_close_it): Handle new
61856         _IO_FLAGS2_NOCLOSE flag.
61857         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
61858         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
61859         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
61860         _IO_FLAGS2_NOCLOSE flag.
61861         * include/unistd.h: Add hidden_proto for dup3.
61862         Define __have_dup3.
61863         * io/dup3.c: Define hidden symbol.
61864         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
61866         [BZ #7101]
61867         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
61868         when an incomplete long option is used.
61869         * posix/tst-getopt_long1.c: New file.
61870         * posix/Makefile (tests): Add tst-getopt_long1.
61872         [BZ #10138]
61873         * scripts/config.guess: Update from autoconf-2.68.
61874         * scripts/config.sub: Likewise.
61876         [BZ #10157]
61877         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
61878         tests into ...
61879         (has_cpuclock): ...this.  New function.
61880         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
61881         macro here based on has_cpuclock code.
61883         [BZ #10149]
61884         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61885         First byte (not low byte) is now always NUL.
61886         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
61888         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61889         Use non-cancelable interfaces.
61891         [BZ #9809]
61892         * locale/iso-639.def: Add entry for Sorani.
61894         [BZ #11901]
61895         * include/stdlib.h: Move include protection to the right place.
61896         Define abort_msg_s.  Declare __abort_msg with it.
61897         * stdlib/abort.c (__abort_msg): Adjust type.
61898         * assert/assert.c (__assert_fail_base): New function.  Majority
61899         of code from __assert_fail.  Allocate memory for __abort_msg with
61900         mmap.
61901         (__assert_fail): Now call __assert_fail_base.
61902         * assert/assert-perr.c: Remove bulk of implementation.  Use
61903         __assert_fail_base.
61904         * include/assert.hL Declare __assert_fail_base.
61905         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
61906         mmap.
61907         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
61909 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
61911         [BZ #11952]
61912         [BZ #12453]
61913         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
61914         until all modules are registered in the DTV.
61915         * elf/Makefile: Add rules to build and run tst-tls19.
61916         * elf/tst-tls19.c: New file.
61917         * elf/tst-tls19mod1.c: New file.
61918         * elf/tst-tls19mod2.c: New file.
61919         * elf/tst-tls19mod3.c: New file.
61920         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
61922         [BZ #12083]
61923         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
61924         correctly.
61926         [BZ #12601]
61927         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
61928         two-byte sequence errors.
61929         * iconvdata/Makefile (tests): Add bug-iconv8.
61930         * iconvdata/bug-iconv8.c: New file.
61932         [BZ #12626]
61933         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
61934         buf2 definition.
61936         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
61938         [BZ #12432]
61939         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
61940         (dummy_getcfa): New function.
61941         (init): Get _Unwind_GetCFA address, use dummy if not found.
61942         (backtrace_helper): In recursion check, also check whether CFA changes.
61943         (__backtrace): Completely initialize arg.
61945         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
61946         storing incomplete byte sequence in state object.  Avoid testing for
61947         guaranteed too small input if we know there is enough data available.
61949 2011-05-11  Andreas Schwab  <schwab@redhat.com>
61951         * Makeconfig (+link-pie): Indent.
61952         * Rules (binaries-pie): Define if $(have-fpie) and
61953         $(build-shared).
61954         (binaries-shared): Also filter out $(binaries-pie).
61955         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
61956         * nscd/Makefile (others-pie): Add nscd.
61957         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
61958         ($(objpfx)nscd): Remove command override.
61959         * login/Makefile (others-pie): Add pt_chown.
61960         ($(objpfx)pt_chown): Remove command override.
61961         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
61962         remove command overrides.
61964 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
61966         * libio/tst_putwc.c: Fix error messages.
61968         [BZ #12724]
61969         * libio/fileops.c (_IO_new_file_close_it): Always flush when
61970         currently writing and seek to current position when not.
61971         * libio/Makefile (tests): Add bug-fclose1.
61972         * libio/bug-fclose1.c: New file.
61974 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
61976         [BZ #12511]
61977         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
61978         don't set DF_1_NODELETE here.
61979         (do_lookup_x): When entering new entry test for copy relocation
61980         and if necessary set DF_1_NODELETE flag.
61981         * elf/tst-unique4.cc: New file.
61982         * elf/tst-unique4.h: New file.
61983         * elf/tst-unique4lib.cc: New file.
61984         * elf/Makefile: Add rules to build and run tst-unique4.
61985         Patch by Piotr Bury <pbury@goahead.com>.
61987 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
61989         [BZ #12052]
61990         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
61992         [BZ #12625]
61993         * misc/mntent_r.c (addmntent): Flush the stream after the output
61995         [BZ #12393]
61996         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
61997         (is_trusted_path_normalize): Skip initial colon.  Append slash
61998         to empty buffer.  Duplicate is_trusted_path code but allow
61999         constructed patch to be prefix.
62000         (is_dst): Allow $ORIGIN followed by /.
62001         (_dl_dst_substitute): Correct clearing of check_for_trusted.
62002         Correct testing of result of is_trusted_path_normalize
62003         (decompose_rpath): Fix warning.
62005 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
62007         [BZ #11257]
62008         * grp/initgroups.c (internal_getgrouplist): When we found the service
62009         list through the initgroups entry in nsswitch.conf do not always
62010         continue on a successful lookup.  Don't always use the
62011         __nss_group_database value if it is set.
62012         * nss/nsswitch.conf (initgroups): Change action for successful db
62013         lookup to continue for compatibility.
62015 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
62017         [BZ #11532]
62018         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
62019         and CP774 modules.
62020         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
62021         and CP774 modules.
62022         * iconvdata/tst-tables.sh: Likewise.
62023         * iconvdata/cp770.c: New file.
62024         * iconvdata/cp771.c: New file.
62025         * iconvdata/cp772.c: New file.
62026         * iconvdata/cp773.c: New file.
62027         * iconvdata/cp774.c: New file.
62028         * iconvdata/testdata/CP770: New file.
62029         * iconvdata/testdata/CP770..UTF8: New file.
62030         * iconvdata/testdata/CP771: New file.
62031         * iconvdata/testdata/CP771..UTF8: New file.
62032         * iconvdata/testdata/CP772: New file.
62033         * iconvdata/testdata/CP772..UTF8: New file.
62034         * iconvdata/testdata/CP773: New file.
62035         * iconvdata/testdata/CP773..UTF8: New file.
62036         * iconvdata/testdata/CP774: New file.
62037         * iconvdata/testdata/CP774..UTF8: New file.
62039         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
62040         END CHARMAP line.
62041         * iconvdata/gen-8bit-gap.sh: Likewise.
62042         * iconvdata/gen-8bit.sh: Likewise.
62044         * locale/iso-639.def: Add ary entry.
62046         [BZ #11258]
62047         * locale/C-translit.h.in: Add U20A1 transliteration.
62049         [BZ #12178]
62050         * locale/iso-639.def: Add wae entry.
62051         Patch by Kevin Bortis <bortis@translate-wae.ch>.
62053         [BZ #12545]
62054         * locale/programs/localedef.c (construct_output_path): Use ssize_t
62055         for n.
62057         [BZ #12711]
62058         * locale/C-translit.h.in: Add entry for U20B9.
62059         Patch by pravin.d.s@gmail.com.
62061 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
62063         [BZ #12713]
62064         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
62065         ENAMETOOLONG use generic getcwd.
62066         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
62067         in rtld.  Use *stat64.
62068         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
62069         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
62070         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
62071         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
62072         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
62073         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
62074         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
62075         __fstatat64 macros.
62076         * include/dirent.h: Add libc_hidden_proto for rewinddir.
62077         * dirent/rewinddir.c: Add libc_hidden_def.
62078         * sysdeps/mach/hurd/rewinddir.c: Likewise.
62079         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
62081         * include/dirent.h (__alloc_dir): Add flags parameter.
62082         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
62083         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
62084         __alloc_dir.
62085         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
62086         from fdopendir if O_CLOEXEC is already set.
62088 2011-03-15  Alan Modra  <amodra@gmail.com>
62090         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
62091         l_tls_firstbyte_offset non-zero.  Save padding offset in
62092         l_tls_firstbyte_offset for later use.
62093         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
62094         freeing static tls block.
62096 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
62098         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
62099         where #ifdef was intended.  The intent is to prevent ARG_MAX from
62100         being defined by the kernel headers.
62102 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
62104         [BZ #12734]
62105         * resolv/resolv.h: Define RES_NOTLDQUERY.
62106         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
62107         no-tld-query and set RES_NOTLDQUERY.
62108         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
62109         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
62110         modern BIND to search name as TLD unless forbidden.
62112 2011-05-07  Petr Baudis  <pasky@suse.cz>
62113             Ulrich Drepper  <drepper@gmail.com>
62115         [BZ #12393]
62116         * elf/dl-load.c (fillin_rpath): Move trusted path check...
62117         (is_trusted_path): ...to here.
62118         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
62119         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
62120         using is_trusted_path_normalize() in setuid scripts.
62122 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62124         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
62125         __BEGIN/__END_DECLS.
62127 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
62129         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
62130         NSS_STATUS_NOTFOUND if no record was found.
62132 2011-05-05  Andreas Schwab  <schwab@redhat.com>
62134         * sunrpc/Makefile (headers): Add rpc/netdb.h.
62135         (headers-not-in-tirpc): Remove rpc/netdb.h
62136         * resolv/netdb.h: Revert last change.
62138 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
62140         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
62141         circular dependency between libgcc.a and libc.a.
62143 2011-05-05  Andreas Schwab  <schwab@redhat.com>
62145         * resolv/netdb.h: Don't include <rpc/netdb.h>.
62146         * nis/Makefile: Don't install rpcsvc/*.
62147         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
62148         instead of <rpc/types.h>.
62149         (MAXHOSTNAMELEN): Define.
62151 2011-05-03  Andreas Schwab  <schwab@redhat.com>
62153         * elf/ldconfig.c (add_dir): Don't crash on empty path.
62155 2011-04-28  Maciej Babinski  <mbabinski@google.com>
62157         [BZ #12714]
62158         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
62159         gethostbyname4_r when IPv6 results are possible.
62161 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
62163         [BZ #12723]
62164         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
62165         _PC_PIPE_BUF handling.
62167 2011-04-30  Bruno Haible  <bruno@clisp.org>
62169         [BZ #12717]
62170         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
62171         * resolv/netdb.h (getnameinfo): Change type of flags parameter
62172         to 'int'.
62173         * inet/getnameinfo.c (getnameinfo): Likewise.
62175 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
62177         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
62178         to groups setting in database lookup.
62179         * nss/nsswitch.conf: Add initgroups entry.
62181 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
62183         [BZ #12685]
62184         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
62185         mode string.
62186         Patch by Eric Blake <eblake@redhat.com>.
62188 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
62190         * sunrpc/Makefile (need-export-routines): Add svc_run.
62191         (routines): Remove svc_run.
62192         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
62193         * sunrpc/clnt_perr.c (clnt_perrno): Export.
62194         * sunrpc/svc_run.c (svc_run): Likewise.
62195         * sunrpc/svc_udp.c (svcudp_create): Likewise.
62197 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
62199         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
62200         problem in reallocation in last patch.
62202 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
62204         * sunrpc/Makefile: Move inclusion of Rules.
62206 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
62208         * nss/nss_files/files-initgroups.c: New file.
62209         * nss/Makefile (libnss_files-routines): Add files-initgroups.
62210         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
62211         _nss_files_initgroups_dyn.
62213 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
62215         * elf/elf.h (R_ARM_IRELATIVE): Define.
62217 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
62219         * po/ru.po: Update from translation team.
62221 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
62223         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
62224         dependencies.
62226 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
62228         [BZ #12653]
62229         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
62230         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
62231         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
62232         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62233         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62235 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
62237         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
62238         differing bytes.
62239         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62240         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62241         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62243 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
62245         [BZ #12420]
62246         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
62247         storing it.
62248         * stdlib/bug-getcontext.c: New file.
62249         * stdlib/Makefile: Add rules to build and run bug-getcontext.
62251 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62253         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
62254         instructions into .machine "z9-109".
62255         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
62256         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
62258 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62260         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
62261         between environment variables and auxiliary vector.
62263 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
62265         * Makefile: Add rules to build linkobj/libc.so.
62266         * include/libc-symbols.h: Define libc_hidden_nolink.
62267         * include/rpc/auth.h: Mark functions which are to be hidden.
62268         * include/rpc/auth_des.h: Likewise.
62269         * include/rpc/auth_unix.h: Likewise.
62270         * include/rpc/clnt.h: Likewise.
62271         * include/rpc/des_crypt.h: Likewise.
62272         * include/rpc/key_prot.h: Likewise.
62273         * include/rpc/pmap_clnt.h: Likewise.
62274         * include/rpc/pmap_prot.h: Likewise.
62275         * include/rpc/pmap_rmt.h: Likewise.
62276         * include/rpc/rpc_msg.h: Likewise.
62277         * include/rpc/svc.h: Likewise.
62278         * include/rpc/svc_auth.h: Likewise.
62279         * include/rpc/xdr.h: Likewise.
62280         * nis/Makefile: Link all DSOs against linkobj/libc.so.
62281         * nss/Makefile: Likewise.
62282         * sunrpc/Makefile: Don't install headers.  Build library with normal
62283         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
62284         * sunrpc/auth_des.c: Hide exported symbols by default, export some
62285         for the compat linking library.  Remove use of INTDEF/INTUSE.
62286         * sunrpc/auth_none.c: Likewise.
62287         * sunrpc/auth_unix.c: Likewise.
62288         * sunrpc/authdes_prot.c: Likewise.
62289         * sunrpc/authuxprot.c: Likewise.
62290         * sunrpc/clnt_gen.c: Likewise.
62291         * sunrpc/clnt_perr.c: Likewise.
62292         * sunrpc/clnt_raw.c: Likewise.
62293         * sunrpc/clnt_simp.c: Likewise.
62294         * sunrpc/clnt_tcp.c: Likewise.
62295         * sunrpc/clnt_udp.c: Likewise.
62296         * sunrpc/clnt_unix.c: Likewise.
62297         * sunrpc/des_crypt.c: Likewise.
62298         * sunrpc/des_soft.c: Likewise.
62299         * sunrpc/get_myaddr.c: Likewise.
62300         * sunrpc/key_call.c: Likewise.
62301         * sunrpc/key_prot.c: Likewise.
62302         * sunrpc/netname.c: Likewise.
62303         * sunrpc/pm_getmaps.c: Likewise.
62304         * sunrpc/pm_getport.c: Likewise.
62305         * sunrpc/pmap_clnt.c: Likewise.
62306         * sunrpc/pmap_prot.c: Likewise.
62307         * sunrpc/pmap_prot2.c: Likewise.
62308         * sunrpc/pmap_rmt.c: Likewise.
62309         * sunrpc/publickey.c: Likewise.
62310         * sunrpc/rpc_cmsg.c: Likewise.
62311         * sunrpc/rpc_common.c: Likewise.
62312         * sunrpc/rpc_dtable.c: Likewise.
62313         * sunrpc/rpc_prot.c: Likewise.
62314         * sunrpc/rpc_thread.c: Likewise.
62315         * sunrpc/rtime.c: Likewise.
62316         * sunrpc/svc.c: Likewise.
62317         * sunrpc/svc_auth.c: Likewise.
62318         * sunrpc/svc_authux.c: Likewise.
62319         * sunrpc/svc_raw.c: Likewise.
62320         * sunrpc/svc_run.c: Likewise.
62321         * sunrpc/svc_simple.c: Likewise.
62322         * sunrpc/svc_tcp.c: Likewise.
62323         * sunrpc/svc_udp.c: Likewise.
62324         * sunrpc/svc_unix.c: Likewise.
62325         * sunrpc/svcauth_des.c: Likewise.
62326         * sunrpc/xcrypt.c: Likewise.
62327         * sunrpc/xdr.c: Likewise.
62328         * sunrpc/xdr_array.c: Likewise.
62329         * sunrpc/xdr_float.c: Likewise.
62330         * sunrpc/xdr_intXX_t.c: Likewise.
62331         * sunrpc/xdr_mem.c: Likewise.
62332         * sunrpc/xdr_rec.c: Likewise.
62333         * sunrpc/xdr_ref.c: Likewise.
62334         * sunrpc/xdr_sizeof.c: Likewise.
62335         * sunrpc/xdr_stdio.c: Likewise.
62337 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
62339         [BZ #12650]
62340         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
62341         * sysdeps/ia64/dl-tls.h: Likewise.
62342         * sysdeps/powerpc/dl-tls.h: Likewise.
62343         * sysdeps/s390/dl-tls.h: Likewise.
62344         * sysdeps/sh/dl-tls.h: Likewise.
62345         * sysdeps/sparc/dl-tls.h: Likewise.
62346         * sysdeps/x86_64/dl-tls.h: Likewise.
62347         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
62349 2011-03-14  Andreas Schwab  <schwab@redhat.com>
62351         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
62352         rpath element also skip the following colon.
62353         (expand_dynamic_string_token): Add is_path parameter and pass
62354         down to DL_DST_REQUIRED and _dl_dst_substitute.
62355         (decompose_rpath): Call expand_dynamic_string_token with
62356         non-zero is_path.  Ignore empty rpaths.
62357         (_dl_map_object_from_fd): Call expand_dynamic_string_token
62358         with zero is_path.
62360 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
62362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
62363         Make cancelable.
62365 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
62367         [BZ #12655]
62368         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
62369         Patch by Filipe David Manana <fdmanana@apache.org>.
62371 2011-04-07  Andreas Schwab  <schwab@redhat.com>
62373         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
62374         Maintain aligned stack.
62375         (CHECK_RSP): Remove unused macro.
62377 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
62379         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
62380         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
62382 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
62384         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
62386         * include/features.h: Mention __USE_XOPEN2K8 in comment.
62388 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
62390         [BZ #12518]
62391         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
62392         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
62393         * sysdeps/x86_64/memmove.c: New file.
62394         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
62395         (memcpy): Renamed to ...
62396         (__new_memcpy): This.
62397         (memcpy): Provide GLIBC_2_14 memcpy.
62398         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
62399         (memcpy): Provide GLIBC_2_2_5 memcpy.
62401 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62403         [BZ #12631]
62404         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
62406 2011-03-30  Andreas Schwab  <schwab@redhat.com>
62408         * misc/syncfs.c: New file.
62409         * misc/Makefile (routines): Add syncfs.
62410         * posix/unistd.h: Declare syncfs.
62411         * sysdeps/unix/syscalls.list: Add syncfs.
62413 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62415         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
62416         open_by_handle_at.
62417         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62418         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62419         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62420         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62421         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62422         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
62423         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62425 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62427         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
62428         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62429         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
62430         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62431         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62432         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62433         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62435         * io/Makefile: Compile fallocate.c, fallocate64.c, and
62436         sync_file_range.c with -fexceptions.
62437         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
62438         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
62439         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
62440         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
62441         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
62442         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62443         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
62444         sync_file_range as cancellation point
62445         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
62446         now a wrapper around __call_sync_file_range with cancellation handling.
62447         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
62448         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
62449         function name to __call_sync_file_range.
62450         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
62451         Add call_sync_file_range.
62453 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62455         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62456         bits/timex.h.
62458 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62460         * iconv/iconv.h: Fix typo in comment.
62461         * io/fcntl.h: Likewise.
62462         * libio/stdio.h: Likewise.
62463         * posix/spawn.h: Likewise.
62464         * posix/unistd.h: Likewise.
62465         * stdlib/stdlib.h: Likewise.
62466         * time/time.h: Likewise.
62467         * wcsmbs/wchar.h: Likewise.
62469         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
62470         open_by_handle): Add.
62471         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
62472         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
62473         Augment a few comments.
62474         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62475         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62476         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62477         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62478         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62479         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
62480         open_by_handle.
62482         * io/fcntl.h (AT_EMPTY_PATH): Define.
62484 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
62486         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
62487         * sysdeps/unix/sysv/linux/bits/time.h: New file.
62488         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
62489         to...
62490         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
62491         * Versions.def: Add GLIBC_2.14.
62492         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
62493         Export.
62495 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
62497         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
62498         round counter.
62499         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62501 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62503         [BZ #12597]
62504         * string/test-strncmp.c (do_page_test): New function.
62505         (check2): Likewise.
62506         (test_main): Call check2.
62507         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
62509 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
62511         [BZ #12587]
62512         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
62513         Handle cache information in CPU leaf 4.
62514         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62516 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
62518         [BZ #12583]
62519         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
62520         character representation.
62521         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
62523 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
62525         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
62526         END(__isnan) to END(__isnanf) to match function entry point/label
62527         EALIGN(__isnanf,...).
62529 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
62531         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
62533 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
62535         [BZ #12510]
62536         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
62537         copy from the symbol referenced in the relocation to initialize the
62538         used variable.
62539         Patch by Piotr Bury <pbury@goahead.com>.
62540         * elf/Makefile: Add rules to build and tst-unique3.
62541         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
62542         * elf/tst-unique3.cc: New file.
62543         * elf/tst-unique3.h: New file.
62544         * elf/tst-unique3lib.cc: New file.
62545         * elf/tst-unique3lib2.cc: New file.
62547         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
62549 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
62551         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
62552         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
62553         to _start.
62555 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
62557         * elf/dl-load.c (_dl_map_object): If we are looking for the first
62558         to-be-loaded object along a path to loader is ld.so.
62560 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62561             Ulrich Drepper  <drepper@gmail.com>
62563         * sysdeps/x86_64/memset.S: After aligning destination, code
62564         branches to different locations depending on the value of
62565         misalignment, when multiarch is enabled. Fix this.
62567 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62569         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
62570         Set _x86_64_preferred_memory_instruction for AMD processsors.
62571         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62572         Set bit_Prefer_SSE_for_memop for AMD processors.
62574 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
62576         * libio/fmemopen.c (fmemopen): Optimize a bit.
62578 2011-03-03  Andreas Schwab  <schwab@redhat.com>
62580         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
62582 2011-03-03  Roland McGrath  <roland@redhat.com>
62584         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
62586 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
62588         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
62589         __bzero_ultra1 instead of __memset_ultra1.
62591 2011-02-23  Andreas Schwab  <schwab@redhat.com>
62592             Ulrich Drepper  <drepper@gmail.com>
62594         [BZ #12509]
62595         * include/link.h (struct link_map): Add l_orig_initfini.
62596         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
62597         returning unsuccessfully.
62598         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
62599         close of a file loaded at startup, restore the original l_initfini
62600         list.
62601         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
62602         list, store the pointer.
62603         * elf/Makefile ($(objpfx)noload-mem): New rule.
62604         (noload-ENV): Define.
62605         (tests): Add $(objpfx)noload-mem.
62606         * elf/noload.c: Include <memcheck.h>.
62607         (main): Call mtrace.  Close all opened handles.
62609 2011-02-17  Andreas Schwab  <schwab@redhat.com>
62611         [BZ #12454]
62612         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
62613         dependencies are missing.
62615 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62617         Fix __if_freereq crash: Unlike the generic version which uses free,
62618         Hurd needs munmap.
62619         * sysdeps/mach/hurd/ifreq.h: New file.
62621 2011-01-27  Petr Baudis  <pasky@suse.cz>
62622             Ulrich Drepper  <drepper@gmail.com>
62624         [BZ 12445]#
62625         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
62626         to extend_alloca().
62627         * stdio-common/bug23.c: New file.
62628         * stdio-common/Makefile (tests): Add bug23.
62630 2010-09-28  Andreas Schwab  <schwab@redhat.com>
62631             Ulrich Drepper  <drepper@gmail.com>
62633         [BZ #12489]
62634         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
62635         before performing relro protection.  At old place add assertion
62636         to make sure nothing changed.
62638 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
62639             Glauber de Oliveira Costa  <glommer@gmail.com>
62641         * elf/elf.h: Add new ARM TLS relocs.
62643 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
62645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62646         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
62647         cast from r3.
62648         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
62649         'tests' variable.
62650         * sysdeps/wordsize-64/tst-writev.c: New file.
62652 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
62654         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
62655         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
62656         insns in _dl_start to prevent a TOC reference before relocs are
62657         resolved.
62659 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
62661         [BZ #12469]
62662         * Makeconfig: Remove RANLIB definition.
62663         * Makerules: Don't use RANLIB.
62664         * aclocal.m4: Remove ranlib test.
62665         * configure.in: No need to check for ranlib.
62666         * elf/rtld-Rules: Don't use RANLIB.
62668 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62670         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
62671         protection macro.
62672         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
62673         inclusion protection macro.
62675         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
62676         SIGRTMIN and SIGRTMAX and print information in that case only when
62677         SIGRTMIN is defined.
62679 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
62681         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
62682         arginfo fn returning -1.
62684         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
62685         and thousands string is zero terminated.
62687 2011-02-03  Andreas Schwab  <schwab@redhat.com>
62689         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
62690         sysdeps/unix/sysv/linux/bits/socket.h.
62692 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62694         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
62695         (__CPU_COUNT): Remove old macros.
62696         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
62697         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
62698         (__CPU_ALLOC, __CPU_FREE): Add macros.
62699         (__sched_cpualloc, __sched_cpufree): Add declarations.
62701 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
62703         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
62704         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
62705         * nscd/aicache.c (addhstaiX): Return timeout of added value.
62706         (readdhstai): Return value of addhstaiX call.
62707         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
62708         (addgrbyX): Return value returned by cache_addgr.
62709         (readdgrbyname): Return value returned by addgrbyX.
62710         (readdgrbygid): Likewise.
62711         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
62712         (addpwbyX): Return value returned by cache_addpw.
62713         (readdpwbyname): Return value returned by addhstbyX.
62714         (readdpwbyuid): Likewise.
62715         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
62716         (addservbyX): Return value returned by cache_addserv.
62717         (readdservbyname): Return value returned by addservbyX:
62718         (readdservbyport): Likewise.
62719         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
62720         (addhstbyX): Return value returned by cache_addhst.
62721         (readdhstbyname): Return value returned by addhstbyX.
62722         (readdhstbyaddr): Likewise.
62723         (readdhstbynamev6): Likewise.
62724         (readdhstbyaddrv6): Likewise.
62725         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
62726         (readdinitgroups): Return value returned by addinitgroupsX.
62727         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
62728         (prune_cache): Keep track of timeout value of re-added entries.
62729         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
62730         * nscd/nscd.h: Adjust prototypes of readd* functions.
62732 2011-02-04  Roland McGrath  <roland@redhat.com>
62734         * nis/nis_server.c (nis_servstate): Use the right name for 0.
62735         (nis_stats): Likewise.
62736         * nis/nis_modify.c (nis_modify): Likewise.
62737         * nis/nis_remove.c (nis_remove): Likewise.
62738         * nis/nis_add.c (nis_add): Likewise.
62740         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62742         * posix/fnmatch_loop.c: Add some consts.
62744         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62746 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
62748         [BZ #12460]
62749         * config.make.in (config-cflags-novzeroupper): Define.
62750         * configure.in: Substitute libc_cv_cc_novzeroupper.
62751         * elf/Makefile (AVX-CFLAGS): Define.
62752         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62753         (CFLAGS-tst-auditmod4a.c): Likewise.
62754         (CFLAGS-tst-auditmod4b.c): Likewise.
62755         (CFLAGS-tst-auditmod6b.c): Likewise.
62756         (CFLAGS-tst-auditmod6c.c): Likewise.
62757         (CFLAGS-tst-auditmod7b.c): Likewise.
62758         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
62760 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
62762         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
62763         function to the callback.
62764         Patch partly by Jiri Olsa <jolsa@redhat.com>.
62766 2011-02-02  Andreas Schwab  <schwab@redhat.com>
62768         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
62769         of errno.
62771 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
62773         [BZ #11724]
62774         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
62775         of constructors.
62776         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
62777         of destructors.
62778         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
62780         [BZ #11724]
62781         * elf/Makefile: Add rules to build and run new test.
62782         * elf/tst-initorder.c: New file.
62783         * elf/tst-initorder.exp: New file.
62784         * elf/tst-initordera1.c: New file.
62785         * elf/tst-initordera2.c: New file.
62786         * elf/tst-initordera3.c: New file.
62787         * elf/tst-initordera4.c: New file.
62788         * elf/tst-initorderb1.c: New file.
62789         * elf/tst-initorderb2.c: New file.
62790         * elf/tst-order-a1.c: New file.
62791         * elf/tst-order-a2.c: New file.
62792         * elf/tst-order-a3.c: New file.
62793         * elf/tst-order-a4.c: New file.
62794         * elf/tst-order-b1.c: New file.
62795         * elf/tst-order-b2.c: New file.
62796         * elf/tst-order-main.c: New file.
62797         New test case by George Gensure <werkt0@gmail.com>.
62799 2010-10-01  Andreas Schwab  <schwab@redhat.com>
62801         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62802         decoding ACE if AI_CANONIDN.
62804 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
62806         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
62808 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
62810         * version.h (RELEASE): Bump for 2.13 release.
62811         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
62813         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
62815         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
62816         MADV_NOHUGEPAGE.
62817         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
62818         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62819         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62820         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62821         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62822         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62824         * posix/getconf.c: Update copyright year.
62825         * catgets/gencat.c: Likewise.
62826         * csu/version.c: Likewise.
62827         * debug/catchsegv.sh: Likewise.
62828         * debug/xtrace.sh: Likewise.
62829         * elf/ldconfig.c: Likewise.
62830         * elf/ldd.bash.in: Likewise.
62831         * elf/sprof.c (print_version): Likewise.
62832         * iconv/iconv_prog.c: Likewise.
62833         * iconv/iconvconfig.c: Likewise.
62834         * locale/programs/locale.c: Likewise.
62835         * locale/programs/localedef.c: Likewise.
62836         * malloc/memusage.sh: Likewise.
62837         * malloc/mtrace.pl: Likewise.
62838         * nscd/nscd.c (print_version): Likewise.
62839         * nss/getent.c: Likewise.
62841         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
62842         PF_CAIF, and PF_ALG.
62843         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62845 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
62847         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
62848         (modules-names): Use them.
62849         (ifunc-test-modules, ifunc-pie-tests): Define.
62850         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
62851         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
62852         (test-extras): Likewise.
62853         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
62854         $(compile-command.c).
62855         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
62856         (all-built-dso): Define.
62857         (check-textrel.out, check-execstack.out): Depend on it.
62859         * configure.in: Don't override --enable-multi-arch.
62861 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
62863         [BZ #6812]
62864         * nscd/hstcache.c (tryagain): Define.
62865         (cache_addhst): Return tryagain not notfound for temporary errors.
62866         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
62867         failed.
62869 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
62871         [BZ #10563]
62872         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
62873         to make the syscall.
62874         * sysdeps/unix/sysv/linux/setgroups.c: New file.
62876         [BZ #12378]
62877         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
62878         and fall back to matching as normal character if the string ends before
62879         the matching ']' is found.  This is what POSIX requires.
62880         * posix/testfnm.c: Adjust test result.
62881         * posix/globtest.sh: Adjust test result.  Add new test.
62882         * posix/tst-fnmatch.input: Likewise.
62883         * posix/tst-fnmatch2.c: Add new test.
62885 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
62887         * elf/Makefile (check-execstack): Revert last change.  Depend on
62888         check-execstack.h.
62889         (check-execstack.h): New target.
62890         (generated): Add check-execstack.h.
62891         * elf/check-execstack.c: Include "check-execstack.h".
62892         (main): Revert last change.
62893         (handle_file): Return zero if GNU_STACK is absent and
62894         DEFAULT_STACK_PERMS doesn't include PF_X.
62896 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
62898         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
62899         in child fails because the descriptor is already closed.
62900         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
62901         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
62902         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
62904         [BZ #12397]
62905         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
62906         syscall.
62908         [BZ #10484]
62909         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
62910         temporary buffer used to handle multi lookups locally.
62911         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
62913 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62915         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
62916         loader is ld.so.
62918 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
62920         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
62921         alignment for SSE2.
62923 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62925         [BZ #12394]
62926         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
62927         characters.  When rounding increased number of integer digits recompute
62928         number of groups.
62929         * stdio-common/tst-grouping.c: New file.
62930         * stdio-common/Makefile: Add rules to build and run tst-grouping.
62932 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
62934         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
62935         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
62937         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
62938         void.
62939         * bits/select.h: Likewise.
62941 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
62943         * po/ja.po: Update from translation team.
62945 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
62947         [BZ #11155]
62948         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
62949         implementation just like for lxstat, fxstatat, et al.
62951 2010-12-27  Jim Meyering  <meyering@redhat.com>
62953         [BZ #12348]
62954         * posix/regexec.c (build_trtable): Return failure indication upon
62955         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
62957 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
62959         [BZ #12201]
62960         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
62961         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
62962         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
62963         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
62965         [BZ #12207]
62966         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
62968         [BZ #12204]
62969         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
62970         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
62972 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
62974         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
62975         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
62976         script has SORT_BY_INIT_PRIORITY.
62977         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
62978         NO_CTORS_DTORS_SECTIONS is defined.
62979         * elf/soinit.c: Likewise.
62980         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
62981         NO_CTORS_DTORS_SECTIONS is defined.
62982         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
62983         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
62984         * sysdeps/sh/init-first.c: Likewise.
62985         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
62987 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
62989         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
62990         always use the slow path.
62992 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
62994         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
62995         similar rule which adds the sysdep directories to the header search in
62996         order to pick up the correct platform stackinfo.h.
62997         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
62998         perform test if it is, otherwise return successfully without testing.
62999         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
63000         DEFAULT_STACK_PERMS define in stackinfo.h.
63001         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
63002         defined in stackinfo.h.
63003         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
63004         DEFAULT_STACK_PERMS defined in stackinfo.h.
63005         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
63006         * sysdeps/ia64/stackinfo.h: Likewise.
63007         * sysdeps/s390/stackinfo.h: Likewise.
63008         * sysdeps/sh/stackinfo.h: Likewise.
63009         * sysdeps/sparc/stackinfo.h: Likewise.
63010         * sysdeps/x86_64/stackinfo.h: Likewise.
63011         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
63012         PF_X for powerpc64.  Retain PF_X for powerpc32.
63014 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
63016         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
63017         accurately.
63018         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
63019         GETDENTS_64BIT_ALIGNED.
63021 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
63023         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
63025 2010-12-10  Andreas Schwab  <schwab@redhat.com>
63027         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
63028         _GNU_SOURCE.
63030         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
63031         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
63032         Remove __restrict.
63033         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
63034         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
63036 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
63038         [BZ #11655]
63039         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
63040         are initialized.
63042 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
63044         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
63046 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
63048         * po/it.po: Update from translation team.
63050 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
63052         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
63053         unused codes.
63055 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
63057         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
63059 2010-11-24  Andreas Schwab  <schwab@redhat.com>
63061         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
63062         specially.
63063         (gaih_getanswer_slice): Likewise.
63065 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
63067         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
63069 2010-05-31  Petr Baudis  <pasky@suse.cz>
63071         [BZ #11149]
63072         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
63073         silently even in the chroot mode.
63075 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
63077         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
63078         last patch a bit.  Pretty printing
63080 2010-05-31  Petr Baudis <pasky@suse.cz>
63082         [BZ #10085]
63083         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
63084         initialization of skip_initgroups_dyn.
63086 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
63088         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
63089         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63091 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
63093         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
63095 2010-11-11  Andreas Schwab  <schwab@redhat.com>
63097         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
63098         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
63099         (tst-fnmatch-ENV): Set MALLOC_TRACE.
63100         ($(objpfx)tst-fnmatch-mem): New rule.
63101         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
63102         * posix/tst-fnmatch.c (main): Call mtrace.
63104 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
63106         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63107         Support Intel processor model 6 and model 0x2c.
63109 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
63111         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
63112           signed comparison.
63114 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
63116         [BZ #12205]
63117         * string/test-strncasecmp.c (check_result): New function.
63118         (do_one_test): Use it.
63119         (check1): New function.
63120         (test_main): Use it.
63121         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
63122         Support strcasecmp and strncasecmp.
63124 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
63126         [BZ #12194]
63127         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
63128         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63130 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
63132         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
63133         IFUNC support.
63134         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63135         memset-x86-64.
63136         * sysdeps/x86_64/multiarch/bzero.S: New file.
63137         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
63138         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
63139         * sysdeps/x86_64/multiarch/memset.S: New file.
63140         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
63141         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63142         Set bit_Prefer_SSE_for_memop for Intel processors.
63143         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
63144         Define.
63145         (index_Prefer_SSE_for_memop): Define.
63146         (HAS_PREFER_SSE_FOR_MEMOP): Define.
63148 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
63150         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
63151         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
63153 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
63155         [BZ #12191]
63156         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63157         (__x86_64_raw_data_cache_size_half): Likewise.
63158         (__x86_64_raw_shared_cache_size): Likewise.
63159         (__x86_64_raw_shared_cache_size_half): Likewise.
63161         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63162         (__x86_64_raw_data_cache_size_half): Likewise.
63163         (__x86_64_raw_shared_cache_size): Likewise.
63164         (__x86_64_raw_shared_cache_size_half): Likewise.
63165         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
63166         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
63167         and __x86_64_raw_shared_cache_size_half.  Round
63168         __x86_64_data_cache_size_half, __x86_64_data_cache_size
63169         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
63170         to multiple of 256 bytes.
63172 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
63174         [BZ #12167]
63175         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
63176         of inacessible symlinks.  Verify result of symlink before returning it.
63177         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
63178         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
63180 2010-10-28  Erich Ritz  <erichritz@gmail.com>
63182         * math/math.h (isinf): Fix typo in comment.
63184 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
63186         * po/da.po: Update from translation team.
63188 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
63190         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
63191         is added to the list.
63193 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63194             Ulrich Drepper  <drepper@gmail.com>
63196         * elf/dl-object.c (_dl_new_object): Don't append the new object to
63197         the global list here.  Move code to...
63198         (_dl_add_to_namespace_list): ...here.  New function.
63199         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
63200         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
63201         * elf/dl-load.c (lose): Don't remove the element from the list.
63202         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
63203         (_dl_map_object): Likewise.
63205 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
63207         [BZ #12159]
63208         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
63209         into all bytes of SSE register.
63210         Patch by Richard Li <richardpku@gmail.com>.
63212 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
63214         [BZ #12140]
63215         * malloc/malloc.c (_int_free): Fill correct number of bytes when
63216         perturbing.
63218 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
63220         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
63221         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
63222         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
63223         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
63225         submachine.
63226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
63228 2010-10-22  Andreas Schwab  <schwab@redhat.com>
63230         * include/dlfcn.h (__RTLD_SECURE): Define.
63231         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
63232         mode & __RTLD_SECURE instead.
63233         (open_path): Rename preloaded parameter to secure.
63234         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
63235         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
63236         * elf/dl-deps.c (openaux): Likewise.
63237         * elf/rtld.c (struct map_args): Remove is_preloaded.
63238         (map_doit): Don't use it.
63239         (dl_main): Likewise.
63240         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
63241         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
63243 2010-09-09  Andreas Schwab  <schwab@redhat.com>
63245         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
63246         (sysd-rules-targets): Remove duplicates.
63247         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
63248         rtld-%.$o dependency.
63250 2010-10-18  Andreas Schwab  <schwab@redhat.com>
63252         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
63253         _dl_map_object do it.
63255 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
63257         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
63258         fast fma builtins, define the macros in the C99 standard.
63259         (FP_FAST_FMAF): Likewise.
63260         (FP_FAST_FMAL): Likewise.
63261         * sysdeps/x86_64/bits/mathdef.h: Likewise.
63263         * bits/mathdef.h: Update copyright year.
63264         * sysdeps/powerpc/bits/mathdef.h: Likewise.
63266 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
63268         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
63269         builtins, define the macros in the C99 standard.
63270         (FP_FAST_FMAF): Likewise.
63271         (FP_FAST_FMAL): Likewise.
63272         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
63273         multiply/add.
63274         (FP_FAST_FMAF): Likewise.
63276 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
63278         [BZ #3268]
63279         * math/libm-test.inc (fma_test): Some new testcases.
63280         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
63281         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
63282         y and infinite z.  Do multiplication by C already in long double.
63283         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
63284         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
63285         y and infinite z.  Do bitwise or of inexact bit into u.d.
63286         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
63287         * sysdeps/i386/fpu/s_fmaf.S: Removed.
63288         * sysdeps/i386/fpu/s_fma.S: Removed.
63289         * sysdeps/i386/fpu/s_fmal.S: Removed.
63291 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
63293         [BZ #3268]
63294         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
63295         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
63296         computation is not scheduled after fetestexcept.  Fix value
63297         of minimum denormal long double.
63299 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
63301         [BZ #3268]
63302         * math/libm-test.inc (fma_test): Add some more tests.
63303         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
63304         correctly.
63306 2010-10-15  Andreas Schwab  <schwab@redhat.com>
63308         * scripts/data/localplt-s390-linux-gnu.data: New file.
63309         * scripts/data/localplt-s390x-linux-gnu.data: New file.
63311 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
63313         [BZ #3268]
63314         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
63315         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
63316         instead of dbl-64.
63317         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
63318         inlines.
63319         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
63320         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
63321         if one of x and y is very large and the other is subnormal.
63322         * sysdeps/s390/fpu/s_fmaf.c: New file.
63323         * sysdeps/s390/fpu/s_fma.c: New file.
63324         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
63325         * sysdeps/powerpc/fpu/s_fma.S: New file.
63326         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
63327         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
63328         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
63330 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
63332         [BZ #3268]
63333         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
63334         fma tests.
63335         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
63336         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
63337         * sysdeps/i386/i686/multiarch/s_fma.c: Include
63338         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
63339         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
63340         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
63341         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
63343 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
63345         [BZ #12078]
63346         * posix/regcomp.c (parse_branch): One more memory leak plugged.
63347         * posix/bug-regex31.input: Add test case.
63349 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63351         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
63352         * posix/bug-regex31.input: New file.
63354         [BZ #12078]
63355         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
63356         (parse_sub_exp): Fix last change, use postorder.
63358         * posix/bug-regex31.c: New file.
63359         * posix/Makefile: Add rules to build and run bug-regex31.
63361         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
63363         [BZ #12078]
63364         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
63366         [BZ #12108]
63367         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
63368         to have entries in sys_siglist.
63370         [BZ #12093]
63371         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
63372         be NULL.
63374 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
63376         [BZ #3268]
63377         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
63378         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
63379         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
63380         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
63381         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
63382         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
63383         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
63384         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
63385         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
63386         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
63387         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
63388         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
63389         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
63390         * math/ftestexcept.c (fetestexcept): Likewise.
63391         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
63392         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
63393         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
63394         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
63395         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
63396         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
63397         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63399 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63401         [BZ #12107]
63402         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
63403         newline.
63405 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
63407         * string/bug-strstr1.c: New file.
63408         * string/Makefile: Add rules to build and run bug-strstr1.
63410 2010-10-05  Eric Blake  <eblake@redhat.com>
63412         [BZ #12092]
63413         * string/str-two-way.h (two_way_long_needle): Always clear memory
63414         when skipping input due to the shift table.
63416 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
63418         [BZ #12005]
63419         * malloc/mcheck.c: Handle large requests.
63421         [BZ #12077]
63422         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
63423         for strncmp and strncasecmp.
63424         * string/stratcliff.c: Add tests for strcmp and strncmp.
63425         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
63427 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63429         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
63430         __set_fpscr.
63432 2010-09-30  Andreas Jaeger  <aj@suse.de>
63434         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
63435         (CGROUP_SUPER_MAGIC): Define.
63436         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63437         Handle btrfs and cgroup file systems.
63438         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63439         Likewise.
63441 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
63443         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
63444         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
63446 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63448         [BZ #12067]
63449         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
63450         trying to locate the ELF header.
63452 2010-09-27  Andreas Schwab  <schwab@redhat.com>
63454         [BZ #11611]
63455         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
63456         Mask out sign-bit copies when constructing f_fsid.
63458 2010-09-24  Petr Baudis <pasky@suse.cz>
63460         * debug/stack_chk_fail_local.c: Add missing licence exception.
63461         * debug/warning-nop.c: Likewise.
63463 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
63465         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
63466         implementing getdents64 using getdents syscall, set d_type if
63467         __ASSUME_GETDENTS32_D_TYPE.
63469 2010-09-16  Andreas Schwab  <schwab@redhat.com>
63471         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
63472         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
63474 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
63476         [BZ #12037]
63477         * posix/unistd.h: Undo change of feature selection for ftruncate from
63478         2010-01-11.
63480 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
63482         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
63483         detection.
63485 2010-09-20  Andreas Schwab  <schwab@redhat.com>
63487         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
63488         fanotify_mark.
63489         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63491 2010-09-14  Andreas Schwab  <schwab@redhat.com>
63493         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
63494         variables after CHECK_SP call.
63495         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
63497 2010-09-13  Andreas Schwab  <schwab@redhat.com>
63498             Ulrich Drepper  <drepper@redhat.com>
63500         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
63501         re-relocationg ld.so.
63502         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
63503         _dl_init_paths call.
63504         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
63505         here anymore.
63507 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
63509         * resolv/res_init.c (__res_vinit): Count the default server we added.
63511 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
63512             Ulrich Drepper  <drepper@redhat.com>
63514         [BZ #11968]
63515         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
63516         (____longjmp_chk): Use %ebx for saving value across system call.
63517         Add unwind info.
63519 2010-09-06  Andreas Schwab  <schwab@redhat.com>
63521         * manual/Makefile: Don't mix pattern rules with normal rules.
63523 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63525         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
63526         operation.
63527         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
63528         * libio/iofopncook.c (_IO_cookie_init): Likewise.
63529         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
63530         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
63531         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63532         Likewise.
63534 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
63536         [BZ #11979]
63537         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
63538         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
63540 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
63542         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
63543         * sysdeps/x86_64/addmul_1.S: Likewise.
63544         * sysdeps/x86_64/lshift.S: Likewise.
63545         * sysdeps/x86_64/mul_1.S: Likewise.
63546         * sysdeps/x86_64/rshift.S: Likewise.
63547         * sysdeps/x86_64/sub_n.S: Likewise.
63548         * sysdeps/x86_64/submul_1.S: Likewise.
63550 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63552         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
63553         Define __sched_param instead of SCHED_* and sched_param when
63554         <bits/sched.h> is included with __need_schedparam defined.
63555         * bits/sched.h [__need_schedparam]
63556         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
63557         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
63558         (__defined_schedparam): Define to 1.
63559         (__sched_param): New structure, identical to sched_param.
63560         (__need_schedparam): Undefine.
63562 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
63564         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
63565         (epoll_create1): Declare.
63567         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
63569 2010-08-31  Andreas Schwab  <schwab@redhat.com>
63571         [BZ #7066]
63572         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
63573         shifting retval into place.
63575 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
63577         * nis/rpcsvc/nis.h: Update copyright notice.
63578         * nis/rpcsvc/nis.x: Likewise.
63579         * nis/rpcsvc/nis_callback.h: Likewise.
63580         * nis/rpcsvc/nis_callback.x: Likewise.
63581         * nis/rpcsvc/nis_object.x: Likewise.
63582         * nis/rpcsvc/nis_tags.h: Likewise.
63583         * nis/rpcsvc/yp.h: Likewise.
63584         * nis/rpcsvc/yp.x: Likewise.
63585         * nis/rpcsvc/ypupd.h: Likewise.
63586         * nis/yp_xdr.c: Likewise.
63587         * nis/ypupdate_xdr.c: Likewise.
63589         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
63590         mainly the body of pmap_getport.  Add parameters to specify timeouts.
63591         (pmap_getport): Use __libc_rpc_getport.
63592         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
63593         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
63594         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
63596 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
63598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
63599         fanotify_mark.
63601 2010-08-27  Roland McGrath  <roland@redhat.com>
63603         * sysdeps/i386/i686/multiarch/Makefile
63604         (CFLAGS-varshift.c): New variable.
63606 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
63608         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
63609         * sysdeps/i386/i686/multiarch/varshift.c: New file.
63611         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
63613         * sysdeps/x86_64/strlen.S: Minimal code improvement.
63615 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
63617         * sysdeps/x86_64/strlen.S: Unroll the loop.
63618         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63619         strlen-sse2 strlen-sse2-bsf.
63620         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
63621         __strlen_no_bsf if bit_Slow_BSF is set.
63622         (__strlen_sse42): Removed.
63623         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
63624         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
63626 2010-08-25  Roland McGrath  <roland@redhat.com>
63628         * sysdeps/x86_64/multiarch/varshift.S: File removed.
63629         * sysdeps/x86_64/multiarch/varshift.c: New file.
63630         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
63631         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
63632         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
63633         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63635 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
63637         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63638         strlen-sse2 strlen-sse2-bsf.
63639         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
63640         __strlen_sse2_bsf if bit_Slow_BSF is unset.
63641         (__strlen_sse2): Removed.
63642         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
63643         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
63644         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63645         bit_Slow_BSF for Atom.
63646         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
63647         (index_Slow_BSF): Define.
63648         (HAS_SLOW_BSF): Define.
63650 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
63652         [BZ #10851]
63653         * resolv/res_init.c (__res_vinit): When no server address at all
63654         is given default to loopback.
63656 2010-08-24  Roland McGrath  <roland@redhat.com>
63658         * configure.in: Remove config-name.h generation.
63659         * configure: Regenerated.
63660         * config-name.in: File removed.
63661         * scripts/config-uname.sh: New file.
63662         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
63663         ($(objdir)config-name.h): New target.
63665         * sunrpc/rpc_parse.h: Avoid nested comment.
63667 2010-08-24  Richard Henderson  <rth@redhat.com>
63668             Ulrich Drepper  <drepper@redhat.com>
63669             H.J. Lu  <hongjiu.lu@intel.com>
63671         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
63672         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
63673         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
63674         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
63675         _mm_alignr_epi8 with _mm_loadu_si128.
63676         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
63677         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
63678         (__m128i_shift_right): Removed.
63679         * sysdeps/i386/i686/multiarch/varshift.h: New file.
63680         * sysdeps/i386/i686/multiarch/varshift.S: New file.
63681         * sysdeps/x86_64/multiarch/varshift.h: New file.
63682         * sysdeps/x86_64/multiarch/varshift.S: New file.
63684 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
63686         * configure.in: Move assembler checks to before sysdep dir checking.
63688 2010-08-20  Petr Baudis  <pasky@suse.cz>
63690         * LICENSES: Sync the sunrpc license.
63692 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
63694         * sunrpc/auth_des.c: Update copyright notice once again.
63695         * sunrpc/auth_none.c: Likewise.
63696         * sunrpc/auth_unix.c: Likewise.
63697         * sunrpc/authdes_prot.c: Likewise.
63698         * sunrpc/authuxprot.c: Likewise.
63699         * sunrpc/bindrsvprt.c: Likewise.
63700         * sunrpc/clnt_gen.c: Likewise.
63701         * sunrpc/clnt_perr.c: Likewise.
63702         * sunrpc/clnt_raw.c: Likewise.
63703         * sunrpc/clnt_simp.c: Likewise.
63704         * sunrpc/clnt_tcp.c: Likewise.
63705         * sunrpc/clnt_udp.c: Likewise.
63706         * sunrpc/clnt_unix.c: Likewise.
63707         * sunrpc/des_crypt.c: Likewise.
63708         * sunrpc/des_soft.c: Likewise.
63709         * sunrpc/get_myaddr.c: Likewise.
63710         * sunrpc/getrpcport.c: Likewise.
63711         * sunrpc/key_call.c: Likewise.
63712         * sunrpc/key_prot.c: Likewise.
63713         * sunrpc/openchild.c: Likewise.
63714         * sunrpc/pm_getmaps.c: Likewise.
63715         * sunrpc/pm_getport.c: Likewise.
63716         * sunrpc/pmap_clnt.c: Likewise.
63717         * sunrpc/pmap_prot.c: Likewise.
63718         * sunrpc/pmap_prot2.c: Likewise.
63719         * sunrpc/pmap_rmt.c: Likewise.
63720         * sunrpc/rpc/auth.h: Likewise.
63721         * sunrpc/rpc/auth_unix.h: Likewise.
63722         * sunrpc/rpc/clnt.h: Likewise.
63723         * sunrpc/rpc/des_crypt.h: Likewise.
63724         * sunrpc/rpc/key_prot.h: Likewise.
63725         * sunrpc/rpc/netdb.h: Likewise.
63726         * sunrpc/rpc/pmap_clnt.h: Likewise.
63727         * sunrpc/rpc/pmap_prot.h: Likewise.
63728         * sunrpc/rpc/pmap_rmt.h: Likewise.
63729         * sunrpc/rpc/rpc.h: Likewise.
63730         * sunrpc/rpc/rpc_des.h: Likewise.
63731         * sunrpc/rpc/rpc_msg.h: Likewise.
63732         * sunrpc/rpc/svc.h: Likewise.
63733         * sunrpc/rpc/svc_auth.h: Likewise.
63734         * sunrpc/rpc/types.h: Likewise.
63735         * sunrpc/rpc/xdr.h: Likewise.
63736         * sunrpc/rpc_clntout.c: Likewise.
63737         * sunrpc/rpc_cmsg.c: Likewise.
63738         * sunrpc/rpc_common.c: Likewise.
63739         * sunrpc/rpc_cout.c: Likewise.
63740         * sunrpc/rpc_dtable.c: Likewise.
63741         * sunrpc/rpc_hout.c: Likewise.
63742         * sunrpc/rpc_main.c: Likewise.
63743         * sunrpc/rpc_parse.c: Likewise.
63744         * sunrpc/rpc_parse.h: Likewise.
63745         * sunrpc/rpc_prot.c: Likewise.
63746         * sunrpc/rpc_sample.c: Likewise.
63747         * sunrpc/rpc_scan.c: Likewise.
63748         * sunrpc/rpc_scan.h: Likewise.
63749         * sunrpc/rpc_svcout.c: Likewise.
63750         * sunrpc/rpc_tblout.c: Likewise.
63751         * sunrpc/rpc_util.c: Likewise.
63752         * sunrpc/rpc_util.h: Likewise.
63753         * sunrpc/rpcinfo.c: Likewise.
63754         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63755         * sunrpc/rpcsvc/key_prot.x: Likewise.
63756         * sunrpc/rpcsvc/klm_prot.x: Likewise.
63757         * sunrpc/rpcsvc/mount.x: Likewise.
63758         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
63759         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
63760         * sunrpc/rpcsvc/rex.x: Likewise.
63761         * sunrpc/rpcsvc/rstat.x: Likewise.
63762         * sunrpc/rpcsvc/rusers.x: Likewise.
63763         * sunrpc/rpcsvc/sm_inter.x: Likewise.
63764         * sunrpc/rpcsvc/spray.x: Likewise.
63765         * sunrpc/rpcsvc/yppasswd.x: Likewise.
63766         * sunrpc/rtime.c: Likewise.
63767         * sunrpc/svc.c: Likewise.
63768         * sunrpc/svc_auth.c: Likewise.
63769         * sunrpc/svc_authux.c: Likewise.
63770         * sunrpc/svc_raw.c: Likewise.
63771         * sunrpc/svc_run.c: Likewise.
63772         * sunrpc/svc_simple.c: Likewise.
63773         * sunrpc/svc_tcp.c: Likewise.
63774         * sunrpc/svc_udp.c: Likewise.
63775         * sunrpc/svc_unix.c: Likewise.
63776         * sunrpc/svcauth_des.c: Likewise.
63777         * sunrpc/xcrypt.c: Likewise.
63778         * sunrpc/xdr.c: Likewise.
63779         * sunrpc/xdr_array.c: Likewise.
63780         * sunrpc/xdr_float.c: Likewise.
63781         * sunrpc/xdr_mem.c: Likewise.
63782         * sunrpc/xdr_rec.c: Likewise.
63783         * sunrpc/xdr_ref.c: Likewise.
63784         * sunrpc/xdr_sizeof.c: Likewise.
63785         * sunrpc/xdr_stdio.c: Likewise.
63787         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
63788         handling.
63790 2010-08-19  Andreas Schwab  <schwab@redhat.com>
63792         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
63794 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
63796         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
63797         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
63798         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
63799         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
63800         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
63801         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
63802         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
63803         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
63804         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
63805         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
63806         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
63807         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
63808         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
63809         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
63811 2010-07-26  Anton Blanchard  <anton@samba.org>
63813         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
63814         * malloc/arena.c (heap_trim): Likewise.
63816 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
63818         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
63819         here.  Not...
63820         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
63821         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
63823 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
63825         * sysdeps/i386/elf/Makefile: New file.
63827 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63829         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
63830         from fanotify_init.
63831         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
63832         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63834 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
63836         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
63837         of strncasecmp_l.
63838         * sysdeps/multiarch/strcmp.S: Likewise.
63840 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
63842         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63843         strncase_l-nonascii.
63844         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63845         Add strncase_l-ssse3.
63846         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
63847         * sysdeps/x86_64/strcmp.S: Likewise.
63848         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
63849         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
63850         * sysdeps/x86_64/strncase.S: New file.
63851         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
63852         * sysdeps/x86_64/strncase_l.S: New file.
63853         * string/Makefile (strop-tests): Add strncasecmp.
63854         * string/test-strncasecmp.c: New file.
63856         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
63857         warning.
63859         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
63860         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
63862 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63864         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
63866 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
63868         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
63869         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
63870         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
63872 2010-05-01  Alan Modra  <amodra@gmail.com>
63874         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
63875         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
63876         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
63877         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
63878         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
63879         tidying.  Don't tail-call __sigjmp_save for static lib.
63880         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
63881         save location.
63882         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
63883         (CALL_MCOUNT): Add eh info, and nop after bl.
63884         (TAIL_CALL_SYSCALL_ERROR): New macro.
63885         (PSEUDO_RET): Use it.
63886         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
63887         Correct save location of integer regs and cr.
63888         (_dl_profile_resolve): Correct cr save location.  Delete nops
63889         after bl when SHARED.  Reduce cfi size a little by better
63890         placement of cfi directives.
63891         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
63892         make a stack frame.  Instead use parm save area as a temp.
63893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
63894         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
63895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
63896         Don't make a stack frame for parent, use parm save area.
63897         Increase child stack frame to 112 bytes.  Don't save unused reg,
63898         and adjust reg usage.  Set up cfi on error recovery and
63899         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
63900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63901         (__makecontext): Add dummy nop after jump to exit.
63902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
63903         Use correct parm save area and cr save, reduce stack frame.
63904         Correct cfi for possible PSEUDO_RET frame setup.
63905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
63906         Branch to local label emitted by PSEUDO_RET rather than
63907         __syscall_error.
63909 2010-08-12  Andreas Schwab  <schwab@redhat.com>
63911         [BZ #11904]
63912         * locale/programs/locale.c (print_assignment): New function.
63913         (show_locale_vars): Use it.
63915 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
63917         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
63918         field.
63919         (struct statfs64): Likewise.
63920         (_STATFS_F_FLAGS): Define.
63921         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
63922         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63923         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
63924         (ST_VALID): Define locally.
63925         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
63926         __statvfs_getflags, use the provided value.
63927         * sysdeps/unix/sysv/linux/kernel-features.h: Define
63928         __ASSUME_STATFS_F_FLAGS.
63930         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
63932         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
63933         Add sys/fanotify.h.
63934         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
63935         fanotify_mask for GLIBC_2.13.
63936         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
63937         fanotify_init and fanotify_mark.
63938         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63939         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
63941         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
63942         Add prlimit.
63943         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
63944         prlimit64 for GLIBC_2.13.
63945         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
63946         prlimit64.
63947         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
63948         syscall.
63949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
63950         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63951         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
63952         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
63953         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
63954         add prlimit alias.
63955         * sysdeps/unix/sysv/linux/prlimit.c: New file.
63957         [BZ #11903]
63958         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
63959         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
63961         * nss/Makefile: Add rules to build and run tst-nss-test1.
63962         * shlib-versions: Add entry for libnss_test1.
63963         * nss/nss_test1.c: New file.
63964         * nss/tst-nss-test1.c: New file.
63966         * nss/nsswitch.c (__nss_database_custom): Define new variable.
63967         (__nss_configure_lookup): Set appropriate entry in
63968         __nss_configure_lookup to true.
63969         * nss/nsswitch.h: Define enum with indeces of databases in
63970         databases and __nss_database_custom arrays.  Declare
63971         __nss_database_custom.
63972         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
63973         to avoid using nscd when custom rules are installed.
63974         * nss/getXXbyYY_r.c: Likewise.
63975         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63977         * nss/nss_files/files-parse.c: Whitespace fixes.
63979 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
63981         [BZ #11883]
63982         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
63983         * posix/fnmatch_loop.c: Likewise.
63985 2010-07-17  Andi Kleen  <ak@linux.intel.com>
63987         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
63988         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
63989         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
63990         * Versions.def [GLIBC_2.13]: Add.
63992 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
63994         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63995         Also fail if tpwd after pwuid call is NULL.
63997 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63999         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
64000         when converting to ms.
64002 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64004         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
64005         EOPNOTSUPP errors with ENOTTY.
64006         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
64007         EOPNOTSUPP errors with ENOTTY.
64009 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
64011         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64012         Add strcasecmp_l-ssse3.
64013         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
64014         strcasecmp.
64015         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
64016         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
64017         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
64019 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
64021         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
64023         * string/Makefile (strop-tests): Add strcasecmp.
64024         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64025         strcasecmp_l-nonascii.
64026         (gen-as-const-headers): Add locale-defines.sym.
64027         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
64028         * sysdeps/x86_64/strcasecmp.S: New file.
64029         * sysdeps/x86_64/strcasecmp_l.S: New file.
64030         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
64031         * sysdeps/x86_64/locale-defines.sym: New file.
64032         * string/test-strcasecmp.c: New file.
64034         * string/test-strcasestr.c: Test both ends of the range of characters.
64035         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
64037 2010-07-29  Roland McGrath  <roland@redhat.com>
64039         [BZ #11856]
64040         * manual/locale.texi (Yes-or-No Questions): Fix example code.
64042 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
64044         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
64045         for ld.so.
64047 2010-07-27  Andreas Schwab  <schwab@redhat.com>
64049         * manual/memory.texi (Malloc Tunable Parameters): Document
64050         M_PERTURB.
64052 2010-07-26  Roland McGrath  <roland@redhat.com>
64054         [BZ #11840]
64055         * configure.in (-fgnu89-inline check): Set and substitute
64056         gnu89_inline, not libc_cv_gnu89_inline.
64057         * configure: Regenerated.
64058         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
64060 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
64062         * string/test-strnlen.c: New file.
64063         * string/Makefile (strop-tests): Add strnlen.
64064         * string/tester.c (test_strnlen): Add a few more test cases.
64065         * string/tst-strlen.c: Better error reporting.
64067         * sysdeps/x86_64/strnlen.S: New file.
64069 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
64071         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
64072         lower-latency instructions.
64074 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
64076         * string/test-strcasestr.c: New file.
64077         * string/test-strstr.c: New file.
64078         * string/Makefile (strop-tests): Add strstr and strcasestr.
64079         * string/str-two-way.h: Don't undefine MAX.
64080         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
64082 2010-07-21  Andreas Schwab  <schwab@redhat.com>
64084         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64085         strcasestr-nonascii.
64086         (CFLAGS-strcasestr-nonascii.c): Define.
64087         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
64088         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
64089         Remove unused attribute.
64091 2010-07-20  Roland McGrath  <roland@redhat.com>
64093         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
64094         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
64095         ld.so.cache was broken.  With it, there is no way to disable dsocaps
64096         like LD_HWCAP_MASK can disable hwcaps.
64098 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
64100         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
64102 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
64104         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
64105         call in strcasestr.
64106         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
64107         __strcasestr_sse42_nonascii.
64108         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
64109         strcasestr-nonascii.c.
64110         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
64112 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
64114         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
64115         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
64116         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
64117         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
64119 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
64121         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
64122         fcntl.
64124 2010-07-06  Andreas Schwab  <schwab@redhat.com>
64126         [BZ #11577]
64127         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
64128         dl_signal_cerror.
64130 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
64132         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
64133         _PC_PIPE_BUF using F_GETPIPE_SZ.
64135 2010-07-05  Roland McGrath  <roland@redhat.com>
64137         * manual/arith.texi (Rounding Functions): Fix rint description
64138         implicit in round description.
64140 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
64142         * elf/Makefile: Fix linking for a few tests to make recent linker
64143         happy.
64145 2010-06-30  Andreas Schwab  <schwab@redhat.com>
64147         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
64148         $(common-objpfx)libc_nonshared.a.
64150 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
64152         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
64153         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
64154         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64155         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64156         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
64157         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
64158         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64159         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
64161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
64162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
64163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
64165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
64167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
64168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
64169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
64170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
64172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
64174         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
64175         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
64176         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
64177         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
64178         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
64179         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
64180         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
64181         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
64182         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
64183         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
64184         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
64185         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
64186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
64187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
64188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
64189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
64190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
64191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
64192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
64193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
64194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
64195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
64196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
64197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
64198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
64199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
64201 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
64203         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
64204         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
64205         * string/memmove.c (memmove): Renamed to ...
64206         (MEMMOVE): ...this.  Default to memmove.
64207         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
64208         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
64209         (END_CHK): Define.
64210         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64211         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
64212         mempcpy-ssse3-back memmove-ssse3-back.
64213         * sysdeps/x86_64/multiarch/bcopy.S: New file .
64214         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
64215         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
64216         * sysdeps/x86_64/multiarch/memcpy.S: New file.
64217         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
64218         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
64219         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
64220         * sysdeps/x86_64/multiarch/memmove.c: New file.
64221         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
64222         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
64223         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
64224         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
64225         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
64226         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
64227         Define.
64228         (index_Fast_Copy_Backward): Define.
64229         (HAS_ARCH_FEATURE): Define.
64230         (HAS_FAST_REP_STRING): Define.
64231         (HAS_FAST_COPY_BACKWARD): Define.
64233 2010-06-21  Andreas Schwab  <schwab@redhat.com>
64235         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64236         Restore proper fallback handling.
64238 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
64240         [BZ #11701]
64241         * posix/group_member.c (__group_member): Correct checking loop.
64243         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
64244         OOM in getpwuid_r correctly.  Return error number when the caller
64245         should return, otherwise -1.
64246         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
64247         call returning > 0 value.
64248         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
64250 2010-06-07  Andreas Schwab  <schwab@redhat.com>
64252         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
64253         libc_nonshared.a from targets in modules-names.
64255 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
64257         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
64258         requires it.
64260 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
64262         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
64263         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
64264         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
64265         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
64267 2010-06-02  Andreas Schwab  <schwab@redhat.com>
64269         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
64271 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
64273         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
64274         and F_GETPIPE_SZ.
64275         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64276         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64277         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64278         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64279         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64280         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
64282 2010-06-14  Roland McGrath  <roland@redhat.com>
64284         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
64286 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
64288         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
64289         __REDIRECT followed by __THROW.
64290         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
64291         * posix/getopt.h (getopt): Likewise.
64293 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
64295         * hurd/lookup-at.c (__file_name_lookup_at): Accept
64296         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
64297         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
64298         in AT_FLAGS.
64299         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
64300         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
64302 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
64304         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
64306 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
64308         [BZ #11640]
64309         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64310         Properly check family and model.
64312 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
64314         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
64316 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
64318         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
64320 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
64322         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
64323         symbol reference.
64325 2010-05-19  Andreas Schwab  <schwab@redhat.com>
64327         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
64328         symbol reference.
64330 2010-05-21  Andreas Schwab  <schwab@redhat.com>
64332         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
64333         and internal_recvmmsg.
64334         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
64335         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
64336         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
64337         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
64339         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
64340         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
64341         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
64343 2010-05-20  Andreas Schwab  <schwab@redhat.com>
64345         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
64347 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
64349         POWER7 optimizations.
64350         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
64351         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
64353 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
64355         * version.h: Update for 2.13 development version.
64357 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
64359         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
64360         exceptions.  Return 0.
64362 2010-05-07  Roland McGrath  <roland@redhat.com>
64364         * elf/ldconfig.c (main): Add a const.
64366 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
64368         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
64369         (args_options): Add no-idn option.
64370         (ahosts_keys_int): Add idn_flags to ai_flags.
64371         (parse_option): Handle 'i' option to clear idn_flags.
64373         * malloc/malloc.c (_int_free): Possible race in the most recently
64374         added check.  Only act on the data if no current modification
64375         happened.
64377 See ChangeLog.17 for earlier changes.