1 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3 * sysdeps/s390/multiarch/memchr-vx.S: New File.
4 * sysdeps/s390/multiarch/memchr.c: Likewise.
5 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
6 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
7 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
8 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
9 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
10 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
11 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
12 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
13 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
14 and rawmemchr functions.
15 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
18 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
19 * string/test-memchr.c: Add wmemchr support.
20 * wcsmbs/test-wmemchr.c: New File.
21 * wcsmbs/Makefile (strop-tests): Add wmemchr.
22 * benchtests/bench-memchr.c: Add wmemchr support.
23 * benchtests/bench-wmemchr.c: New File.
24 * benchtests/Makefile (wcsmbs-bench): wmemchr.
26 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
28 * sysdeps/s390/multiarch/strcspn-c.c: New File.
29 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
30 * sysdeps/s390/multiarch/strcspn.c: Likewise.
31 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
32 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
33 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
34 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
36 * sysdeps/s390/multiarch/ifunc-impl-list.c
37 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
38 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
39 * string/test-strcspn.c: Add wcscspn support.
40 * wcsmbs/test-wcscspn.c: New File.
41 * wcsmbs/Makefile (strop-tests): Add wcscspn.
42 * benchtests/bench-strcspn.c: Add wcscspn support.
43 * benchtests/bench-wcscspn.c: New File.
44 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
46 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
48 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
49 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
50 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
51 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
52 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
53 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
54 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
56 * sysdeps/s390/multiarch/ifunc-impl-list.c
57 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
58 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
59 * string/test-strpbrk.c: Add wcspbrk support.
60 * wcsmbs/test-wcspbrk.c: New File.
61 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
62 * benchtests/bench-strpbrk.c: Add wcspbrk support.
63 * benchtests/bench-wcspbrk.c: New File.
64 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
66 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
68 * sysdeps/s390/multiarch/strspn-c.c: New File.
69 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
70 * sysdeps/s390/multiarch/strspn.c: Likewise.
71 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
72 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
73 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
74 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
75 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
77 * sysdeps/s390/multiarch/ifunc-impl-list.c
78 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
79 * string/test-strspn.c: Add wcsspn support.
80 * wcsmbs/test-wcsspn.c: New File.
81 * wcsmbs/Makefile (strop-tests): Add wcsspn.
82 * benchtests/bench-strspn.c: Add wcsspn support.
83 * benchtests/bench-wcsspn.c: New File.
84 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
86 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
88 * sysdeps/s390/multiarch/strrchr-c.c: New File.
89 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
90 * sysdeps/s390/multiarch/strrchr.c: Likewise.
91 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
92 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
93 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
94 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
96 * sysdeps/s390/multiarch/ifunc-impl-list.c
97 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
98 * benchtests/bench-wcsrchr.c: New File.
99 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
101 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
103 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
104 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
105 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
106 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
107 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
108 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
109 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
111 * sysdeps/s390/multiarch/ifunc-impl-list.c
112 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
113 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
114 * string/test-strchr.c: Add wcschrnul support.
115 * wcsmbs/test-wcschrnul.c: New File.
116 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
117 * benchtests/bench-strchr.c: Add wcschrnul support.
118 * benchtests/bench-wcschrnul.c: New File.
119 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
121 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
123 * sysdeps/s390/multiarch/strchr-c.c: New File.
124 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
125 * sysdeps/s390/multiarch/strchr.c: Likewise.
126 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
127 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
128 * sysdeps/s390/multiarch/wcschr.c: Likewise.
129 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
131 * sysdeps/s390/multiarch/ifunc-impl-list.c
132 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
133 * string/strchr.c (STRCHR): Define and use macro.
134 * benchtests/bench-wcschr.c: New File.
135 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
137 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
139 * sysdeps/s390/multiarch/strncmp-c.c: New File.
140 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
141 * sysdeps/s390/multiarch/strncmp.c: Likewise.
142 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
143 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
144 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
145 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
147 * sysdeps/s390/multiarch/ifunc-impl-list.c
148 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
149 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
150 * benchtests/bench-strncmp.c: Add wcsncmp support.
151 * benchtests/bench-wcsncmp.c: New File.
152 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
154 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
156 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
157 * sysdeps/s390/multiarch/strcmp.c: Likewise.
158 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
159 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
160 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
161 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
162 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
163 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
165 * sysdeps/s390/multiarch/ifunc-impl-list.c
166 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
167 * string/strcmp.c (STRCMP): Define and use macro.
168 * benchtests/bench-wcscmp.c: New File.
169 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
170 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
171 instead of _HAVE_STRING_ARCH_memchr.
173 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
175 * sysdeps/s390/multiarch/strncat-c.c: New File.
176 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
177 * sysdeps/s390/multiarch/strncat.c: Likewise.
178 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
179 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
180 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
181 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
183 * sysdeps/s390/multiarch/ifunc-impl-list.c
184 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
185 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
186 * string/test-strncat.c: Add wcsncat support.
187 * wcsmbs/test-wcsncat.c: New File.
188 * wcsmbs/Makefile (strop-tests): Add wcsncat.
189 * benchtests/bench-strncat.c: Add wcsncat support.
190 * benchtests/bench-wcsncat.c: New File.
191 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
193 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
195 * sysdeps/s390/multiarch/strcat-c.c: New File.
196 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
197 * sysdeps/s390/multiarch/strcat.c: Likewise.
198 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
199 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
200 * sysdeps/s390/multiarch/wcscat.c: Likewise.
201 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
203 * sysdeps/s390/multiarch/ifunc-impl-list.c
204 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
205 * string/strcat.c (STRCAT): Define and use macro.
206 * wcsmbs/wcscat.c: Use WCSCAT if defined.
207 * string/test-strcat.c: Add wcscat support.
208 * wcsmbs/test-wcscat.c: New File.
209 * wcsmbs/Makefile (strop-tests): Add wcscat.
210 * benchtests/bench-strcat.c: Add wcscat support.
211 * benchtests/bench-wcscat.c: New File.
212 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
214 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
216 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
217 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
218 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
219 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
220 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
221 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
222 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
224 * sysdeps/s390/multiarch/ifunc-impl-list.c
225 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
226 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
227 * string/test-stpncpy.c: Add wcpncpy support.
228 * wcsmbs/test-wcpncpy.c: New File.
229 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
230 * benchtests/bench-stpncpy.c: Add wcpncpy support.
231 * benchtests/bench-wcpncpy.c: New File.
232 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
234 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
236 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
237 * sysdeps/s390/multiarch/strncpy.c: Likewise.
238 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
239 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
240 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
241 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
242 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
243 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
245 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
246 * sysdeps/s390/multiarch/ifunc-impl-list.c
247 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
248 * string/test-strncpy.c: Add wcsncpy support.
249 * wcsmbs/test-wcsncpy.c: New File.
250 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
251 * benchtests/bench-strncpy.c: Add wcsncpy support.
252 * benchtests/bench-wcsncpy.c: New File.
253 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
255 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
257 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
258 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
259 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
260 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
261 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
262 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
263 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
265 * string/stpcpy.c: Use STPCPY if defined.
266 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
267 * sysdeps/s390/multiarch/ifunc-impl-list.c
268 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
269 * string/test-stpcpy.c: Add wcpcpy support.
270 * wcsmbs/test-wcpcpy.c: New File.
271 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
272 * benchtests/bench-stpcpy.c: Add wcpcpy support.
273 * benchtests/bench-wcpcpy.c: New File.
274 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
276 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
278 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
279 * sysdeps/s390/multiarch/strcpy.c: Likewise.
280 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
281 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
282 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
283 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
284 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
285 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
287 * sysdeps/s390/multiarch/ifunc-impl-list.c
288 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
289 * benchtests/bench-wcscpy.c: New File.
290 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
292 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
294 * sysdeps/s390/multiarch/strnlen-c.c: New File.
295 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
296 * sysdeps/s390/multiarch/strnlen.c: Likewise.
297 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
298 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
299 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
300 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
302 * sysdeps/s390/multiarch/ifunc-impl-list.c
303 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
304 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
305 * string/test-strnlen.c: Add wcsnlen support.
306 * wcsmbs/test-wcsnlen.c: New File.
307 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
308 * benchtests/bench-strnlen.c: Add wcsnlen support.
309 * benchtests/bench-wcsnlen.c: New File.
310 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
312 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
314 * sysdeps/s390/multiarch/Makefile: New File.
315 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
316 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
317 * sysdeps/s390/multiarch/strlen.c: Likewise.
318 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
319 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
320 * sysdeps/s390/multiarch/wcslen.c: Likewise.
321 * string/strlen.c (STRLEN): Define and use macro.
322 * sysdeps/s390/multiarch/ifunc-impl-list.c
323 (IFUNC_VX_IMPL): New macro function.
324 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
325 * benchtests/Makefile (wcsmbs-bench): New variable.
326 (string-bench-all): Added wcsmbs-bench.
327 * benchtests/bench-wcslen.c: New File.
329 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
331 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
332 s390_vx_libc_ifunc2): New macro function.
334 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
336 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
337 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
339 * sysdeps/s390/configure: Regenerated.
341 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
343 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
344 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
346 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
348 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
349 * sysdeps/s390/dl-procinfo.h: Add vector capability.
350 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
352 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
354 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
355 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
356 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
357 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
358 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
359 (memcmp, bcmp): Use __memcmp_default as alias source.
360 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
361 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
362 Rename to __memcmp_default.
363 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
364 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
365 (memcpy): Use __memcpy_default as alias source.
366 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
367 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
368 Rename to __memcpy_default.
369 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
370 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
371 (memset): Use __memset_default as alias source.
372 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
373 * sysdeps/s390/s390-32/memset.S (__memset_g5):
374 Rename to __memset_default.
375 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
376 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
377 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
378 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
379 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
380 (memcmp, bcmp): Use __memcmp_default as alias source.
381 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
382 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
383 Rename to __memcmp_default.
384 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
385 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
386 (memcpy): Use __memcpy_default as alias source.
387 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
388 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
389 Rename to __memcpy_default.
390 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
391 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
392 (memset): Use __memset_default as alias source.
393 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
394 * sysdeps/s390/s390-64/memset.S (__memset_z900):
395 Rename to __memset_default.
396 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
397 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
399 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
402 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
403 __ieee_instruction_pointer to __unused.
404 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
405 __ieee_instruction_pointer.
406 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
407 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
408 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
409 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
410 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
411 Mark dxc-field as reserved.
413 2015-08-25 Roland McGrath <roland@hack.frob.com>
415 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
416 if the weak reference is not null.
418 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
420 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
422 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
425 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
427 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
429 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
430 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
431 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
432 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
433 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
434 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
435 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
436 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
437 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
438 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
439 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
440 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
441 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
442 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
443 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
444 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
445 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
446 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
448 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
450 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
451 register other than r0 for tabort, it has special meaning.
452 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
453 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
454 transaction before starting syscall.
456 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
458 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
460 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
462 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
464 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
466 * sysdeps/x86_64/rtld-memcmp.c: Removed.
467 * sysdeps/x86_64/rtld-memset.S: Likewise.
468 * sysdeps/x86_64/rtld-strchr.S: Likewise.
469 * sysdeps/x86_64/rtld-strlen.S: Likewise.
470 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
471 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
473 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
475 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
477 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
479 * debug/strcpy_chk.c: Improve performance.
480 * debug/stpcpy_chk.c: Likewise.
481 * sysdeps/x86_64/strcpy_chk.S: Remove.
482 * sysdeps/x86_64/stpcpy_chk.S: Remove.
485 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
487 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
490 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
492 (modules-names): Add ifuncmod8.
493 ($(objpfx)ifuncmain8): New rule.
494 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
496 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
497 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
498 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
499 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
500 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
501 * sysdeps/x86_64/dl-trampoline.h: Likewise.
502 * sysdeps/x86_64/ifuncmain8.c: New file.
503 * sysdeps/x86_64/ifuncmod8.c: Likewise.
504 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
506 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
507 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
508 Change rtld_savespace_sse to __glibc_unused2.
509 (RTLD_CHECK_FOREIGN_CALL): Removed.
510 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
511 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
512 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
514 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
516 * sysdeps/aarch64/bzero.S (__bzero): Remove.
518 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
520 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
521 Unconditionally set __fpcr to avoid uninialized warning.
522 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
524 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
526 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
529 * malloc/arena.c (arena_get2): Drop unused argument.
530 (arena_lock): Adjust.
531 (arena_get_retry): Likewise.
533 2015-08-24 Andreas Schwab <schwab@suse.de>
535 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
537 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
538 (__ASSUME_IPC64): Don't undef.
539 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
540 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
541 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
542 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
543 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
544 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
545 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
546 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
547 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
548 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
549 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
550 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
551 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
552 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
553 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
554 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
555 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
556 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
557 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
558 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
559 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
561 2015-08-21 Mike Frysinger <vapier@gentoo.org>
563 * manual/Makefile (install): Only build manual when perl is available.
565 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
567 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
568 '#undef memcpy' by '#undef memchr'.
570 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
572 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
573 memchr not point to the internal __GI_memchr implementation.
575 2015-08-20 Joseph Myers <joseph@codesourcery.com>
577 * timezone/Makefile (CFLAGS-zdump.c): Remove
578 -Wno-strict-prototypes.
579 (CFLAGS-zic.c): Likewise.
580 (CFLAGS-ialloc.c): Likewise.
581 (CFLAGS-scheck.c): Likewise.
583 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
586 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
588 * i386/i686/multiarch/strcasestr-c.c: Removed.
589 * x86_64/multiarch/strcasestr.c: Likewise.
590 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
593 2015-08-20 Joseph Myers <joseph@codesourcery.com>
595 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
597 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
598 variables for high and low parts before possibly modifying them.
600 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
602 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
603 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
604 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
605 of "multiarch/init-arch.h".
606 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
607 * sysdeps/x86/init-arch.h: This.
609 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
611 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
612 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
614 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
617 * manual/macros.texi: Add twoexp macro.
618 * manual/filesys.texi: Fix exponents.
619 * manual/llio.texi: Likewise.
620 * manual/stdio.texi: Likewise.
622 2015-08-20 Florian Weimer <fweimer@redhat.com>
624 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
627 2015-08-19 Joseph Myers <joseph@codesourcery.com>
630 * math/s_csqrt.c (__csqrt): Force underflow exception for results
631 whose real or imaginary part has small absolute value.
632 * math/s_csqrtf.c (__csqrtf): Likewise.
633 * math/s_csqrtl.c (__csqrtl): Likewise.
634 * math/auto-libm-test-in: Add more tests of csqrt.
635 * math/auto-libm-test-out: Regenerated.
636 * sysdeps/i386/fpu/libm-test-ulps: Update.
638 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
640 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
641 __ppc_set_ppr_very_low): New functions.
642 * manual/platform.texi: Add documentation about
643 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
645 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
647 * string/stpncpy.c (stpncpy): Improve performance using
648 __strnlen/memcpy/memset.
650 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
653 * scripts/test-installation.pl: Don't add -lmvec to build options if
654 libmvec wasn't built.
656 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
659 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
660 case when there is a gap between DT_REL and DT_JMPREL sections.
661 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
662 (LDFLAGS-tst-split-dynreloc): New.
663 (tst-split-dynreloc-ENV): Likewise.
664 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
665 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
667 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
670 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
672 (__xstat64_conv): Likewise.
673 (__xstat32_conv): Likewise.
675 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
678 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
679 Don't load %ebx when calling __setcontext. Call __setcontext
680 with HIDDEN_JUMPTARGET.
681 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
684 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
686 * sysdeps/i386/i686/Makefile
687 [$(subdir) == string] (sysdep_routines): Moved to ...
688 * sysdeps/i386/Makefile: Here.
689 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
690 * sysdeps/i386/cacheinfo.c: Here.
691 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
692 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
693 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
694 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
696 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
698 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
700 (HAS_I686): Defined to 1 if __i686__ is defined.
702 2015-08-19 Joseph Myers <joseph@codesourcery.com>
704 * elf/Makefile [$(have-z-execstack) = yes]
705 (CPPFLAGS-tst-execstack.c): New variable.
707 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
708 conditional to [defined UTMPX || _HAVE_UT_TYPE].
709 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
710 UTMPX || _HAVE_UT_TV].
711 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
712 UTMPX || _HAVE_UT_TV - 0].
714 2015-08-18 Joseph Myers <joseph@codesourcery.com>
716 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
717 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
718 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
720 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
722 * sysdeps/powerpc/dl-procinfo.c:
723 (_dl_powerpc_cap_flags): Added missing strings for some
725 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
727 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
729 Port the 0x7efe...feff pattern to GCC 6.
730 See Steve Ellcey's bug report in:
731 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
732 * string/memrchr.c (MEMRCHR):
733 * string/rawmemchr.c (RAWMEMCHR):
734 * string/strchr.c (strchr):
735 * string/strchrnul.c (STRCHRNUL):
736 Rewrite code to avoid issues with signed shift overflow.
738 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
740 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
741 whether cpuid is available only if HAS_CPUID is 0.
742 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
743 (HAS_I586): Likewise.
744 (HAS_I686): Likewise.
746 2015-08-18 Zack Weinberg <zackw@panix.com>
748 * misc/Versions (libc): Add GLIBC_2.23.
750 2015-08-18 Alan Modra <amodra@gmail.com>
753 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
755 (_start): Load %dp via .Lp__global.
756 [!SHARED]: Use .section .rodata.
758 2015-08-18 Mike Frysinger <vapier@gentoo.org>
760 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
761 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
763 2015-08-18 Mike Frysinger <vapier@gentoo.org>
765 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
766 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
768 2015-08-18 Mike Frysinger <vapier@gentoo.org>
770 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
771 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
773 2015-08-18 Mike Frysinger <vapier@gentoo.org>
775 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
776 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
778 2015-08-18 Mike Frysinger <vapier@gentoo.org>
780 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
781 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
783 2015-08-18 Mike Frysinger <vapier@gentoo.org>
785 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
786 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
788 2015-08-18 Mike Frysinger <vapier@gentoo.org>
790 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
792 2015-08-18 Mike Frysinger <vapier@gentoo.org>
794 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
795 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
796 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
797 (__ASSUME_LWS_CAS): Delete.
799 2015-08-18 Mike Frysinger <vapier@gentoo.org>
801 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
802 * sysdeps/hppa/configure: Regenerated.
803 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
804 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
805 * sysdeps/hppa/nptl/tls.h: Likewise.
807 2015-08-17 Joseph Myers <joseph@codesourcery.com>
810 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
811 for scaling up small arguments.
812 * math/s_csqrtf.c (__csqrtf): Likewise.
813 * math/s_csqrtl.c (__csqrtl): Likewise.
814 * math/auto-libm-test-in: Add more tests of csqrt.
815 * math/auto-libm-test-out: Regenerated.
817 2015-08-17 Andreas Schwab <schwab@suse.de>
819 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
820 version set GLIBC_2.19.
822 2015-08-16 Zack Weinberg <zackw@panix.com>
825 * misc/regexp.h: This interface is no longer supported.
826 Remove all contents, leaving only an #error directive.
827 * misc/regexp.c (loc1, loc2, locs, step, advance):
828 Demote to compatibility symbols.
830 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
833 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
834 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
835 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
836 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
837 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
838 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
839 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
840 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
841 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
843 2015-08-15 Zack Weinberg <zackw@panix.com>
846 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
847 buffer length is known to be too large, not if it's known to be
849 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
850 overflow at runtime, involving a length parameter, twice: once
851 with a compile-time constant length parameter, once without.
853 2015-08-14 Joseph Myers <joseph@codesourcery.com>
856 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
857 scaling x * y up instead of down.
858 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
859 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
860 * math/auto-libm-test-in: Add more tests of fma.
861 * math/auto-libm-test-out: Regenerated.
863 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
865 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
867 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
869 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
871 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
874 2015-08-13 Joseph Myers <joseph@codesourcery.com>
876 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
877 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
878 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
880 * math/auto-libm-test-out: Regenerated.
881 * sysdeps/i386/fpu/libm-test-ulps: Update.
882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
885 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
886 (__tanh): Force underflow exception for arguments with small
888 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
889 (__tanhf): Force underflow exception for arguments with small
891 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
892 (__tanhl): Force underflow exception for arguments with small
894 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
895 (__tanhl): Force underflow exception for arguments with small
897 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
898 (__tanhl): Force underflow exception for arguments with small
900 * math/auto-libm-test-in: Add more tests of tanh.
901 * math/auto-libm-test-out: Regenerated.
902 * sysdeps/i386/fpu/libm-test-ulps: Update.
904 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
906 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
907 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
909 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
911 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
914 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
916 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
917 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
919 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
921 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
922 Remove $(objpfx)init-arch.o.
923 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
925 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
926 (INIT_ARCH_EXT): Defined as empty.
927 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
928 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
929 __init_cpu_features call. Replace HAS_XXX with
930 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
931 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
932 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
933 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
934 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
935 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
936 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
937 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
938 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
939 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
940 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
941 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
942 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
943 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
944 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
945 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
946 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
947 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
948 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
949 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
950 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
951 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
952 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
953 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
954 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
955 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
956 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
957 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
958 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
959 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
960 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
961 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
962 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
963 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
964 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
965 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
967 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
969 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
970 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
971 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
972 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
973 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
974 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
975 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
976 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
977 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
978 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
979 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
980 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
981 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
982 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
983 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
984 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
985 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
986 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
987 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
988 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
989 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
990 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
991 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
992 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
993 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
994 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
995 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
996 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
997 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
998 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
999 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1000 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1001 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1002 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1003 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1004 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1005 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1006 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1007 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1008 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1009 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1010 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1011 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1013 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1015 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
1016 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1017 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1018 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1019 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1020 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
1021 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1022 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
1023 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
1024 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1025 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1026 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
1027 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
1028 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
1029 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
1030 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
1031 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
1032 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
1033 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
1034 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
1035 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1036 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
1037 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
1038 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1039 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1040 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
1041 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
1042 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
1043 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1044 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1045 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1046 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1047 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1048 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1049 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1050 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1051 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1052 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1053 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1054 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1055 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1056 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1057 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1059 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1061 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
1062 (dl_platform_init): Call init_cpu_features.
1063 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
1064 * sysdeps/i386/i686/cacheinfo.c
1065 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
1066 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
1067 * sysdeps/i386/i686/multiarch/Versions: Removed.
1068 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
1070 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
1071 * sysdeps/unix/sysv/linux/x86/Makefile
1072 (libpthread-sysdep_routines): Remove init-arch.
1073 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
1074 <sysdeps/x86_64/dl-procinfo.c> instead of
1075 sysdeps/generic/dl-procinfo.c>.
1076 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
1077 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
1078 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
1079 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
1080 [$(subdir) == elf] (tests-static): Add
1081 tst-get-cpu-features-static.
1082 * sysdeps/x86/Versions: New file.
1083 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
1084 * sysdeps/x86/cpu-features.c: Likewise.
1085 * sysdeps/x86/cpu-features.h: Likewise.
1086 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
1087 * sysdeps/x86/libc-start.c: Likewise.
1088 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1089 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
1090 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
1091 * sysdeps/x86_64/dl-procinfo.c: Likewise.
1092 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
1093 Assume USE_MULTIARCH is defined and don't check it.
1094 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
1096 (max_cpuid): Likewise.
1097 (intel_check_word): Likewise.
1098 (__cache_sysconf): Don't call __init_cpu_features.
1099 (__x86_preferred_memory_instruction): Removed.
1100 (init_cacheinfo): Don't call __init_cpu_features. Replace
1101 __cpu_features with GLRO(dl_x86_cpu_features).
1102 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
1103 (dl_platform_init): Call init_cpu_features.
1104 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
1105 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
1106 * sysdeps/x86_64/multiarch/Versions: Removed.
1107 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
1108 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
1109 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
1111 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
1113 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1116 * libio/Makefile (test-fmemopen-mem): New test.
1117 * libio/test-fmemopen.c (do_bz18820): New test.
1118 * libio/fmemopen.c (__fmemopen): Fix memory leak.
1119 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
1121 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1124 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
1126 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
1127 * libio/genops.c (_IO_setb): Use malloc and free directly.
1128 (_IO_default_doallocate, _IO_default_finish): Likewise.
1129 ( _IO_unbuffer_all): Likewise.
1130 ( libc_freeres_fn): Likewise.
1131 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1132 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
1133 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
1134 (_IO_wdefault_doallocate): Likewise.
1136 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1139 * sysdeps/posix/nice.c (nice): Restore old errno.
1140 * posix/tst-nice.c (do_test): Add test for BZ #18086.
1142 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
1144 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
1146 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1148 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
1149 __bcopy and add a weak_alias to bcopy.
1150 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
1153 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
1154 cleanup macro usage.
1155 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
1156 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
1157 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1158 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
1159 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1160 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
1161 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
1162 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1163 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1164 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
1165 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1166 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
1167 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1168 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
1169 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1170 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
1171 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
1172 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
1173 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
1175 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
1177 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
1179 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
1180 (sysdep_routines): Add strstr-ppc64.
1181 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
1183 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
1186 * elf/Makefile (tests): Add Add tst-nodelete2.
1187 (modules-names): Add tst-nodelete2mod.
1188 (tst-nodelete2mod.so-no-z-defs): New.
1189 ($(objpfx)tst-nodelete2): Likewise.
1190 ($(objpfx)tst-nodelete2.out): Likewise.
1191 (LDFLAGS-tst-nodelete2): Likewise.
1192 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
1193 out of loop through all loaded libraries.
1194 * elf/tst-nodelete2.c: New file.
1195 * elf/tst-nodelete2mod.c: Likewise.
1197 2015-08-11 Andreas Schwab <schwab@suse.de>
1199 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
1200 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
1201 (__openat64_nocancel): Likewise.
1203 2015-08-11 Joseph Myers <joseph@codesourcery.com>
1205 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
1206 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
1207 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
1208 * math/auto-libm-test-out: Regenerated.
1209 * sysdeps/i386/fpu/libm-test-ulps: Update.
1210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1212 2015-08-10 Joseph Myers <joseph@codesourcery.com>
1215 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
1216 threshold for returning +/- 1.
1217 * math/auto-libm-test-in: Add more tests of tanh.
1218 * math/auto-libm-test-out: Regenerated.
1219 * sysdeps/i386/fpu/libm-test-ulps: Update.
1221 2015-08-10 Andreas Schwab <schwab@suse.de>
1224 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
1225 MORE_OFLAGS to oflag.
1226 * io/test-lfs.c (do_test): Test openat64.
1228 2015-08-10 Joseph Myers <joseph@codesourcery.com>
1231 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
1232 smaller threshold for returning the argument.
1233 * math/auto-libm-test-in: Add more tests of sinh.
1234 * math/auto-libm-test-out: Regenerated.
1235 * sysdeps/i386/fpu/libm-test-ulps: Update.
1237 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
1240 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
1243 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
1245 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
1246 (generated): Don't add $(addprefix z.,$(tzfiles)).
1248 2015-08-09 Mike Frysinger <vapier@gentoo.org>
1250 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
1251 * scripts/sysd-rules.awk: Likewise.
1253 2015-08-09 Mike Frysinger <vapier@gentoo.org>
1255 * iconvdata/tst-tables.sh: Change echo -n to printf.
1256 * nss/db-Makefile: Likewise.
1257 * posix/tst-getconf.sh: Likewise.
1258 * stdio-common/tst-unbputc.sh: Likewise.
1260 2015-08-09 Mike Frysinger <vapier@gentoo.org>
1262 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
1263 MADV_*_PAGES defines behind this feature check.
1265 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
1268 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
1269 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
1271 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
1272 LOAD_REGS_5, LOAD_REGS_6): Update.
1273 (INTERNAL_SYSCALL): Update using new LOAD defines.
1274 (INTERNAL_SYSCALL_NCS): Likewise.
1275 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
1277 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1280 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
1282 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1285 * catgets/Makefile (tst-catgets-mem): New test.
1286 * catgets/catgets.c (catopen): Don't use unbounded alloca.
1287 * catgets/open_catalog.c (__open_catalog): Likewise.
1288 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
1290 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
1293 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
1295 (atomic_compare_and_exchange_val_acq): Use register asms to assign
1296 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
1297 Cast return to __typeof (oldval).
1299 2015-08-08 Mike Frysinger <vapier@gentoo.org>
1301 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
1302 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
1303 and delete sys/syscall.h include.
1305 2015-08-07 Joseph Myers <joseph@codesourcery.com>
1308 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
1309 (tan): Force underflow exception for arguments with small absolute
1311 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
1312 (__kernel_tanf): Force underflow exception for arguments with
1313 small absolute value.
1314 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
1315 (__kernel_tanl): Force underflow exception for arguments with
1316 small absolute value.
1317 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
1318 (__kernel_tanl): Force underflow exception for arguments with
1319 small absolute value.
1320 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
1321 (__kernel_tanl): Force underflow exception for arguments with
1322 small absolute value.
1323 * math/auto-libm-test-in: Add more tests of tan.
1324 * math/auto-libm-test-out: Regenerated.
1326 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1328 Fix sysdeps/i386/fpu/s_scalbn.S build
1330 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
1332 2015-08-07 Mike Frysinger <vapier@gentoo.org>
1334 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1336 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1338 Fix gcrt0.o compilation
1340 When static-start-installed-name is different from
1341 start-installed-name, we must not use the shared objects.
1344 (extra-objs): Add gmon-start.o when building shared library and
1345 $(static-start-installed-name) is different from
1346 $(start-installed-name).
1347 $(objpfx)g$(static-start-installed-name): When building shared
1348 library and $(static-start-installed-name) is different from
1349 $(static-start-installed-name), revert to non-shared rule,
1350 i.e. using $(objpfx)% and gmon-start.o.
1352 2015-08-06 Joseph Myers <joseph@codesourcery.com>
1355 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
1356 (__ieee754_sinh): Force underflow exception for arguments with
1357 small absolute value.
1358 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
1359 (__ieee754_sinhf): Force underflow exception for arguments with
1360 small absolute value.
1361 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
1362 (__ieee754_sinhl): Force underflow exception for arguments with
1363 small absolute value.
1364 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
1365 (__ieee754_sinhl): Force underflow exception for arguments with
1366 small absolute value.
1367 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
1368 (__ieee754_sinhl): Force underflow exception for arguments with
1369 small absolute value.
1370 * math/auto-libm-test-in: Add more tests of sinh.
1371 * math/auto-libm-test-out: Regenerated.
1372 * sysdeps/i386/fpu/libm-test-ulps: Update.
1374 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1376 * libio/oldfileops.c: Include unistd.h.
1378 2015-08-06 Mike Frysinger <vapier@gentoo.org>
1380 * stdlib/isomac.c: Include ctype.h.
1382 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
1384 * dirent/tst-seekdir.c (main): Converted to ...
1385 (do_test): ... this.
1386 (TEST_FUNCTION): New macro.
1387 Include test-skeleton.c.
1388 * elf/tst-dlmodcount.c (main): Converted to ...
1389 (do_test): ... this.
1390 (TEST_FUNCTION): New macro.
1391 Include test-skeleton.c.
1392 * elf/tst-order-main.c (main): Converted to ...
1393 (do_test): ... this.
1394 (TEST_FUNCTION): New macro.
1395 Include test-skeleton.c.
1396 * elf/tst-pie2.c (main): Converted to ...
1397 (do_test): ... this.
1398 (TEST_FUNCTION): New macro.
1399 Include test-skeleton.c.
1400 * inet/tst-ether_aton.c (main): Converted to ...
1401 (do_test): ... this.
1402 (TEST_FUNCTION): New macro.
1403 Include test-skeleton.c.
1404 * misc/tst-mntent.c (main): Converted to ...
1405 (do_test): ... this.
1406 (TEST_FUNCTION): New macro.
1407 Include test-skeleton.c.
1408 * misc/tst-tsearch.c (main): Converted to ...
1409 (do_test): ... this.
1410 (TEST_FUNCTION): New macro.
1411 Include test-skeleton.c.
1412 * posix/tst-regexloc.c (main): Converted to ...
1413 (do_test): ... this.
1414 (TEST_FUNCTION): New macro.
1415 Include test-skeleton.c.
1416 * resolv/tst-aton.c (main): Converted to ...
1417 (do_test): ... this.
1418 (TEST_FUNCTION): New macro.
1419 Include test-skeleton.c.
1420 * stdio-common/test-fwrite.c (main): Converted to ...
1421 (do_test): ... this.
1422 (TEST_FUNCTION): New macro.
1423 Include test-skeleton.c.
1424 * stdio-common/tst-ferror.c (main): Converted to ...
1425 (do_test): ... this.
1426 (TEST_FUNCTION): New macro.
1427 Include test-skeleton.c.
1428 * stdio-common/tst-printf.c (main): Converted to ...
1429 (do_test): ... this.
1430 (TEST_FUNCTION): New macro.
1431 Include test-skeleton.c.
1432 * stdio-common/tst-printfsz.c (main): Converted to ...
1433 (do_test): ... this.
1434 (TEST_FUNCTION): New macro.
1435 Include test-skeleton.c.
1436 * stdlib/tst-strtod.c (main): Converted to ...
1437 (do_test): ... this.
1438 (TEST_FUNCTION): New macro.
1439 Include test-skeleton.c.
1440 * string/tst-strlen.c (main): Converted to ...
1441 (do_test): ... this.
1442 (TEST_FUNCTION): New macro.
1443 Include test-skeleton.c.
1444 * string/tst-svc.c (main): Converted to ...
1445 (do_test): ... this.
1446 (TEST_FUNCTION): New macro.
1447 Include test-skeleton.c.
1448 * time/tst-strptime.c (main): Converted to ...
1449 (do_test): ... this.
1450 (TEST_FUNCTION): New macro.
1451 Include test-skeleton.c.
1452 * timezone/tst-timezone.c (main): Converted to ...
1453 (do_test): ... this.
1454 (TEST_FUNCTION): New macro.
1455 Include test-skeleton.c.
1457 2015-08-05 Zack Weinberg <zackw@panix.com>
1459 * misc/regexp.h: Update comments.
1461 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
1464 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
1465 before return label.
1467 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
1470 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
1471 when calling __errno_location.
1472 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
1473 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
1475 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
1478 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
1479 (__lll_timedwait_tid): Align stack to 16 bytes when calling
1482 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
1485 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1486 (__start_context): Don't use pop to restore %rdi so that stack
1487 is aligned to 16 bytes when calling __setcontext.
1489 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
1491 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
1493 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1495 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
1497 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
1498 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
1499 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
1501 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
1503 * string/memccpy.c (memccpy):
1504 Improve performance by using memchr/memcpy/__mempcpy.
1506 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
1508 * string/strncpy.c (strncpy):
1509 Improve performance by using __strnlen/memcpy.
1511 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
1513 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1514 Optimize to avoid an unnecessary FPCR read.
1516 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
1518 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1519 Optimize to reduce FPCR/FPSR accesses.
1521 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
1523 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
1524 dead->data[category] != NULL.
1526 2015-08-05 Joseph Myers <joseph@codesourcery.com>
1529 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
1530 and |x| close to 1, use absolute value of x when computing log.
1531 * math/auto-libm-test-in: Add more tests of pow.
1532 * math/auto-libm-test-out: Regenerated.
1534 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1536 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
1537 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
1538 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
1540 2015-08-05 Marko Myllynen <myllynen@redhat.com>
1543 * locales/km_KH: Remove timezone definition.
1544 * locales/lo_LA: Likewise.
1545 * locales/my_MM: Likewise.
1546 * locales/nan_TW@latin: Likewise.
1547 * locales/th_TH: Likewise.
1548 * locales/uk_UA: Likewise.
1550 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
1553 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
1554 (wcsncat): Likewise.
1556 (wcsncmp): Likewise.
1558 2015-08-05 Mike Frysinger <vapier@gentoo.org>
1560 * test-skeleton.c (usage): New function.
1561 (main): Call usage when opt is '?'.
1563 2015-08-05 Mike Frysinger <vapier@gentoo.org>
1565 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
1568 2015-08-05 Mike Frysinger <vapier@gentoo.org>
1570 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
1571 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
1574 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
1576 * version.h (RELEASE): Set to "development".
1577 (VERSION): Set to "2.22.90"
1579 * version.h (RELEASE): Set to "stable".
1580 (VERSION): Set to "2.22"
1581 * include/features.h (__GLIBC_MINOR__): Set to 22.
1583 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
1585 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
1586 Restructure macro to avoid "value computed is not used" warning.
1587 (atomic_compare_and_exchange_val_acq): Likewise.
1589 2015-08-04 Andreas Schwab <schwab@suse.de>
1592 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
1594 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
1596 2015-08-01 Carlos O'Donell <carlos@redhat.com>
1598 * po/pl.po: Updated translation.
1599 * po/uk.po: Likewise.
1600 * po/fi.po: Likewise.
1601 * po/ko.po: Likewise.
1602 * po/ru.po: Likewise.
1603 * po/vi.po: Likewise.
1605 2015-07-31 Zack Weinberg <zackw@panix.com>
1608 * regexp.h: Add unconditional #warning stating that this header
1609 will be removed soon. Revise banner comment to match.
1610 (compile): Consistently use ERROR instead of RETURN to report
1611 errors (partial fix for bz#18681).
1612 * regexp.c: Don't include regexp.h. Remove some unnecessary
1615 2015-07-31 Carlos O'Donell <carlos@redhat.com>
1617 * po/libc.pot: Regenerated.
1619 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
1622 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
1623 float-vlen4-arch-ext-cflags): Removed.
1624 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
1625 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
1627 2015-07-30 Mike Frysinger <vapier@gentoo.org>
1630 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
1631 aligned to __aligned__.
1632 (pthread_cond_t, pthread_rwlock_t): Likewise.
1634 2015-07-30 Torvald Riegel <triegel@redhat.com>
1636 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
1638 2015-07-30 Mike Frysinger <vapier@gentoo.org>
1640 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
1641 (struct sigaction): Change sa_flags from a long to an int, and add
1642 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
1644 2015-07-30 Mike Frysinger <vapier@gentoo.org>
1646 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
1647 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
1648 sysdeps/generic/sysdep.h include.
1649 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
1650 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
1651 sysdeps/hppa/sysdep.h.
1652 (ENTRY, PSEUDO): Undefine before defining.
1654 2015-07-30 Mike Frysinger <vapier@gentoo.org>
1656 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
1657 from scratch to use INTERNAL_SYSCALL.
1659 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
1662 * scripts/check-localplt.awk: Support alternate relocations.
1663 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
1665 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
1666 malloc entries with + REL R_386_GLOB_DAT.
1667 * sysdeps/x86_64/localplt.data: New file.
1669 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
1672 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
1673 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1674 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1676 2015-07-27 Mike Frysinger <vapier@gentoo.org>
1678 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
1680 2015-07-27 Mike Frysinger <vapier@gentoo.org>
1682 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
1683 directly in terms of __sync_fetch_and_add and delete (int) cast.
1685 2015-07-27 Mike Frysinger <vapier@gentoo.org>
1687 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
1688 the -D_ASM_IA64_CURRENT_H flag.
1690 2015-07-27 Mike Frysinger <vapier@gentoo.org>
1693 * pwd/pwd.h (putpwent): Delete __nonnull markings.
1695 2015-07-27 Andreas Schwab <schwab@suse.de>
1697 * conform/conformtest.pl (checknamespace): Filter out string
1698 literals while tokenizing.
1700 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
1702 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1703 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
1704 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1706 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
1708 * nptl/tst-join7mod.c: Add #include <string.h>.
1710 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
1712 * sysdeps/nios2/libm-test-ulps: Update.
1714 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
1716 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1717 Fix order of arguments to the rt_sigprocmask syscall.
1718 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1721 2015-07-24 Roland McGrath <roland@hack.frob.com>
1723 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1725 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1728 * nptl/Makefile (tests): New test case tst-join7.
1729 (modules-names): New test case module tst-join7mod.
1730 * nptl/tst-join7.c: New file.
1731 * nptl/tst-join7mod.c: New file.
1732 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
1733 all translation units in libc.so, libpthread.so and rtld.
1735 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1739 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
1741 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
1742 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1743 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1744 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1745 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1746 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1747 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1748 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1749 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1750 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1751 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1752 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1753 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
1754 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1755 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
1758 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1761 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1762 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
1763 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1764 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1765 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
1766 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1768 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1770 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
1771 instead of just saying load lock in the comments.
1773 2015-07-23 Roland McGrath <roland@hack.frob.com>
1775 * sysdeps/unix/Subdirs: Moved ...
1776 * sysdeps/posix/Subdirs: ... here.
1777 * login/pty.h (struct termios, struct winsize): Add forward decls.
1778 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
1779 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
1780 * sysdeps/arm/nacl/libc.abilist: Updated.
1781 * sysdeps/nacl/libutil.abilist: New file.
1783 * bits/signum.h: Update comments to mention 1003.1-2013 too.
1784 (SIGWINCH): New macro.
1786 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
1787 * sysdeps/arm/nacl/libc.abilist: Add it.
1789 2015-07-23 Mike Frysinger <vapier@gentoo.org>
1791 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
1793 2015-07-23 Mike Frysinger <vapier@gentoo.org>
1795 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1796 Swap __glibc_reserved0 and sa_flags order.
1798 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1801 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
1802 are pending TLS destructor calls.
1803 * include/link.h (struct link_map): Add concurrency note for
1805 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
1806 Don't touch the link map flag. Atomically increment
1808 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
1809 Avoid taking the load lock and don't touch the link map flag.
1810 * stdlib/tst-tls-atexit-nodelete.c: New test case.
1811 * stdlib/Makefile (tests): Use it.
1812 * stdlib/tst-tls-atexit.c (do_test): dlopen
1813 tst-tls-atexit-lib.so again before dlclose. Add conditionals
1814 to allow tst-tls-atexit-nodelete test case to use it.
1816 2015-07-22 Mike Frysinger <vapier@gentoo.org>
1818 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
1820 (msgqnum_t): New typedef.
1821 (msglen_t): Likewise.
1822 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
1823 and msg_qbytes type to msglen_t.
1825 2015-07-22 Mike Frysinger <vapier@gentoo.org>
1827 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
1828 pad0 to __glibc_reserved0.
1829 (struct stat64): Likewise.
1831 2015-07-22 Mike Frysinger <vapier@gentoo.org>
1833 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1834 Change sa_flags from a long to an int and add __glibc_reserved0 before
1837 2015-07-22 Mike Frysinger <vapier@gentoo.org>
1839 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
1840 anonymous by deleting "siginfo" name.
1842 2015-07-21 Roland McGrath <roland@hack.frob.com>
1844 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
1845 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
1846 rather than __nacl_irt_filename.
1847 * sysdeps/nacl/xstat.c (__xstat): Likewise.
1849 * NEWS: New item for arm-nacl port.
1850 * sysdeps/arm/nacl/libc.abilist: New file.
1851 * sysdeps/nacl/ld.abilist: New file.
1852 * sysdeps/nacl/libBrokenLocale.abilist: New file.
1853 * sysdeps/nacl/libanl.abilist: New file.
1854 * sysdeps/nacl/libcrypt.abilist: New file.
1855 * sysdeps/nacl/libdl.abilist: New file.
1856 * sysdeps/nacl/libm.abilist: New file.
1857 * sysdeps/nacl/libpthread.abilist: New file.
1858 * sysdeps/nacl/libresolv.abilist: New file.
1859 * sysdeps/nacl/librt.abilist: New file.
1861 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
1863 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
1864 __startcontext to initialize the new context.
1865 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
1866 up CFI directive to forbid further backtracing.
1868 2015-07-21 Marko Myllynen <myllynen@redhat.com>
1870 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
1872 * charmaps/ANSI_X3.4-1968: Likewise.
1873 * charmaps/BS_4730: Likewise.
1874 * charmaps/BS_VIEWDATA: Likewise.
1875 * charmaps/CP1250: Likewise.
1876 * charmaps/CP1251: Likewise.
1877 * charmaps/CP1252: Likewise.
1878 * charmaps/CP1253: Likewise.
1879 * charmaps/CP1254: Likewise.
1880 * charmaps/CP1255: Likewise.
1881 * charmaps/CP1256: Likewise.
1882 * charmaps/CSN_369103: Likewise.
1883 * charmaps/EBCDIC-DK-NO: Likewise.
1884 * charmaps/GB_1988-80: Likewise.
1885 * charmaps/GREEK-CCITT: Likewise.
1886 * charmaps/GREEK7: Likewise.
1887 * charmaps/INIS-8: Likewise.
1888 * charmaps/ISIRI-3342: Likewise.
1889 * charmaps/ISO_2033-1983: Likewise.
1890 * charmaps/ISO_5427-EXT: Likewise.
1891 * locales/POSIX: Likewise.
1892 * locales/ar_SA: Likewise.
1893 * locales/be_BY: Likewise.
1894 * locales/be_BY@latin: Likewise.
1895 * locales/ca_ES: Likewise.
1896 * locales/cs_CZ: Likewise.
1897 * locales/da_DK: Likewise.
1898 * locales/de_BE: Likewise.
1899 * locales/de_CH: Likewise.
1900 * locales/de_LU: Likewise.
1901 * locales/en_AU: Likewise.
1902 * locales/en_BW: Likewise.
1903 * locales/en_CA: Likewise.
1904 * locales/en_DK: Likewise.
1905 * locales/en_GB: Likewise.
1906 * locales/en_IE: Likewise.
1907 * locales/en_NZ: Likewise.
1908 * locales/en_ZA: Likewise.
1909 * locales/en_ZW: Likewise.
1910 * locales/es_AR: Likewise.
1911 * locales/es_BO: Likewise.
1912 * locales/es_CL: Likewise.
1913 * locales/es_CO: Likewise.
1914 * locales/es_DO: Likewise.
1915 * locales/es_EC: Likewise.
1916 * locales/es_ES: Likewise.
1917 * locales/es_HN: Likewise.
1918 * locales/es_MX: Likewise.
1919 * locales/es_PA: Likewise.
1920 * locales/es_PE: Likewise.
1921 * locales/es_PY: Likewise.
1922 * locales/es_SV: Likewise.
1923 * locales/es_US: Likewise.
1924 * locales/es_UY: Likewise.
1925 * locales/es_VE: Likewise.
1926 * locales/et_EE: Likewise.
1927 * locales/fa_IR: Likewise.
1928 * locales/fo_FO: Likewise.
1929 * locales/fr_CA: Likewise.
1930 * locales/fr_CH: Likewise.
1931 * locales/gv_GB: Likewise.
1932 * locales/he_IL: Likewise.
1933 * locales/hr_HR: Likewise.
1934 * locales/id_ID: Likewise.
1935 * locales/is_IS: Likewise.
1936 * locales/it_CH: Likewise.
1937 * locales/iw_IL: Likewise.
1938 * locales/kl_GL: Likewise.
1939 * locales/ko_KR: Likewise.
1940 * locales/kw_GB: Likewise.
1941 * locales/lg_UG: Likewise.
1942 * locales/lt_LT: Likewise.
1943 * locales/lv_LV: Likewise.
1944 * locales/mi_NZ: Likewise.
1945 * locales/nhn_MX: Likewise.
1946 * locales/nl_BE: Likewise.
1947 * locales/pl_PL: Likewise.
1948 * locales/sk_SK: Likewise.
1949 * locales/sl_SI: Likewise.
1950 * locales/sv_FI: Likewise.
1951 * locales/tl_PH: Likewise.
1952 * locales/tr_TR: Likewise.
1953 * locales/vi_VN: Likewise.
1955 2015-07-21 Khem Raj <raj.khem@gmail.com>
1958 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
1961 2015-07-21 Mike Frysinger <vapier@gentoo.org>
1964 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
1966 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
1968 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1970 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
1971 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
1972 (spawn_thread): New function.
1973 (load): Rename to reg_dtor_and_close. Move dlopen to...
1974 (do_test): ... here. Use IS_LOADED to test for its
1977 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
1979 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1981 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
1984 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
1987 (si_upper): Likewise.
1989 2015-07-16 David S. Miller <davem@davemloft.net>
1991 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
1993 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1995 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
1997 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
1998 fail output information.
2000 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2002 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
2004 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2005 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
2006 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
2007 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
2008 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
2010 2015-07-16 Mike Frysinger <vapier@gentoo.org>
2012 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2013 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2014 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2015 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2017 2015-07-16 Mike Frysinger <vapier@gentoo.org>
2019 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2020 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
2022 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
2024 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2026 * tst-nodelete-opened.c (do_test): Add comment to clarify how
2029 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
2032 * elf/tst-nodelete-opened.c: New test case.
2033 * elf/tst-nodelete-opened-lib.c: New test case module.
2034 * elf/Makefile (tests, modules-names): Use them.
2035 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
2038 2015-07-15 David S. Miller <davem@davemloft.net>
2040 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
2042 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
2043 * sysdeps/sparc/sparc64/Makefile: Likewise.
2044 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2045 Remove space from macro define.
2046 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
2048 2015-07-15 Pravin Satpute <psatpute@redhat.com>
2051 * locale/iso-639.def: Update Bhili and Tulu language codes as
2054 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
2056 * elf/tst-leaks1.c (main): Converted to ...
2057 (do_test): ... this.
2058 (TEST_FUNCTION): New macro.
2059 Include test-skeleton.c.
2060 * localedata/tst-langinfo.c (main): Converted to ...
2061 (do_test): ... this.
2062 (TEST_FUNCTION): New macro.
2063 Include test-skeleton.c.
2064 * math/test-fpucw.c (main): Converted to ...
2065 (do_test): ... this.
2066 (TEST_FUNCTION): New macro.
2067 Include test-skeleton.c.
2068 * math/test-tgmath.c (main): Converted to ...
2069 (do_test): ... this.
2070 (TEST_FUNCTION): New macro.
2071 Include test-skeleton.c.
2072 * math/test-tgmath2.c (main): Converted to ...
2073 (do_test): ... this.
2074 (TEST_FUNCTION): New macro.
2075 Include test-skeleton.c.
2076 * setjmp/tst-setjmp.c (main): Converted to ...
2077 (do_test): ... this.
2078 (TEST_FUNCTION): New macro.
2079 Include test-skeleton.c.
2080 * stdio-common/tst-sscanf.c (main): Converted to ...
2081 (do_test): ... this.
2082 (TEST_FUNCTION): New macro.
2083 Include test-skeleton.c.
2084 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
2085 (do_test): ... this.
2086 (TEST_FUNCTION): New macro.
2087 Include test-skeleton.c.
2089 * elf/tst-audit9.c (main): Converted to ...
2090 (do_test): ... this.
2091 (TEST_FUNCTION): New macro.
2092 Include test-skeleton.c.
2094 2015-07-15 Mike Frysinger <vapier@gentoo.org>
2096 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
2098 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
2100 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
2103 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
2105 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2107 2015-07-14 Roland McGrath <roland@hack.frob.com>
2109 * sysdeps/generic/dl-fileid.h: New file.
2110 * sysdeps/posix/dl-fileid.h: New file.
2111 * sysdeps/nacl/dl-fileid.h: New file.
2112 * include/link.h: Include <dl-fileid.h>.
2113 (struct link_map): Replace l_dev and l_ino with l_file_id.
2114 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
2115 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
2116 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
2118 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2120 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
2122 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2124 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
2125 Add iff $CXX is set.
2126 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
2128 (tst-nodelete-zmodiff): Likewise.
2129 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
2131 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2133 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
2135 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
2137 * sysdeps/aarch64/fpu/math_private.h
2138 (define math_opt_barrier): Add AArch64 version.
2139 (math_force_eval): Likewise.
2141 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
2143 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
2145 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
2147 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
2148 %ld with %jd and cast to intmax_t.
2149 (do_test_length_zero): Likewise.
2151 2015-07-10 Roland McGrath <roland@hack.frob.com>
2153 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
2155 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
2157 * sysdeps/tile/libm-test-ulps: Regenerated.
2159 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
2160 Comment out the whole function, not just its body.
2162 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2164 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
2167 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
2169 2015-07-10 Torvald Riegel <triegel@redhat.com>
2171 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
2172 (sem_assume_only_signals_cause_futex_EINTR): Remove.
2174 2015-07-10 Torvald Riegel <triegel@redhat.com>
2176 * sysdeps/nptl/futex-internal.h: New file.
2177 * sysdeps/nacl/futex-internal.h: New file.
2178 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
2179 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
2181 (setxid_unmark_thread): Likewise.
2182 (__nptl_setxid): Likewise.
2183 (__wait_lookup_done): Likewise.
2184 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
2185 * nptl/nptl-init.c (sighandler_setxid): Likewise.
2186 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2187 * nptl/pthread_once.c (clear_once_control): Likewise.
2188 (__pthread_once_slow): Likewise.
2189 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
2190 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
2191 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
2192 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2193 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
2194 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
2196 (__pthread_rwlock_rdlock): Likewise.
2197 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2199 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2201 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2203 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
2204 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
2206 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
2207 __ASSUME_PRIVATE_FUTEX check.
2208 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
2209 Check that shared futexes are supported.
2210 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
2211 wrappers with error checking.
2212 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
2213 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
2214 * nptl/pthread_barrierattr_setpshared.c
2215 (pthread_barrierattr_setpshared): Check that shared futexes are
2217 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
2219 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
2221 * nptl/sem_init.c (futex_private_if_supported): Remove.
2222 (__new_sem_init): Adapt and check that shared futexes are supported.
2223 * nptl/sem_open.c (sem_open): Likewise.
2224 * nptl/sem_post.c (futex_wake): Remove.
2225 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
2226 (do_futex_wait): Use futex wrappers with error checking.
2227 * nptl/sem_wait.c: Include lowlevellock.h.
2228 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
2229 Use futex_supports_pshared.
2230 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
2231 Use futex wrappers with error checking.
2232 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
2234 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
2235 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
2236 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
2237 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
2238 (futex_wake): Likewise.
2239 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
2240 (do_futex_wait): Use futex wrappers with error checking.
2241 (__new_sem_wait_slow): Update EINTR handling.
2242 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
2244 2015-07-09 Martin Sebor <msebor@redhat.com>
2247 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2248 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
2249 * nptl/Makefile (test-xfail-tst-once5): Define.
2251 2015-07-09 Roland McGrath <roland@hack.frob.com>
2253 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
2254 * elf/dl-minimal.c: For readability, reorder some definitions and
2255 introduce more page breaks. Include <stdio.h>.
2256 (__libc_fatal): New function.
2258 * include/unistd.h: Add rtld_hidden_proto for _exit.
2259 * posix/_exit.c: Add rtld_hidden_def.
2260 * sysdeps/mach/hurd/_exit.c: Likewise.
2261 * sysdeps/nacl/_exit.c: Likewise.
2262 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
2263 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
2265 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
2267 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
2268 bndmov encoding with zero displacement.
2270 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
2271 H.J. Lu <hongjiu.lu@intel.com>
2274 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
2275 * sysdeps/i386/configure: Regenerated.
2276 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2277 (_dl_runtime_profile): Save and restore Intel MPX return bound
2278 registers when calling _dl_call_pltexit. Add
2279 PRESERVE_BND_REGS_PREFIX before return.
2280 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
2281 (LRV_BND1_OFFSET): Likewise.
2282 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
2284 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
2285 typo in bndmov encoding.
2286 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
2287 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
2288 branch instructions to preserve bounds.
2290 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2293 [GLIBC_2.22]: Add fmemopen.
2295 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
2297 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
2298 returns an error, also try to use host port from __mach_host_self for
2300 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
2302 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2306 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
2307 Fix pr_uid and pr_gid members.
2308 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
2309 definition to elf_greg_t.
2311 2015-07-08 Roland McGrath <roland@hack.frob.com>
2314 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
2315 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
2316 * sysdeps/arm/configure: Regenerated.
2317 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
2318 (test-xfail-tst-tlsalign-static): Variable removed.
2320 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
2321 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
2322 rather than explicit 'ln -s'.
2324 * resolv/rpc/netdb.h: New file.
2325 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
2327 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2329 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
2331 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2340 * include/stdio.h (fmemopen): Remove hidden prototype.
2341 (__fmemopen): Add new hidden prototype.
2342 * libio/Makefile: Add oldfmemopen object.
2343 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
2344 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
2346 * libio/oldfmemopen.c: New file: old fmemopen implementation for
2347 symbol compatibility.
2348 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
2349 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
2351 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
2352 on append and read mode.
2353 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
2355 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
2356 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
2357 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
2358 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
2360 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2361 [GLIBC_2.22]: Likewise.
2362 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
2364 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
2366 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2367 [GLIBC_2.22]: Likewise.
2368 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2369 [GLIBC_2.22]: Likewise.
2370 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2371 [GLIBC_2.22]: Likewise.
2372 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2373 [GLIBC_2.22]: Likewise.
2374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2375 [GLIBC_2.22]: Likewise.
2376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2377 [GLIBC_2.22]: Likewise.
2378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2379 [GLIBC_2.22]: Likewise.
2380 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
2382 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
2384 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
2385 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2386 [GLIBC_2.22]: Likewise.
2387 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2388 [GLIBC_2.22]: Likewise.
2389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2390 [GLIBC_2.22]: Likewise.
2391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2392 [GLIBC_2.22]: Likewise.
2393 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
2395 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
2397 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
2399 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
2400 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
2402 2015-07-08 Carlos O'Donell <carlos@redhat.com>
2405 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
2406 IPV6_PATHMTU, and IPV6_DONTFRAG.
2408 2015-07-08 Feng Gao <gfree.wind@gmail.com>
2410 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
2412 * libio/oldfileops.c: Likewise.
2413 * libio/wfileops.c: Likewise.
2415 2015-07-08 Mike Frysinger <vapier@gentoo.org>
2417 * nscd/selinux.c: Delete selinux/flask.h include.
2419 2015-07-08 Mike Frysinger <vapier@gentoo.org>
2422 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
2423 (putpwent): Likewise.
2424 (getpwnam): Likewise.
2425 (getpwent_r): Likewise.
2426 (getpwuid_r): Likewise.
2427 (getpwnam_r): Likewise.
2428 (fgetpwent_r): Likewise.
2430 2015-07-08 Carlos O'Donell <carlos@redhat.com>
2433 * inet/rcmd.c (__validuser2_sa): Check user first to
2434 short-circuit host check.
2436 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
2437 Mikhail Ilin <m.ilin@samsung.com>
2440 * elf/Makefile (tests): Add tst-nodelete.
2441 (modules-names): Add tst-nodelete-uniquemod.
2442 (tst-nodelete-uniquemod.so-no-z-defs): New.
2443 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
2444 (tst-nodelete-zmod.so-no-z-defs): Likewise.
2445 ($(objpfx)tst-nodelete): Likewise.
2446 ($(objpfx)tst-nodelete.out): Likewise.
2447 (LDFLAGS-tst-nodelete): Likewise.
2448 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
2449 * elf/dl-close.c (_dl_close_worker): Add a parameter to
2450 implement forced object deletion.
2451 (_dl_close): Pass false to _dl_close_worker.
2452 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
2453 * elf/tst-nodelete.cc: New file.
2454 * elf/tst-nodeletelib.cc: Likewise.
2455 * elf/tst-znodeletelib.cc: Likewise.
2456 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
2458 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
2461 * stdlib/Makefile ($(objpfx)tst-makecontext3):
2463 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
2464 is not called infinitely times.
2465 (backtrace_helper): New function.
2466 (trace_arg): New struct.
2467 (st1): Enlarge stack size.
2468 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2469 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
2470 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2473 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
2475 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2477 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
2479 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
2480 Include sys/types.h instead of bits/types.h.
2481 Remove inclusion of bits/wordsize.h.
2483 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
2485 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
2486 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
2487 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
2488 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
2489 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
2490 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
2492 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
2494 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
2496 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
2497 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
2498 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
2500 * sysdeps/i386/link-defines.sym: New file.
2502 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
2504 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
2505 (modules-names): Add tst-auditmod3a tst-auditmod3b.
2506 ($(objpfx)tst-audit3): New rule.
2507 ($(objpfx)tst-audit3.out): Likewise.
2508 * sysdeps/i386/tst-audit3.c: New file.
2509 * sysdeps/i386/tst-audit3.h: Likewise.
2510 * sysdeps/i386/tst-auditmod3a.c: Likewise.
2511 * sysdeps/i386/tst-auditmod3b.c: Likewise.
2513 2015-07-07 Torvald Riegel <triegel@redhat.com>
2516 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
2518 (__strcat_c): Likewise.
2519 (__strcat_g): Likewise.
2521 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
2524 * misc/sbrk.c: Set errno to ENOMEM on overflow.
2526 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
2528 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
2529 New function. (__ieee754_sqrtf): New function.
2530 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
2532 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
2535 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
2537 * sysdeps/ieee754/support.c: Remove unused file.
2539 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
2541 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
2542 registers instead of d ones so the layout is kernel abi compatible.
2543 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
2544 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
2547 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
2549 * sysdeps/aarch64/libm-test-ulps: Regenerated.
2551 2015-07-01 Joseph Myers <joseph@codesourcery.com>
2554 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
2555 and return argument in case of subnormal argument.
2557 2015-07-01 Martin Sebor <msebor@redhat.com>
2560 * nptl/Makefile: Add tst-once5.cc.
2561 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2562 Remove macro redefinitions.
2563 * nptl/tst-once5.cc: New test.
2565 2015-07-01 Joseph Myers <joseph@codesourcery.com>
2567 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2569 * sysdeps/arm/libm-test-ulps: Regenerated.
2571 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2572 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2574 2015-06-30 Torvald Riegel <triegel@redhat.com>
2576 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
2577 lll_lock_wait_private and lll_futex_wake probes.
2579 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2580 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
2582 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
2584 * sysdeps/x86_64/bits/atomic.h: Likewise.
2585 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
2586 to atomic_spin_nop and move ...
2587 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2589 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
2590 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2591 atomic_spin_nop instead of BUSY_WAIT_NOP.
2592 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2594 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
2595 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2596 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
2597 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
2598 instead of atomic_delay.
2600 2015-06-29 Joseph Myers <joseph@codesourcery.com>
2603 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
2604 X_ADJ not X when adjusting exponent.
2605 (__ieee754_gamma_r): Do intermediate computations in
2606 round-to-nearest then adjust overflowing and underflowing results
2608 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
2609 of X_ADJ not X when adjusting exponent.
2610 (__ieee754_gammaf_r): Do intermediate computations in
2611 round-to-nearest then adjust overflowing and underflowing results
2613 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
2614 log of X_ADJ not X when adjusting exponent.
2615 (__ieee754_gammal_r): Do intermediate computations in
2616 round-to-nearest then adjust overflowing and underflowing results
2617 as needed. Use 1.0L not 1.0f as numerator of division.
2618 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
2619 log of X_ADJ not X when adjusting exponent.
2620 (__ieee754_gammal_r): Do intermediate computations in
2621 round-to-nearest then adjust overflowing and underflowing results
2622 as needed. Use 1.0L not 1.0f as numerator of division.
2623 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
2624 of X_ADJ not X when adjusting exponent.
2625 (__ieee754_gammal_r): Do intermediate computations in
2626 round-to-nearest then adjust overflowing and underflowing results
2627 as needed. Use 1.0L not 1.0f as numerator of division.
2628 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
2629 to auto-libm-test-in.
2630 (tgamma_test): Use ALL_RM_TEST.
2631 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
2632 tests of tgamma with spurious-overflow.
2633 * math/auto-libm-test-out: Regenerated.
2634 * math/gen-libm-have-vector-test.sh: Do not check for START.
2635 * sysdeps/i386/fpu/libm-test-ulps: Update.
2636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2639 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
2640 arguments, just return 0.5 times the argument, with underflow
2642 * math/auto-libm-test-in: Add more tests of j1.
2643 * math/auto-libm-test-out: Regenerated.
2646 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
2647 (__ieee754_j1): Force underflow exception for small results.
2648 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2649 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
2650 (__ieee754_j1f): Force underflow exception for small results.
2651 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2652 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2653 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2654 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
2655 (__ieee754_j1l): Force underflow exception for small results.
2656 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2657 * math/auto-libm-test-in: Add more tests of j1 and jn.
2658 * math/auto-libm-test-out: Regenerated.
2660 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
2661 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
2662 (PF_MPLS): Likewise.
2664 (AF_MPLS): Likewise.
2665 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
2667 (MS_RMT_MASK): Include MS_LAZYTIME.
2669 2015-06-26 Mel Gorman <mgorman@suse.de>
2672 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
2675 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
2677 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
2678 (DT_MIPS_NUM): Update.
2679 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
2680 DT_MIPS_RLD_MAP_REL.
2682 2015-06-25 Joseph Myers <joseph@codesourcery.com>
2686 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
2687 round-to-nearest internally then recompute results that
2688 underflowed to zero in the original rounding mode.
2689 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2690 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2691 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2692 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
2693 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
2694 * sysdeps/i386/fpu/libm-test-ulps: Update.
2695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2697 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
2699 * NEWS: Fixed description of link with vector math library.
2701 2015-06-25 Andreas Schwab <schwab@suse.de>
2704 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
2705 * libio/test-fmemopen.c (do_test): Add test for it.
2707 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
2710 * Makeconfig (no-pie-ldflag): New.
2711 (+link): Set to $(+link-pie) if default to PIE.
2712 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2713 * config.make.in (build-pie-default): New.
2714 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
2715 is default. AC_SUBST.
2716 * configure: Regenerated.
2717 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2719 2015-06-24 Roland McGrath <roland@hack.frob.com>
2721 * nptl/descr.h (struct pthread): Change type of field setxid_futex
2724 * resolv/gai_misc.h (struct waitlist): Change type of field
2725 counterp to 'volatile unsigned int *'.
2726 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2727 FUTEXADDR and OLDVAL.
2728 * resolv/getaddrinfo_a.c (getaddrinfo_a):
2729 Give local variable TOTAL type 'volatile unsigned int'.
2730 (struct async_waitlist): Change type of field counter to 'unsigned int'.
2731 * resolv/gai_suspend.c (gai_suspend):
2732 Give local variable CNTR type 'unsigned int'.
2734 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
2735 counterp to 'volatile unsigned int *'.
2736 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
2737 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
2738 (aio_suspend): Give local variable CNTR type 'unsigned int'.
2739 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
2740 Give local variable TOTAL type 'volatile unsigned int'.
2741 (struct async_waitlist): Change type of field counter to 'unsigned int'.
2743 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
2746 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
2747 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
2748 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
2749 comment for i386/x86-64.
2750 (test-xfail-tst-tlsalign-extern-static): Removed.
2752 2015-06-24 Joseph Myers <joseph@codesourcery.com>
2754 * math/test-double.h: New file.
2755 * math/test-float.h: Likewise.
2756 * math/test-ldouble.h: Likewise.
2757 * math/test-math-inline.h: Likewise.
2758 * math/test-math-no-inline.h: Likewise.
2759 * math/test-math-scalar.h: Likewise.
2760 * math/test-math-vector.h: Likewise.
2761 * math/test-vec-loop.h: Remove file. Contents moved into
2763 * math/libm-test.inc (MATHCONST): Do not document macro.
2764 * math/test-double.c: Include test-double.h, test-math-no-inline.h
2765 and test-math-scalar.h.
2766 (FUNC): Remove macro.
2767 (FUNC_TEST): Likewise.
2769 (MATHCONST): Likewise.
2770 (PRINTF_EXPR): Likewise.
2771 (PRINTF_XEXPR): Likewise.
2772 (PRINTF_NEXPR): Likewise.
2773 (TEST_DOUBLE): Likewise.
2774 (TEST_MATHVEC): Likewise.
2775 (__NO_MATH_INLINES): Likewise.
2776 * math/test-float.c: Include test-float.h, test-math-no-inline.h
2777 and test-math-scalar.h.
2778 (FUNC): Remove macro.
2779 (FUNC_TEST): Likewise.
2781 (MATHCONST): Likewise.
2782 (PRINTF_EXPR): Likewise.
2783 (PRINTF_XEXPR): Likewise.
2784 (PRINTF_NEXPR): Likewise.
2785 (TEST_FLOAT): Likewise.
2786 (TEST_MATHVEC): Likewise.
2787 (__NO_MATH_INLINES): Likewise.
2788 * math/test-idouble.c: Include test-double.h, test-math-inline.h
2789 and test-math-scalar.h.
2790 (FUNC): Remove macro.
2791 (FUNC_TEST): Likewise.
2793 (MATHCONST): Likewise.
2794 (PRINTF_EXPR): Likewise.
2795 (PRINTF_XEXPR): Likewise.
2796 (PRINTF_NEXPR): Likewise.
2797 (TEST_DOUBLE): Likewise.
2798 (TEST_MATHVEC): Likewise.
2799 (TEST_INLINE): Likewise.
2800 (__NO_MATH_INLINES): Likewise.
2801 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
2803 (FUNC): Remove macro.
2804 (FUNC_TEST): Likewise.
2806 (MATHCONST): Likewise.
2807 (PRINTF_EXPR): Likewise.
2808 (PRINTF_XEXPR): Likewise.
2809 (PRINTF_NEXPR): Likewise.
2810 (TEST_FLOAT): Likewise.
2811 (TEST_MATHVEC): Likewise.
2812 (TEST_INLINE): Likewise.
2813 (__NO_MATH_INLINES): Likewise.
2814 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
2815 and test-math-scalar.h.
2816 (FUNC): Remove macro.
2817 (FUNC_TEST): Likewise.
2819 (MATHCONST): Likewise.
2820 (PRINTF_EXPR): Likewise.
2821 (PRINTF_XEXPR): Likewise.
2822 (PRINTF_NEXPR): Likewise.
2823 (TEST_LDOUBLE): Likewise.
2824 (TEST_MATHVEC): Likewise.
2825 (TEST_INLINE): Likewise.
2826 (__NO_MATH_INLINES): Likewise.
2827 * math/test-ldouble.c: Include test-ldouble.h,
2828 test-math-no-inline.h and test-math-scalar.h.
2829 (FUNC): Remove macro.
2830 (FUNC_TEST): Likewise.
2832 (MATHCONST): Likewise.
2833 (PRINTF_EXPR): Likewise.
2834 (PRINTF_XEXPR): Likewise.
2835 (PRINTF_NEXPR): Likewise.
2836 (TEST_LDOUBLE): Likewise.
2837 (TEST_MATHVEC): Likewise.
2838 (__NO_MATH_INLINES): Likewise.
2839 * math/test-double-vlen2.h: Include test-double.h,
2840 test-math-no-inline.h and test-math-vector.h.
2841 (FLOAT): Remove macro.
2843 (MATHCONST): Likewise.
2844 (PRINTF_EXPR): Likewise.
2845 (PRINTF_XEXPR): Likewise.
2846 (PRINTF_NEXPR): Likewise.
2847 (TEST_DOUBLE): Likewise.
2848 (TEST_MATHVEC): Likewise.
2849 (__NO_MATH_INLINES): Likewise.
2852 (WRAPPER_NAME): Likewise.
2853 (WRAPPER_DECL): Likewise.
2854 (WRAPPER_DECL_ff): Likewise.
2855 (WRAPPER_DECL_fFF): Likewise.
2856 (VECTOR_WRAPPER): Likewise.
2857 (VECTOR_WRAPPER_ff): Likewise.
2858 (VECTOR_WRAPPER_fFF): Likewise.
2859 (VEC_LEN): New macro.
2860 * math/test-double-vlen4.h: Include test-double.h,
2861 test-math-no-inline.h and test-math-vector.h.
2862 (FLOAT): Remove macro.
2864 (MATHCONST): Likewise.
2865 (PRINTF_EXPR): Likewise.
2866 (PRINTF_XEXPR): Likewise.
2867 (PRINTF_NEXPR): Likewise.
2868 (TEST_DOUBLE): Likewise.
2869 (TEST_MATHVEC): Likewise.
2870 (__NO_MATH_INLINES): Likewise.
2873 (WRAPPER_NAME): Likewise.
2874 (WRAPPER_DECL): Likewise.
2875 (WRAPPER_DECL_ff): Likewise.
2876 (WRAPPER_DECL_fFF): Likewise.
2877 (VECTOR_WRAPPER): Likewise.
2878 (VECTOR_WRAPPER_ff): Likewise.
2879 (VECTOR_WRAPPER_fFF): Likewise.
2880 (VEC_LEN): New macro.
2881 * math/test-double-vlen8.h: Include test-double.h,
2882 test-math-no-inline.h and test-math-vector.h.
2883 (FLOAT): Remove macro.
2885 (MATHCONST): Likewise.
2886 (PRINTF_EXPR): Likewise.
2887 (PRINTF_XEXPR): Likewise.
2888 (PRINTF_NEXPR): Likewise.
2889 (TEST_DOUBLE): Likewise.
2890 (TEST_MATHVEC): Likewise.
2891 (__NO_MATH_INLINES): Likewise.
2894 (WRAPPER_NAME): Likewise.
2895 (WRAPPER_DECL): Likewise.
2896 (WRAPPER_DECL_ff): Likewise.
2897 (WRAPPER_DECL_fFF): Likewise.
2898 (VECTOR_WRAPPER): Likewise.
2899 (VECTOR_WRAPPER_ff): Likewise.
2900 (VECTOR_WRAPPER_fFF): Likewise.
2901 (VEC_LEN): New macro.
2902 * math/test-float-vlen4.h: Include test-float.h,
2903 test-math-no-inline.h and test-math-vector.h.
2904 (FLOAT): Remove macro.
2906 (MATHCONST): Likewise.
2907 (PRINTF_EXPR): Likewise.
2908 (PRINTF_XEXPR): Likewise.
2909 (PRINTF_NEXPR): Likewise.
2910 (TEST_FLOAT): Likewise.
2911 (TEST_MATHVEC): Likewise.
2912 (__NO_MATH_INLINES): Likewise.
2915 (WRAPPER_NAME): Likewise.
2916 (WRAPPER_DECL): Likewise.
2917 (WRAPPER_DECL_ff): Likewise.
2918 (WRAPPER_DECL_fFF): Likewise.
2919 (VECTOR_WRAPPER): Likewise.
2920 (VECTOR_WRAPPER_ff): Likewise.
2921 (VECTOR_WRAPPER_fFF): Likewise.
2922 (VEC_LEN): New macro.
2923 * math/test-float-vlen8.h: Include test-float.h,
2924 test-math-no-inline.h and test-math-vector.h.
2925 (FLOAT): Remove macro.
2927 (MATHCONST): Likewise.
2928 (PRINTF_EXPR): Likewise.
2929 (PRINTF_XEXPR): Likewise.
2930 (PRINTF_NEXPR): Likewise.
2931 (TEST_FLOAT): Likewise.
2932 (TEST_MATHVEC): Likewise.
2933 (__NO_MATH_INLINES): Likewise.
2936 (WRAPPER_NAME): Likewise.
2937 (WRAPPER_DECL): Likewise.
2938 (WRAPPER_DECL_ff): Likewise.
2939 (WRAPPER_DECL_fFF): Likewise.
2940 (VECTOR_WRAPPER): Likewise.
2941 (VECTOR_WRAPPER_ff): Likewise.
2942 (VECTOR_WRAPPER_fFF): Likewise.
2943 (VEC_LEN): New macro.
2944 * math/test-float-vlen16.h: Include test-float.h,
2945 test-math-no-inline.h and test-math-vector.h.
2946 (FLOAT): Remove macro.
2948 (MATHCONST): Likewise.
2949 (PRINTF_EXPR): Likewise.
2950 (PRINTF_XEXPR): Likewise.
2951 (PRINTF_NEXPR): Likewise.
2952 (TEST_FLOAT): Likewise.
2953 (TEST_MATHVEC): Likewise.
2954 (__NO_MATH_INLINES): Likewise.
2957 (WRAPPER_NAME): Likewise.
2958 (WRAPPER_DECL): Likewise.
2959 (WRAPPER_DECL_ff): Likewise.
2960 (WRAPPER_DECL_fFF): Likewise.
2961 (VECTOR_WRAPPER): Likewise.
2962 (VECTOR_WRAPPER_ff): Likewise.
2963 (VECTOR_WRAPPER_fFF): Likewise.
2964 (VEC_LEN): New macro.
2965 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
2967 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2968 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2969 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2970 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2971 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2972 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2973 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2975 2015-06-24 Roland McGrath <roland@hack.frob.com>
2977 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
2978 (__getlogin_r): ... this.
2980 2015-06-24 Joseph Myers <joseph@codesourcery.com>
2983 * math/s_ccosh.c (__ccosh): Compare with least normal value
2984 instead of comparing class with FP_SUBNORMAL.
2985 * math/s_ccoshf.c (__ccoshf): Likewise.
2986 * math/s_ccoshl.c (__ccoshl): Likewise.
2987 * math/s_cexp.c (__cexp): Likewise.
2988 * math/s_cexpf.c (__cexpf): Likewise.
2989 * math/s_cexpl.c (__cexpl): Likewise.
2990 * math/s_csin.c (__csin): Likewise.
2991 * math/s_csinf.c (__csinf): Likewise.
2992 * math/s_csinh.c (__csinh): Likewise.
2993 * math/s_csinhf.c (__csinhf): Likewise.
2994 * math/s_csinhl.c (__csinhl): Likewise.
2995 * math/s_csinl.c (__csinl): Likewise.
2996 * math/s_ctan.c (__ctan): Likewise.
2997 * math/s_ctanf.c (__ctanf): Likewise.
2998 * math/s_ctanh.c (__ctanh): Likewise.
2999 * math/s_ctanhf.c (__ctanhf): Likewise.
3000 * math/s_ctanhl.c (__ctanhl): Likewise.
3001 * math/s_ctanl.c (__ctanl): Likewise.
3002 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
3003 csin, csinh, ctan and ctanh.
3004 * math/auto-libm-test-out: Regenerated.
3005 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
3006 * sysdeps/i386/fpu/libm-test-ulps: Update.
3007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3009 2015-06-24 Roland McGrath <roland@hack.frob.com>
3011 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
3012 return value is wrong, print the expected value too.
3014 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
3017 * elf/readlib.c (is_gdb_python_file): New.
3018 (process_file): Don't issue errors on filenames with -gdb.py
3021 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3023 * math/auto-libm-test-in: Add more tests of csin and csinh.
3024 * math/auto-libm-test-out: Regenerated.
3025 * math/libm-test.inc (csin_test_data): Remove tests moved to
3027 (csinh_test_data): Likewise.
3030 * math/s_csin.c (__csin): Negate before rather than after possibly
3031 overflowing multiplication.
3032 * math/s_csinf.c (__csinf): Likewise.
3033 * math/s_csinh.c (__csinh): Likewise.
3034 * math/s_csinhf.c (__csinhf): Likewise.
3035 * math/s_csinhl.c (__csinhl): Likewise.
3036 * math/s_csinl.c (__csinl): Likewise.
3037 * math/auto-libm-test-in: Add some tests of csin and csinh.
3038 * math/auto-libm-test-out: Regenerated.
3039 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
3040 (csinh_test_data): Likewise.
3041 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3044 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
3045 underflow exception for small results.
3047 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
3049 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3050 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
3051 variable and included header.
3052 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
3053 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
3054 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
3055 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
3056 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
3057 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3058 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3059 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
3060 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
3061 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
3062 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
3063 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
3064 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
3065 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
3066 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
3067 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
3069 2015-06-23 Joseph Myers <joseph@codesourcery.com>
3073 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
3074 (__sin): Force underflow exception for arguments with small
3076 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
3077 (__kernel_sinf): Force underflow exception for arguments with
3078 small absolute value.
3079 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
3080 (__kernel_sincosl): Force underflow exception for arguments with
3081 small absolute value.
3082 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
3083 (__kernel_sinl): Force underflow exception for arguments with
3084 small absolute value.
3085 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
3086 (__kernel_sincosl): Force underflow exception for arguments with
3087 small absolute value.
3088 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
3089 (__kernel_sinl): Force underflow exception for arguments with
3090 small absolute value.
3091 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
3092 (__kernel_sinl): Force underflow exception for arguments with
3093 small absolute value.
3094 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
3095 (__kernel_sinf): Force underflow exception for arguments with
3096 small absolute value.
3097 * math/auto-libm-test-in: Add more tests of sin and sincos.
3098 * math/auto-libm-test-out: Regenerated.
3102 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
3103 (__kernel_standard_l): Use feholdexcept and fesetenv around
3104 conversion to double instead of special-casing overflow and
3106 * math/libm-test.inc (fmod_test_data): Add more tests.
3107 (remainder_test_data): Likewise.
3108 (sqrt_test_data): Likewise.
3110 2015-06-23 Torvald Riegel <triegel@redhat.com>
3113 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
3114 atomic_read_barrier, atomic_write_barrier): Define.
3115 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
3116 atomic_read_barrier, atomic_write_barrier): Define.
3118 2015-06-23 Joseph Myers <joseph@codesourcery.com>
3120 * math/Makefile [$(PERL) != no]
3121 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
3122 dependency on libm-test.stmp below the inclusion of Rules.
3124 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
3126 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3127 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
3128 and included header.
3129 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
3130 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
3131 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
3132 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
3133 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
3134 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
3135 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3136 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3137 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
3138 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
3139 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
3140 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
3141 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
3142 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
3143 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
3144 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
3145 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
3146 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
3147 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
3149 2015-06-23 Joseph Myers <joseph@codesourcery.com>
3152 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
3153 intermediate but not final result might underflow.
3154 * math/s_csqrtf.c (__csqrtf): Likewise.
3155 * math/s_csqrtl.c (__csqrtl): Likewise.
3156 * math/auto-libm-test-in: Add more tests of csqrt.
3157 * math/auto-libm-test-out: Regenerated.
3158 * sysdeps/i386/fpu/libm-test-ulps: Update.
3161 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
3162 threshold on absolute value of exponent for which scaling is used.
3163 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3164 * math/auto-libm-test-in: Add more tests of exp2.
3165 * math/auto-libm-test-out: Regenerated.
3167 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
3170 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
3171 when initializing interface list, based on the bug analysis
3172 and the patch proposed by Eric Newton.
3173 * resolv/tst-res_hconf_reorder.c: New test.
3174 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
3175 tst-res_hconf_reorder.
3176 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
3177 and $(shared-thread-library).
3178 (tst-res_hconf_reorder-ENV): New variable.
3180 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
3183 2015-06-22 Joseph Myers <joseph@codesourcery.com>
3186 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
3187 (__expm1): Force underflow exception for arguments with small
3189 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
3190 (__expm1f): Force underflow exception for arguments with small
3192 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
3193 (__expm1): Force underflow exception for arguments with small
3195 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
3196 (__expm1f): Force underflow exception for arguments with small
3198 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3199 Check for small arguments before calling __expm1.
3200 * math/auto-libm-test-in: Do not mark underflow exceptions as
3201 possibly missing for bug 16353.
3202 * math/auto-libm-test-out: Regenerated.
3204 2015-06-22 Andreas Schwab <schwab@suse.de>
3207 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
3210 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
3212 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
3214 * string/strcoll_l.c: Remove unused struct element idxnow.
3216 2015-06-21 Joseph Myers <joseph@codesourcery.com>
3219 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
3220 underflow and return argument in case of subnormal argument.
3221 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3223 * math/auto-libm-test-in: Add more tests of expm1.
3224 * math/auto-libm-test-out: Regenerated.
3227 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3228 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3230 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
3231 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
3233 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
3234 mark underflow exceptions as possibly missing for bug 16361.
3235 * math/auto-libm-test-out: Regenerated.
3237 2015-06-19 Joseph Myers <joseph@codesourcery.com>
3239 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
3240 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
3242 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3243 (test-xfail-XOPEN2K8/utmpx.h/conform).
3245 * conform/conformtest.pl ($xerrors): New variable.
3246 (note_error): New function.
3247 (compiletest): New argument $xfail. Use not_error.
3248 (runtest): Likewise.
3249 (top level): Handle xfail- lines. Update calls to compiletest and
3250 runtest. Handle xfail- and optional- in headers listed with
3252 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
3254 (O_SEARCH): Likewise.
3255 * conform/data/stropts.h-data (ioctl): Likewise.
3256 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
3257 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
3258 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
3259 (msghdr.msg_controllen): Likewise.
3260 (cmsghdr.cmsg_len): Likewise.
3261 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
3262 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
3264 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3265 (test-xfail-XPG4/stropts.h/conform): Likewise.
3266 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3267 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3268 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3269 (test-xfail-UNIX98/stropts.h/conform): Likewise.
3270 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3271 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3272 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3273 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3274 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3275 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3276 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3277 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3278 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3279 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3280 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3281 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3282 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3283 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3284 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3286 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
3288 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
3289 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
3290 definitions for proper unfolding of __MATHDECL_VEC.
3292 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
3294 * benchtests/bench-strcoll.c:
3296 (main): Remove unused variable res.
3298 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
3300 * timezone/Makefile (%/UTC %/Universal):
3301 Generate test-result files for UTC and Universal.
3303 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
3305 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3307 2015-06-18 Joseph Myers <joseph@codesourcery.com>
3310 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
3311 for arguments with small absolute value.
3312 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
3313 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
3314 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
3315 (__asinh): Force underflow exception for arguments with small
3317 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
3318 (__asinhf): Force underflow exception for arguments with small
3320 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
3321 (__asinhl): Force underflow exception for arguments with small
3323 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
3324 (__asinhl): Force underflow exception for arguments with small
3326 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
3327 (__asinhl): Force underflow exception for arguments with small
3329 * math/auto-libm-test-in: Do not mark underflow exceptions as
3330 possibly missing for bug 16350.
3331 * math/auto-libm-test-out: Regenerated.
3333 * include/bits/ipc.h: Remove file.
3334 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
3336 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3337 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3338 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3339 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3340 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3341 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3342 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3343 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3344 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3346 * math/auto-libm-test-in: Remove spurious underflow allowance for
3348 * math/auto-libm-test-out: Regenerated.
3351 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
3352 unconditional definition.
3353 (MCAST_BLOCK_SOURCE): Likewise.
3354 (MCAST_UNBLOCK_SOURCE): Likewise.
3355 (MCAST_LEAVE_GROUP): Likewise.
3356 (MCAST_JOIN_SOURCE_GROUP): Likewise.
3357 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3358 (MCAST_MSFILTER): Likewise.
3359 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
3361 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3362 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3363 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3364 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3365 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3367 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
3369 * NEWS: Mention addition of x86_64 vector sincosf.
3370 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
3371 * math/test-float-vlen4.h: Likewise.
3372 * math/test-float-vlen8.h: Likewise.
3373 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3374 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
3375 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3376 * sysdeps/x86_64/fpu/Versions: New versions added.
3377 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3378 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3379 Added build of SSE, AVX2 and AVX512 IFUNC versions.
3380 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
3381 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3382 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
3383 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3384 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
3385 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3386 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
3387 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
3388 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
3389 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
3390 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
3391 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
3392 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
3393 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
3394 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3395 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3396 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3397 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3398 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3399 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3400 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3402 * NEWS: Mention addition of x86_64 vector sincos.
3403 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
3404 * math/math.h (__MATHDECL_VEC): New macro.
3405 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
3406 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
3407 declaration under condition.
3408 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
3409 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
3410 TEST_VEC_LOOP change.
3411 * math/test-double-vlen4.h: Likewise.
3412 * math/test-double-vlen8.h: Likewise.
3413 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
3414 * math/test-float-vlen4.h: Likewise.
3415 * math/test-float-vlen8.h: Likewise.
3416 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3417 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
3418 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3419 * sysdeps/x86_64/fpu/Versions: New versions added.
3420 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3421 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3422 Added build of SSE, AVX2 and AVX512 IFUNC versions.
3423 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
3424 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
3425 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
3426 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
3427 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
3428 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
3429 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
3430 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
3431 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
3432 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
3433 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
3434 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
3435 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
3436 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
3437 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3438 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3439 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3440 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3441 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3442 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3443 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3445 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3446 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3447 redirections for powf.
3448 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3449 * sysdeps/x86_64/fpu/Versions: New versions added.
3450 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3451 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3452 Added build of SSE, AVX2 and AVX512 IFUNC versions.
3453 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
3454 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
3455 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
3456 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
3457 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
3458 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
3459 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
3460 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
3461 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
3462 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
3463 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
3464 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
3465 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
3466 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
3467 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3468 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3469 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3470 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3471 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3472 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3473 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3474 * math/test-float-vlen16.h: Fixed 2 argument macro.
3475 * math/test-float-vlen4.h: Likewise.
3476 * math/test-float-vlen8.h: Likewise.
3477 * NEWS: Mention addition of x86_64 vector powf.
3479 2015-06-17 Joseph Myers <joseph@codesourcery.com>
3481 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3483 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3485 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
3486 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3487 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3490 * resource/getpriority.c (getpriority): Rename to __getpriority
3491 and define as weak alias of __getpriority.
3492 * resource/setpriority.c (setpriority): Rename to __setpriority
3493 and define as weak alias of __setpriority.
3494 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
3495 __getpriority and define as weak alias of __getpriority.
3496 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
3497 __setpriority and define as weak alias of __setpriority.
3498 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
3500 (setpriority): Use __setpriority as strong name.
3501 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
3502 __getpriority and define as weak alias of __getpriority.
3503 * include/sys/resource.h (__getpriority): Declare. Use
3505 (__setpriority): Likewise.
3506 (getpriority): Don't use libc_hidden_proto.
3507 (setpriority): Likewise.
3508 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
3509 getpriority. Call __setpriority instead of setpriority.
3510 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
3514 * misc/getttyent.c (getttynam): Rename to __getttynam and define
3515 as weak alias of __getttynam. Use prototype function definition.
3516 Call __setttyent, __getttyent and __endttyent instead of
3517 setttyent, getttyent and endttyent.
3518 (getttyent): Rename to __getttyent and define as weak alias of
3519 __getttyent. Call __setttyent instead of setttyent. Call
3520 __fgets_unlocked instead of fgets_unlocked.
3521 (setttyent): Rename to __setttyent and define as weak alias of
3523 (endttyent): Rename to __endttyent and define as weak alias of
3525 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
3526 (__setttyent): Likewise.
3527 (__endttyent): Likewise.
3528 (getttyent): Don't use libc_hidden_proto.
3529 (setttyent): Likewise.
3530 (endttyent): Likewise.
3531 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
3532 __endttyent instead of setttyent, getttyent and endttyent.
3533 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
3537 * socket/recv.c (__recv): Use libc_hidden_def.
3538 * socket/socket.c (__socket): Likewise.
3539 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3540 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3541 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
3542 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
3543 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
3545 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
3547 * include/sys/socket.h (__socket): Do not use attribute_hidden.
3548 Use libc_hidden_proto.
3550 * socket/Versions (libc): Export __recv and __socket at version
3552 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
3554 (init_mq_netlink): Call __socket instead of socket.
3555 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
3559 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
3560 __mq_timedreceive and define as alias of __mq_timedreceive. Use
3562 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
3563 define as alias of __mq_timedsend. Use hidden_weak.
3564 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
3565 __mq_timedsend as strong name.
3566 (mq_timedreceive): Use __mq_timedreceive as strong name.
3567 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
3568 (__mq_timedreceive): Likewise.
3569 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
3570 __mq_timedreceive instead of mq_timedreceive.
3571 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
3572 instead of mq_timedsend.
3573 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
3576 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
3577 hidden_def and hidden_weak instead of libc_hidden_def and
3579 (top level): Refer to hidden_def in comment.
3580 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
3581 macro. Use it instead of libc_hidden_def.
3582 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
3583 specify __GI_* name explicitly.
3584 (mq_timedreceive): Likewise.
3585 (mq_setattr): Likewise.
3588 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
3589 __pthread_barrier_init and define as weak alias of
3590 __pthread_barrier_init.
3591 * sysdeps/sparc/nptl/pthread_barrier_init.c
3592 (pthread_barrier_init): Likewise.
3593 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
3594 __pthread_barrier_wait and define as weak alias of
3595 __pthread_barrier_wait.
3596 * sysdeps/sparc/nptl/pthread_barrier_wait.c
3597 (pthread_barrier_wait): Likewise.
3598 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3599 (pthread_barrier_wait): Likewise.
3600 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
3601 (pthread_barrier_wait): Likewise.
3602 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
3603 (pthread_barrier_wait): Likewise.
3604 * nptl/Versions (libpthread): Export __pthread_barrier_init and
3605 __pthread_barrier_wait at version GLIBC_PRIVATE.
3606 * include/pthread.h (__pthread_barrier_init): Declare.
3607 (__pthread_barrier_wait): Likewise.
3608 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
3609 Call __pthread_barrier_wait instead of pthread_barrier_wait.
3610 (helper_thread): Likewise.
3611 (init_mq_netlink): Call __pthread_barrier_init instead of
3612 pthread_barrier_init.
3615 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
3616 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
3617 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
3618 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
3620 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
3624 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
3625 strong alias of _IO_fflush. Use libc_hidden_def.
3626 * libio/iofflush_u.c (fflush_unlocked): Rename to
3627 __fflush_unlocked and define as weak alias of __fflush_unlocked.
3628 Use libc_hidden_weak.
3629 * include/stdio.h (__fflush_unlocked): Declare. Use
3631 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
3633 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
3637 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
3638 define as weak alias of __addseverity.
3639 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
3641 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3642 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3643 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3646 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
3647 (__tfind): Likewise.
3648 (__tdelete): Likewise.
3649 (__twalk): Likewise.
3650 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
3651 __twalk to GLIBC_PRIVATE.
3652 * include/search.h (__tsearch): Use libc_hidden_proto.
3653 (__tfind): Likewise.
3654 (__tdelete): Likewise.
3655 (__twalk): Likewise.
3656 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
3657 Call __tdelete instead of tdelete.
3658 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
3659 tfind. Call __tsearch instead of tsearch.
3660 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
3661 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
3663 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3666 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
3667 (dprintf): Define as a weak alias of __dprintf, not a strong
3669 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
3670 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
3672 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
3674 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3675 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3678 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
3680 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
3684 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
3685 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
3686 (in6addr_loopback): Rename to __in6addr_loopback and define as
3687 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
3688 * include/netinet/in.h (__in6addr_loopback): Declare. Use
3690 (__in6addr_any): Likewise.
3691 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
3693 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
3695 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3697 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
3699 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
3700 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
3701 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3702 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3703 redirections for pow.
3704 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3705 * sysdeps/x86_64/fpu/Versions: New versions added.
3706 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3707 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3708 build of SSE, AVX2 and AVX512 IFUNC versions.
3709 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
3710 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
3711 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
3712 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3713 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3714 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3715 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3716 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3717 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3718 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3719 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3720 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3721 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3722 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3723 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3724 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3725 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3726 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3727 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3728 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3729 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3730 * NEWS: Mention addition of x86_64 vector pow.
3732 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3733 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3734 redirections for expf.
3735 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3736 * sysdeps/x86_64/fpu/Versions: New versions added.
3737 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3738 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3739 build of SSE, AVX2 and AVX512 IFUNC versions.
3740 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
3741 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
3742 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
3743 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
3744 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
3745 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
3746 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
3747 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
3748 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
3749 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
3750 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
3751 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
3752 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
3753 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3754 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3755 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3756 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3757 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3758 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3759 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3760 * NEWS: Mention addition of x86_64 vector expf.
3762 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
3763 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
3764 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3765 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3766 redirections for exp.
3767 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3768 * sysdeps/x86_64/fpu/Versions: New versions added.
3769 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3770 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3771 build of SSE, AVX2 and AVX512 IFUNC versions.
3772 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
3773 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
3774 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
3775 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
3776 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
3777 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
3778 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
3779 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
3780 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
3781 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
3782 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
3783 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
3784 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
3785 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3786 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3787 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3788 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3789 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3790 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3791 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3792 * NEWS: Mention addition of x86_64 vector exp.
3794 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3795 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3796 redirections for logf.
3797 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3798 * sysdeps/x86_64/fpu/Versions: New versions added.
3799 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3800 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3801 build of SSE, AVX2 and AVX512 IFUNC versions.
3802 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
3803 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
3804 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
3805 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
3806 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
3807 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
3808 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
3809 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
3810 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
3811 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
3812 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
3813 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
3814 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
3815 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3816 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3817 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3818 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3819 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3820 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3821 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3822 * NEWS: Mention addition of x86_64 vector logf.
3824 * bits/libm-simd-decl-stubs.h: Added stubs for log.
3825 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
3826 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3827 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3828 redirections for log.
3829 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3830 * sysdeps/x86_64/fpu/Versions: New versions added.
3831 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3832 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3833 build of SSE, AVX2 and AVX512 IFUNC versions.
3834 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
3835 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
3836 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
3837 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
3838 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
3839 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
3840 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
3841 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
3842 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
3843 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
3844 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
3845 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
3846 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
3848 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3849 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3850 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3851 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3852 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3853 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3854 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3855 * NEWS: Mention addition of x86_64 vector log.
3857 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
3859 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
3860 cfi_adjust_cfa_offset argument.
3861 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
3862 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
3865 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
3866 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
3867 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
3868 ordering using ldar.
3869 (_dl_tlsdesc_dynamic): Likewise.
3870 (_dl_tlsdesc_return_lazy): Likewise.
3871 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
3872 relaxed atomics instead of volatile and synchronize with release store.
3873 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
3875 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3877 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
3879 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3880 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
3881 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3882 * sysdeps/x86_64/fpu/Versions: New versions added.
3883 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3884 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3885 build of SSE, AVX2 and AVX512 IFUNC versions.
3886 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
3887 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
3888 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
3889 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
3890 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
3891 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
3892 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
3893 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
3894 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
3895 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
3896 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
3897 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
3898 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
3899 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3900 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3901 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3902 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3903 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3904 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3905 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3906 * NEWS: Mention addition of x86_64 vector sinf.
3908 2015-06-14 Joseph Myers <joseph@codesourcery.com>
3910 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
3911 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
3912 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
3914 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3915 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3917 2015-06-12 Joseph Myers <joseph@codesourcery.com>
3920 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
3921 strong alias of _IO_fputs. Use libc_hidden_def.
3922 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
3923 and define as weak alias of __fputs_unlocked. Use
3925 * include/stdio.h (__fputs_unlocked): Declare. Use
3927 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
3931 * resolv/netdb.h [__USE_POSIX]: Change condition to
3933 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
3935 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
3936 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
3937 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
3938 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
3939 [XPG4 || UNIX98] (AI_ALL): Likewise.
3940 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
3941 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
3942 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
3943 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
3944 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
3945 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
3946 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
3947 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
3948 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
3949 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
3950 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
3951 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
3952 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
3953 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
3954 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
3955 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3956 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3957 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
3958 [XPG4 || UNIX98] (gai_strerror): Likewise.
3959 [XPG4 || UNIX98] (getaddrinfo): Likewise.
3960 [XPG4 || UNIX98] (getnameinfo): Likewise.
3963 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
3964 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
3966 (getgrent): Likewise.
3967 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
3969 [XPG3 || POSIX2008] (endgrent): Likewise.
3970 [XPG3] (setgrent): Likewise.
3971 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
3973 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3976 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
3977 define as weak alias of __getlogin_r. Use libc_hidden_weak.
3978 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
3979 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
3980 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
3981 * include/unistd.h (__getlogin_r): Declare. Use
3983 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
3984 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
3986 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3987 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3988 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3990 2015-06-12 Martin Sebor <msebor@redhat.com>
3993 * Makerules (check-install-supported): New target.
3994 (install): Add check-install-supported as a dependency.
3995 * manual/install.texi (Installing the C Library): Document
3996 that overriding prefix and exec_prefix is not supported.
3998 * INSTALL: Regenerate from the above.
4000 2015-06-12 Joseph Myers <joseph@codesourcery.com>
4003 * posix/Versions (libc): Export __libc_pread at version
4005 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
4007 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
4012 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
4013 (cvt_symbol): Use weak_alias instead of strong_alias.
4014 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
4015 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
4017 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4018 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4021 * inet/herrno.c (h_errno): Rename to __h_errno.
4022 (__libc_h_errno): Define as alias of __h_errno not h_errno.
4023 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
4024 to __h_errno instead of h_errno.
4025 * nptl/herrno.c (h_errno): Rename to __h_errno.
4026 (__h_errno_location): Refer to __h_errno not h_errno.
4027 * resolv/Versions (h_errno): Rename to __h_errno.
4028 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
4030 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4032 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
4034 * configure.ac: More strict check for AVX512 assembler support.
4035 * configure: Regenerated.
4037 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
4038 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
4039 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4040 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
4041 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4042 * sysdeps/x86_64/fpu/Versions: New versions added.
4043 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4044 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4045 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4046 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
4047 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
4048 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
4049 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
4050 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
4051 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
4052 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
4053 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
4054 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
4055 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
4056 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
4057 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
4058 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
4060 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4061 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4062 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4063 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4064 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4065 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4066 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4067 * NEWS: Mention addition of x86_64 vector sin.
4069 2015-06-11 Florian Weimer <fweimer@redhat.com>
4071 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
4074 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
4077 * nptl/pt-interp.c: New file.
4078 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
4080 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
4081 $(common-objpfx)runtime-linker.h.
4083 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
4085 * Makeconfig (+interp): Remove unused variable.
4086 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
4087 only. Depend on $(common-objpfx)runtime-linker.h instead of
4088 $(elf-objpfx)runtime-linker.h.
4089 ($(elf-objpfx)runtime-linker.h): Rename to
4090 $(common-objpfx)runtime-linker.h and move ...
4091 * Makerules [$(build-shared) = yes]: ... here.
4092 * elf/interp.c: Include <runtime-linker.h> instead of
4093 <elf/runtime-linker.h>.
4095 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4097 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
4098 (__gettimeofday_syscall): Remove vsyscall fallback.
4099 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
4100 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
4101 Add syscall fallback function.
4102 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
4103 if vDSO is not present.
4104 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
4106 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
4108 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
4109 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4111 2015-06-09 Joseph Myers <joseph@codesourcery.com>
4114 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
4116 (wcscmp): Define as weak alias of WCSCMP.
4117 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
4119 (USE_HIDDEN_DEF): Define.
4120 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
4121 __wcscoll. Don't use libc_hidden_weak.
4122 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
4124 * sysdeps/i386/i686/multiarch/wcscmp-c.c
4125 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
4127 (weak_alias): Undefine and redefine.
4128 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
4129 __wcscmp and define as weak alias of __wcscmp.
4130 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
4131 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
4132 (__wcscoll): Likewise.
4133 (wcscmp): Don't use libc_hidden_proto.
4134 (wcscoll): Likewise.
4135 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
4137 * posix/regexec.c (check_node_accept_bytes): Likewise.
4138 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
4140 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4141 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4144 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
4145 __fstatvfs and define as weak alias of __fstatvfs. Use
4147 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
4148 and define as weak alias of __statvfs. Use libc_hidden_weak.
4149 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
4150 Define as alias of __fstatvfs, not fstatvfs.
4151 (fstatvfs64): Likewise.
4152 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
4153 Define as alias of __statvfs, not statvfs.
4154 (statvfs64): Likewise.
4155 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
4158 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4161 (HAVE_GETCPU_VSYSCALL): Define.
4162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4163 (HAVE_GETCPU_VSYSCALL): Likewise.
4164 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
4165 * sysdeps/unix/sysv/linux/sched_getcpu.c
4166 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
4167 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
4168 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
4170 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4171 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
4172 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
4173 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
4175 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
4176 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4177 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
4178 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4180 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
4182 * sysdeps/x86_64/fpu/Makefile: New file.
4183 * sysdeps/x86_64/fpu/Versions: New file.
4184 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
4185 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
4186 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
4187 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
4188 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
4189 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
4190 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
4191 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
4192 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
4193 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
4194 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
4195 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
4196 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
4197 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4198 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4199 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
4200 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
4201 * sysdeps/x86_64/configure.ac: Options for libmvec build.
4202 * sysdeps/x86_64/configure: Regenerated.
4203 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
4204 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
4205 * manual/install.texi (Configuring and compiling): Document
4207 * INSTALL: Regenerated.
4208 * NEWS: Mention addition of libmvec and x86_64 vector cos.
4210 * math/Makefile: Added rules for vector tests.
4211 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
4212 declaration under condition.
4213 * math/test-double-vlen2.h: New file.
4214 * math/test-double-vlen4.h: New file.
4215 * math/test-double-vlen8.h: New file.
4216 * math/test-vec-loop.h: Added initialization macro.
4217 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
4218 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
4219 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
4220 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
4221 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
4222 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
4223 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
4224 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
4225 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
4226 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
4227 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
4229 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4230 * sysdeps/x86_64/fpu/Versions: New versions added.
4231 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
4232 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
4233 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
4234 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
4235 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
4236 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
4237 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
4238 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
4239 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
4240 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
4241 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
4242 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
4243 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
4244 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4245 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4246 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4247 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
4248 * NEWS: Mention addition of x86_64 vector cosf.
4250 * math/Makefile: Added CFLAGS for new tests.
4251 * math/test-float-vlen16.h: New file.
4252 * math/test-float-vlen4.h: New file.
4253 * math/test-float-vlen8.h: New file.
4254 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
4255 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
4256 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4257 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
4258 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
4259 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
4260 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
4261 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
4262 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
4263 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
4264 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
4266 2015-06-09 Marko Myllynen <myllynen@redhat.com>
4268 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
4269 * locale/programs/ld-ctype.c: Likewise.
4271 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
4273 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
4274 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
4275 bit_ZMM16_31_state): New macro.
4276 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4277 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
4279 2015-06-08 Joseph Myers <joseph@codesourcery.com>
4281 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
4283 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
4285 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
4287 2015-06-05 Joseph Myers <joseph@codesourcery.com>
4290 * libio/memstream.c (open_memstream): Rename to __open_memstream
4291 and define as weak alias of __open_memstream.
4292 * include/stdio.h (__open_memstream): Declare. Use
4294 (open_memstream): Don't use libc_hidden_proto.
4295 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
4297 * posix/getopt.c (_getopt_internal_r): Likewise.
4298 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
4300 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4301 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4302 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4305 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
4309 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
4310 [__USE_XOPEN2K8]. Remove redundant #endif.
4311 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
4312 Remove redundant #if.
4313 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
4315 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4316 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4319 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
4320 (__iswlower): Likewise.
4321 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
4322 (__iswlower): Likewise.
4323 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
4324 instead of towlower.
4325 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
4326 instead of iswlower. Call __towupper instead of towupper.
4327 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
4328 instead of iswalnum.
4330 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4332 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
4335 2015-06-05 Florian Weimer <fweimer@redhat.com>
4339 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
4340 Check for overflow properly. Check for O_APPEND. Ignore large
4341 file system block sizes. Add comments about problems.
4342 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
4343 * manual/filesys.texi (Storage Allocation): New node.
4345 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4347 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
4348 cancellable syscalls.
4349 (SYS_ify): Add guard to no redefine it.
4350 (INLINE_SYSCALL): Likewise.
4351 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
4352 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
4353 SYSCALL_CANCEL instead.
4354 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
4355 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4356 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4357 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4358 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4359 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
4360 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
4361 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
4362 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4363 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4364 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
4365 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
4366 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
4367 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
4368 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
4369 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4371 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4372 (__libc_pread64): Likewise.
4373 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
4374 (__libc_preadv): Likewise.
4375 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
4376 (__libc_readv64): Likewise.
4377 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4378 (__libc_pwrite): Likewise.
4379 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4380 (__libc_pwrite64): Likewise.
4381 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
4382 (__libc_pwritev): Likewise.
4383 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
4384 (__libc_pwritev64): Likewise.
4385 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
4386 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4387 (sync_file_range): Likewise.
4388 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
4390 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
4392 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4393 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4394 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4395 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4396 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4397 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4398 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4399 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
4400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4403 (__libc_read64): Likewise.
4404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
4406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
4408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
4410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
4412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4413 (__libc_pread64): Likewise.
4414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
4416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4417 (__libc_pwrite64): Likewise.
4418 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
4419 (sync_file_range): Likewise.
4420 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
4421 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4422 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4423 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
4424 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
4425 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4426 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4427 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
4428 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
4429 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4430 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4431 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4432 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4433 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4434 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
4435 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4436 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4437 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4438 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4440 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
4442 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
4443 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
4445 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
4446 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
4447 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
4448 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
4450 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
4451 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
4452 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
4453 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
4454 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
4456 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
4458 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
4460 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
4461 Use VDSO routines for gettimeofday, clock_gettime if
4463 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
4464 Declare VDSO symbols.
4465 * sysdeps/unix/sysv/linux/arm/sysdep.h:
4466 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
4467 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4468 * sysdeps/unix/sysv/linux/arm/Versions: Add
4469 __vdso_clock_gettime.
4471 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4473 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
4474 be an inline implementation regardless of library is built within.
4475 (open_not_cancel_2): Likewise.
4476 (__read_nocancel): Likewise.
4477 (__write_nocancel): Likewise.
4478 (openat_not_cancel): Likewise.
4479 (openat_not_cancel_3): Likewise.
4480 (openat64_not_cancel): Likewise.
4481 (openat64_not_cancel_3): Likewise.
4482 (__close_nocancel): Likewise.
4483 (pause_not_cancel): Likewise.
4484 (nanosleep_not_cancel): Likewise.
4485 (sigsuspend_not_cancel): Likewise.
4487 2015-06-04 Torvald Riegel <triegel@redhat.com>
4490 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
4492 (__pthread_rwlock_rdlock_slow): Likewise.
4493 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4495 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4497 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
4498 * nptl/tst-rwlock16.c: New file.
4499 * nptl/Makefile (tests): Add new test.
4501 2015-06-04 Torvald Riegel <triegel@redhat.com>
4504 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
4505 missing wake-up of readers.
4506 * nptl/tst-rwlock15.c: New file.
4507 * nptl/Makefile (tests): Add new test.
4509 2015-06-03 Roland McGrath <roland@hack.frob.com>
4511 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
4512 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
4513 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
4514 and __nacl_supply_interface_rtld.
4515 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
4516 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
4517 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
4518 Add __nacl_supply_interface_rtld.
4519 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
4521 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
4523 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
4525 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4526 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
4528 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
4530 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
4531 __signbit* with standard C99 macros.
4532 * math/e_exp10l.c: Likewise.
4533 * math/e_exp2l.c: Likewise.
4534 * math/e_scalb.c: Likewise.
4535 * math/e_scalbf.c: Likewise.
4536 * math/e_scalbl.c: Likewise.
4537 * math/s_ldexp.c: Likewise.
4538 * math/s_ldexpf.c: Likewise.
4539 * math/s_ldexpl.c: Likewise.
4540 * math/w_atan2.c: Likewise.
4541 * math/w_atan2f.c: Likewise.
4542 * math/w_atan2l.c: Likewise.
4543 * math/w_cosh.c: Likewise.
4544 * math/w_coshf.c: Likewise.
4545 * math/w_coshl.c: Likewise.
4546 * math/w_exp10.c: Likewise.
4547 * math/w_exp10f.c: Likewise.
4548 * math/w_exp10l.c: Likewise.
4549 * math/w_exp2.c: Likewise.
4550 * math/w_exp2f.c: Likewise.
4551 * math/w_exp2l.c: Likewise.
4552 * math/w_fmod.c: Likewise.
4553 * math/w_fmodf.c: Likewise.
4554 * math/w_fmodl.c: Likewise.
4555 * math/w_hypot.c: Likewise.
4556 * math/w_hypotf.c: Likewise.
4557 * math/w_hypotl.c: Likewise.
4558 * math/w_jnl.c: Likewise.
4559 * math/w_lgamma.c: Likewise.
4560 * math/w_lgamma_r.c: Likewise.
4561 * math/w_lgammaf.c: Likewise.
4562 * math/w_lgammaf_r.c: Likewise.
4563 * math/w_lgammal.c: Likewise.
4564 * math/w_lgammal_r.c: Likewise.
4565 * math/w_pow.c: Likewise.
4566 * math/w_powf.c: Likewise.
4567 * math/w_powl.c: Likewise.
4568 * math/w_remainder.c: Likewise.
4569 * math/w_remainderf.c: Likewise.
4570 * math/w_remainderl.c: Likewise.
4571 * math/w_scalb.c: Likewise.
4572 * math/w_scalbf.c: Likewise.
4573 * math/w_scalbl.c: Likewise.
4574 * math/w_scalbln.c: Likewise.
4575 * math/w_scalblnf.c: Likewise.
4576 * math/w_scalblnl.c: Likewise.
4577 * math/w_sinh.c: Likewise.
4578 * math/w_sinhf.c: Likewise.
4579 * math/w_sinhl.c: Likewise.
4580 * math/w_tgamma.c: Likewise.
4581 * math/w_tgammaf.c: Likewise.
4582 * math/w_tgammal.c: Likewise.
4583 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4584 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
4585 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4586 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4587 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4588 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4589 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4590 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4591 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4592 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4593 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4594 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4595 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4596 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4597 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4598 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4599 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4600 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4601 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4602 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4603 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4604 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4605 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4606 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4607 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4608 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4609 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4610 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4611 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4612 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4613 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
4614 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
4615 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
4616 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
4617 * stdio-common/printf_fp.c: Likewise.
4618 * stdio-common/printf_fphex.c: Likewise.
4619 * stdio-common/printf_size.c: Likewise.
4621 2015-06-03 Joseph Myers <joseph@codesourcery.com>
4624 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
4626 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
4628 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4629 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4630 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4631 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4632 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4633 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4634 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4635 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4636 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4637 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4640 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
4641 weak alias of __wmemchr. Use libc_hidden_weak.
4642 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
4643 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
4646 2015-06-02 Roland McGrath <roland@hack.frob.com>
4649 * elf/tst-tlsalign-extern.c: New file.
4650 * elf/tst-tlsalign-extern-static.c: New file.
4651 * elf/tst-tlsalign-vars.c: New file.
4652 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
4653 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
4654 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
4655 ($(objpfx)tst-tlsalign-extern-static): Likewise.
4656 (test-xfail-tst-tlsalign-extern-static): New variable.
4658 2015-06-02 Joseph Myers <joseph@codesourcery.com>
4660 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4661 Use variable name _sc_err instead of err.
4662 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
4664 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
4665 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
4666 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
4667 (INLINE_SYSCALL): Likewise.
4669 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
4670 * include/string.h (__strnlen): Use libc_hidden_proto.
4671 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
4672 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
4673 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
4674 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
4675 (libc_hidden_def): Undefine and redefine.
4676 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
4677 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
4679 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
4681 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
4684 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
4685 weak alias of __towlower. Use libc_hidden_weak.
4686 (towupper): Rename to __towupper and define as weak alias of
4687 __towupper. Use libc_hidden_weak.
4688 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
4689 (__towupper): Likewise.
4690 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
4691 __towlower instead of towlower.
4693 2015-06-02 Roland McGrath <roland@hack.frob.com>
4695 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4696 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
4698 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
4700 * sysdeps/aarch64/libm-test-ulps: Update.
4702 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4704 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
4706 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4707 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4708 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4709 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4710 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
4711 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
4712 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4714 2015-06-01 Martin Sebor <msebor@redhat.com>
4717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4718 (__setcontext): Use extended four-operand version of mtsf whenever
4720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4721 (__novec_swapcontext): Likewise.
4723 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4725 * benchtests/scripts/compare_bench.py: New file.
4726 * benchtests/scripts/import_bench.py (mean): New function.
4727 (split_list): Likewise.
4728 (do_for_all_timings): Likewise.
4729 (compress_timings): Likewise.
4731 * benchtests/scripts/import_bench.py: New file.
4732 * benchtests/scripts/validate_benchout.py: Import import_bench
4733 instead of jsonschema.
4734 (validate_bench): Remove function.
4735 (main): Use import_bench.
4737 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
4739 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
4740 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
4742 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4746 2015-05-28 Roland McGrath <roland@hack.frob.com>
4748 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
4749 set THREAD_SELF->tid to a magic value and futex-wake it.
4750 Pass its address to the thread_exit system call.
4751 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
4753 * sysdeps/nacl/lowlevellock.h: New file.
4754 * sysdeps/nacl/lll_timedwait_tid.c: New file.
4756 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
4757 Add TIMEOUT to current time, don't subtract it.
4759 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
4763 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
4764 ($(objpfx)tst-audit2.out): Also depend on
4765 $(objpfx)tst-auditmod9b.so.
4766 * elf/tst-audit2.c: Include <dlfcn.h>.
4767 (calloc_called): New.
4768 (calloc): Allow to be called more than once.
4769 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
4771 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
4773 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
4774 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
4776 2015-05-27 Marko Myllynen <myllynen@redhat.com>
4778 * stdlib/monetary.h: Fix comment.
4780 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
4782 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
4783 Avoid using variables in #defines that might cause shadowing.
4784 (INTERNAL_VSYSCALL_CALL): Likewise.
4786 2015-05-26 Roland McGrath <roland@hack.frob.com>
4788 * sysdeps/nacl/lll_timedlock_wait.c: New file.
4790 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
4791 * nptl/lll_timedlock_wait.c: ... to this new file.
4792 * nptl/Makefile (libpthread-routines): Add it.
4793 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
4794 * nptl/lll_timedwait_tid.c: ... to this new file.
4795 * nptl/Makefile (libpthread-routines): Add it.
4796 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
4797 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
4798 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
4799 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
4800 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
4801 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
4802 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
4803 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
4804 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
4805 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
4807 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4809 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
4810 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4811 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4812 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4813 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4814 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4815 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4816 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4817 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4818 * sysdeps/unix/sysv/linux/tile/sysdep.h
4819 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4820 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
4821 using vDSO syscall macro.
4823 2015-05-26 Andriy Rysin <arysin@gmail.com>
4826 * uk_UA: Fix sorting order for Ukrainian locale
4828 2015-05-26 Marko Myllynen <myllynen@redhat.com>
4830 * stdlib/monetary.h: Fix comment.
4832 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
4835 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
4836 st_mtim and st_ctim members.
4837 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
4838 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
4839 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
4840 (struct stat64): Likewise.
4841 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
4842 (struct stat64): Likewise.
4843 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
4844 (struct stat64): Likewise.
4846 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4848 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
4849 Define and include sysdep-vdso.h.
4850 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
4852 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
4854 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
4855 Define with VDSO_SYMBOL and use PTR_MANGLE.
4856 (__vdso_clock_gettime): Likewise.
4857 (__vdso_clock_getres): Likewise.
4858 (_libc_vdso_platform_setup): Likewise.
4859 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4861 (_libc_vdso_platform_setup): Likewise.
4862 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
4864 (__vdso_clock_gettime): Likewise.
4865 (__vdso_clock_getres): Likewise.
4866 (__vdso_get_tbfreq): Likewise.
4867 (__vdso_getcpu): Likewise.
4868 (__vdso_time): Likewise.
4869 (__vdso_sigtramp_rt64): Likewise.
4870 (__vdso_signtramp32): Likewise.
4871 (__vdso_sigtramp_rt32): Likewise.
4872 (_libc_vdso_platform_setup): Likewise.
4873 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
4875 (__vdso_clock_gettime): Likewise.
4876 (__vdso_clock_getres): Likewise.
4877 (_libc_vdso_platform_setup): Likewise.
4878 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
4880 (__vdso_clock_gettime): Likewise.
4881 (_libc_vdso_platform_setup): Likewise.
4882 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4884 (__vdso_getcpu): Likewise.
4885 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
4886 Use VDSO_SYMBOL macro to define.
4887 (__vdso_clock_gettime): Likewise.
4888 (__vdso_clock_getres): Likewise.
4889 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
4891 (__vdso_clock_gettime): Likewise.
4892 (__vdso_clock_getres): Likewise.
4893 (__vdso_get_tbfreq): Likewise.
4894 (__vdso_getcpu): Likewise.
4895 (__vdso_time): Likewise.
4896 (__vdso_sigtramp_rt64): Likewise.
4897 (__vdso_signtramp32): Likewise.
4898 (__vdso_sigtramp_rt32): Likewise.
4899 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
4901 (__vdso_clock_gettime): Likewise.
4902 (__vdso_clock_getres): Likewise.
4903 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
4905 (__vdso_clock_gettime): Likewise.
4906 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4908 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
4910 (INTERNAL_VSYSCALL): Likewise.
4911 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
4913 (INTERNAL_VSYSCALL): Likewise.
4914 (INTERNAL_VSYSCALL_NCS): Likewise.
4915 (INTERNAL_VSYSCALL_CALL): New macro.
4916 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4917 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
4919 (INTERNAL_VSYSCALL): Likewise.
4920 (INTERNAL_VSYSCALL_NCS): Likewise.
4921 (INTERNAL_VSYSCALL_CALL): New macro.
4922 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4924 (INLINE_VSYSCALL): Remove macro.
4925 (INTERNAL_VSYSCALL): Remove macro.
4926 (INTERNAL_VSYSCALL_NCS): Remove macro.
4927 (INTERNAL_VSYSCALL_CALL): New macro.
4928 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
4929 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
4930 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4931 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
4932 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4934 (INLINE_VSYSCALL): Remove macro.
4935 (INTERNAL_VSYSCALL): Likewise.
4936 (INTERNAL_VSYSCALL_NCS): Likewise.
4937 (INTERNAL_VSYSCALL_CALL): New macro.
4938 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
4939 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
4940 PTR_DEMANGLE on vDSO pointer.
4941 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4942 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
4944 (INTERNAL_SYSCALL): Likewise.
4945 (INTERNAL_VSYSCALL_NCS): Remove macro.
4946 (INTERNAL_VSYSCALL_CALL): New macro.
4947 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
4949 (INTERNAL_VSYSCALL): Likewise.
4950 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
4951 sysdep-vdso.h instead of libc-vdso.h.
4952 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
4954 (INLINE_VSYSCALL): Likewise.
4955 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
4956 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
4958 (INLINE_VSYSCALL): Likewise.
4959 (INTERNAL_VSYSCALL): Likewise.
4960 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4961 * sysdeps/unix/sysv/linux/timespec_get.c
4962 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4963 (timespec_get): Use ANSI prototype.
4964 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
4965 and definition for Linux.
4967 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
4969 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
4970 * include/libc-symbols.h: libmvec_hidden_* macro series added.
4972 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
4976 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
4977 for missing DT_PLTRELSZ.
4979 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
4981 Remove obsolete aliases that broke 'locale -a'
4983 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
4984 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
4985 breaking some applications that use 'locale -a' output.
4986 Change the encoding of this file from Latin-1 to ASCII to avoid
4987 other potential problems with people grepping this file.
4989 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4991 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
4992 -fasynchronous-unwind-tables.
4993 (CFLAGS-sendto.c): Likewise.
4994 (CFLAGS-sendmsg.c): Likewise.
4995 (CFLAGS-connect.c): Likewise.
4996 (CFLAGS-recvmsg.c): Likewise.
4997 (CFLAGS-recvfrom.c): Likewise.
4998 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
4999 (SOCKETCALL): New macro: non-cancellable socketcall.
5000 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
5001 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
5002 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
5003 * sysdeps/unix/sysv/linux/accept.c: New file.
5004 * sysdeps/unix/sysv/linux/bind.c: Likewise.
5005 * sysdeps/unix/sysv/linux/connect.c: Likewise.
5006 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
5007 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
5008 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
5009 * sysdeps/unix/sysv/linux/listen.c: Likewise.
5010 * sysdeps/unix/sysv/linux/recv.c: Likewise.
5011 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
5012 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5013 * sysdeps/unix/sysv/linux/send.c: Likewise.
5014 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5015 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
5016 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
5017 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
5018 * sysdeps/unix/sysv/linux/socket.c: Likewise.
5019 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
5020 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
5022 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
5023 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5024 instead of __internal_xxx function.
5025 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
5027 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
5028 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5029 instead of __internal_xxx function.
5030 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
5032 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
5033 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5034 instead of __internal_xxx function.
5035 * sysdeps/unix/sysv/linux/accept.S: Remove file.
5036 * sysdeps/unix/sysv/linux/bind.S: Likewise.
5037 * sysdeps/unix/sysv/linux/connect.S: Likewise.
5038 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
5039 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
5040 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
5041 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
5042 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
5043 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
5044 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
5045 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
5046 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5047 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
5048 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
5049 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
5050 * sysdeps/unix/sysv/linux/listen.S: Likewise.
5051 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
5052 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
5053 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
5054 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
5055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
5056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
5057 * sysdeps/unix/sysv/linux/recv.S: Likewise.
5058 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
5059 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
5060 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
5061 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5062 * sysdeps/unix/sysv/linux/send.S: Likewise.
5063 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
5064 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
5065 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
5066 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
5067 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
5068 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
5069 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
5070 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
5071 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
5072 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
5073 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
5074 socketcall is implemented in GLIBC.
5076 2015-05-22 Joseph Myers <joseph@codesourcery.com>
5078 * soft-fp/fmadf4.c: Include <libc-internal.h>.
5079 (__fma): Ignore uninitialized warnings around packing.
5080 * soft-fp/fmasf4.c: Include <libc-internal.h>.
5081 (__fmaf): Ignore uninitialized warnings around packing.
5082 * soft-fp/fmatf4.c: Include <libc-internal.h>.
5083 (__fmal): Ignore uninitialized warnings around packing.
5085 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
5086 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5087 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
5088 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5090 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
5091 switch statement into default case.
5092 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
5094 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
5095 a conditional in forcing "inexact".
5096 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5099 2015-05-22 Roland McGrath <roland@hack.frob.com>
5101 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5102 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
5103 for each INTERNAL_SYSCALL use.
5105 2015-05-22 Joseph Myers <joseph@codesourcery.com>
5108 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
5109 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
5113 * string/basename.c (basename): Rename to __basename and define as
5114 weak alias of __basename. Use libc_hidden_weak.
5115 * include/string.h (__basename): Declare. Use libc_hidden_proto.
5116 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
5117 __basename instead of basename.
5118 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
5120 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5122 2015-05-18 Florian Weimer <fweimer@redhat.com>
5124 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
5125 (_IO_JUMPS_FILE_plus): New.
5126 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
5127 _IO_CAST_FIELD_ACCESS.
5128 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
5129 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
5130 * libio/freopen.c (freopen): Likewise.
5131 * libio/freopen64.c (freopen64): Likewise.
5132 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
5133 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
5134 * libio/iofwide.c (_IO_fwide): Likewise.
5135 * libio/memstream.c (open_memstream): Likewise.
5136 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5137 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5138 * libio/oldiopopen.c (_IO_old_popen): Likewise.
5140 2015-05-21 Joseph Myers <joseph@codesourcery.com>
5142 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
5143 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
5145 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
5146 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
5148 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
5149 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
5152 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
5155 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
5156 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
5158 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5159 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5160 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5162 2015-05-21 Florian Weimer <fweimer@redhat.com>
5164 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
5165 Adjust jump table label generation macros.
5167 2015-05-21 Florian Weimer <fweimer@redhat.com>
5169 * stdio-common/vfprintf.c (vfprintf): Move local variables
5170 args_malloced, specs, specs_malloced, and the code after
5171 do_positional to the printf_positional function.
5172 (printf_positional): New function.
5174 2015-05-21 Florian Weimer <fweimer@redhat.com>
5176 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
5178 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
5179 STEP4_TABLE, process_arg): Move macro definitions
5180 out of the vfprintf function. (Cosmetic change only.)
5182 2015-05-21 Carlos O'Donell <carlos@redhat.com>
5184 * benchtests/Makefile (stdio-common-bench): Define.
5185 (benchset): Add stdio-common-bench.
5186 * sprintf-inputs: New file.
5187 * sprintf-source.c: New file.
5189 2015-05-21 Andreas Schwab <schwab@suse.de>
5193 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
5194 of struct __res_state.
5195 * resolv/res_send.c (__libc_res_nsend): Likewise.
5196 (get_nsaddr): New function.
5197 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
5200 2015-05-20 Joseph Myers <joseph@codesourcery.com>
5202 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
5203 -D_POSIX_C_SOURCE=199506L.
5205 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
5207 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
5208 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
5209 Do not mention otherwise.
5210 [POSIX] (_XOPEN_VERSION): Do not expect.
5211 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
5212 [POSIX] (_POSIX2_C_BIND): Likewise.
5213 [POSIX] (_POSIX2_VERSION): Likewise.
5214 [POSIX] (_XOPEN_XPG2): Likewise.
5215 [POSIX] (_XOPEN_XPG3): Likewise.
5216 [POSIX] (_XOPEN_XPG4): Likewise.
5217 [POSIX] (_XOPEN_UNIX): Likewise.
5218 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
5219 [POSIX] (_POSIX_BARRIERS): Likewise.
5220 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
5221 [POSIX] (_POSIX_CPUTIME): Likewise.
5222 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
5223 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
5224 [POSIX] (_POSIX_SHELL): Likewise.
5225 [POSIX] (_POSIX_SPAWN): Likewise.
5226 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
5227 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
5228 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
5229 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
5230 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
5231 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
5232 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
5233 [POSIX] (_XBS5_LP64_OFF64): Likewise.
5234 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
5235 [POSIX] (_POSIX_TIMEOUTS): Likewise.
5236 [POSIX] (_POSIX2_PBS): Likewise.
5237 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
5238 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
5239 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
5240 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
5241 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
5242 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
5243 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
5244 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
5245 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
5246 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
5247 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
5248 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
5249 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
5250 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
5251 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
5252 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
5253 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
5254 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
5255 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
5256 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
5257 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
5258 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
5259 [POSIX] (_SC_2_C_BIND): Likewise.
5260 [POSIX] (_SC_2_C_VERSION): Likewise.
5261 [POSIX] (_SC_2_PBS): Likewise.
5262 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
5263 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
5264 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
5265 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
5266 [POSIX] (_SC_2_PBS_TRACK): Likewise.
5267 [POSIX] (_SC_ATEXIT_MAX): Likewise.
5268 [POSIX] (_SC_BARRIERS): Likewise.
5269 [POSIX] (_SC_BASE): Likewise.
5270 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
5271 [POSIX] (_SC_DEVICE_IO): Likewise.
5272 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
5273 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
5274 [POSIX] (_SC_FD_MGMT): Likewise.
5275 [POSIX] (_SC_FIFO): Likewise.
5276 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
5277 [POSIX] (_SC_FILE_LOCKING): Likewise.
5278 [POSIX] (_SC_FILE_SYSTEM): Likewise.
5279 [POSIX] (_SC_IOV_MAX): Likewise.
5280 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
5281 [POSIX] (_SC_NETWORKING): Likewise.
5282 [POSIX] (_SC_PAGE_SIZE): Likewise.
5283 [POSIX] (_SC_PASS_MAX): Likewise.
5284 [POSIX] (_SC_PIPE): Likewise.
5285 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
5286 [POSIX] (_SC_REGEXP): Likewise.
5287 [POSIX] (_SC_SHELL): Likewise.
5288 [POSIX] (_SC_SIGNALS): Likewise.
5289 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
5290 [POSIX] (_SC_SPIN_LOCKS): Likewise.
5291 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
5292 [POSIX] (_SC_USER_GROUPS): Likewise.
5293 [POSIX] (_SC_USER_GROUPS_R): Likewise.
5294 [POSIX] (_SC_STREAMS): Likewise.
5295 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
5296 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
5297 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
5298 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
5299 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
5300 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
5301 [POSIX] (_PC_FILESIZEBITS): Likewise.
5302 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
5303 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
5304 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
5305 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
5306 [POSIX] (uid_t): Likewise.
5307 [POSIX] (gid_t): Likewise.
5308 [POSIX] (off_t): Likewise.
5309 [POSIX] (pid_t): Likewise.
5310 [POSIX] (cuserid): Allow.
5311 (_SC_2_CHAR_TERM): Require constant.
5312 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
5313 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
5316 2015-05-20 Roland McGrath <roland@hack.frob.com>
5318 * sysdeps/nacl/pthread-pids.h: New file.
5319 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
5320 (create_thread): Use __nacl_get_tid to initialize PD->tid.
5322 * nptl/pthread-pids.h: New file.
5323 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
5324 * nptl/nptl-init.c: Include <pthread-pids.h>.
5325 (__pthread_initialize_minimal_internal):
5326 Call __pthread_initialize_pids instead of set_tid_address syscall.
5328 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
5329 * sysdeps/posix/usleep.c: ... here.
5331 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5333 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
5334 call_pselect6 object.
5335 [$(subdir) = io]: Remove call_sync_file_range object.
5336 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
5337 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
5338 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
5339 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
5341 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
5343 * math/s_cproj.c: Add include "math_private.h".
5344 * math/s_cprojf.c: Likewise.
5345 * math/s_cprojl.c: Likewise.
5347 2015-05-19 Joseph Myers <joseph@codesourcery.com>
5350 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
5351 high mantissa bit when testing whether P is a NaN.
5352 * math/libm-test.inc (remainder_test_data): Add more tests.
5353 (remquo_test_data): Likewise.
5356 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
5357 below -32, return the argument, with underflow if subnormal.
5358 * math/auto-libm-test-in: Add more tests of atanh.
5359 * math/auto-libm-test-out: Regenerated.
5361 2015-05-19 Roland McGrath <roland@hack.frob.com>
5364 * nptl/tst-sem15.c: New file.
5365 * nptl/Makefile (tests): Add it.
5366 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
5367 s/<</>>/ to fix typo in EOVERFLOW check.
5368 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
5370 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5372 * manual/strings.texi (envz_remove): Fix typo in safety
5375 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
5376 Steve Ellcey <sellcey@imgtec.com>
5378 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
5379 in order to avoid strict alias warnings.
5380 (iruserok_af): Ditto for ra.
5382 2015-05-19 James Lemke <jwlemke@codesourcery.com>
5386 (magicbyte): Convert to a function and avoid returning 0x01.
5387 (mem2mem_check): Avoid using a length byte equal to the magic byte.
5388 (mem2chunk_check): Fix unsigned comparisons to zero.
5389 Hoist defs of sz and magic.
5391 2015-05-19 Richard Henderson <rth@redhat.com>
5393 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
5395 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5397 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5400 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
5401 * malloc/arena.c (arena_lock): Check if arena is corrupt.
5402 (reused_arena): Find a non-corrupt arena.
5403 (heap_trim): Pass arena to unlink.
5404 * malloc/hooks.c (malloc_check_get_size): Pass arena to
5406 (top_check): Likewise.
5407 (free_check): Likewise.
5408 (realloc_check): Likewise.
5409 * malloc/malloc.c (malloc_printerr): Add arena argument.
5411 (munmap_chunk): Adjust.
5412 (ARENA_CORRUPTION_BIT): New macro.
5413 (arena_is_corrupt): Likewise.
5414 (set_arena_corrupt): Likewise.
5415 (sysmalloc): Use mmap if there are no usable arenas.
5416 (_int_malloc): Likewise.
5417 (__libc_malloc): Don't fail if arena_get returns NULL.
5418 (_mid_memalign): Likewise.
5419 (__libc_calloc): Likewise.
5420 (__libc_realloc): Adjust for additional argument to
5422 (_int_free): Likewise.
5423 (malloc_consolidate): Likewise.
5424 (_int_realloc): Likewise.
5425 (_int_memalign): Don't touch corrupt arenas.
5426 * malloc/tst-malloc-backtrace.c: New test case.
5428 * Makefile (summarize-tests): Fix return value on success.
5430 * manual/string.texi (Envz Functions): Add envz_remove.
5432 2015-05-18 Roland McGrath <roland@hack.frob.com>
5434 * sysdeps/posix/opendir.c: Include <stdbool.h>.
5435 (invalid_name): New function, broken out of ...
5436 (__opendirat): ... here. Call it.
5437 (need_isdir_precheck): New function, broken out of ...
5438 (__opendirat): ... here. Call it.
5439 Use __fxstatat64, not __xstatat64.
5440 (opendir_oflags): New function, broken out of ...
5441 (__opendirat): ... here. Call it.
5442 (opendir_tail): New function, broken out of ...
5443 (__opendirat): ... here. Call it.
5444 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
5445 opendir_tail, rather than punting to __opendirat.
5446 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
5448 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5450 * .gitignore: Ignore generated *.pyc.
5452 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
5454 * include/stdio.h: Define __need_wint_t.
5455 * test-skeleton.c: Avoid `for' loop initial declaration.
5456 * nptl/tst-initializers1.c: Use test-skeleton.c.
5458 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5461 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
5463 2015-05-15 Joseph Myers <joseph@codesourcery.com>
5466 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
5467 (__ieee754_atanh): Force underflow exception for results with
5468 small absolute value.
5469 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
5470 (__ieee754_atanhf): Force underflow exception for results with
5471 small absolute value.
5472 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
5473 (__ieee754_atanh): Force underflow exception for results with
5474 small absolute value.
5475 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
5476 (__ieee754_atanhf): Force underflow exception for results with
5477 small absolute value.
5478 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
5479 (__ieee754_atanhl): Force underflow exception for results with
5480 small absolute value.
5481 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
5482 (__ieee754_atanhl): Force underflow exception for results with
5483 small absolute value.
5484 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
5485 (__ieee754_atanhl): Force underflow exception for results with
5486 small absolute value.
5487 * math/auto-libm-test-in: Do not allow missing underflow
5488 exceptions from atanh.
5489 * math/auto-libm-test-out: Regenerated.
5492 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
5493 2**-28 as threshold for returning x or +/- 1/x.
5494 * math/auto-libm-test-in: Add more tests of tan.
5495 * math/auto-libm-test-out: Regenerated.
5498 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5499 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
5500 * math/auto-libm-test-in: Add another test of lgamma.
5501 * math/auto-libm-test-out: Regenerated.
5503 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
5505 * stdio-common/printf_fp.c (___printf_fp): Use abs.
5506 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
5507 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
5508 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
5509 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
5510 (ADD2A): Use fabs. (SUB2A): Use fabs.
5511 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
5512 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
5513 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
5514 (log1): Use fabs. (my_log2): Use fabs.
5515 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
5516 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
5517 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
5518 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
5519 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
5520 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
5521 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
5522 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
5523 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
5524 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
5525 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
5527 2015-05-15 Joseph Myers <joseph@codesourcery.com>
5530 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
5531 as threshold for returning 1 - x.
5532 * math/auto-libm-test-in: Add more tests of erfc.
5533 * math/auto-libm-test-out: Regenerated.
5535 2015-05-14 Joseph Myers <joseph@codesourcery.com>
5538 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
5539 threshold for large arguments.
5540 * math/auto-libm-test-in: Add another test of atan.
5541 * math/auto-libm-test-out: Regenerated.
5544 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
5545 (__log1p): Force underflow exception for results with small
5547 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
5548 (__log1pf): Force underflow exception for results with small
5550 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
5551 (__log1p): Force underflow exception for results with small
5553 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
5554 (__log1pf): Force underflow exception for results with small
5556 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
5557 (__log1pl): Force underflow exception for results with small
5559 * math/auto-libm-test-in: Do not allow missing underflow
5560 exceptions from log1p.
5561 * math/auto-libm-test-out: Regenerated.
5563 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
5564 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5567 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
5569 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
5571 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
5572 (libmvec): New variable.
5573 * configure.ac: Added option for mathvec build.
5574 * configure: Regenerated.
5575 * mathvec/Depend: New file.
5576 * mathvec/Makefile: New file.
5577 * shlib-versions: Added libmvec.
5578 * math/Makefile: Added rule for libm.so installation.
5580 * bits/math-vector.h: New file.
5581 * bits/libm-simd-decl-stubs.h: New header.
5582 * math/Makefile (headers): Added new header
5583 libm-simd-decl-stubs.h.
5584 * math/math.h (__MATHCALL_VEC): New macro.
5586 * math/gen-libm-have-vector-test.sh: Script generates series of macros
5587 for conditions in testing functions.
5588 * math/Makefile: Added call of libm-have-vector-test.sh.
5589 * math/libm-test.inc (HAVE_VECTOR): New macros.
5591 * math/libm-test.inc: START refactored.
5592 * math/test-double.c (TEST_MATHVEC): Add define.
5593 * math/test-float.c: Likewise.
5594 * math/test-idouble.c: Likewise.
5595 * math/test-ifloat.c: Likewise.
5596 * math/test-ildoubl.c: Likewise.
5597 * math/test-ldouble.c: Likewise.
5598 * sysdeps/generic/math-tests-arch.h
5599 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
5602 * math/test-double.c (FUNC_TEST): New macro.
5603 * math/test-float.c: Likewise.
5604 * math/test-idouble.c: Likewise.
5605 * math/test-ifloat.c: Likewise.
5606 * math/test-ildoubl.c: Likewise.
5607 * math/test-ldouble.c: Likewise.
5608 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
5610 2015-05-13 Roland McGrath <roland@hack.frob.com>
5612 * sysdeps/nacl/fdopendir.c: New file.
5614 * dirent/scandir-tail.c: New file.
5615 * dirent/scandir64-tail.c: New file.
5616 * dirent/Makefile (routines): Add them.
5617 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
5618 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
5619 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
5620 [!SCANDIR] (SCANDIR_TAIL): New macro.
5621 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
5622 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
5623 (SCANDIRAT): Macro removed.
5624 (SCANDIR_TAIL): New macro.
5625 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
5626 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
5627 (SCANDIRAT): Just call __opendirat and __scandir_tail.
5628 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
5629 (READDIR): Macro removed.
5630 (SCANDIR_TAIL): New macro.
5631 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
5632 (SCANDIR_TAIL): New macro.
5634 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
5635 * dirent/scandir-cancel.c: ... to this new file.
5636 * dirent/Makefile (routines): Add it.
5637 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
5638 * sysdeps/unix/sysv/linux/i386/scandir64.c
5639 (SKIP_SCANDIR_CANCEL): Macro removed.
5640 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
5642 * dirent/tst-scandir.c: New file.
5643 * dirent/tst-scandir64.c: New file.
5644 * dirent/Makefile (tests): Add them.
5646 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
5649 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
5651 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
5653 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
5656 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
5658 * benchtests/bench-strcoll.c: New benchmark.
5659 * benchtests/Makefile: Generate locales and run benchmark.
5660 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
5661 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5662 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
5663 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
5664 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
5665 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
5666 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
5667 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
5668 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
5669 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
5670 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
5671 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
5672 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
5673 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
5674 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
5675 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
5676 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
5677 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
5678 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
5679 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
5680 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
5681 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
5682 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
5683 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
5685 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
5687 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
5688 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5690 2015-05-12 Roland McGrath <roland@hack.frob.com>
5692 * posix/uname-values.h: New file.
5693 * posix/uname.c: Include that instead of <config-name.h>.
5694 * sysdeps/nacl/uname-values.h: New file.
5695 * sysdeps/arm/nacl/uname-values.h: New file.
5697 2015-05-12 Joseph Myers <joseph@codesourcery.com>
5699 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
5700 splitting into fields.
5702 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
5704 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
5705 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
5706 * locale/localeinfo.h: Add enum collation_encoding_type.
5707 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
5708 * programs/ld-collate.c (collate_output): Add encoding type info.
5709 * string/strcoll_l.c (STRDIFF): New function.
5710 * (STRCOLL): Use STRDIFF to skip over equal prefix.
5711 * wcsmbs/wcscoll_l.c: Define STRDIFF.
5713 2015-05-11 Joseph Myers <joseph@codesourcery.com>
5716 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5717 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
5718 <fpu_control.h> instead of <math/fpu_control.c>.
5719 * sysdeps/mips/mips32/fpu/Makefile: New file.
5721 2015-05-11 Andreas Schwab <schwab@suse.de>
5724 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5726 (_nss_compat_endgrent): Call nss_endgrent.
5727 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5729 (_nss_compat_endpwent): Call nss_endpwent.
5730 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
5731 needent, call nss_setspent only if non-zero.
5732 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
5733 (internal_endspent): Don't call nss_endspent.
5734 (_nss_compat_endspent): Call nss_endspent.
5735 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
5736 Remove. All uses removed.
5737 (internal_setent): Remove parameter stayopen, add parameter
5738 stream. Use it instead of global variable.
5739 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
5740 (internal_endent, internal_getent): Add parameter stream. Use it
5741 instead of global variable.
5742 (CONCAT(_nss_files_end,ENTNAME))
5743 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
5744 (_nss_files_get##name##_r): Pass local stream. Remove locking.
5745 * nss/nss_files/files-alias.c (position, last_use): Remove. All
5747 (internal_setent, internal_endent): Add parameter stream. Use it
5748 instead of global variable.
5749 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
5751 (get_next_alias): Add parameter stream.
5752 (_nss_files_getaliasent_r): Pass global stream.
5753 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
5754 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
5755 (_nss_files_gethostbyname4_r): Pass local stream to
5756 internal_setent, internal_getent and internal_endent. Remove
5759 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5761 * tst-strfmon1.c (tests): Update expected currency symbol.
5763 2015-05-08 Roland McGrath <roland@hack.frob.com>
5765 * sysdeps/nacl/gethostname.c: New file.
5767 2015-05-08 Joseph Myers <joseph@codesourcery.com>
5769 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
5771 * math/auto-libm-test-out: Regenerated.
5772 * sysdeps/i386/fpu/libm-test-ulps: Update.
5773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5775 2015-05-08 Carlos O'Donell <carlos@redhat.com>
5778 * stdlib/tst-setcontext3.c: New file.
5779 * stdlib/tst-setcontext3.sh: New file.
5780 * stdlib/Makefile (tests): Add tst-setcontext3.
5781 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
5782 to verify test program created output file.
5783 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
5784 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
5785 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
5786 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
5788 2015-05-06 Roland McGrath <roland@hack.frob.com>
5791 * elf/tst-tlsalign.c: New file.
5792 * elf/tst-tlsalign-static.c: New file.
5793 * elf/tst-tlsalign-lib.c: New file.
5794 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
5795 (tests-static): Add tst-tlsalign-static.
5796 (modules-names): Add tst-tlsalign-lib.
5797 (test-xfail-tst-tlsalign): New variable.
5798 (test-xfail-tst-tlsalign-static): New variable.
5800 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
5801 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
5803 2015-05-06 Joseph Myers <joseph@codesourcery.com>
5805 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
5806 csqrt, erfc, sin and sincos.
5807 * math/auto-libm-test-out: Regenerated.
5808 * sysdeps/i386/fpu/libm-test-ulps: Update.
5809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5811 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
5813 * sysdeps/aarch64/libm-test-ulps: Update.
5815 2015-05-05 Joseph Myers <joseph@codesourcery.com>
5817 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
5818 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
5819 * math/auto-libm-test-out: Regenerated.
5820 * sysdeps/i386/fpu/libm-test-ulps: Update.
5821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5823 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
5826 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
5827 (wcsncpy): Likewise.
5829 2015-05-05 Florian Weimer <fweimer@redhat.com>
5831 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5832 Assume __ASSUME_FALLOCATE is always true.
5833 * sysdeps/unix/sysv/linux/posix_fallocate64.c
5834 (__posix_fallocate64_l64): Likweise.
5835 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
5836 (posix_fallocate): Likewise.
5837 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
5838 (__posix_fallocate64_l64): Likewise.
5839 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5840 [!__ASSUME_FALLOCATE]: Add comment.
5842 2015-05-05 Florian Weimer <fweimer@redhat.com>
5844 * sysdeps/unix/sysv/linux/i386/Makefile
5845 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
5846 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
5847 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
5848 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5849 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5850 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
5851 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
5853 2015-05-02 Joseph Myers <joseph@codesourcery.com>
5855 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
5856 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
5858 * math/auto-libm-test-out: Regenerated.
5859 * sysdeps/i386/fpu/libm-test-ulps: Update.
5860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5862 2015-05-01 Joseph Myers <joseph@codesourcery.com>
5864 * math/auto-libm-test-in: Add more tests of tgamma.
5865 * math/auto-libm-test-out: Regenerated.
5866 * sysdeps/i386/fpu/libm-test-ulps: Update.
5867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5869 * math/auto-libm-test-in: Add more tests of tanh.
5870 * math/auto-libm-test-out: Regenerated.
5871 * sysdeps/i386/fpu/libm-test-ulps: Update.
5872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5874 * math/auto-libm-test-in: Add more tests of tan.
5875 * math/auto-libm-test-out: Regenerated.
5876 * sysdeps/i386/fpu/libm-test-ulps: Update.
5877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5879 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
5880 * math/auto-libm-test-out: Regenerated.
5881 * sysdeps/i386/fpu/libm-test-ulps: Update.
5882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5884 * math/auto-libm-test-in: Add another test of pow.
5885 * math/auto-libm-test-out: Regenerated.
5886 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5888 * math/auto-libm-test-in: Add more tests of lgamma.
5889 * math/auto-libm-test-out: Regenerated.
5890 * sysdeps/i386/fpu/libm-test-ulps: Update.
5891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5893 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
5895 * math/auto-libm-test-out: Regenerated.
5896 * sysdeps/i386/fpu/libm-test-ulps: Update.
5897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5899 2015-05-01 Mark Wielaard <mjw@redhat.com>
5901 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
5902 Elf64_Chdr structs and ELFCOMPRESS constants.
5904 2015-05-01 Joseph Myers <joseph@codesourcery.com>
5906 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
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 more tests of erf and erfc.
5913 * math/auto-libm-test-out: Regenerated.
5914 * sysdeps/i386/fpu/libm-test-ulps: Update.
5915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5917 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
5919 * config.h.in (HAVE_AARCH64_BE): Add.
5921 2015-04-30 Joseph Myers <joseph@codesourcery.com>
5923 * math/auto-libm-test-in: Add more tests of csqrt.
5924 * math/auto-libm-test-out: Regenerated.
5925 * sysdeps/i386/fpu/libm-test-ulps: Update.
5926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5928 * math/auto-libm-test-in: Add more tests of cosh and sinh.
5929 * math/auto-libm-test-out: Regenerated.
5930 * sysdeps/i386/fpu/libm-test-ulps: Update.
5931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5933 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
5935 2015-04-29 Roland McGrath <roland@hack.frob.com>
5937 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
5938 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
5940 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
5941 (euidaccess, eaccess): Define as weak aliases.
5943 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
5944 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
5945 but __suseconds_t is often 'long int' so some sources assume that
5946 type is being used (e.g. they use %ld to print tv_usec).
5948 2015-04-29 Florian Weimer <fweimer@redhat.com>
5951 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
5953 * nss/tst-nss-getpwent.c: New file.
5954 * nss/Makefile (tests): Add new test.
5956 2015-04-28 Joseph Myers <joseph@codesourcery.com>
5959 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
5960 exponents less than 48 as cases where high part of mantissa needs
5961 examining to determine whether argument is integral.
5962 * math/libm-test.inc (round_test_data): Add more tests.
5964 2015-04-28 Mark Wielaard <mjw@redhat.com>
5966 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
5968 2015-04-27 David S. Miller <davem@davemloft.net>
5970 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
5972 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5974 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
5977 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
5979 2015-04-27 Florian Weimer <fweimer@redhat.com>
5982 * time/tzset.c (parse_tzname): Return error on memory allocation
5984 * test-skeleton.c (struct temp_name_list): Change type of name
5985 member to non-const.
5986 (add_temp_file): Create a copy of the file name.
5987 (delete_temp_files): Deallocate memory.
5988 (create_temp_file): Add comment.
5990 2015-04-24 Florian Weimer <fweimer@redhat.com>
5992 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
5993 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
5995 2015-04-24 Roland McGrath <roland@hack.frob.com>
5997 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
5998 * sysdeps/arm/configure: Regenerated.
6000 2015-04-24 Florian Weimer <fweimer@redhat.com>
6003 * time/tzfile.c (__tzfile_read): Check for large values of
6004 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
6005 * time/tzset.c (__tzstring_len): New function, based on the old
6006 __tzstring function.
6007 (__tzstring): Call __tzstring_len.
6008 (parse_tzname): New helper function extracted from
6009 __tzset_parse_tz. Call __tzstring_len, without making a copy of
6011 (parse_offset): New helper function extracted from
6012 __tzset_parse_tz. Replace switch with fallthrough with
6013 initialization before sscanf.
6014 (parse_rule): Likewise.
6015 (__tzset_parse_tz): Rewrite using the new helper functions. Use
6016 new-style function definition.
6017 * timezone/Makefile (tests): Add tst-tzset.
6018 (tst-tzset.out): Dependencies on time zone files.
6019 (tst-tzset-ENV): Set TZDIR.
6020 (testdata/XT%): Copy crafted time zone files.
6021 * timezone/README: Mention crafted time zone files.
6022 * timezone/testdata/XT1, timezone/testdata/XT2,
6023 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
6025 * timezone/tst-tzset.c: New test.
6027 2015-04-24 Florian Weimer <fweimer@redhat.com>
6029 * Makeconfig (+gccwarn): Remove -Winline.
6031 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6033 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
6035 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6037 * NEWS: Mention sysconf() cache information support for s390.
6038 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
6040 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
6042 * math/k_casinh.c (__kernel_casinh): Use __copysign.
6043 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
6044 (__nearbyint): Likewise.
6045 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
6046 (copysignl): Likewise.
6048 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
6051 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
6052 based on padding. (CVE-2015-1781)
6054 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6056 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
6058 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
6059 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
6060 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
6061 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6062 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6063 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
6064 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
6065 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6066 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6067 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
6068 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
6069 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6070 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6071 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
6072 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6073 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
6074 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
6075 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
6076 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
6077 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
6078 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
6079 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
6080 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
6082 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
6084 * stdlib/setenv.c (__add_to_environ):
6085 Dump core quickly if setenv (..., NULL, ...) is called.
6086 This time, do it the right way, and pacify GCC with a pragma.
6088 2015-04-17 Roland McGrath <roland@hack.frob.com>
6090 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
6091 IMAP->l_prev cannot be null, and #if out the code for the contrary
6092 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
6093 believe that NS (&_dl_ns[NSID]) could point outside the array.
6095 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
6096 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
6097 before using NSID as an index.
6099 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
6102 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
6103 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6104 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6106 2015-04-17 Roland McGrath <roland@hack.frob.com>
6108 Add preliminary port to Google Native Client on ARM.
6109 * abi-tags (.*-.*-nacl.*): New entry.
6110 * sysdeps/arm/nacl: New directory.
6111 * sysdeps/nacl: New directory.
6113 2015-04-16 David S. Miller <davem@davemloft.net>
6115 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
6116 lowlevellock-futex.h
6118 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
6120 * sysdeps/tile/configure.ac: New file.
6121 * sysdeps/tile/configure: Regenerated.
6123 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6125 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
6126 conditionals for weak_alias and libc_hidden_weak.
6127 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
6128 libc_hidden_weak and weak_alias.
6129 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
6130 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
6131 and weak_alias for static one.
6133 2015-04-15 David S. Miller <davem@davemloft.net>
6135 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6137 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6140 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
6141 Use signed comparision instead of substraction to avoid
6143 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
6144 Take the sign of ret.
6145 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
6146 Do not expect precise return values. Only the sign matters.
6147 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
6148 * wcsmbs/test-wcsncmp.c: New File.
6149 * string/test-strncmp.c: Add wcsncmp support.
6151 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6154 * math/w_log1p.c: New file.
6155 * math/w_log1pf.c: Likewise.
6156 * math/w_log1pl.c: Likewise.
6157 * math/Makefile (libm-calls): Add w_log1p.
6158 * math/s_log1pl.c (log1pl): Remove weak_alias.
6159 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
6160 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
6161 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
6162 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
6163 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
6164 [NO_LONG_DOUBLE] (log1pl): Likewise.
6165 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
6166 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
6167 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
6168 (log1p): Remove long_double_symbol.
6169 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
6170 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
6171 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
6172 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
6173 remove weak_alias for corresponding log1p function.
6174 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
6175 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
6176 * sysdeps/ia64/fpu/w_log1p.c: New file.
6177 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
6178 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
6179 * math/libm-test.inc (log1p_test_data): Add errno expectations.
6181 2015-04-10 Joseph Myers <joseph@codesourcery.com>
6184 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
6185 decimal exponent by 1.
6186 * stdlib/tst-strtod-round-data: Add more tests.
6187 * stdlib/tst-strtod-round.c (tests): Regenerated.
6189 2015-04-09 Joseph Myers <joseph@codesourcery.com>
6191 * math/auto-libm-test-in: Add more tests of clog and clog10.
6192 * math/auto-libm-test-out: Regenerated.
6193 * sysdeps/i386/fpu/libm-test-ulps: Update.
6194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6196 2015-04-09 Roland McGrath <roland@hack.frob.com>
6198 * Makeconfig (module-cppflags): Exclude all .v.i files.
6199 (skip-module-cppflags): Variable removed.
6201 * configure.ac (libc_config_ok): Initialize before reading
6202 preconfigure scripts, not after.
6203 * configure: Regenerated.
6205 * test-skeleton.c (TIMEOUT): Move #define to top level.
6206 (main): Grok environment variable TEST_DIRECT. If set, print
6207 test expectation details into that file and then behave as if
6210 2015-04-09 Florian Weimer <fweimer@redhat.com>
6212 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
6215 2015-04-08 David S. Miller <davem@davemloft.net>
6217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6219 2015-04-08 Joseph Myers <joseph@codesourcery.com>
6221 * math/auto-libm-test-in: Add more tests of atanh.
6222 * math/auto-libm-test-out: Regenerated.
6223 * sysdeps/i386/fpu/libm-test-ulps: Update.
6224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6226 * math/auto-libm-test-in: Add more tests of atan.
6227 * math/auto-libm-test-out: Regenerated.
6228 * sysdeps/i386/fpu/libm-test-ulps: Update.
6229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6231 2015-04-08 Florian Weimer <fweimer@redhat.com>
6233 * elf/pldd.c (main): Rewrite to use struct
6234 scratch_buffer instead of extend_alloca.
6235 * elf/pldd-xx.c (find_maps): Likewise.
6236 * grp/initgroups.c: Include <scratch_buffer.h> instead of
6238 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
6239 scratch_buffer instead of extend_alloca.
6240 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
6241 grp/compat-initgroups.c.
6242 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
6243 Rewrite to use struct scratch_buffer instead of extend_alloca.
6244 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
6245 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6247 2015-04-08 Joseph Myers <joseph@codesourcery.com>
6249 * math/auto-libm-test-in: Add more tests of cbrt.
6250 * math/auto-libm-test-out: Regenerated.
6251 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6253 * math/auto-libm-test-in: Add more tests of cabs.
6254 * math/auto-libm-test-out: Regenerated.
6255 * sysdeps/i386/fpu/libm-test-ulps: Update.
6256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6260 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
6261 (__ieee754_atan2): Set FE_TONEAREST mode for internal
6263 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
6265 * math/auto-libm-test-out: Regenerated.
6266 * sysdeps/i386/fpu/libm-test-ulps: Update.
6267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6270 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
6271 (atan): Set FE_TONEAREST mode for internal computations.
6272 * math/auto-libm-test-in: Add more tests of atan.
6273 * math/auto-libm-test-out: Regenerated.
6275 2015-04-07 James Cowgill <james410@cowgill.org.uk>
6278 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
6280 2015-04-07 Florian Weimer <fweimer@redhat.com>
6282 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
6284 2015-04-07 Florian Weimer <fweimer@redhat.com>
6286 * include/scratch_buffer.h: New file.
6287 * malloc/scratch_buffer_grow.c: Likewise.
6288 * malloc/scratch_buffer_grow_preserve.c: Likewise.
6289 * malloc/scratch_buffer_set_array_size.c: Likewise.
6290 * malloc/tst-scratch_buffer.c: Likewise.
6291 * malloc/Makefile (routines): Add scratch_buffer_grow.
6292 (tests): Add test case.
6293 * malloc/Versions (GLIBC_PRIVATE): Export
6294 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
6295 __libc_scratch_buffer_set_array_size.
6297 2015-04-06 Richard Henderson <rth@redhat.com>
6299 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
6300 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6302 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
6303 unsigned int before printing.
6305 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6308 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
6309 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6311 2015-04-02 Florian Weimer <fweimer@redhat.com>
6313 * include/libc-internal.h (libc_max_align_t): Define.
6315 2015-04-02 Andreas Schwab <schwab@suse.de>
6318 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
6320 2015-04-02 Mel Gorman <mgorman@suse.de>
6323 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
6324 as well as the main arena.
6326 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
6329 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
6330 sharing L2 cache to 2 for Silvermont/Knights Landing.
6332 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
6335 * config.make.in (have-protected-data): New.
6336 * configure.ac: Check linker support for protected data symbol.
6337 * configure: Regenerated.
6338 * elf/Makefile (modules-names): Add tst-protected1moda and
6339 tst-protected1modb if $(have-protected-data) is yes.
6340 (tests): Add tst-protected1a and tst-protected1b if
6341 $(have-protected-data) is yes.
6342 ($(objpfx)tst-protected1a): New.
6343 ($(objpfx)tst-protected1b): Likewise.
6344 (tst-protected1modb.so-no-z-defs): Likewise.
6345 * elf/tst-protected1a.c: New file.
6346 * elf/tst-protected1b.c: Likewise.
6347 * elf/tst-protected1mod.h: Likewise.
6348 * elf/tst-protected1moda.c: Likewise.
6349 * elf/tst-protected1modb.c: Likewise.
6351 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
6354 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
6355 indicates it is called from do_lookup_x on relocation against
6356 protected data, skip the data definion in the executable from
6358 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
6359 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
6360 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
6361 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
6362 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
6364 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6365 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
6366 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
6367 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6368 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
6369 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
6371 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
6373 * sysdeps/nptl/pthread.h: Remove duplicate definition of
6374 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
6376 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
6378 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
6380 * sysdeps/x86_64/nptl/tls.h: Ditto.
6382 2015-03-27 Roland McGrath <roland@hack.frob.com>
6384 * dlfcn/tststatic.c (main): Converted to ...
6385 (do_test): ... this.
6386 (TEST_FUNCTION): New macro.
6387 Include test-skeleton.c.
6389 2015-03-26 Alan Modra <amodra@gmail.com>
6391 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
6392 Don't segfault if ifunc resolver returns a NULL. Do set plt to
6393 zero for undefined weak.
6394 (elf_machine_plt_conflict): Similarly.
6396 2015-03-25 Joseph Myers <joseph@codesourcery.com>
6398 * math/auto-libm-test-in: Add more tests of acosh, asinh and
6400 * math/auto-libm-test-out: Regenerated.
6401 * sysdeps/i386/fpu/libm-test-ulps: Update.
6402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6404 * math/auto-libm-test-in: Add another test of asin.
6405 * math/auto-libm-test-out: Regenerated.
6406 * sysdeps/i386/fpu/libm-test-ulps: Update.
6407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6409 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
6411 (LLL_EBX_REG): Likewise.
6412 (LLL_ENTER_KERNEL): Likewise.
6414 * math/auto-libm-test-in: Add more tests of asin.
6415 * math/auto-libm-test-out: Regenerated.
6416 * sysdeps/i386/fpu/libm-test-ulps: Update.
6417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6420 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
6421 libc_do_syscall_args): New structure.
6422 (INTERNAL_SYSCALL_MAIN_0): New macro.
6423 (INTERNAL_SYSCALL_MAIN_1): Likewise.
6424 (INTERNAL_SYSCALL_MAIN_2): Likewise.
6425 (INTERNAL_SYSCALL_MAIN_3): Likewise.
6426 (INTERNAL_SYSCALL_MAIN_4): Likewise.
6427 (INTERNAL_SYSCALL_MAIN_5): Likewise.
6428 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
6429 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
6430 Replace conditional definitions by conditional definitions of ....
6431 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
6432 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
6433 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
6434 (libpthread-sysdep_routines): Add libc-do-syscall.
6435 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
6436 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
6437 to __NR_futex not 240.
6439 2015-03-25 Alan Modra <amodra@gmail.com>
6441 * NEWS: Advertise TLS optimization.
6442 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
6443 (DT_PPC_NUM): Increment.
6444 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
6445 (CHECK_STATIC_TLS): Use here.
6446 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
6448 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6449 * sysdeps/powerpc/dl-tls.c: New file.
6450 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
6451 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
6452 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
6453 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
6454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
6455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6458 2015-03-25 Alan Modra <amodra@gmail.com>
6460 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
6461 for overlapping .opd entries" to "support...".
6462 * sysdeps/powerpc/powerpc64/configure: Regenerate
6464 2015-03-25 Joseph Myers <joseph@codesourcery.com>
6466 * math/auto-libm-test-in: Add more tests of acos.
6467 * math/auto-libm-test-out: Regenerated.
6468 * sysdeps/i386/fpu/libm-test-ulps: Update.
6469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6471 * math/auto-libm-test-in: Add more tests of expm1.
6472 * math/auto-libm-test-out: Regenerated.
6473 * sysdeps/i386/fpu/libm-test-ulps: Update.
6474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6476 2015-03-24 Joseph Myers <joseph@codesourcery.com>
6478 * math/auto-libm-test-in: Add more tests of cosh and sinh.
6479 * math/auto-libm-test-out: Regenerated.
6480 * sysdeps/i386/fpu/libm-test-ulps: Update.
6481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6483 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6486 * math/auto-libm-test-in: Add more tests of log2.
6487 * math/auto-libm-test-out: Regenerated.
6488 * sysdeps/i386/fpu/libm-test-ulps: Update.
6489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6491 2015-03-23 Roland McGrath <roland@hack.frob.com>
6493 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
6494 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
6495 _IO_IS_APPENDING bit in READ_WRITE instead.
6497 2015-03-23 Florian Weimer <fweimer@redhat.com>
6499 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6500 (__determine_cpumask_size): Replace extend_alloca with a
6501 variable-length array. Do not treat res == 0 as an error.
6503 2015-03-23 Florian Weimer <fweimer@redhat.com>
6506 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
6507 and integer overflow.
6508 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
6509 (main): Add integer overflow tests.
6510 * manual/pattern.texi (Calling Wordexp): Document additional use
6513 2015-03-23 Alan Modra <amodra@gmail.com>
6515 * config.h.in: Remove HAVE_ASM_PPC_REL16.
6516 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
6517 and false branch of conditional.
6518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6521 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
6523 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
6525 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
6526 unused declaration of _hurd_intr_rpc_msg_in_trap.
6527 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
6528 defined instead of whether it is non-zero.
6529 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
6530 input constraint instead of both input and output constraint. Use ecx
6531 clobber instead of %ecx.
6532 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
6533 mutex_unlock): Use a statement expression instead of an expression list.
6534 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
6535 type to vm_size_t instead of vm_address_t.
6536 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
6537 defined instead of whether it is non-zero.
6538 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
6539 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
6540 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
6541 comparisons with mapaddr.
6542 * nscd/nscd-client.h: Include <time.h>.
6543 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
6544 9th parameter to __vm_region instead of int.
6545 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
6546 * scripts/check-local-headers.sh (exclude): Add device/,
6547 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
6550 2015-03-19 Roland McGrath <roland@hack.frob.com>
6552 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
6553 to account for alignment padding.
6554 * sysdeps/arm/memmove.S: Likewise.
6556 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
6558 * sysdeps/unix/sysv/linux/generic/README: New file.
6560 2015-03-18 Joseph Myers <joseph@codesourcery.com>
6563 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
6564 (futex_abstimed_wait)
6565 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
6566 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
6567 of lll_futex_timed_wait.
6569 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
6572 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
6574 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
6581 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
6582 entries with Static TLS too. Skip entries past the end of the
6583 allocated DTV, from Alan Modra.
6584 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
6585 Static TLS DTV entry set up from...
6586 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
6587 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
6588 * nptl/allocatestack.c (init_one_static_tls): ... and here...
6589 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
6591 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
6592 that the slot we find is associated with the given map before
6593 using its generation count.
6594 * nptl_db/db_info.c: Include ldsodefs.h.
6595 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
6596 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
6597 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
6598 (link_map::l_tls_offset): New struct field.
6599 (dtv_t::counter): Likewise.
6600 (rtld_global): New struct.
6601 (_rtld_global): New rtld variable.
6602 (dl_tls_dtv_slotinfo_list): New rtld global field.
6603 (dtv_slotinfo_list): New struct.
6604 (dtv_slotinfo): Likewise.
6605 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
6606 (td_lookup): Rename to...
6607 (td_mod_lookup): ... this. Use new mod parameter instead of
6609 * nptl_db/td_thr_tlsbase.c: Include link.h.
6610 (dtv_slotinfo_list, dtv_slotinfo): New functions.
6611 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
6612 addresses even if the DTV is out of date or missing them.
6613 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
6614 index zero-length arrays.
6615 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
6616 (td_lookup): Make it a macro implemented in terms of...
6617 (td_mod_lookup): ... this declaration.
6618 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
6619 (DB_MAIN_VARIABLE): Likewise.
6621 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
6624 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6626 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
6628 * stdlib/setenv.c (__add_to_environ): Revert previous change.
6630 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
6633 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
6634 (atomic_add, atomic_increment_and_test)
6635 (atomic_decrement_and_test): Fix 64-bit arithmetic.
6637 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
6639 * stdlib/setenv.c (__add_to_environ):
6640 Dump core quickly if setenv (..., NULL, ...) is called.
6642 2015-03-13 Roland McGrath <roland@hack.frob.com>
6644 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
6645 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
6646 all the necessary asm magic in one place.
6647 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
6650 2015-03-13 Carlos O'Donell <carlos@redhat.com>
6653 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
6654 traced file mtime. Use consistent log message.
6655 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
6656 (register_traced_file): Call install_watches. Always set mtime.
6657 (invalidate_cache): Iterate over all trace files. Call install_watches.
6658 (inotify_check_files): Don't inline. Handle watching parent
6659 directories and configuration file movement in and out.
6660 (handle_inotify_events): New function.
6661 (main_loop_poll): Call handle_inotify_events.
6662 (main_loop_epoll): Likewise.
6663 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
6664 (struct traced_file): Use array of inotify fds. Add parent directory,
6666 (struct database_dyn): Remove unused file_mtime.
6667 (init_traced_file): New inline function.
6668 (define_traced_file): New macro.
6669 * nss/nss_db/db-init.c: Use define_traced_file.
6670 (_nss_db_init): Use init_traced_file.
6671 * nss/nss_files/files-init.c: Use define_traced_file.
6672 (_nss_files_init): Use init_traced_file.
6674 2015-03-12 Joseph Myers <joseph@codesourcery.com>
6676 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
6677 [_LIBC]: Do not include <stdlib.h>.
6678 [!_LIBC] (abort): Remove declaration.
6679 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
6680 _FP_STATIC_ASSERT instead of conditionally calling abort.
6681 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
6682 (_FP_EXTEND_CNAN): Likewise.
6683 (FP_TRUNC): Likewise.
6684 (__FP_CLZ): Likewise.
6685 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
6687 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
6689 * manual/string.texi (XPG basename): Fix prototype.
6691 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6694 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
6695 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6696 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
6697 (__setcontext): Likewise.
6698 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
6699 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6700 Call rt_sigprocmask syscall one time to set new signal mask
6701 and retrieve the current signal mask instead of two calls.
6702 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
6703 (__swapcontext): Likewise.
6704 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
6705 * stdlib/tst-setcontext2.c: New file.
6707 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6709 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6711 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
6714 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6717 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6720 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6722 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6724 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6725 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6727 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6728 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6729 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6730 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
6731 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
6732 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
6734 * nptl_db/td_symbol_list.c (td_lookup): Remove
6735 HAVE_ASM_GLOBAL_DOT_NAME code.
6736 * sysdeps/powerpc/powerpc64/configure.ac: Remove
6737 HAVE_ASM_GLOBAL_DOT_NAME check.
6738 * sysdeps/powerpc/powerpc64/configure: Regenerate.
6739 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
6740 (DOT_LABEL): Remove define.
6741 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
6742 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
6743 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
6744 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
6745 (__TLS_GET_ADDR): Likewise.
6746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
6747 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
6749 2015-03-11 Carlos O'Donell <carlos@redhat.com>
6752 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
6753 (_FPU_SETCW): Initialize cw from fpsr before storing.
6754 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
6755 (fesetexceptflag): Rewrite using fpu_control.h.
6756 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
6758 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
6761 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
6763 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6765 2015-03-11 Joseph Myers <joseph@codesourcery.com>
6767 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
6768 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
6770 (_FP_FMA): Likewise.
6771 (_FP_DIV): Likewise.
6773 2015-03-10 Roland McGrath <roland@hack.frob.com>
6775 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
6776 with 0 in that case.
6777 * Makefile (summarize-tests): New canned sequence, factored out of
6778 commands for targets tests and xtests. Display summary lines that
6779 don't start with PASS: or XFAIL: rather than ones that do start with
6780 ERROR: or FAIL:. Make the commands fail if any summary lines fail
6781 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
6782 do start with ERROR: or FAIL:.
6783 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
6784 (except for [$(build-shared) = yes]).
6785 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
6786 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
6787 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
6788 * nptl/Makefile: Revert 2015-03-04 changes.
6789 [$(CXX) empty] (tests-unsupported): New variable.
6790 * debug/Makefile: Likewise.
6792 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
6793 gnulib file. Replace __attribute with __attribute__ throughout.
6795 2015-03-10 Carlos O'Donell <carlos@redhat.com>
6797 * sysdeps/hppa/fpu/libm-test-ulps: Update.
6799 2015-03-10 Joseph Myers <joseph@codesourcery.com>
6802 * math/auto-libm-test-in: Add another test of pow.
6803 * math/auto-libm-test-out: Regenerated.
6805 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6807 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
6808 $(config-cflags-nofma).
6810 2015-03-10 Joseph Myers <joseph@codesourcery.com>
6812 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
6813 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
6814 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
6815 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
6816 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
6817 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
6818 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
6819 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
6820 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
6821 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
6822 Add comment on closing #endif.
6824 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
6826 * posix/wordexp.c (CHAR_IN_SET): New macro.
6827 (parse_param): Use it.
6829 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6831 * sysdeps/powerpc/fpu/libm-test-ulps: update.
6833 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
6836 * posix/wordexp.c (parse_param): Fix buffer overflow.
6837 * posix/wordexp-test.c (test_case): Add test case.
6839 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
6842 * posix/wordexp.c (parse_backtick): Fix off-by-one.
6843 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
6845 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
6848 * posix/wordexp-test.c (test_case): Add test for BZ #18043
6849 (do_bz18043): Delete.
6851 (testit): Refactor to have words at the edge of unreadable page.
6853 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6856 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
6857 Cleanup read-only streams as well.
6858 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
6860 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
6862 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
6865 2015-03-07 Joseph Myers <joseph@codesourcery.com>
6867 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
6869 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
6870 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
6871 * soft-fp/op-common.h (_FP_DECL): Likewise.
6873 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
6875 * elf/ifuncdep2.c (global): Replace
6876 __attribute__((visibility("protected"))) with
6877 asm (".protected global").
6878 * elf/ifuncmod1.c (global): Likewise.
6879 * elf/ifuncmod5.c (global): Likewise.
6881 2015-03-06 Joseph Myers <joseph@codesourcery.com>
6883 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
6884 <asm/sfp-machine.h> instead of <sfp-machine.h>.
6886 2015-03-06 Roland McGrath <roland@hack.frob.com>
6888 * manual/install.texi (Configuring and compiling):
6889 Document test-wrapper-env-only.
6890 * INSTALL: Regenerated.
6892 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6895 * posix/wordexp.c (parse_param): Fix buffer overflow.
6896 * posix/wordexp-test.c (do_bz18043): Add test case.
6898 2015-03-06 Vincent Bernat <vincent@bernat.im>
6900 * time/tst-strptime2.c (do_test): Ensure failing tests are
6902 * time/tst-strptime3.c (do_test): Likewise.
6904 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
6906 Fix aio_error thread-safety.
6907 * sysdeps/pthread/aio_error.c: New file
6908 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
6911 2015-03-06 Florian Weimer <fweimer@redhat.com>
6913 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
6914 (group_number, vfprintf): Use it.
6915 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
6916 (JUMP, REF): Use it.
6917 (WORK_BUFFER_SIZE): New enum constant.
6918 (process_arg, vfprintf): Use it.
6920 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
6922 * manual/errno.texi (Error Messages): Complete example function
6923 by adding missing #define.
6924 (program_invocation_name): Add statement indicating GNU
6925 extension and reference which header file declares the variable.
6926 (program_invocation_short_name): Likewise.
6928 2015-03-06 Mike Frysinger <vapier@gentoo.org>
6930 * manual/errno.texi (Error Messages): Delete strerror ISO C89
6933 2015-03-05 Roland McGrath <roland@hack.frob.com>
6935 * Makeconfig (test-wrapper-env-only): New variable.
6936 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
6937 then use that with $(test-wrapper-env-only) rather than using
6938 $(test-wrapper-env) $(run-program-env) $($*-ENV).
6940 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
6943 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
6944 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
6945 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
6946 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
6947 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
6948 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
6949 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
6950 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6952 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
6953 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
6955 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
6957 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
6959 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
6961 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
6962 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
6964 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
6966 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
6967 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
6969 2015-03-04 Roland McGrath <roland@hack.frob.com>
6971 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
6972 (ETH_ALEN): New macro.
6973 (struct ether_addr): Use it for length of ether_addr_octet.
6975 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
6976 (setdb): Don't call __nss_configure_lookup for "rpc".
6977 (do_test): Don't call test_rpc.
6978 (output_rpcent, test_rpc): Functions moved ...
6979 * sunrpc/test-rpcent.c: ... to this new file.
6980 * sunrpc/Makefile (tests): Add it.
6982 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
6984 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
6985 * nptl/tst-signal6.c: Likewise.
6986 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
6987 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
6989 * configure.ac (libc_cv_cxx_link_ok): New check.
6990 Reset CXX to empty if it fails to link.
6991 * configure: Regenerated.
6992 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
6993 bug-atexit3-lib only if $(CXX) is nonempty.
6994 * nptl/Makefile (tests): Likewise for tst-cancel24.
6995 (tests, tests-static): Likewise for tst-cancel24-static.
6996 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
6997 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
6998 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
6999 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
7001 2015-03-04 Andreas Schwab <schwab@suse.de>
7004 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
7005 for non-GCC compilers.
7006 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7009 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7012 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
7013 integer before bitwise and assembly operations.
7014 (feclearexcept): Likewise.
7015 * math/test-fenvinline.c: New file.
7016 * math/Makefile: Add test-fenvinline test.
7018 2015-03-03 Alan Modra <amodra@gmail.com>
7021 * scripts/localplt.awk: Strip off symbol version.
7022 * NEWS: Mention bug fix.
7024 2015-03-02 Roland McGrath <roland@hack.frob.com>
7026 * sysdeps/pthread/timer_routines.c
7027 (timer_free_list, thread_free_list, thread_active_list): Make static.
7029 2015-03-02 Joseph Myers <joseph@codesourcery.com>
7032 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7033 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7035 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7036 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7038 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7039 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7042 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7045 * posix/fnmatch_loop.c (END): Detect invalid pattern.
7046 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
7048 2015-03-02 Andreas Schwab <schwab@suse.de>
7050 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
7053 2015-03-02 Florian Weimer <fweimer@redhat.com>
7055 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
7056 Return error status.
7058 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
7061 * locale/findlocale.c (_nl_find_locale): Introduce const
7062 version of loc_name and drop unsafe type casts.
7064 2015-02-27 Roland McGrath <roland@hack.frob.com>
7066 * dlfcn/tststatic2.c (main): Converted to ...
7067 (do_test): ... this.
7068 (TEST_FUNCTION): New macro.
7069 Include test-skeleton.c.
7071 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
7074 * elf/Makefile (tests): Add vismain only if PIE is enabled.
7075 (tests-pie): Add vismain.
7076 (CFLAGS-vismain.c): New.
7077 * elf/vismain.c: Add comments for PIE requirement.
7079 2015-02-27 Joseph Myers <joseph@codesourcery.com>
7083 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
7084 0x1p-56L as threshold for just returning the argument.
7085 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
7086 0x1p-32L as threshold for just returning the argument.
7087 * math/auto-libm-test-in: Add more tests of atanh.
7088 * math/auto-libm-test-out: Regenerated.
7089 * sysdeps/i386/fpu/libm-test-ulps: Update.
7090 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
7092 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
7094 * string/bcopy.c (bcopy): Call memmove for performance.
7096 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
7098 * string/bzero.c (__bzero): Call memset for performance.
7100 2015-02-27 John David Anglin <dave.anglin@bell.net>
7103 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
7106 2015-02-27 Joseph Myers <joseph@codesourcery.com>
7108 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
7110 2015-02-26 Joseph Myers <joseph@codesourcery.com>
7112 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
7113 (__kernel_standard): Use CSTR macro when setting exc.name.
7114 * sysdeps/ieee754/Makefile [$(subdir) = math]
7115 (CFLAGS-k_standard.c): Remove variable.
7117 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
7118 setting p and q from "else if" to "else".
7120 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
7122 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
7124 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
7126 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
7128 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
7133 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
7134 return pi/2 for arguments below 0x1p-113L.
7135 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
7136 return pi/2 for arguments below 0x1p-106L.
7137 * math/auto-libm-test-in: Add more tests of acos.
7138 * math/auto-libm-test-out: Regenerated.
7141 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
7143 (__ieee754_asin): Force underflow exception for results with small
7145 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
7147 (__ieee754_asinf): Force underflow exception for results with
7148 small absolute value.
7149 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
7150 (__ieee754_asin): Force underflow exception for results with small
7152 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
7153 (__ieee754_asinf): Force underflow exception for results with
7154 small absolute value.
7155 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
7156 (__ieee754_asinl): Force underflow exception for results with
7157 small absolute value.
7158 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
7159 (__ieee754_asinl): Force underflow exception for results with
7160 small absolute value.
7161 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
7162 (__ieee754_asinl): Force underflow exception for results with
7163 small absolute value.
7164 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
7166 * math/auto-libm-test-in: Do not mark underflow exceptions as
7167 possibly missing for bug 16351.
7168 * math/auto-libm-test-out: Regenerated.
7171 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
7172 of power of 2 down when low part has opposite sign.
7173 * math/libm-test.inc (logb_test_data): Add more tests.
7175 2015-02-26 Andreas Schwab <schwab@suse.de>
7178 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
7179 over collating symbol inside a bracket expression. Minor cleanup.
7180 * posix/tst-fnmatch3.c (do_test): Add test case.
7182 2015-02-26 Joseph Myers <joseph@codesourcery.com>
7185 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
7186 Adjust exponent of power of 2 down when low part has opposite
7188 * math/libm-test.inc (ilogb_test_data): Add more tests.
7190 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
7193 * locale/findlocale.c (_nl_find_locale): Fix constness error in
7194 the previous change.
7197 * locale/findlocale.c (_nl_find_locale): Retry archive search
7198 after alias expansion.
7200 2015-02-25 Roland McGrath <roland@hack.frob.com>
7202 * iconv/tst-iconv3.c (main): Converted to ...
7203 (do_test): ... this.
7204 (TEST_FUNCTION): New macro.
7205 Include test-skeleton.c.
7207 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
7208 (convert): Make function static.
7209 (test_unalign): Likewise. Add const to argument pointee types.
7210 (main): Replace with static function do_test.
7211 Print "Succeeded." only if RET is zero.
7212 (TEST_FUNCTION): New macro.
7213 Include test-skeleton.c.
7215 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
7216 returns a null pointer.
7218 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7220 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
7221 to __memcpy_ppc only for static builds.
7223 2015-02-25 Joseph Myers <joseph@codesourcery.com>
7226 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
7227 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
7228 * math/auto-libm-test-in: Add more tests of asinh.
7229 * math/auto-libm-test-out: Regenerated.
7230 * sysdeps/i386/fpu/libm-test-ulps: Update.
7231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7233 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
7236 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
7237 and ip6_mtuinfo definitions here.
7238 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
7239 in this define too. Update comment.
7241 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
7243 * elf/sprof.c (load_shobj): Tweak error message to match others.
7245 2015-02-24 Kevin Easton <kevin@guarana.org>
7247 [BZ #16145] (partial fix)
7248 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
7249 to reduce lock contention.
7251 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
7253 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
7254 (struct timex): Update time comment.
7255 (ADJ_SETOFFSET): Define.
7257 2015-02-24 Joseph Myers <joseph@codesourcery.com>
7260 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7261 2**56 not 2**28 as threshold for log (2x) formula.
7262 * math/auto-libm-test-in: Add more tests of acosh.
7263 * math/auto-libm-test-out: Regenerated.
7264 * sysdeps/i386/fpu/libm-test-ulps: Update.
7265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7267 2015-02-24 Mike Frysinger <vapier@gentoo.org>
7269 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
7270 parenthesis around the buf assignment.
7271 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
7273 2015-02-24 Joseph Myers <joseph@codesourcery.com>
7276 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
7277 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
7278 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
7279 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7280 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
7281 * math/libm-test.inc (scalb_test_data): Add more tests.
7283 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7286 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
7287 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
7289 2015-02-24 Eric Rannaud <e@nanocritical.com>
7292 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
7293 * io/bits/fcntl2.h (open): Use it.
7295 * io/open.c (__libc_open): Likewise.
7296 * io/open64.c (__libc_open64): Likewise.
7297 * io/open64_2.c (__open64_2): Likewise.
7298 * io/open_2.c (__open_2): Likewise.
7299 * io/openat.c (__openat): Likewise.
7300 * io/openat64.c (__openat64): Likewise.
7301 * io/openat64_2.c (__openat64_2): Likewise.
7302 * io/openat_2.c (__openat_2): Likewise.
7303 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
7304 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7305 * sysdeps/posix/open64.c (__libc_open64): Likewise.
7306 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7307 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
7308 (__open_nocancel): Likewise.
7309 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
7310 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
7311 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
7313 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7316 * resolv/gethnamaddr.c (getanswer): Skip logging if
7317 RES_USE_DNSSEC is set.
7318 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7320 2015-02-24 Mike Frysinger <vapier@gentoo.org>
7322 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
7324 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
7326 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7327 201304L, for Unicode 7.
7329 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
7332 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
7333 shared library. Add gmon-start.os otherwise.
7334 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
7335 $(objpfx)gmon-start.os if builing shared library.
7336 ($(objpfx)g$(static-start-installed-name)): Likewise.
7338 2015-02-23 Andreas Schwab <schwab@suse.de>
7340 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
7342 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7345 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
7346 (enlarge_userbuf): Likewise.
7348 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
7350 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
7351 * math/atest-exp.c (TIMEOUT): Adjust to 200.
7352 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
7353 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
7355 2015-02-20 Joseph Myers <joseph@codesourcery.com>
7357 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
7358 expression inside statement expression.
7360 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7362 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
7363 <sysdeps/nptl/lowlevellock.h> and remove macros and
7364 functions that are now defined there.
7365 (SYS_futex): Remove.
7366 (lll_compare_and_swap): Remove.
7367 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
7369 2015-02-19 Joseph Myers <joseph@codesourcery.com>
7372 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
7373 instead of scandirat.
7374 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
7375 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
7376 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
7378 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
7379 (__scandirat): Declare. Use libc_hidden_proto.
7380 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
7382 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7384 2015-02-18 Joseph Myers <joseph@codesourcery.com>
7387 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
7389 (__ieee754_atan2): For results with small absolute value, force
7390 underflow exception and remove excess range and precision from
7392 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
7394 (__ieee754_atan2f): For results with small absolute value, force
7395 underflow exception and remove excess range and precision from
7397 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
7399 (__atan): For results with small absolute value, force underflow
7400 exception and remove excess range and precision from return value.
7401 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
7403 (__atanf): For results with small absolute value, force underflow
7404 exception and remove excess range and precision from return value.
7405 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
7407 (__ieee754_atan2): Force underflow exception for results with
7408 small absolute value.
7409 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
7411 (atan): Force underflow exception for results with small absolute
7413 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
7414 (__atanf): Force underflow exception for results with small
7416 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
7418 (__atanl): Force underflow exception for results with small
7420 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
7421 (__atanl): Force underflow exception for results with small
7423 * sysdeps/x86/fpu/bits/mathinline.h
7424 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
7425 (__ieee754_atan2): Only define inline for long double.
7426 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
7427 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
7428 * math/auto-libm-test-in: Do not mark underflow exceptions as
7429 possibly missing for bug 15319. Add more tests of atan2.
7430 * math/auto-libm-test-out: Regenerated.
7431 * math/libm-test.inc (casin_test_data): Do not mark underflow
7432 exceptions as possibly missing for bug 15319.
7433 (casinh_test_data): Likewise.
7434 * sysdeps/i386/fpu/libm-test-ulps: Update.
7436 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
7438 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
7439 * sysdeps/mips/bits/endian.h: Fix comments.
7441 2015-02-18 Joseph Myers <joseph@codesourcery.com>
7444 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
7445 (hdestroy_r): Likewise.
7446 (hsearch_r): Likewise.
7447 (__hcreate_r): Declare and use libc_hidden_proto.
7448 (__hdestroy_r): Likewise.
7449 (__hsearch_r): Likewise.
7450 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
7451 (hcreate): Call __hcreate_r instead of hcreate_r.
7452 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
7453 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
7454 as weak alias of __hcreate_r.
7455 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
7457 (hsearch_r): Rename to __hsearch_r and define as weak alias of
7459 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
7461 (test-xfail-XPG4/search.h/linknamespace): Likewise.
7462 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7463 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7464 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7466 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7468 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
7469 arena_lock into a single arena_get.
7471 2015-02-17 Carlos O'Donell <carlos@redhat.com>
7473 * dl-reloc.c: Inlucde libc-internal.h.
7474 (_dl_try_allocate_static_tls): Call ALIGN_UP.
7475 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
7476 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
7477 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
7478 (grow_heap): Likewise.
7479 * malloc/malloc.c: Include libc-internal.h.
7480 (do_check_malloc): Call powerof2.
7481 (sysmalloc): Use pagesize. Call ALIGN_UP.
7482 (systrim): Use pagesize.
7483 (mremap_chunk): Use pagesize. Call ALIGN_UP.
7484 (__libc_valloc): Use pagesize.
7485 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
7487 2015-02-17 Joseph Myers <joseph@codesourcery.com>
7490 * include/sys/resource.h (__getrlimit64): Declare. Use
7492 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
7493 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
7494 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
7496 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
7498 [!getrlimit64] (getrlimit64): Define as weak alias of
7499 __getrlimit64. Use libc_hidden_weak.
7500 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
7501 using __getrlimit64 not __new_getrlimit64.
7502 (__GI_getrlimit64): Likewise.
7503 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
7505 (__GI_getrlimit64): Likewise.
7506 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
7507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
7508 (getrlimit): Add __getrlimit64 alias.
7509 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
7511 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
7513 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7514 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7516 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7518 * libio/fileops.c: Add missing sys/mman.h
7519 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
7521 2015-02-17 Joseph Myers <joseph@codesourcery.com>
7523 * manual/math.texi (Errors in Math Functions): Clarify goals
7524 regarding inexact and underflow exceptions.
7526 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
7528 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
7529 * sysdeps/mips/memset.S: Ditto.
7531 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
7533 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
7535 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
7537 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
7538 (__v1longjmp): Remove versioned symbol.
7539 (__v1siglongjmp): Remove alias and versioned symbol.
7540 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
7541 (__v2siglongjmp): Likewise.
7543 2015-02-16 Torvald Riegel <triegel@redhat.com>
7545 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
7547 2015-02-16 Mike Frysinger <vapier@gentoo.org>
7549 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
7551 2015-02-16 Joseph Myers <joseph@codesourcery.com>
7554 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
7555 zero result does not depend on the sign resulting from
7557 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7559 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7560 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7561 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7562 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7563 * math/libm-test.inc (remquo_test_data): Add more tests.
7565 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
7567 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
7568 Problem reported by J William Piggott.
7570 2015-02-16 Joseph Myers <joseph@codesourcery.com>
7573 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
7574 products 4 * y and 2 * y where those would overflow.
7575 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7577 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7578 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7579 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7580 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7581 * math/libm-test.inc (remquo_test_data): Add more tests.
7583 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
7585 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
7586 [defined _COMPILING_NEWLIB].
7587 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
7588 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
7590 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
7591 [!defined __mips_isa_rev || __mips_isa_rev < 6].
7593 2015-02-16 Torvald Riegel <triegel@redhat.com>
7595 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
7598 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
7601 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
7602 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
7603 HOST_STACK_END_ADDR): Likewise.
7605 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
7607 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
7608 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
7609 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
7611 2015-02-13 Roland McGrath <roland@hack.frob.com>
7613 * sysdeps/generic/c++-types.data: New file.
7614 * sysdeps/generic/ld.abilist: New file.
7615 * sysdeps/generic/libBrokenLocale.abilist: New file.
7616 * sysdeps/generic/libanl.abilist: New file.
7617 * sysdeps/generic/libc.abilist: New file.
7618 * sysdeps/generic/libcrypt.abilist: New file.
7619 * sysdeps/generic/libdl.abilist: New file.
7620 * sysdeps/generic/libm.abilist: New file.
7621 * sysdeps/generic/libpthread.abilist: New file.
7622 * sysdeps/generic/libresolv.abilist: New file.
7623 * sysdeps/generic/librt.abilist: New file.
7625 2015-02-13 Joseph Myers <joseph@codesourcery.com>
7628 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7629 Compute absolute value of x as modified by fmod, not original
7631 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
7632 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
7633 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
7634 RUN_TEST_ffI_f1_mod8.
7635 (remquo_test_data): Add more tests.
7637 2015-02-13 Roland McGrath <roland@hack.frob.com>
7639 * sysdeps/init_array/pt-crti.S: New file.
7641 2015-02-13 Joseph Myers <joseph@codesourcery.com>
7644 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
7645 __builtin_fmaf instead of relying on contraction of a * b + c.
7647 2015-02-12 J William Piggott <elseifthen@gmx.com>
7650 * manual/time.texi: correct the zoneinfo path in the TZ Variable
7653 2015-02-12 Joseph Myers <joseph@codesourcery.com>
7656 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
7657 __builtin_fma instead of relying on contraction of a * b + c.
7659 2015-02-12 Roland McGrath <roland@hack.frob.com>
7661 * Makeconfig (ASFLAGS): Add -Werror=undef.
7662 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
7663 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
7664 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
7666 * Makeconfig (after-link): New variable.
7667 (+link-pie, +link-pie-tests): Use it.
7668 (+link-static, +link-static-tests): Likewise.
7669 (+link, +link-tests): Likewise.
7670 * Makerules (build-module, build-module-asneeded): Likewise.
7671 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
7673 * elf/Makefile ($(objpfx)ld.so): Likewise.
7675 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
7678 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
7679 both struct timeval and struct timespec.
7681 2015-02-12 Joseph Myers <joseph@codesourcery.com>
7684 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7686 (__ieee754_exp2l): Do not multiply small fractional parts by
7688 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
7690 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7691 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7692 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
7693 * math/auto-libm-test-in: Add more tests of exp2.
7694 * math/auto-libm-test-out: Regenerated.
7696 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7698 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
7701 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7703 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
7706 2015-02-12 Andreas Schwab <schwab@suse.de>
7709 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7710 Filter out elision flags from value returned in kind.
7711 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
7712 * nptl/tst-pthread-mutexattr.c: New file.
7714 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
7716 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7717 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7718 into gnu-gnu, and update comment to refer to abi-tags.
7720 2015-02-11 Joseph Myers <joseph@codesourcery.com>
7723 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7724 (__sincos): Set errno to EDOM for infinite argument.
7725 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7726 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7727 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7728 (__sincosl): Set errno to EDOM for infinite argument.
7729 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7730 (__sincosl): Set errno to EDOM for infinite argument.
7731 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
7732 (__sincosl): Set errno to EDOM for infinite argument.
7733 * math/libm-test.inc (sincos_test_data): Test errno setting.
7735 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
7737 * string/strxfrm_l.c: Remove #define STRCMP.
7738 * string/strcoll_l.c: Remove #define STRLEN.
7739 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
7740 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7742 2015-02-10 Joseph Myers <joseph@codesourcery.com>
7744 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
7745 * sysdeps/mips/mips32/sfp-machine.h: ... here.
7746 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
7747 * sysdeps/mips/mips64/Makefile: ... here.
7748 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
7749 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
7750 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
7751 * sysdeps/mips/mips64/sfp-machine.h: ... here.
7752 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
7753 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
7754 * sysdeps/mips/mips64/n64/Implies: Likewise.
7756 2015-02-10 Roland McGrath <roland@hack.frob.com>
7758 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
7759 <sys/time.h>, <string.h>, and <errno.h>.
7760 (dest_offset, dest_address, value, zero): Remove unused variables.
7761 (ldouble): Remove typedef.
7762 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
7763 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
7765 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
7766 (check): Function removed.
7768 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
7769 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
7770 Don't call set_sigaction_FP and remove_sigaction_FP here.
7771 (ldouble_test): Just use 'long double' as macro argument, no need for
7772 the 'ldouble' typedef.
7773 (do_test): Set up SIGFPE handler at start, using plain signal rather
7774 than sigaction. Fix code style.
7776 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
7779 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
7782 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7784 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
7785 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7787 * sysdeps/powerpc/configure.ac: Remove file.
7788 * sysdeps/powerpc/configure: Likewise.
7790 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7791 [sysdep_routines]: Remove wordcopy-power6 object.
7792 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7793 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
7794 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
7795 (__memmove_ppc32): Likewise.
7796 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
7798 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
7799 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
7800 Remove preprocessor.
7802 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7803 [sysdep_routines]: Remove wide chars objects.
7804 [wcsmbs]: New rule for wide char objects.
7806 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7807 Remove wordcopy-power6 obejct.
7808 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
7809 Use local call for wordcopy and memcpy symbols.
7810 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
7811 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
7812 implementation for loader.
7813 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
7815 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7816 Remove wordcopy-power7 object.
7817 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
7818 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
7819 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
7820 (_wordcopy_fwd_dest_aligned): Likewise.
7821 (_wordcopy_bwd_aligned): Likewise.
7822 (_wordcopy_bwd_dest_aligned): Likewise.
7824 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
7825 Rewrite to call __memmove_ppc instead of include default
7828 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7829 Remove wide chars objects.
7830 [wcsmbs]: New rule for wide char objects.
7832 2015-02-09 Andreas Schwab <schwab@suse.de>
7835 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7836 in terms of __O_DIRECTORY.
7838 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7840 * time/getdate.c: Include <stdbool.h>.
7841 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
7843 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
7846 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
7848 Add ersatz _Static_assert on older C hosts
7849 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
7850 pre-C11 C platform that is not known to support _Static_assert.
7852 2015-02-07 Richard Braun <rbraun@sceen.net>
7854 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
7856 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
7858 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
7860 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
7861 priority against unexistent AIO_PRIO_DELTA_MAX.
7862 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
7864 * misc/fchflags.c (fchflags): Likewise.
7865 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
7866 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
7867 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
7868 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
7869 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
7871 [__USE_MISC] (chflags, fchflags): Declare functions.
7872 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
7873 EINVAL when nfds is greater than FD_SETSIZE.
7874 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
7875 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
7877 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
7878 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
7879 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
7881 * hurd/hurd/signal.h (_hurd_self_sigstate,
7882 _hurd_critical_section_lock, _hurd_critical_section_unlock):
7883 Explicit casts from void *.
7884 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
7885 * abi-tags: Rename gnu-gnu os into gnu.
7888 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
7889 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
7890 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
7891 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
7892 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
7893 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
7896 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
7897 duplicates ADDR->sun_path with sockaddr LEN limitation.
7898 * sysdeps/mach/hurd/connect.c: Include <string.h>
7899 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
7900 * sysdeps/mach/hurd/sendmsg.c: Likewise.
7901 * sysdeps/mach/hurd/sendto.c: Likewise.
7902 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
7903 implementing it by hand.
7905 2015-02-06 Roland McGrath <roland@hack.frob.com>
7907 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
7908 Use sfi_breg on ldr.
7909 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
7912 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
7914 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
7915 Test SIGSETXID only if it's defined.
7917 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
7919 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
7920 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
7922 * nptl/tst-align2.c: Moved ...
7923 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
7924 * nptl/Makefile (tests): Remove tst-align2.
7925 * sysdeps/unix/sysv/linux/Makefile
7926 [$(subdir) = nptl] (tests): Add tst-align-clone.
7927 * nptl/tst-getpid1.c: Moved ...
7928 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
7929 * nptl/tst-getpid2.c: Moved ...
7930 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
7931 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
7932 * sysdeps/unix/sysv/linux/Makefile
7933 [$(subdir) = nptl] (tests): ... here.
7934 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
7935 * sysdeps/unix/sysv/linux/Makefile
7936 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
7938 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
7939 Drop trailing \n from perror argument. Use return rather than exit.
7941 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
7943 * nptl/tst-cancel21.c (do_test): Likewise.
7944 * debug/tst-backtrace6.c: Include <signal.h> first thing.
7945 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
7946 [!SA_SIGINFO]: Make it a stub test.
7948 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
7949 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
7951 * posix/tst-getlogin.c: Move to ...
7952 * login/tst-getlogin.c: ... here.
7953 * posix/Makefile (tests): Move tst-getlogin to ...
7954 * login/Makefile (tests): ... here.
7956 * libio/tst-atime.c (do_test): Move local variables SV and E
7957 inside [ST_NOATIME] conditional.
7959 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
7961 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
7963 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
7964 (wait_code): New function replaces macro.
7965 Call nanosleep rather than syscall.
7967 * nptl/pt-system.c: Rewritten. Put everything under
7968 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7969 Use IFUNC to redirect when possible.
7971 * nptl/pt-longjmp.c: Rewritten. Put everything under
7972 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7973 Use IFUNC to redirect when possible.
7975 * nptl/pt-fork.c: Rewritten. Put everything under
7976 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7977 Use IFUNC to redirect when possible.
7978 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
7980 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
7981 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
7982 unconditionally nowadays. This included the only reference to
7983 __vdso_clock_gettime that appears outside libc proper.
7984 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
7985 Remove version set (containing only __vdso_clock_gettime).
7986 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7987 Add attribute_hidden.
7988 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7989 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
7990 libc_hidden_data_def.
7991 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7992 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7994 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
7995 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
7996 setrpcent, and getrpcport to ...
7997 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
7998 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
7999 getrpcbynumber_r, and getrpcent_r to ...
8000 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
8001 * inet/getrpcbyname.c: Moved ...
8002 * sunrpc/getrpcbyname.c: ... here.
8003 * inet/getrpcbyname_r.c: Moved ...
8004 * sunrpc/getrpcbyname_r.c: ... here.
8005 * inet/getrpcbynumber.c: Moved ...
8006 * sunrpc/getrpcbynumber.c: ... here.
8007 * inet/getrpcbynumber_r.c: Moved ...
8008 * sunrpc/getrpcbynumber_r.c: ... here.
8009 * inet/getrpcent.c: Moved ...
8010 * sunrpc/getrpcent.c: ... here.
8011 * inet/getrpcent_r.c: Moved ...
8012 * sunrpc/getrpcent_r.c: ... here.
8013 * inet/Makefile (routines): Move those to ...
8014 * sunrpc/Makefile (routines): ... here.
8015 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
8016 the $(subdirs) list.
8017 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
8018 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
8019 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
8020 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
8022 * elf/Makefile (routines): Include $(all-dl-routines), not just
8024 (rtld-routines): Likewise. Use = rather than :=.
8025 * sysdeps/aarch64/Makefile [$(subdir) = elf]
8026 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
8027 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
8028 * sysdeps/arm/Makefile: Likewise.
8029 * sysdeps/i386/Makefile: Likewise.
8030 * sysdeps/x86_64/Makefile: Likewise.
8031 * sysdeps/hppa/Makefile [$(subdir) = elf]
8032 (sysdep_routines, sysdep-rtld-routines): Don't add
8033 $(sysdep-dl-routines) to these.
8034 * sysdeps/ia64/Makefile: Likewise.
8035 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
8036 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
8037 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
8038 Don't add dl-static to these; sysdep-dl-routines alone is enough.
8039 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
8040 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
8041 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
8042 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
8043 * sysdeps/powerpc/Makefile [$(subdir) = elf]
8044 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
8045 these; sysdep-dl-routines alone is enough.
8047 2015-02-06 Joseph Myers <joseph@codesourcery.com>
8050 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
8051 where multiplication results in zero and third argument is finite
8053 * math/auto-libm-test-in: Add more tests of fma.
8054 * math/auto-libm-test-out: Regenerated.
8056 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
8057 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
8058 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
8059 (_FP_CMP_EQ): Likewise.
8060 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
8062 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
8063 extra argument CHECK_NAN. Redefine as wrapper around
8066 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
8068 * version.h (RELEASE): Set to "stable".
8069 (VERSION): Set to "2.21"
8070 * include/features.h (__GLIBC_MINOR__): Set to 21.
8072 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
8074 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8075 Paul Eggert <eggert@cs.ucla.edu>
8078 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
8079 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
8080 size in bytes. Store needed elements in wpmax. Use needed size
8081 in bytes for extend_alloca.
8083 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
8085 * manual/install.texi: Latest tested versions are GCC 4.9.2,
8086 binutls 2.25, and texinfo 5.2.
8087 * INSTALL: Regenerate.
8088 * sysdeps/nios2/configure: Regenerate.
8089 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
8090 * manual/contrib.texi: Update.
8114 * po/pt_BR.po: Update.
8123 * po/zh_CN.po: Update.
8124 * po/zh_TW.po: Update.
8126 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
8127 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
8128 * sysdeps/hppa/dl-irel.h: Remove #warning.
8129 * sysdeps/hppa/entry.h: Provide prototype for
8130 __canonicalize_funcptr_for_compare and cast argument.
8131 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
8132 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
8133 * sysdeps/hppa/sotruss-lib.c: New file.
8134 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
8135 (atomic_compare_and_exchange_val_acq): Use __typeof__.
8136 (atomic_compare_and_exchange_bool_acq): Likewise.
8137 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
8138 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
8140 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
8141 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
8142 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
8144 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
8146 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
8147 called function in non-PIC case.
8149 2015-01-31 David S. Miller <davem@davemloft.net>
8151 * sysdeps/sparc/sparc32/bits/atomic.h
8152 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
8153 unlock not after it.
8154 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
8155 volatile register usage warnings from the compiler.
8157 * sysdeps/sparc/nptl/sem_init.c: Delete.
8158 * sysdeps/sparc/nptl/sem_post.c: Delete.
8159 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
8160 * sysdeps/sparc/nptl/sem_wait.c: Delete.
8161 * sysdeps/sparc/sparc32/sem_init.c: New file.
8162 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
8163 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
8164 padding explicitly initialized.
8165 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
8166 padding for in-semaphore spinlock.
8167 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
8168 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
8169 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
8170 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
8171 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
8172 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
8173 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
8174 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
8176 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
8177 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
8179 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
8182 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8183 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
8184 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
8186 (index_AVX_Fast_Unaligned_Load): Likewise.
8187 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
8188 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
8189 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
8190 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
8191 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
8192 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
8193 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
8194 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
8195 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
8197 2015-01-29 Andreas Schwab <schwab@suse.de>
8199 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
8201 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8204 * nscd/nscd_stat.c (send_stats): Initialize DATA.
8206 2015-01-28 Martin Sebor <msebor@redhat.com>
8208 * math/README.libm-test: Clarify. Add "How to read the test output."
8210 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
8212 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
8215 2015-01-28 Joseph Myers <joseph@codesourcery.com>
8217 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
8218 (__HAVE_64B_ATOMICS): Define to 0.
8220 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8223 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
8224 value to set as new flag.
8227 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
8228 and use _ARCH_PPCSQ instead.
8229 (__ieee754_sqrt): Likewise.
8230 (__ieee754_sqrtf): Likewise.
8231 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
8232 _ARCH_PPCSQ is defined.
8233 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
8235 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
8236 _ARCH_PPCSQ is defined.
8237 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
8239 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
8241 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8243 * iconv/loop.c: Suppress array out of bound warning caused by GCC
8244 bug (GCC BZ #64739).
8246 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
8248 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
8249 Mark _retval as used.
8250 (lll_futex_wake_unlock): Likewise.
8251 (lll_futex_timed_wait_requeue_pi): Likewise.
8253 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8254 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
8257 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
8260 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
8261 (__bswap_64): Mark as __always_inline.
8263 2015-01-25 Bram <bug_rh@spam.wizbit.be>
8266 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
8267 when none of the search directories exist.
8269 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8272 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
8273 power8 in .machine directive.
8276 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
8277 set dependency from opd value.
8279 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
8281 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8282 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
8285 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
8288 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
8290 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
8292 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
8293 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
8294 Replace 1UL with (uint64_t) 1.
8295 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
8298 2015-01-23 Roland McGrath <roland@hack.frob.com>
8300 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
8301 (if_freenameindex): Likewise.
8303 * resource/getrlimit64.c: Add missing libc_hidden_def.
8305 2015-01-22 Joseph Myers <joseph@codesourcery.com>
8307 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
8309 (_FP_FMA): Likewise.
8310 (_FP_TO_INT_ROUND): Likewise.
8311 (_FP_FROM_INT): Likewise.
8313 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8316 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
8317 Make code racy and cancel safe.
8319 2015-01-21 Carlos O'Donell <carlos@redhat.com>
8321 * sysdeps/arm/unwind-resume.h: Fix copyright year.
8322 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
8325 * pwd/tst-getpw.c: Rewrite.
8328 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
8329 (modules-names): Add moddummy1 and moddummy2.
8330 ($(objpfx)tst-rec-dlopen): Define.
8331 * dlfcn/moddummy1.c: New file.
8332 * dlfcn/moddummy2.c: New file.
8333 * dlfcn/tst-rec-dlopen.c: New file.
8334 * elf/dl-cache.c (_dl_load_cache_lookup):
8335 Return char*. Copy result with alloca/strcpy/strdup.
8336 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
8337 returns char*. Free cached. If not saving realname
8339 * elf/dl-open.c (dl_open_worker): Do not assert that
8340 _r_debug->r_state is RT_CONSISTENT.
8341 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
8344 2015-01-21 Torvald Riegel <triegel@redhat.com>
8345 Carlos O'Donell <carlos@redhat.com>
8348 * nptl/sem_waitcommon.c: New file.
8349 * nptl/sem_wait.c: Include sem_waitcommon.c.
8350 (__sem_wait_cleanup, do_futex_wait): Remove.
8351 (__new_sem_wait): Adapt.
8352 (__new_sem_trywait): New function.
8353 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
8354 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
8355 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
8356 (sem_timedwait): Adapt.
8357 * nptl/sem_post.c (__new_sem_post): Adapt.
8358 (futex_wake): New function.
8359 (__old_sem_post): Add release MO fence.
8360 * nptl/sem_open.c (sem_open): Adapt.
8361 * nptl/sem_init.c (__new_sem_init): Adapt.
8362 (futex_private_if_supported): New function.
8363 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
8364 (__old_sem_getvalue): Add using previous code.
8365 * sysdeps/nptl/internaltypes.h: Adapt.
8366 * nptl/tst-sem13.c (do_test): Adapt.
8367 * nptl/tst-sem11.c (main): Adapt.
8368 * nptl/sem_trywait.c: Remove.
8369 * nptl/DESIGN-sem.txt: Remove.
8370 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
8371 (gen-as-const-headers): Remove structsem.sym.
8372 * nptl/structsem.sym: Remove.
8373 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
8374 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
8375 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
8376 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
8377 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
8378 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
8379 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
8380 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
8381 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
8382 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
8383 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
8384 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
8385 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
8386 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
8387 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
8388 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
8389 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
8390 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
8391 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
8392 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
8393 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
8394 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
8396 2015-01-20 Carlos O'Donell <carlos@redhat.com>
8398 * INSTALL: Regenerated.
8400 * po/libc.pot: Regenerated.
8402 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
8403 Sandra Loosemore <sandra@codesourcery.com>
8404 Andrew Jenner <andrew@codesourcery.com>
8405 Joseph Myers <joseph@codesourcery.com>
8406 Nathan Sidwell <nathan@codesourcery.com>
8408 * NEWS: Mention new Nios II port.
8409 * sysdeps/nios2/Implies: New file.
8410 * sysdeps/nios2/Makefile: New file.
8411 * sysdeps/nios2/Subdirs: New file.
8412 * sysdeps/nios2/Versions: New file.
8413 * sysdeps/nios2/__longjmp.S: New file.
8414 * sysdeps/nios2/abort-instr.h: New file.
8415 * sysdeps/nios2/backtrace.c: New file.
8416 * sysdeps/nios2/bits/endian.h: New file.
8417 * sysdeps/nios2/bits/fenv.h: New file.
8418 * sysdeps/nios2/bits/link.h: New file.
8419 * sysdeps/nios2/bits/setjmp.h: New file.
8420 * sysdeps/nios2/bsd-_setjmp.S: New file.
8421 * sysdeps/nios2/bsd-setjmp.S: New file.
8422 * sysdeps/nios2/configure: New generated file.
8423 * sysdeps/nios2/configure.ac: New file.
8424 * sysdeps/nios2/crti.S: New file.
8425 * sysdeps/nios2/crtn.S: New file.
8426 * sysdeps/nios2/dl-init.c: New file.
8427 * sysdeps/nios2/dl-machine.h: New file.
8428 * sysdeps/nios2/dl-sysdep.h: New file.
8429 * sysdeps/nios2/dl-tls.h: New file.
8430 * sysdeps/nios2/dl-trampoline.S: New file.
8431 * sysdeps/nios2/gccframe.h: New file.
8432 * sysdeps/nios2/gmp-mparam.h: New file.
8433 * sysdeps/nios2/jmpbuf-offsets.h: New file.
8434 * sysdeps/nios2/jmpbuf-unwind.h: New file.
8435 * sysdeps/nios2/ldsodefs.h: New file.
8436 * sysdeps/nios2/libc-tls.c: New file.
8437 * sysdeps/nios2/libm-test-ulps: New file.
8438 * sysdeps/nios2/machine-gmon.h: New file.
8439 * sysdeps/nios2/math-tests.h: New file.
8440 * sysdeps/nios2/math_private.h: New file.
8441 * sysdeps/nios2/memusage.h: New file.
8442 * sysdeps/nios2/nptl/Makefile: New file.
8443 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
8444 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
8445 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
8446 * sysdeps/nios2/nptl/pthreaddef.h: New file.
8447 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
8448 * sysdeps/nios2/nptl/tls.h: New file.
8449 * sysdeps/nios2/preconfigure: New file.
8450 * sysdeps/nios2/s_fma.c: New file.
8451 * sysdeps/nios2/s_fmaf.c: New file.
8452 * sysdeps/nios2/setjmp.S: New file.
8453 * sysdeps/nios2/sfp-machine.h: New file.
8454 * sysdeps/nios2/sotruss-lib.c: New file.
8455 * sysdeps/nios2/stackguard-macros.h: New file.
8456 * sysdeps/nios2/stackinfo.h: New file.
8457 * sysdeps/nios2/start.S: New file.
8458 * sysdeps/nios2/sysdep.h: New file.
8459 * sysdeps/nios2/tls-macros.h: New file.
8460 * sysdeps/nios2/tst-audit.h: New file.
8461 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
8462 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
8463 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
8464 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
8465 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
8466 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
8467 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
8468 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
8469 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
8470 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
8471 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
8472 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
8473 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
8474 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
8475 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
8476 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
8477 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
8478 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
8479 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
8480 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
8481 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
8482 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
8483 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
8484 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
8485 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
8486 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
8487 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
8488 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
8489 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
8490 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
8491 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
8492 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
8493 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
8494 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
8495 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
8496 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
8497 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
8498 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
8499 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
8500 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
8501 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
8502 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
8503 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
8504 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
8506 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8509 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
8510 (getutent): Use weak_alias in non SHARED case
8511 and default_symbol_version in SHARED case.
8512 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
8513 (getutent_r, pututline): Likewise.
8514 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
8515 (getutid): Likewise.
8516 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
8517 (getutid_r): Likewise.
8518 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
8519 (getutline): Likewise.
8520 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
8521 (getutline_r): Likewise.
8522 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
8523 (updwtmp): Likewise.
8525 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8528 * sysdeps/s390/s390-32/memcmp.S
8529 (memcmp_g5): Rename to __memcmp_g5.
8530 * sysdeps/s390/s390-32/memcpy.S
8531 (memcpy_g5): Rename to __memcpy_g5.
8532 Jump to __memcpy_mvcle instead of memcpy_mvcle.
8533 (memcpy_mvcle) Rename to __memcpy_mvcle.
8534 * sysdeps/s390/s390-32/memset.S
8535 (memset_g5): Rename to __memset_g5.
8536 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8537 (IFUNC_RESOLVE): Prefix ifunc-resolve function
8538 and use prefixed functions.
8539 * sysdeps/s390/s390-32/multiarch/memcmp.S
8540 (memcmp_z196): Rename to __memcmp_z196.
8541 (memcmp_z10): Rename to __memcmp_z10.
8542 (memcmp): Set alias to __memcmp_g5.
8543 (bcmp): Set alias to __memcmp_g5.
8544 * sysdeps/s390/s390-32/multiarch/memcpy.S
8545 (memcpy_z196): Rename to __memcpy_z196.
8546 Jump to __memcpy_mvcle instead of memcpy_mvcle.
8547 (memcpy_z10): Rename to __memcpy_z10.
8548 Jump to __memcpy_mvcle instead of memcpy_mvcle.
8549 (memcpy): Set alias to __memcpy_g5.
8550 * sysdeps/s390/s390-32/multiarch/memset.S
8551 (memset_z196): Rename to __memset_z196.
8552 Jump to __memset_mvcle instead of memset_mvcle.
8553 (memset_z10): Rename to __memset_z10.
8554 Jump to __memset_mvcle instead of memset_mvcle.
8555 (memset_mvcle) Rename to __memset_mvcle.
8556 (memset): Set alias to __memset_g5.
8557 * sysdeps/s390/s390-64/memcmp.S
8558 (memcmp_z900): Rename to __memcmp_z900.
8559 * sysdeps/s390/s390-64/memcpy.S
8560 (memcpy_z900): Rename to __memcpy_z900.
8561 Jump to __memcpy_mvcle instead of memcpy_mvcle.
8562 (memcpy_mvcle) Rename to __memcpy_mvcle.
8563 * sysdeps/s390/s390-64/memset.S
8564 (memset_z900): Rename to __memset_z900.
8565 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
8566 (IFUNC_RESOLVE): Prefix ifunc-resolve function
8567 and use prefixed functions.
8568 * sysdeps/s390/s390-64/multiarch/memcmp.S
8569 (memcmp_z196): Rename to __memcmp_z196.
8570 (memcmp_z10): Rename to __memcmp_z10.
8571 (memcmp): Set alias to __memcmp_z900.
8572 (bcmp): Set alias to __memcmp_z900.
8573 * sysdeps/s390/s390-64/multiarch/memcpy.S
8574 (memcpy_z196): Rename to __memcpy_z196.
8575 Jump to __memcpy_mvcle instead of memcpy_mvcle.
8576 (memcpy_z10): Rename to __memcpy_z10.
8577 Jump to __memcpy_mvcle instead of memcpy_mvcle.
8578 (memcpy): Set alias to __memcpy_z900.
8579 * sysdeps/s390/s390-64/multiarch/memset.S
8580 (memset_z196): Rename to __memset_z196.
8581 Jump to __memset_mvcle instead of memset_mvcle.
8582 (memset_z10): Rename to __memset_z10.
8583 Jump to __memset_mvcle instead of memset_mvcle.
8584 (memset_mvcle) Rename to __memset_mvcle.
8585 (memset): Set alias to __memset_z900.
8587 2015-01-14 Joseph Myers <joseph@codesourcery.com>
8590 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
8591 __fesetenv instead of fesetenv.
8593 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8595 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
8598 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8600 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
8603 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
8604 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
8605 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8606 strncmp-power8 object.
8607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8608 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
8609 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
8612 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8613 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8615 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
8616 trailing byte check.
8618 2015-01-13 David S. Miller <davem@davemloft.net>
8620 * include/signal.h (__sigreturn): Guard with __USE_MISC.
8622 2015-01-13 Roland McGrath <roland@hack.frob.com>
8624 * login/logout.c (logout): Use memset rather than bzero.
8625 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
8626 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
8627 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
8628 (_gethtbyaddr): Likewise.
8629 * locale/programs/simple-hash.c (bcopy): Macro removed.
8631 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8633 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8634 Add strcmp-power8 object.
8635 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8636 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
8637 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
8638 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
8639 __strcmp_power8 implementation.
8640 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
8643 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8644 Add strncpy-power8 and stpncpy-power8 objects.
8645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8646 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
8648 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
8649 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
8650 __stpncpy_power8 implementation.
8651 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
8652 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
8653 __strncpy_power8 implementation.
8654 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
8655 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
8658 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
8659 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
8660 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
8662 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8663 strncat-power8 object.
8664 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
8665 __strcat_power8 implementation.
8666 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8667 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
8668 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
8669 optimized strcat for power8.
8671 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8672 strcpy-power8 and stpcpy-power8 objects.
8673 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8674 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
8676 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
8677 multiarch stpcpy implementation for POWER8.
8678 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
8679 multiarch strcpy implementation for POWER8.
8680 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
8681 __strcpy_power8 function.
8682 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
8684 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
8688 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
8691 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
8692 weights and rules. Use do_xfrm_cached if data fits in cache,
8693 do_xfrm otherwise. Moved former main loop to...
8694 * (do_xfrm_cached): New function.
8695 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
8696 find_idx, find_position and stack_push.
8697 * (find_idx): New function.
8698 * (find_position): Likewise.
8699 * localedata/sort-test.sh: Added test run for do_xfrm.
8700 * localedata/xfrm-test.c (main): Added command line option
8701 -nocache to run the test with strings that are too large for
8704 2015-01-13 Torvald Riegel <triegel@redhat.com>
8706 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
8707 variable to lll_futex_wake call, not the value itself.
8709 2015-01-12 Joseph Myers <joseph@codesourcery.com>
8712 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8713 twom64. Adjust value to 0x1p-64L.
8714 (__scalblnl): Only return standard underflowing result for K <=
8715 -64 not K <= -63; adjust exponent for underflowing result by 64
8717 * math/libm-test.inc (scalbn_test_data): Add more tests.
8718 (scalbln_test_data): Likewise.
8721 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8723 (__scalblnl): Get new exponent of adjusted subnormal value from ES
8725 * math/libm-test.inc (scalbn_test_data): Add more tests.
8726 (scalbln_test_data): Likewise.
8728 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8729 Stefani Seibold <stefani@seibold.net>
8731 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
8732 (sysdep_routines): Add dl-vdso here, ...
8733 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
8734 (sysdep_routines): ... not here.
8735 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
8736 fallback when vDSO is not presented.
8737 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8738 Define with libc_hidden_proto/libc_hidden_data_def definitions.
8739 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
8740 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
8741 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
8742 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
8743 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
8744 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
8745 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
8746 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
8747 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
8748 fallback configurable symbol when vDSO is not available.
8749 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
8750 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
8751 be able to redefine fallback symbol when vDSO is not available.
8752 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
8753 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
8755 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8757 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
8758 (TLS_INIT_TP): Add tm_capable initialization.
8759 (TLS_DEFINE_INIT_TP): Likewise.
8760 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
8762 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
8763 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
8765 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
8766 transactoion is lock elision is built and TCB tm_capable is set.
8767 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
8768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8769 (INTERNAL_SYSCALL_NCS): Likewise.
8770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8771 (INTERNAL_SYSCALL_NCS): Likewise.
8772 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
8774 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
8776 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8777 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
8778 and remove it for 32 bits case.
8779 [pthread_rwlock_t] (__rwelision): New field for lock elision.
8780 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
8782 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
8783 Disable lock elision with rdlocks if elision is not available.
8785 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
8786 (sysdep_routines): Add lock elision objects.
8787 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8788 [pthread_mutex_t] (__spins): Rework to add lock elision field.
8789 [pthread_mutex_t] (__elision): Add field.
8790 [__PTHREAD_SPINS]: Adjust to init lock elision field.
8791 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
8792 elision definitions for powerpc.
8793 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
8794 implementation of lock elision for powerpc.
8795 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
8796 implementation of timed lock elision for powerpc.
8797 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
8798 implementation of trylock with lock elision for powerpc.
8799 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
8800 implementaion of unlock for lock elision for powerpc.
8801 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
8802 automatic enable lock elision for mutexes.
8803 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
8804 transaction execution definitions for powerpc.
8805 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
8807 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
8808 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
8809 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
8810 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
8813 2015-01-09 Roland McGrath <roland@hack.frob.com>
8815 * sysdeps/posix/shm-directory.c: Use <> rather than ""
8816 for #include of <shm-directory.h>.
8818 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
8820 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
8821 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
8823 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
8826 * NEWS: Mention bug fix.
8827 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
8828 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
8829 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
8831 2015-01-09 Torvald Riegel <triegel@redhat.com>
8833 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
8835 2015-01-09 Torvald Riegel <triegel@redhat.com>
8837 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
8839 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
8841 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
8842 pointer and cast to uintptr_t.
8844 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
8846 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
8848 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
8850 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
8852 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
8855 2015-01-08 Roland McGrath <roland@hack.frob.com>
8857 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
8858 <nptl/pthreadP.h> instead.
8859 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
8861 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
8863 [__SIGRTMIN] (init): Function removed.
8864 [__SIGRTMIN] (initialized): Variable removed.
8865 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
8866 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
8867 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
8868 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
8869 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
8870 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
8871 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
8872 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
8873 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
8874 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
8875 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
8876 * sysdeps/nptl/allocrtsig.c: New file.
8877 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
8878 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
8879 * sysdeps/generic/testrtsig.h: File removed.
8881 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
8882 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
8884 * nptl/nptl-init.c (pthread_functions): Conditionalize
8885 .ptr__nptl_setxid initialization on [SIGSETXID].
8887 * sysdeps/nptl/sys/procfs.h: New file.
8888 * nptl_db/Makefile (headers): Add it.
8889 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
8891 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
8892 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
8893 * nptl/pthread_attr_setaffinity.c: Include it.
8894 * nptl/pthread_setattr_default_np.c: Likewise.
8895 * nptl/check-cpuset.h: New file.
8897 2015-01-08 Richard Henderson <rth@redhat.com>
8899 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
8900 (CFLAGS-tst-execstack-prog.c): Likewise.
8901 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
8903 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
8904 Sandra Loosemore <sandra@codesourcery.com>
8905 Andrew Jenner <andrew@codesourcery.com>
8906 Joseph Myers <joseph@codesourcery.com>
8907 Nathan Sidwell <nathan@codesourcery.com>
8909 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
8910 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
8911 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
8912 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
8913 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
8914 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
8915 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
8916 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
8917 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
8918 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
8919 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
8920 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
8921 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
8922 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
8923 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
8924 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
8925 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
8927 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8929 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
8930 timespec struct member in syscall macro.
8931 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8932 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
8933 first timeval struct member in syscall macro.
8934 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
8936 2015-01-07 Joseph Myers <joseph@codesourcery.com>
8939 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
8940 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
8941 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
8942 __feupdateenv and define as weak alias of __feupdateenv. Use
8944 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
8946 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
8947 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
8948 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8949 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
8951 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
8952 __feupdateenv and define as weak alias of __feupdateenv. Use
8954 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
8956 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
8957 __feupdateenv and define as weak alias of __feupdateenv. Use
8959 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
8961 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8962 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8963 (__feupdateenv): Likewise.
8964 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
8965 __feupdateenv and define as weak alias of __feupdateenv. Use
8967 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8968 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
8970 * sysdeps/tile/math_private.h (__feupdateenv): New inline
8972 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
8974 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
8975 __feupdateenv instead of feupdateenv.
8976 (default_libc_feupdateenv_test): Likewise.
8977 (libc_feresetround_ctx): Likewise.
8979 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8981 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
8984 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
8986 * posix/regcomp.c (parse_bracket_exp): Initialize type to
8987 COLL_SYM in a couple of places to avoid uninitialized variable
8988 wanings on tilegx gcc 4.8.2.
8990 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
8992 * sysdeps/aarch64/strcpy.S: New file.
8993 * sysdeps/aarch64/stpcpy.S: New file.
8996 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
8998 * sysdeps/aarch64/strrchr.S: New file.
9001 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
9004 * stdlib/setenv.c: Fix memory leak when setting large,
9007 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
9010 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
9011 and tabs from buffer before parsing fstab entry.
9012 * misc/tst-mntent.c (main): Add test for mount entry with
9013 trailing spaces and tabs.
9015 2015-01-06 Joseph Myers <joseph@codesourcery.com>
9018 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
9019 * math/fesetround.c (fesetround): Rename to __fesetround and
9020 define as weak alias of __fesetround. Use libm_hidden_weak.
9021 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
9022 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
9023 * sysdeps/arm/fesetround.c (fesetround): Likewise.
9024 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
9025 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
9026 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
9027 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
9028 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
9029 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
9030 __fesetround_inline.
9031 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
9032 __fesetround_inline instead of __fesetround.
9033 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
9034 __fesetround and define as weak alias of __fesetround. Use
9035 libm_hidden_weak. Call __fesetround_inline instead of
9037 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
9038 __fesetround and define as weak alias of __fesetround. Use
9040 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
9042 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
9043 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9044 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
9045 * sysdeps/tile/math_private.h (__fesetround): New inline function.
9046 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
9047 __fesetround and define as weak alias of __fesetround. Use
9049 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
9050 __fesetround instead of fesetround.
9051 (default_libc_feholdexcept_setround): Likewise.
9052 (libc_feholdsetround_ctx): Likewise.
9053 (libc_feholdsetround_noex_ctx): Likewise.
9056 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
9057 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
9058 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9059 and define as weak alias of __fesetenv. Use libm_hidden_weak.
9060 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9061 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
9062 define as weak alias of __fesetenv. Use libm_hidden_weak.
9063 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
9064 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9065 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9066 define as weak alias of __fesetenv. Use libm_hidden_weak.
9067 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9068 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9069 define as weak alias of __fesetenv. Use libm_hidden_weak.
9070 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
9072 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
9073 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
9075 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9076 define as weak alias of __fesetenv. Use libm_hidden_weak.
9077 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9078 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9079 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
9080 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9081 and define as weak alias of __fesetenv. Use libm_hidden_weak.
9082 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
9083 __fesetenv instead of fesetenv.
9084 (libc_feresetround_noex_ctx): Likewise.
9085 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9086 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9087 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
9088 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9089 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9090 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9091 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9092 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9093 (__feupdateenv): Likewise.
9094 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9095 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9096 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9097 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
9099 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
9102 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
9103 addresses have been freed.
9105 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
9107 * resolv/res_init.c (__res_vinit): Improve comments about nserv
9110 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
9112 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
9113 Clean up check_pf allocation pattern. addresses
9115 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9117 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
9118 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
9119 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
9120 * nptl/pthread_exit.c (__pthread_exit): Likewise.
9121 * nptl/pthread_join.c (pthread_join): Likewise.
9122 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
9123 * sysdeps/posix/waitid.c (__waitid): Likewise.
9124 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
9125 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
9126 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
9127 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
9128 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
9130 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
9131 (__libc_pread64): Likewise.
9132 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
9133 (__libc_pwrite): Likewise.
9134 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
9135 (__libc_pwrite64): Likewsie.
9136 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
9137 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
9138 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
9139 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
9140 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
9141 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
9142 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
9145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9146 (__libc_pread64): Likewise.
9147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
9149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9150 (__libc_pwrite64): Likewise.
9151 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
9152 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
9153 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
9154 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
9155 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9156 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9157 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
9158 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
9159 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
9160 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
9161 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
9162 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
9163 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
9164 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
9165 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
9166 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
9169 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
9171 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
9172 (CFLAGS-test-double.c): Likewise.
9173 (CFLAGS-test-ldouble.c): Likewise.
9174 (CPPFLAGS-test-ifloat.c): Likewise.
9175 (CPPFLAGS-test-idouble.c): Likewise.
9176 (CPPFLAGS-test-ildoubl.c): Likewise.
9177 (CFLAGS-test-test-fenv.c): Remove variable.
9178 (CFLAGS-test-misc.c): Likewise.
9180 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
9183 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
9184 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
9185 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
9186 CLOCKS_PER_SEC == 1000000.
9187 * time/clocktest.c (main): Replace %ld with %jd and cast to
9190 2015-01-05 Roland McGrath <roland@hack.frob.com>
9192 * sysdeps/generic/unwind-resume.h: New file.
9193 * sysdeps/gnu/unwind-resume.c: Include it.
9194 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
9195 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
9197 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
9198 global rather than static.
9199 (_Unwind_Resume): Update user.
9200 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
9201 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
9202 rather than static. Add __attribute__ ((cold)).
9203 (_Unwind_Resume, __gcc_personality_v0): Update callers.
9204 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
9205 * sysdeps/arm/arm-unwind-resume.S: New file.
9206 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
9207 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
9208 * sysdeps/arm/Makefile [$(subdir) = csu]
9209 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
9210 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9211 Add rt-arm-unwind-resume.
9213 (libpthread-sysdep_routines, libpthread-shared-only-routines):
9214 Add pt-arm-unwind-resume.
9215 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
9216 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
9218 2015-01-05 Joseph Myers <joseph@codesourcery.com>
9221 * include/fenv.h (__feholdexcept): Declare. Use
9223 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
9224 define as weak alias of __feholdexcept. Use libm_hidden_weak.
9225 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9226 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
9227 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
9228 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
9229 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
9230 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9231 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
9232 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
9233 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9234 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
9235 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
9236 (feholdexcept): Likewise.
9237 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9238 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
9239 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9240 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9241 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
9242 __feholdexcept instead of feholdexcept.
9243 (default_libc_feholdexcept_setround): Likewise.
9245 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
9247 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
9248 to avoid using stl/str to align destination.
9250 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
9252 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
9254 2015-01-05 Joseph Myers <joseph@codesourcery.com>
9257 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
9258 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
9259 Define as weak alias not strong alias.
9261 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
9263 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
9264 bltzal with addiupc.
9265 (RTLD_START): Ditto.
9267 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
9269 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
9270 for __vdso_* functions in declarations.
9271 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
9273 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
9274 INTERNAL_VSYSCALL): Use struct return types to check for error.
9276 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
9277 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
9278 function with cast from llround().
9279 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
9280 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9283 2015-01-05 Joseph Myers <joseph@codesourcery.com>
9286 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
9287 Define as weak alias not strong alias.
9290 * ctype/ctype-c99.c: New file. isblank implementation moved from
9292 * ctype/ctype-extn.c: ... here.
9293 (__isblank_l): Move to ...
9294 * ctype/ctype-c99_l.c: ... here. New file.
9295 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
9296 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
9298 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9299 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9300 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9301 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9302 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9305 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
9306 (posix_fadvise64): Define as weak alias not strong alias.
9307 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9308 (posix_fallocate64): Likewise.
9309 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
9311 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9312 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9313 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9314 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9315 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9317 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
9320 * NEWS: Mention bug fix.
9321 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
9322 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
9323 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
9324 (HOST_STACK_END_ADDR): Likewise.
9326 2015-01-02 Joseph Myers <joseph@codesourcery.com>
9329 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
9330 * math/fegetround.c (fegetround): Rename to __fegetround and
9331 define as weak alias of __fegetround. Use libm_hidden_weak.
9332 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
9333 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
9334 * sysdeps/arm/fegetround.c (fegetround): Likewise.
9335 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
9336 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9337 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
9338 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
9339 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
9340 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9341 Undefine after rather than before function definition; use
9342 parentheses around function name in definition.
9343 (__fegetround): Also undefine macro after function definition.
9344 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
9345 __fegetround and define as weak alias of __fegetround. Use
9346 libm_hidden_weak. Do not undefine as macro.
9347 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9349 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
9350 __fegetround and define as weak alias of __fegetround. Use
9352 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9353 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9354 * sysdeps/tile/math_private.h (__fegetround): New inline function.
9355 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
9356 __fegetround and define as weak alias of __fegetround. Use
9358 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
9359 __fegetround instead of fegetround.
9362 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
9363 Condition macro definition on [__USE_MISC].
9366 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
9367 (struct sigaction): Change type of sa_flags field to int.
9370 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
9371 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
9374 * nptl/version.c (banner): Use single year in copyright notice.
9376 * NEWS: Update copyright dates.
9377 * catgets/gencat.c (print_version): Likewise.
9378 * csu/version.c (banner): Likewise.
9379 * debug/catchsegv.sh: Likewise.
9380 * debug/pcprofiledump.c (print_version): Likewise.
9381 * debug/xtrace.sh (do_version): Likewise.
9382 * elf/ldconfig.c (print_version): Likewise.
9383 * elf/ldd.bash.in: Likewise.
9384 * elf/pldd.c (print_version): Likewise.
9385 * elf/sotruss.sh: Likewise.
9386 * elf/sprof.c (print_version): Likewise.
9387 * iconv/iconv_prog.c (print_version): Likewise.
9388 * iconv/iconvconfig.c (print_version): Likewise.
9389 * locale/programs/locale.c (print_version): Likewise.
9390 * locale/programs/localedef.c (print_version): Likewise.
9391 * login/programs/pt_chown.c (print_version): Likewise.
9392 * malloc/memusage.sh (do_version): Likewise.
9393 * malloc/memusagestat.c (print_version): Likewise.
9394 * malloc/mtrace.pl: Likewise.
9395 * manual/libc.texinfo: Likewise.
9396 * nptl/version.c (banner): Likewise.
9397 * nscd/nscd.c (print_version): Likewise.
9398 * nss/getent.c (print_version): Likewise.
9399 * nss/makedb.c (print_version): Likewise.
9400 * posix/getconf.c (main): Likewise.
9401 * scripts/test-installation.pl: Likewise.
9402 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9404 2015-01-02 Will Newton <will.newton@linaro.org>
9406 * sysdeps/arm/armv7/configure: Removed.
9407 * sysdeps/arm/armv7/configure.ac: Likewise.
9409 2015-01-02 Joseph Myers <joseph@codesourcery.com>
9411 * All files with FSF copyright notices: Update copyright dates
9412 using scripts/update-copyrights.
9413 * intl/plural.c: Regenerated.
9414 * locale/programs/charmap-kw.h: Likewise.
9415 * locale/programs/locfile-kw.h: Likewise.
9417 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9419 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
9421 2014-12-31 Joseph Myers <joseph@codesourcery.com>
9424 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
9425 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
9426 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9427 and define as weak alias of __fegetenv. Use libm_hidden_weak.
9428 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9429 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
9430 define as weak alias of __fegetenv. Use libm_hidden_weak.
9431 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
9432 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9433 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9434 define as weak alias of __fegetenv. Use libm_hidden_weak.
9435 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9436 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9437 define as weak alias of __fegetenv. Use libm_hidden_weak.
9438 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
9440 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
9441 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
9443 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9444 define as weak alias of __fegetenv. Use libm_hidden_weak.
9445 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9446 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9447 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
9448 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9449 and define as weak alias of __fegetenv. Use libm_hidden_weak.
9450 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
9451 __fegetenv instead of fegetenv.
9452 (libc_feholdsetround_noex_ctx): Likewise.
9454 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
9456 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
9457 (Elf_MIPS_ABIFlags_v0): New structure.
9458 (EF_MIPS_FP64): Define.
9459 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
9460 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
9461 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
9462 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
9463 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
9464 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
9465 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
9466 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
9467 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
9468 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
9469 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
9470 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
9471 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
9472 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
9473 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
9474 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
9475 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
9476 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
9477 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
9478 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
9479 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
9480 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
9482 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
9484 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
9485 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
9486 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
9487 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
9488 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
9489 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
9490 * sysdeps/mips/tst-abi-interlink.c: Likewise.
9491 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
9492 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
9493 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
9494 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
9495 record the current FP ABI extension.
9496 (mips-mode-switch): Define to show if kernel headers support mode
9498 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9499 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
9500 supported SYSV ABI version to 3.
9501 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
9504 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9505 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9507 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
9509 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
9511 2014-12-31 Joseph Myers <joseph@codesourcery.com>
9513 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
9514 __fegetround and redefine to call __fegetround. Remove condition
9515 on [!__NO_MATH_INLINES].
9516 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
9518 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
9519 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9521 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
9522 instead of <fenv_libc.h>.
9523 (__llrintl): Call fegetround instead of __fegetround.
9524 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
9525 instead of <fenv_libc.h>.
9526 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9527 (__lrintl): Call fegetround instead of __fegetround.
9528 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
9529 instead of <fenv_libc.h>.
9530 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9531 (__rintl): Call fegetround instead of __fegetround.
9533 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9535 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
9538 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
9541 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
9542 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
9543 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
9545 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
9547 * sysdeps/i386/tls-macros.h: Include <features.h>.
9548 (TLS_LE): Use non-PIC version for GCC >= 5.0.
9552 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
9553 define for GCC >= 5.0.
9555 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
9557 * math/test-fenv.c (test_single_exception, set_single_exc,
9558 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
9559 feexcp_mask_test, feenable_test, fe_single_test): Add
9560 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
9561 case where they are not used.
9562 * math/libm-test.inc: Likewise.
9563 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
9564 unused in the absence of FP rounding/exception support.
9565 * stdio-common/tst-printf-round.c: Likewise.
9566 * stdlib/tst-strtod-round.c: Likewise.
9567 * stdlib/tst-strtod-underflow.c: Likewise.
9569 2014-12-30 Joseph Myers <joseph@codesourcery.com>
9572 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
9573 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
9574 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9575 __feraiseexcept and define as weak alias of __feraiseexcept. Use
9577 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
9578 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9579 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
9581 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9582 __feraiseexcept and define as weak alias of __feraiseexcept. Use
9584 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
9586 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
9587 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9588 __feraiseexcept and define as weak alias of __feraiseexcept. Use
9590 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9592 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9593 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
9594 (__feraiseexcept): Likewise.
9595 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9596 __feraiseexcept and define as weak alias of __feraiseexcept. Use
9598 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9599 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9601 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
9602 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
9603 Use libm_hidden_def.
9604 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
9606 (feraiseexcept): Define as weak not strong alias. Use
9608 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
9609 New inline function. Factored out of ...
9610 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
9611 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
9612 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
9614 * math/w_acos.c (__acos): Likewise.
9615 * math/w_asin.c (__asin): Likewise.
9616 * math/w_ilogb.c (__ilogb): Likewise.
9617 * math/w_j0.c (y0): Likewise.
9618 * math/w_j1.c (y1): Likewise.
9619 * math/w_jn.c (yn): Likewise.
9620 * math/w_log.c (__log): Likewise.
9621 * math/w_log10.c (__log10): Likewise.
9622 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
9623 * sysdeps/aarch64/fpu/math_private.h
9624 (libc_feupdateenv_test_aarch64): Likewise.
9625 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9626 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
9627 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
9628 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9629 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9630 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9631 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
9632 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9633 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9634 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9636 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
9639 * io/test-utime.c (main): Replace %ld with %jd and cast to
9641 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
9642 * nptl/tst-mutex5.c: Include <stdint.h>.
9643 (do_test): Replace %ld with %jd and cast to intmax_t.
9644 * posix/tst-regex.c (run_test): Likewise.
9645 (run_test_backwards): Likewise.
9646 * rt/tst-clock.c: Include <stdint.h>.
9647 (clock_test): Replace %ld with %jd and cast to intmax_t.
9648 * rt/tst-cpuclock1.c: Include <stdint.h>.
9649 (do_test): Replace %lu with %ju and cast to uintmax_t.
9650 * rt/tst-cpuclock2.c: Include <stdint.h>.
9651 (do_test): Replace %lu with %ju and cast to uintmax_t.
9652 * rt/tst-mqueue1.c: Include <stdint.h>.
9653 (check_attrs): Replace %ld with %jd and cast to intmax_t.
9654 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
9656 * rt/tst-mqueue4.c (do_test): Likewise.
9657 * rt/tst-timer4.c: Include <stdint.h>.
9658 (check_ts): Replace %ld with %jd and cast to intmax_t.
9659 (do_test): Likewise.
9660 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
9661 and cast to intmax_t.
9662 * sysdeps/pthread/tst-timer.c (main): Likewise.
9663 * time/clocktest.c (main): Likewise.
9664 * time/tst-posixtz.c (do_test): Likewise.
9665 * timezone/tst-timezone.c (main): Likewise.
9667 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
9668 H.J. Lu <hongjiu.lu@intel.com>
9670 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
9671 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9672 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
9673 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
9674 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
9675 version if bit_Fast_Unaligned_Load is set.
9676 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9677 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9678 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9679 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9680 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9681 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9682 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9683 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
9684 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
9685 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
9687 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
9688 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
9689 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
9690 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
9692 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
9694 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
9695 instead of #if to avoid a Wundef warning.
9696 * stdlib/tst-limits.c (do_test): Likewise.
9698 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
9699 parallel other exception macros.
9700 (fegetenv): Convert from macro to extern inline so that it applies
9701 retroactively to inline functions already seen by the compiler.
9702 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
9704 * posix/Makefile (before-compile): Use $(objpfx) for
9705 posix-conf-vars-def.h.
9707 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9709 * posix/getconf.c (main): Use size_t for type of I.
9710 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9713 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9714 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9715 * posix/posix-envs.def: Likewise.
9716 * sysdeps/posix/sysconf.c: Likewise.
9717 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9718 (specs): Remove array.
9719 * scripts/gen-posix-conf-vars.awk: Support generation of specs
9722 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9723 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9724 (__sysconf): Use CONF_IS_* macros.
9726 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9727 ($(objpfx)posix-conf-vars-def.h): New target.
9728 * posix/posix-conf-vars.list: New file.
9729 * posix/posix-conf-vars.h: New file.
9730 * posix/confstr.c: Include posix-conf-vars.h.
9731 (confstr): Use CONF_IS_* macros.
9732 * posix/posix-envs.def: Include posix-conf-vars.h. Use
9734 * scripts/gen-posix-conf-vars.awk: New file.
9736 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
9738 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
9739 fegetround): Add no-op macros to avoid linknamespace issues.
9741 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
9742 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
9744 * sysdeps/unix/sysv/linux/tile/sysdep.h
9745 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
9746 assembly-specific section to avoid a redefinition warning.
9748 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
9749 long before casting to pointer to avoid a cast warning.
9751 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
9753 * sysdeps/tile/tilegx/Implies: New file.
9755 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
9757 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
9759 2014-12-23 Florian Weimer <fweimer@redhat.com>
9761 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
9763 2014-12-22 Joseph Myers <joseph@codesourcery.com>
9765 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
9767 * sysdeps/unix/sysv/linux/utimes.c: Do not include
9768 <kernel-features.h>.
9769 (__utimes) [__NR_utimes]: Make code unconditional.
9770 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
9771 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9772 (__ASSUME_UTIMES): Do not undefine.
9773 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9774 (__ASSUME_UTIMES): Likewise.
9775 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9776 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
9777 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
9778 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
9780 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
9782 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
9784 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
9787 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
9788 alias to weak alias for j0l, y0l.
9789 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
9790 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
9793 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
9796 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
9798 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
9799 to zero if not already defined.
9801 2014-12-22 Joseph Myers <joseph@codesourcery.com>
9804 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
9805 (__kernel_standard_f): Remove. Moved to k_standardf.c.
9806 (__kernel_standard_l): Remove. Moved to k_standardl.c with
9807 (char *) casts added.
9808 * sysdeps/ieee754/k_standardf.c: New file.
9809 * sysdeps/ieee754/k_standardl.c: Likewise.
9810 * math/Makefile (libm-support): Remove k_standard.
9811 (libm-calls): Add k_standard.
9813 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
9815 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9816 Optimize to avoid an unnecessary FPCR read.
9818 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
9820 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9821 Optimize to reduce FPCR/FPSR accesses.
9823 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
9825 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
9826 Call libc_fetestexcept_aarch64.
9828 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
9830 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
9831 Call libc_fesetround_aarch64.
9833 2014-12-22 Joseph Myers <joseph@codesourcery.com>
9836 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
9837 (__bind): Do not define as weak alias.
9838 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
9840 (__getsockname): Do not define as weak alias.
9842 2014-12-22 Will Newton <will.newton@linaro.org>
9844 * manual/install.texi: Document that we require bison 2.7
9846 * INSTALL: Regenerate.
9847 * configure.ac: Use AC_CHECK_PROG_VER instead of
9848 AC_PATH_PROG when checking for bison and check for
9849 version 2.7 or above.
9850 * configure: Regenerate.
9852 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
9855 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
9856 * sysdeps/tile/ffsll.c (ffsll): To here.
9858 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
9860 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
9862 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
9864 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
9866 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9867 hidden ___tls_get_addr.
9868 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9869 hidden __tls_get_addr.
9870 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
9871 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
9874 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
9876 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
9879 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
9881 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
9882 from "call _dl_init@PLT".
9883 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
9885 2014-12-21 Anders Kaseorg <andersk@mit.edu>
9887 * manual/search.texi: (Array Sort Function): Clarify stable sorting
9890 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
9892 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
9894 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
9897 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
9900 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
9902 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
9904 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
9905 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
9906 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
9907 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
9908 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
9910 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
9912 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
9913 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
9914 (PTR_SUBU): Use subu for mips32r6/mips64r6.
9915 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9916 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
9918 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
9920 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
9922 * string/strncat.c (STRNCAT): Simplify implementation.
9924 2014-12-19 David S. Miller <davem@davemloft.net>
9926 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
9927 access the quad as both a long double and as a series of 4 words.
9929 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
9930 link_map->l_info array access.
9932 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
9934 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
9936 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
9937 * math/atest-exp2.c (TIMEOUT): Likewise.
9938 * math/atest-sincos.c (TIMEOUT): Likewise.
9940 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
9942 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
9943 -Wno-error with -fno-builtin-lround.
9945 2014-12-19 Torvald Riegel <triegel@redhat.com>
9947 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
9948 Contains futex constants and functions moved over from ...
9949 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
9950 <lowlevellock-futex.h>.
9951 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9952 (lll_timedwait_tid): Add comments and parentheses around macro
9955 2014-12-19 Torvald Riegel <triegel@redhat.com>
9957 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
9958 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
9959 (__lll_private_flag): Remove.
9960 (lll_futex_wait): Likewise.
9961 (lll_futex_timed_wait): Likewise.
9962 (lll_futex_wake): Likewise.
9963 (lll_futex_requeue): Likewise.
9964 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9965 (__lll_timedwait_tid): Spell out argument names.
9966 (lll_timedwait_tid): Add comments and parentheses around macro
9968 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
9969 LLL_SHARED and LLL_PRIVATE usable from assembly code.
9971 2014-12-19 Torvald Riegel <triegel@redhat.com>
9973 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
9974 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9975 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9976 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
9977 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
9978 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
9979 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
9980 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
9981 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
9982 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
9983 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
9984 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
9985 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
9986 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
9987 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
9988 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
9989 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
9990 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
9991 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
9993 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
9995 * sysdeps/x86_64/x32/Makefile: New file.
9997 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
9999 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
10000 1L with (mp_limb_t) 1.
10002 2014-12-17 Roland McGrath <roland@hack.frob.com>
10004 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
10005 * nptl/libc_pthread_init.c: ... here.
10006 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
10007 * nptl/register-atfork.c: ... here.
10009 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
10010 Use pthread_sigmask rather than INTERNAL_SYSCALL.
10011 Use assert_perror to check its return value.
10012 (__gai_create_helper_thread): Likewise.
10014 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
10016 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
10018 2014-12-17 Joseph Myers <joseph@codesourcery.com>
10021 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
10023 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
10025 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
10027 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
10029 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
10030 (profil_counter): Likewise.
10031 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
10032 (profil_counter): Likewise.
10033 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
10035 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
10037 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
10038 (profil_counter): Likewise.
10039 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
10041 [!__profil_counter] (profil_counter): Define as weak alias of
10043 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
10044 (profil_counter): Rename to __profil_counter.
10045 [!__profil_counter] (profil_counter): Define as weak alias of
10047 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
10048 (profil_counter): Rename to __profil_counter.
10049 [!__profil_counter] (profil_counter): Define as weak alias of
10051 * sysdeps/posix/profil.c: Update comment referring to
10053 (__profil): Use __profil_counter instead of profil_counter.
10054 * sysdeps/posix/sprofil.c (profil_counter): Rename to
10055 __profil_counter. Use __profil_counter_ushort and
10056 __profil_counter_uint in definitions.
10057 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
10058 instead of profil_counter_uint and profil_counter_ushort.
10061 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
10062 define as weak alias of __inet_makeaddr.
10063 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
10064 as weak alias of __inet_addr.
10065 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
10066 as weak alias of __inet_pton. Use libc_hidden_weak.
10067 * include/arpa/inet.h (__inet_pton): Declare. Use
10069 (inet_makeaddr): Don't use libc_hidden_proto.
10070 (__inet_makeaddr): Declare. Use libc_hidden_proto.
10071 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
10072 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
10073 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
10075 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10076 (test-xfail-POSIX/time.h/linknamespace): Likewise.
10078 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
10080 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
10082 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10084 * stdio-common/bug-vfprintf-nargs.c (do_test):
10085 Cast value to intptr_t to avoid format warning
10086 for usage with PRIdPTR printing macro.
10088 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10090 * libio/tst-widetext.c (do_test):
10091 Use format type %td instead of %Zd for ptrdiff_t
10092 in order to avoid format warning.
10094 2014-12-17 Andreas Schwab <schwab@suse.de>
10096 * nscd/mem.c (gc): Add size_t cast to match printf format.
10098 2014-12-16 Roland McGrath <roland@hack.frob.com>
10100 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
10101 (init): Apply PTR_MANGLE to pointers before storing them.
10102 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
10105 2014-12-16 Joseph Myers <joseph@codesourcery.com>
10108 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
10109 define as weak alias of __memrchr.
10110 (__memrchr): Do not define as strong alias of memrchr.
10111 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
10113 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10114 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10115 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10118 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
10119 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
10120 (if_indextoname): Rename to __if_indextoname and define as weak
10121 alias of __if_indextoname. Use libc_hidden_weak.
10122 (if_freenameindex): Rename to __if_freenameindex and define as
10123 weak alias of __if_freenameindex.
10124 (if_nameindex): Rename to __if_nameindex and define as weak alias
10126 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
10127 __if_nametoindex and define as weak alias of __if_nametoindex.
10128 Use libc_hidden_weak.
10129 (if_freenameindex): Rename to __if_freenameindex and define as
10130 weak alias of __if_freenameindex.
10131 (if_nameindex): Rename to __if_nameindex and define as weak alias
10133 (if_indextoname): Rename to __if_indextoname and define as weak
10134 alias of __if_indextoname. Use libc_hidden_weak.
10135 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
10136 __if_nametoindex and define as weak alias of __if_nametoindex.
10137 Use libc_hidden_weak.
10138 (if_freenameindex): Rename to __if_freenameindex and define as
10139 weak alias of __if_freenameindex. Use libc_hidden_weak.
10140 (if_nameindex_netlink): Use __if_freenameindex instead of
10142 (if_nameindex): Rename to __if_nameindex and define as weak alias
10143 of __if_nameindex. Use libc_hidden_weak.
10144 (if_indextoname): Rename to __if_indextoname and define as weak
10145 alias of __if_indextoname. Use libc_hidden_weak.
10146 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
10148 [!_ISOMAC] (__if_freenameindex): Likewise.
10149 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
10151 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
10153 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10154 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10155 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10156 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10157 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10158 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10159 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10161 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
10163 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10164 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10166 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10168 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
10169 subscript above bounds'
10171 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
10174 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
10176 * libio/tst-fopenloc.c: Use test-skeleton.c.
10178 * stdlib/tst-bsearch.c: Use test-skeleton.c.
10179 (entry): Rename to ITEM.
10180 (do_test, comp): Adjust.
10182 * stdio-common/tst-fseek.c: Use test-skeleton.c.
10184 2014-12-16 Torvald Riegel <triegel@redhat.com>
10186 * string/tester.c: Include <libc-internal.h>.
10187 (test_memset): Ignore -Wmemset-transposed-args.
10189 2014-12-16 Torvald Riegel <triegel@redhat.com>
10191 * misc/tst-mntent2.c (do_test): Fix warning.
10193 2014-12-16 Torvald Riegel <triegel@redhat.com>
10195 * elf/tst-unique4lib.cc(a): Mark as used.
10197 2014-12-16 Florian Weimer <fweimer@redhat.com>
10200 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
10203 2014-12-16 Allan McRae <allan@archlinux.org>
10205 * stdio-common/Makefile (tests): Re-add bug26.
10207 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
10210 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
10213 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
10215 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
10216 (__lll_lock_wait): Likewise.
10217 (__lll_timedlock_wait): Likewise.
10218 (__lll_timedwait_tid): Likewise.
10219 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
10220 (__lll_robust_timedlock_wait): Likewise.
10221 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
10222 (lll_cond_trylock): Likewise.
10223 (__lll_lock): Likewise.
10224 (__lll_robust_lock): Likewise.
10225 (__lll_cond_lock): Likewise.
10226 (lll_robust_cond_lock): Likewise.
10227 (__lll_timedlock): Likewise.
10228 (__lll_robust_timedlock): Likewise.
10229 (__lll_unlock): Likewise.
10230 (__lll_robust_unlock): Likewise.
10231 (lll_wait_tid): Likewise.
10232 (lll_timedwait_tid): Likewise.
10234 2014-12-15 Torvald Riegel <triegel@redhat.com>
10236 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
10238 2014-12-15 Torvald Riegel <triegel@redhat.com>
10240 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
10242 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
10244 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
10245 * stdio-common/tst-sprintf.c: Likewise.
10247 2014-12-15 Torvald Riegel <triegel@redhat.com>
10249 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
10251 2014-12-15 Jeff Law <law@redhat.com>
10254 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
10255 on the heap. (CVE-2012-3406)
10256 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
10257 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
10258 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
10260 2014-12-15 Will Newton <will.newton@linaro.org>
10262 * manual/install.texi: Bump required version of texinfo
10264 * INSTALL: Regenerated.
10265 * configure.ac: Check for makeinfo version 4.7 and above.
10266 * configure: Regenerated.
10268 2014-12-12 Roland McGrath <roland@hack.frob.com>
10270 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
10271 PREFIX, string constant to insert between directory and name.
10272 * sysdeps/posix/shm_open.c: Update caller.
10273 * sysdeps/posix/shm_unlink.c: Likewise.
10274 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
10275 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
10276 (SEM_SHM_PREFIX): New macro.
10277 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
10278 [$(have-thread-library) = no].
10279 * nptl/Makefile (libpthread-routines): Add shm-directory.
10280 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
10281 * sysdeps/nptl/shm-directory.h: New file.
10282 * sysdeps/posix/shm-directory.c
10283 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
10284 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
10285 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
10287 (__where_is_shmfs): Function removed.
10288 (mountpoint, defaultmount, defaultdir, __namedsem_once):
10290 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
10292 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
10294 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
10295 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
10296 unconditional for use inside libpthread.
10297 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
10299 2014-12-12 Roland McGrath <roland@hack.frob.com>
10301 * nptl/pthread_getaffinity.c: New file.
10302 * nptl/pthread_setaffinity.c: New file.
10303 * nptl/pthread_getname.c: New file.
10304 * nptl/pthread_setname.c: New file.
10306 * nptl/pthread_create.c (START_THREAD_DEFN)
10307 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
10309 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10310 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10312 * resolv/res_send.c (send_vc): Disable warning resplen may
10313 be used uninitialized.
10315 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10317 * nptl/tst-mutex6.c
10318 (ATTR_NULL): New define checks ATTR against NULL.
10319 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
10320 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
10322 2014-12-11 James Lemke <jwlemke@codesourcery.com>
10326 (mem2mem_check): Revert my previous change.
10327 (malloc_check_get_size): Revert my previous change.
10328 (mem2chunk_check): Revert my previous change.
10330 2014-12-11 Roland McGrath <roland@hack.frob.com>
10332 * sysdeps/posix/shm-directory.c: New file.
10333 * sysdeps/posix/shm-directory.h: New file.
10334 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
10335 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
10336 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
10337 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
10338 Transmute EPERM to EACCES.
10339 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
10341 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
10342 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
10344 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10346 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
10347 pointer and cast to uintptr_t.
10348 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
10349 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
10350 Add cast to avoid warning.
10351 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
10353 2014-12-11 Joseph Myers <joseph@codesourcery.com>
10355 * nptl/semaphore.h: Move to ...
10356 * sysdeps/pthread/semaphore.h: ... here.
10357 * Makefile (installed-headers): Change nptl/semaphore.h to
10358 sysdeps/pthread/semaphore.h.
10360 2014-12-11 Roland McGrath <roland@hack.frob.com>
10362 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
10363 generated error format strings.
10365 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
10366 -Wformat-extra-args warnings for scanf formats.
10367 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
10368 test of zero-length format (duh).
10369 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
10370 corner-case scanf format test.
10371 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
10372 generated fprintf format string.
10373 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
10374 corner-case sprintf format tests.
10375 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
10376 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
10377 -Wformat-extra-args warnings throughout.
10378 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
10379 (CFLAGS-scanf4.c): Likewise.
10380 (CFLAGS-scanf7.c): Likewise.
10381 (CFLAGS-tst-sprintf.c): Likewise.
10382 (CFLAGS-tst-printf.c): Likewise.
10383 (CFLAGS-tst-printfsz.c): Likewise.
10385 2014-12-11 Joseph Myers <joseph@codesourcery.com>
10387 * include/cpio.h: New file.
10388 * include/fmtmsg.h: Likewise.
10390 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
10391 corresponding format argument to size_t.
10392 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
10394 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
10395 corresponding format argument to size_t.
10396 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
10398 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
10399 corresponding format argument to size_t.
10400 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
10401 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
10402 (CFLAGS-tst-mbswcs2.c): Likewise.
10403 (CFLAGS-tst-mbswcs3.c): Likewise.
10404 (CFLAGS-tst-mbswcs4.c): Likewise.
10405 (CFLAGS-tst-mbswcs5.c): Likewise.
10406 (CFLAGS-tst-trans.c): Likewise
10408 2014-12-11 Roland McGrath <roland@hack.frob.com>
10410 * posix/regexbug1.c (main): Use "%s" format with regerror results,
10411 rather than assuming they won't contain any '%'s.
10413 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
10415 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
10416 inhibit_loop_to_libcall to avoid recursive calls.
10417 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
10418 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
10420 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
10422 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
10425 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
10427 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
10428 integer value instead of boolean.
10430 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
10432 * malloc/malloc.c: Fix powerof2 check.
10434 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10436 * locale/programs/locfile.h (maybe_swap_uint32):
10437 Remove inline and add unused attribute.
10439 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10441 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10442 Truncating assembler expression to a .long expression.
10444 2014-12-11 Andreas Schwab <schwab@suse.de>
10446 * elf/rtld.c (struct map_args): Constify str member.
10447 (do_preload): Constify fname argument.
10449 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10451 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
10452 constants definition.
10454 2014-12-11 Andreas Schwab <schwab@suse.de>
10457 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
10458 FORCE_ELISION instead of DO_ELISION.
10459 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
10461 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
10464 * iconvdata/gconv-modules: Remove duplicate entry.
10466 2014-12-11 Will Newton <will.newton@linaro.org>
10468 Merge gettext 0.19.3 into intl/.
10470 This involves a number of cosmetic changes to comments
10471 and ANSI function definitions and prototypes throughout
10472 all the files. The gettext copyright header is used but
10473 with the date ranges taken from the glibc copy.
10475 * NEWS: Add gettext merge to 2.21.
10476 * intl/bindtextdom.c: Switch to gettext copyright.
10477 Use ANSI definitions and prototypes.
10478 Use gl_* locking primitives rather than __libc_* ones.
10479 Use __builtin_expect rather than __glibc_likely/unlikely.
10480 * intl/dcgettext.c: Switch to gettext copyright.
10481 Use ANSI definitions and prototypes.
10482 * intl/dcigettext.c: Switch to gettext copyright.
10483 Use ANSI definitions and prototypes.
10484 (INTDIV0_RAISES_SIGFPE): New define.
10485 Use gl_* locking primitives rather than __libc_* ones.
10486 Include eval-plural.h instead of plural-eval.c.
10487 Use __builtin_expect rather than __glibc_likely/unlikely.
10488 * intl/dcngettext.c: Switch to gettext copyright.
10489 Use ANSI definitions and prototypes.
10490 * intl/dgettext.c: Likewise.
10491 * intl/dngettext.c: Likewise.
10492 * intl/plural-eval.c: Renamed to...
10493 * intl/eval-plural.h: ...this.
10494 * intl/explodename.c: Switch to gettext copyright.
10495 Use ANSI definitions and prototypes.
10496 (_nl_explode_name): Use strchr instead of __rawmemchr.
10497 * intl/finddomain.c: Switch to gettext copyright.
10498 Use ANSI definitions and prototypes.
10499 Use gl_* locking primitives rather than __libc_* ones.
10500 (_nl_find_domain): Use malloc rather than alloca for
10501 allocation of temporary locale name.
10502 * intl/gettext.c: Switch to gettext copyright.
10503 Use ANSI definitions and prototypes.
10504 * intl/gettextP.h: Switch to gettext copyright.
10505 Use ANSI definitions and prototypes.
10506 Use gl_* locking primitives rather than __libc_* ones.
10507 * intl/gmo.h: Switch to gettext copyright.
10508 (struct sysdep_string): Move struct segment_pair outside of
10510 * intl/hash-string.c: Use ANSI definitions and prototypes.
10511 * intl/hash-string.h: Switch to gettext copyright.
10512 Use ANSI definitions and prototypes.
10513 * intl/l10nflist.c: Switch to gettext copyright.
10514 Use ANSI definitions and prototypes.
10515 (_nl_normalize_codeset): Avoid integer overflow.
10516 * intl/loadinfo.h: Switch to gettext copyright.
10517 Use ANSI definitions and prototypes.
10518 (LIBINTL_DLL_EXPORTED): New define.
10519 (PATH_SEPARATOR): New define.
10520 * intl/loadmsgcat.c: Switch to gettext copyright.
10521 * intl/localealias.c: Switch to gettext copyright.
10522 Use ANSI definitions and prototypes.
10523 (_nl_expand_alias): Use PATH_SEPARATOR.
10524 * intl/ngettext.c: Switch to gettext copyright.
10525 Use ANSI definitions and prototypes.
10526 * intl/plural-exp.c: Likewise.
10527 * intl/plural-exp.h: Switch to gettext copyright.
10528 Use ANSI definitions and prototypes.
10529 (struct expression): Move definition of enum operator outside
10530 of struct definition.
10531 * intl/plural.c: Regenerate.
10532 * intl/plural.y: Switch to gettext copyright.
10533 Use ANSI definitions and prototypes.
10535 * intl/textdomain.c: Switch to gettext copyright.
10536 Use ANSI definitions and prototypes.
10537 Use gl_* locking primitives rather than __libc_* ones.
10539 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
10541 * debug/warning-nop.c: Add used atrribute.
10543 2014-12-10 Joseph Myers <joseph@codesourcery.com>
10545 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
10547 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
10548 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
10549 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
10551 2014-12-10 Joseph Myers <joseph@codesourcery.com>
10552 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10555 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
10556 Undefine after defining function. Define as weak alias of
10557 __wcschr. Use libc_hidden_weak.
10558 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
10559 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
10560 (libc_hidden_def): Also define __GI___wcschr alias.
10561 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
10562 __wcschr and define as weak alias of __wcschr.
10563 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
10565 [!WCSCHR] (DEFAULT_WCSCHR): Define.
10566 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
10567 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
10568 libc_hidden_weak. Do not use libc_hidden_def.
10569 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
10570 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
10571 __GI___wcschr alias.
10572 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
10573 [IS_IN (libc)] (wcschr): Define as macro expanding to
10575 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
10576 [IS_IN (libc)] (__wcschr_power6): Likewise.
10577 [IS_IN (libc)] (__wcschr_power7): Likewise.
10578 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
10580 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
10582 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
10583 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
10584 __wcschr and define as weak alias of __wcschr. Use
10585 libc_hidden_builtin_def.
10586 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
10587 as weak alias of __wcschr. Use libc_hidden_weak.
10588 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
10590 * time/era.c (_nl_init_era_entries): Likewise.
10591 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
10593 (test-xfail-XPG3/time.h/linknamespace): Likewise.
10594 (test-xfail-XPG4/time.h/linknamespace): Likewise.
10596 2014-12-10 Joseph Myers <joseph@codesourcery.com>
10598 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
10599 format for long int variable.
10601 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
10604 * manual/search.texi: (Array Sort Function): Remove claim how to make
10607 2014-12-10 Andreas Schwab <schwab@suse.de>
10610 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
10611 user-controlled locks.
10613 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
10615 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
10618 2014-12-10 Joseph Myers <joseph@codesourcery.com>
10620 * configure.ac (--disable-werror): New configure option.
10621 (enable_werror): New AC_SUBST.
10622 * configure: Regenerated.
10623 * config.make.in (enable-werror): New variable.
10624 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
10626 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
10627 * manual/install.texi (Configuring and compiling): Document
10629 * INSTALL: Regenerated.
10630 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
10631 (CFLAGS-tst-chk2.c): Likewise.
10632 (CFLAGS-tst-chk3.c): Likewise.
10633 (CFLAGS-tst-chk4.cc): Likewise.
10634 (CFLAGS-tst-chk5.cc): Likewise.
10635 (CFLAGS-tst-chk6.cc): Likewise.
10636 (CFLAGS-tst-lfschk1.c): Likewise.
10637 (CFLAGS-tst-lfschk2.c): Likewise.
10638 (CFLAGS-tst-lfschk3.c): Likewise.
10639 (CFLAGS-tst-lfschk4.cc): Likewise.
10640 (CFLAGS-tst-lfschk5.cc): Likewise.
10641 (CFLAGS-tst-lfschk6.cc): Likewise.
10643 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
10644 (main): Disable -Wdeprecated-declarations around calls to
10645 register_printf_function.
10647 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
10648 (do_test): Disable -Wdiv-by-zero around some calls to
10649 fwrite_unlocked and fread_unlocked.
10651 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
10652 (DIAG_POP_NEEDS_COMMENT): Likewise.
10653 (_DIAG_STR1): Likewise.
10654 (_DIAG_STR): Likewise.
10655 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
10656 * stdio-common/bug21.c: Include <libc-internal.h>.
10657 (do_test): Disable -Wformat around call to sscanf.
10658 * stdio-common/scanf14.c: Include <libc-internal.h>.
10659 (main): Disable -Wformat around some calls to scanf functions.
10661 2014-12-09 Torvald Riegel <triegel@redhat.com>
10663 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
10665 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10667 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
10668 stack variable alignment.
10670 2014-12-06 Joseph Myers <joseph@codesourcery.com>
10673 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10674 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
10675 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10676 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
10677 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
10678 __getrlimit instead of getrlimit.
10679 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
10680 __gettimeofday instead of gettimeofday.
10681 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10683 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10685 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10686 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
10688 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10689 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10691 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10693 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
10694 for wide-character tests.
10696 2014-12-04 Roland McGrath <roland@hack.frob.com>
10698 * io/openat64.c: #include <libc-internal.h>
10699 (__openat64): Prototypify. Use ignore_value on MODE.
10700 * io/openat.c: Likewise.
10701 * misc/reboot.c: #include <libc-internal.h>
10702 (reboot): Prototypify. Use ignore_value on HOWTO.
10703 * misc/ptrace.c: #include <libc-internal.h>
10704 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
10706 2014-12-04 Joseph Myers <joseph@codesourcery.com>
10708 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
10709 XPG4, UNIX98 and XOPEN2K.
10710 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
10712 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10714 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10716 * libio/fileops.c: Use ISO C style for function definitions.
10717 * libio/iofopen.c: Likewise.
10718 * libio/wfileops.c: Likewise.
10721 * libio/fileops.c (_IO_new_file_underflow): Unset cached
10723 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10724 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10725 (fgets_func): Function pointer to fgets and fgetws.
10726 (do_ftell_test): Add test to verify ftell value after read
10728 (do_test): Set fgets_func.
10730 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
10731 O_TRUNC flag for w and w+ modes.
10732 (do_rewind_test): Likewise.
10733 (do_ftell_test): Likewise.
10734 (do_write_test): Likewise.
10737 * libio/fileops.c (do_ftell): Seek only when there are
10739 * libio/wfileops.c (do_ftell_wide): Likewise.
10740 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
10742 (do_one_test): Call it.
10744 2014-12-03 Joseph Myers <joseph@codesourcery.com>
10746 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
10747 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
10748 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
10750 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10751 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10752 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10754 2014-12-02 Joseph Myers <joseph@codesourcery.com>
10756 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
10758 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10761 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
10762 as weak alias of __getifaddrs. Use libc_hidden_weak.
10763 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10764 __freeifaddrs. Use libc_hidden_weak.
10765 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
10766 define as weak alias of __getifaddrs. Use libc_hidden_weak.
10767 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10768 __freeifaddrs. Use libc_hidden_weak.
10769 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
10770 __getifaddrs and define as weak alias of __getifaddrs. Use
10772 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10773 __freeifaddrs. Use libc_hidden_weak.
10774 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
10776 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10777 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10779 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
10782 * sysdeps/mips/start.S (__start): Use indirect jump to call
10785 2014-12-02 Joseph Myers <joseph@codesourcery.com>
10787 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
10789 * nptl/tst-mutex1.c: Include <stdbool.h>.
10790 [!ATTR] (ATTR_NULL): New macro.
10791 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
10792 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
10793 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
10795 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
10799 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
10800 Change conditional to [__USE_MISC].
10803 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
10805 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
10807 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
10809 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
10811 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10812 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10813 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10814 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10815 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10816 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10817 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10818 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10819 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10821 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
10823 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10825 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10826 Remove strpbrk objects.
10827 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10828 (__libc_ifunc_impl_list): Remove strpbrk implementation.
10829 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
10830 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
10831 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
10832 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
10834 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10835 Remove strcspn objects.
10836 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10837 (__libc_ifunc_impl_list): Remove strcspn implementation.
10838 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
10839 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
10840 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
10841 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
10843 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10844 Remove strspn objetcs.
10845 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10846 (__libc_ifunc_impl_list): Remove strspn implementation.
10847 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
10848 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10849 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
10850 * sysdeps/powerpc/powerpc64/strspn.S: New file.
10852 2014-12-01 James Lemke <jwlemke@codesourcery.com>
10856 (mem2mem_check): Add a terminator to the chain of checking blocks.
10857 (malloc_check_get_size): Use it here.
10858 (mem2chunk_check): Ditto.
10860 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10862 * sysdeps/powerpc/powerpc64/strtok.S: New file.
10863 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
10865 2014-11-29 Carlos O'Donell <carlos@redhat.com>
10867 * bits/ioctl-types.h: Indent preprocessor directives correctly.
10869 * nptl/nptl-init.c: Include libc-internal.h.
10870 (__pthread_initialize_minimal_internal): Use ROUND_UP.
10872 * elf/ldconfig.c (search_dir): Expand comment.
10874 2014-11-29 Joseph Myers <joseph@codesourcery.com>
10876 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
10878 (linknamespace-symlist-stdlibs-tests): Likewise.
10879 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
10880 instead of $(objpfx)symlist-stdlibs.
10881 (linknamespace-libs-isoc): New variable.
10882 (linknamespace-libs): Use $(linknamespace-libs-isoc).
10883 (linknamespace-libs-ISO): New variable.
10884 (linknamespace-libs-ISO99): Likewise.
10885 (linknamespace-libs-ISO11): Likewise.
10886 (linknamespace-libs-XPG3): Likewise.
10887 (linknamespace-libs-XPG4): Likewise.
10888 (linknamespace-libs-POSIX): Likewise.
10889 (linknamespace-libs-UNIX98): Likewise.
10890 (linknamespace-libs-XOPEN2K): Likewise.
10891 (linknamespace-libs-POSIX2008): Likewise.
10892 (linknamespace-libs-XOPEN2K8): Likewise.
10893 ($(objpfx)symlist-stdlibs): Replace by
10894 $(linknamespace-symlist-stdlibs-tests). Use
10895 $(linknamespace-libs-$*) as set of libraries.
10896 ($(linknamespace-header-tests)): Update dependencies. Use
10897 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
10898 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
10899 * conform/linknamespace.pl: Remove comment about considering
10900 definitions of symbols from irrelevant libraries.
10902 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
10905 * elf/dl-tls.c: Include <atomic.h>.
10906 (oom): Remove #ifdef SHARED/#endif.
10907 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
10908 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
10909 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
10911 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
10912 * nptl/Makefile (tests): Add tst-stack4.
10913 (modules-names): Add tst-stack4mod.
10914 ($(objpfx)tst-stack4): New.
10915 (tst-stack4mod.sos): Likewise.
10916 ($(objpfx)tst-stack4.out): Likewise.
10917 ($(tst-stack4mod.sos)): Likewise.
10919 * nptl/tst-stack4.c: New file.
10920 * nptl/tst-stack4mod.c: Likewise.
10922 2014-11-27 J. Brown <jb999@gmx.de>
10924 * sysdeps/x86/bits/string.h: Add recent CPUs.
10926 2014-11-27 Joseph Myers <joseph@codesourcery.com>
10928 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
10931 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
10934 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
10937 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
10939 * nscd/connections.c: Include libc-internal.h because of macro
10940 usage ignore_value.
10942 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10944 * string/bits/string3.h (__warn_memset_zero_len): Don't
10945 declare for gcc newer than 5.0.
10946 (memset): Don't test for zero-length __LEN for gcc newer than
10949 2014-11-27 Joseph Myers <joseph@codesourcery.com>
10951 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
10952 size_t for %zu format.
10954 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
10955 difference, not %ju.
10957 2014-11-26 Joseph Myers <joseph@codesourcery.com>
10959 * include/libc-internal.h (ignore_value): New macro.
10960 * nscd/connections.c (restart): Wrap calls to setuid and setgid
10963 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
10966 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
10967 pthread_cleanup_push to void *.
10969 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
10974 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
10975 instead of 1L << 52.
10977 * libio/bug-rewind.c (do_test): Check fwscanf return values.
10978 * libio/bug-rewind2.c (do_test): Likewise.
10980 * debug/test-stpcpy_chk-ifunc.c: Remove file.
10981 * debug/test-strcpy_chk-ifunc.c: Likewise.
10982 * wcsmbs/test-wcschr-ifunc.c: Likewise.
10983 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10984 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10985 * wcsmbs/test-wcslen-ifunc.c: Likewise.
10986 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10987 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10988 * Rules [$(multi-arch) = no] (tests): Do not filter out
10990 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
10991 * debug/Makefile (tests-ifunc): Remove variable.
10992 (tests): Do not add $(tests-ifunc).
10993 * wcsmbs/Makefile (tests-ifunc): Remove variable.
10994 (tests): Do not add $(tests-ifunc).
10995 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
10996 [TEST_IFUNC]: Remove conditionals.
10997 * string/test-string.h (TEST_IFUNC): Remove macro.
10998 [TEST_IFUNC]: Remove conditionals.
11000 * string/test-strchr.c [!WIDE] (L): New macro.
11001 [WIDE] (L): Likewise.
11002 (check1): Use CHAR instead of char. Use L on string and character
11005 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
11007 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
11009 * sysdeps/powerpc/bits/atomic.h
11010 (__arch_atomic_exchange_and_add_32_acq): Add definition.
11011 (__arch_atomic_exchange_and_add_32_rel): Likewise.
11012 (atomic_exchange_and_add_acq): Likewise.
11013 (atomic_exchange_and_add_rel): Likewise.
11014 * sysdeps/powerpc/powerpc32/bits/atomic.h
11015 (__arch_atomic_exchange_and_add_64_acq): Add definition.
11016 (__arch_atomic_exchange_and_add_64_rel): Likewise.
11017 * sysdeps/powerpc/powerpc64/bits/atomic.h
11018 (__arch_atomic_exchange_and_add_64_acq): Add definition.
11019 (__arch_atomic_exchange_and_add_64_rel): Likewise.
11021 2014-11-26 Torvald Riegel <triegel@redhat.com>
11023 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
11024 Change synchronization of __sched_fifo_min_prio and
11025 __sched_fifo_max_prio.
11026 * nptl/pthread_mutexattr_getprioceiling.c
11027 (pthread_mutexattr_getprioceiling): Likewise.
11028 * nptl/pthread_mutexattr_setprioceiling.c
11029 (pthread_mutexattr_setprioceiling): Likewise.
11030 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
11031 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11034 2014-11-26 Joseph Myers <joseph@codesourcery.com>
11036 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
11039 2014-11-25 Joseph Myers <joseph@codesourcery.com>
11041 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
11042 third argument const.
11044 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
11046 fnmatch: work around GCC compiler warning bug with uninit var
11047 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
11048 This works around a bug with x86-64 GCC 4.9.2 and earlier
11049 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
11050 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
11051 used uninitialized in this function [-Wmaybe-uninitialized]".
11053 2014-11-25 Joseph Myers <joseph@codesourcery.com>
11055 * posix/bug-regex31.c (main): Return RES not 0.
11057 2014-11-25 Anton Blanchard <anton@samba.org>
11059 * sysdeps/powerpc/bits/atomic.h
11060 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
11062 2014-11-24 Sterling Augustine <saugustine@google.com>
11064 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
11066 2014-11-24 Ryan Cumming <etaoins@gmail.com>
11069 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
11071 2014-11-24 Joseph Myers <joseph@codesourcery.com>
11074 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
11075 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
11077 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11078 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11080 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
11082 * string/strncpy.c (strncpy): Improve performance by using memset.
11084 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
11086 * string/strcpy.c (strcpy):
11087 Improve performance by using strlen and memcpy.
11089 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
11091 * string/strcoll_l.c (get_next_seq): __always_inline.
11092 * string/strcoll_l.c (do_compare): __always_inline.
11094 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11096 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
11098 * include/mqueue.h: Likewise.
11099 * include/stdlib.h: Likewise.
11101 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
11102 (get_null_defines): Adjust.
11103 * sunrpc/Makefile: Adjust comment.
11104 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
11105 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
11106 (CFLAGS-interp.c): Likewise.
11107 (CFLAGS-ldconfig.c): Likewise.
11108 (CPPFLAGS-.os): Likewise.
11109 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11110 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11111 * extra-modules.mk (extra-modules.mk): Likewise.
11112 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
11113 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
11114 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
11115 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
11116 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
11117 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
11118 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
11119 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
11120 * iconvdata/Makefile (CPPFLAGS): Likewise.
11121 (cpp-srcs-left): Add libof for all iconvdata routines.
11122 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
11123 * include/assert.h: Likewise.
11124 * include/ctype.h: Likewise.
11125 * include/errno.h: Likewise.
11126 * include/libc-symbols.h: Likewise.
11127 * include/math.h: Likewise.
11128 * include/netdb.h: Likewise.
11129 * include/resolv.h: Likewise.
11130 * include/stdio.h: Likewise.
11131 * include/stdlib.h: Likewise.
11132 * include/string.h: Likewise.
11133 * include/sys/stat.h: Likewise.
11134 * include/wctype.h: Likewise.
11135 * intl/l10nflist.c: Likewise.
11136 * libidn/idn-stub.c: Likewise.
11137 * libio/libioP.h: Likewise.
11138 * nptl/libc_multiple_threads.c: Likewise.
11139 * nptl/pthreadP.h: Likewise.
11140 * posix/regex_internal.h: Likewise.
11141 * resolv/res_hconf.c: Likewise.
11142 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
11143 * sysdeps/arm/memmove.S: Likewise.
11144 * sysdeps/arm/sysdep.h: Likewise.
11145 * sysdeps/generic/_itoa.h: Likewise.
11146 * sysdeps/generic/symbol-hacks.h: Likewise.
11147 * sysdeps/gnu/errlist.awk: Likewise.
11148 * sysdeps/gnu/errlist.c: Likewise.
11149 * sysdeps/i386/i586/memcpy.S: Likewise.
11150 * sysdeps/i386/i586/memset.S: Likewise.
11151 * sysdeps/i386/i686/memcpy.S: Likewise.
11152 * sysdeps/i386/i686/memmove.S: Likewise.
11153 * sysdeps/i386/i686/mempcpy.S: Likewise.
11154 * sysdeps/i386/i686/memset.S: Likewise.
11155 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11156 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11157 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
11158 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
11159 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11160 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11161 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
11162 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11163 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11164 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11165 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11166 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11167 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11168 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11169 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11170 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11171 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
11172 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
11173 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
11174 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11175 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11176 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11177 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11178 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11179 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11180 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11181 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
11182 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11183 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
11184 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11185 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11186 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11187 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11188 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11189 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11190 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11191 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11192 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11193 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11194 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11195 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11196 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11197 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11198 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11199 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11200 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11201 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
11202 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
11203 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11204 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11205 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11206 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
11207 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
11208 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11209 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11210 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
11211 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11212 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
11213 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
11214 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11215 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11216 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11217 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
11218 * sysdeps/nptl/bits/libc-lock.h: Likewise.
11219 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11220 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
11221 * sysdeps/posix/closedir.c: Likewise.
11222 * sysdeps/posix/opendir.c: Likewise.
11223 * sysdeps/posix/readdir.c: Likewise.
11224 * sysdeps/posix/rewinddir.c: Likewise.
11225 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
11226 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
11227 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11228 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11229 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11230 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
11231 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
11232 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
11233 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
11234 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
11235 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
11236 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
11237 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
11238 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
11239 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
11240 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
11241 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
11242 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
11243 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
11244 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
11245 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
11246 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
11247 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
11248 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
11249 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
11250 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
11251 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
11252 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
11253 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
11254 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
11255 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
11256 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
11257 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
11258 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
11259 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
11260 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
11261 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11262 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11263 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
11264 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
11265 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
11266 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
11267 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
11268 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
11269 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
11270 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
11271 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
11272 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
11273 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
11274 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
11275 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
11276 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
11277 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
11278 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
11279 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
11280 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
11281 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
11282 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
11283 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
11284 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
11285 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
11286 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
11287 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
11288 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
11289 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
11290 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
11291 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
11292 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
11293 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
11294 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
11295 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
11296 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
11297 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
11298 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
11299 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
11300 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
11301 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
11302 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
11303 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11304 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
11305 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
11306 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11307 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
11308 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
11309 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11310 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
11311 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
11312 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11313 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11314 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11315 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
11316 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
11317 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
11318 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11319 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11320 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
11321 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11322 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11323 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
11324 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
11325 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11326 * sysdeps/unix/alpha/sysdep.S: Likewise.
11327 * sysdeps/unix/alpha/sysdep.h: Likewise.
11328 * sysdeps/unix/make-syscalls.sh: Likewise.
11329 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11330 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11331 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11332 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
11333 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11334 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11335 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
11336 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11337 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11338 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
11339 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11340 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11341 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11342 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11343 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11344 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11345 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11346 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11347 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11348 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11349 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11350 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11351 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11352 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11353 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11354 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11355 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11358 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
11359 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11360 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11361 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11362 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11363 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11364 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11365 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11366 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11367 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11368 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11369 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11370 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11371 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11372 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11373 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11374 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11375 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11376 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11377 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11378 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11379 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11380 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11381 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11382 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11383 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11384 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11385 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11386 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11387 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
11388 * sysdeps/x86_64/memcpy.S: Likewise.
11389 * sysdeps/x86_64/memmove.c: Likewise.
11390 * sysdeps/x86_64/memset.S: Likewise.
11391 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
11392 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11393 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11394 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
11395 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
11396 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11397 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11398 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11399 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11400 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11401 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11402 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11403 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
11404 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11405 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11406 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
11407 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11408 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11409 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11410 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11411 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
11412 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11413 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11414 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11415 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11416 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11417 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11418 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
11419 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11420 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11421 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
11422 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11423 * sysdeps/x86_64/strcmp.S: Likewise.
11425 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
11427 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
11428 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
11429 * elf/rtld-Rules: Likewise.
11430 * elf/setup-vdso.h: Likewise.
11431 * include/assert.h: Likewise.
11432 * include/bits/stdlib-float.h: Likewise.
11433 * include/errno.h: Likewise.
11434 * include/sys/stat.h: Likewise.
11435 * include/unistd.h: Likewise.
11436 * sysdeps/aarch64/setjmp.S: Likewise.
11437 * sysdeps/alpha/setjmp.S: Likewise.
11438 * sysdeps/arm/__longjmp.S: Likewise.
11439 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
11440 * sysdeps/arm/setjmp.S: Likewise.
11441 * sysdeps/arm/sysdep.h: Likewise.
11442 * sysdeps/generic/_itoa.h: Likewise.
11443 * sysdeps/generic/dl-sysdep.h: Likewise.
11444 * sysdeps/generic/ldsodefs.h: Likewise.
11445 * sysdeps/i386/dl-tls.h: Likewise.
11446 * sysdeps/i386/setjmp.S: Likewise.
11447 * sysdeps/m68k/setjmp.c: Likewise.
11448 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
11449 * sysdeps/mach/hurd/opendir.c: Likewise.
11450 * sysdeps/posix/getcwd.c: Likewise.
11451 * sysdeps/posix/opendir.c: Likewise.
11452 * sysdeps/posix/profil.c: Likewise.
11453 * sysdeps/powerpc/dl-procinfo.h: Likewise.
11454 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11455 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11456 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11457 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11458 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
11459 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11460 * sysdeps/s390/dl-tls.h: Likewise.
11461 * sysdeps/s390/s390-32/setjmp.S: Likewise.
11462 * sysdeps/s390/s390-64/setjmp.S: Likewise.
11463 * sysdeps/sh/sh3/setjmp.S: Likewise.
11464 * sysdeps/sh/sh4/setjmp.S: Likewise.
11465 * sysdeps/unix/alpha/sysdep.h: Likewise.
11466 * sysdeps/unix/arm/sysdep.S: Likewise.
11467 * sysdeps/unix/i386/sysdep.S: Likewise.
11468 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11469 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11470 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11471 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11472 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11473 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11474 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11475 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11476 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11477 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11478 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11479 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11480 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11483 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11484 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11485 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11486 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11487 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11488 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11489 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11490 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11491 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11492 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11493 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11494 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11495 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11496 * sysdeps/x86_64/setjmp.S: Likewise.
11498 * include/math.h: Use IS_IN instead of IS_IN_libm.
11499 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
11500 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11501 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11502 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11503 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11504 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11505 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11506 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11507 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11508 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11509 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
11510 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11511 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
11512 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11513 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11514 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
11515 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
11516 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11517 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
11518 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
11519 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
11520 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
11521 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
11522 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
11523 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
11524 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11525 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
11526 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11527 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11528 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11529 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
11530 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11531 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
11538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
11540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
11542 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11543 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
11544 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11545 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11546 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11547 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
11553 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
11554 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
11555 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11556 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11557 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11558 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11559 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11560 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11561 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11562 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
11563 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
11564 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
11565 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
11566 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
11567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11568 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
11570 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
11571 * nptl/pthreadP.h: Likewise.
11572 * nptl_db/structs.def: Likewise.
11573 * sysdeps/arm/sysdep.h: Likewise.
11574 * sysdeps/nptl/bits/libc-lock.h: Likewise.
11575 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11576 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
11577 * sysdeps/unix/alpha/sysdep.h: Likewise.
11578 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11579 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11580 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11581 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11582 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11583 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11584 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11585 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11586 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11587 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11588 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11589 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11590 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11591 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11594 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11595 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11596 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11597 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11598 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11599 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11600 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11601 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11602 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11603 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11605 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
11606 * nptl/pthreadP.h: Likewise.
11607 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.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/ia64/sysdep-cancel.h: Likewise.
11613 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11614 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11615 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11616 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11617 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11618 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11623 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11624 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11625 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11626 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11627 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11628 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11629 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11630 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11632 * dlfcn/dladdr.c: Use IS_IN.
11633 * dlfcn/dladdr1.c: Likewise.
11634 * dlfcn/dlclose.c: Likewise.
11635 * dlfcn/dlerror.c: Likewise.
11636 * dlfcn/dlinfo.c: Likewise.
11637 * dlfcn/dlmopen.c: Likewise.
11638 * dlfcn/dlopen.c: Likewise.
11639 * dlfcn/dlsym.c: Likewise.
11640 * dlfcn/dlvsym.c: Likewise.
11642 * include/ifaddrs.h: Use IS_IN.
11643 * inet/check_pf.c: Likewise.
11644 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11645 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
11647 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
11649 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11650 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
11652 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
11653 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
11656 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
11658 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
11659 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11660 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11661 * include/libc-symbols.h (IS_IN_LIB): New macro.
11662 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
11663 * include/netdb.h: Likewise.
11664 * include/stap-probe.h: Remove all uses of IN_LIB.
11666 * Makeconfig (module-cppflags-real): Define MODULE_NAME
11667 instead of IN_MODULE.
11668 * include/libc-symbols.h (IN_MODULE): Define using
11670 (PASTE_NAME, PASTE_NAME1): New macros.
11671 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
11673 (STAP_PROBE_ASM): Likewise.
11675 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
11677 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
11678 __mach_init in dlopened libc.
11680 2014-11-22 Mike Frysinger <vapier@gentoo.org>
11682 * sysdeps/arm/preconfigure.ac: Delete EABI check.
11683 * sysdeps/arm/preconfigure: Regenerate.
11685 2014-11-21 Roland McGrath <roland@hack.frob.com>
11687 * nptl/pthread_create.c (__pthread_create_2_1): Set
11688 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
11689 when copying values from IATTR into PD.
11691 2014-11-21 Will Newton <will.newton@linaro.org>
11692 Andrew Pinski <andrew.pinski@caviumnetworks.com>
11694 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11695 Refactor inline-asm. Also add comment.
11697 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
11698 ElfW macro instead of hardcoded Elf64 types.
11699 (la_aarch64_gnu_pltenter): Likewise.
11700 * sysdeps/aarch64/dl-machine.h
11701 (elf_machine_runtime_setup): Use ElfW(Addr).
11703 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
11704 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
11705 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
11706 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
11707 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
11708 (R_AARCH64_TLS_DTPMOD64): Rename to ..
11709 (R_AARCH64_TLS_DTPMOD): This.
11710 (R_AARCH64_TLS_DTPREL64): Rename to ...
11711 (R_AARCH64_TLS_DTPREL): This.
11712 (R_AARCH64_TLS_TPREL64): Rename to ...
11713 (R_AARCH64_TLS_TPREL): This.
11714 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11715 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11716 R_AARCH64_TLS_TPREL64.
11717 (elf_machine_rela): Likewise.
11719 2014-11-21 Torvald Riegel <triegel@redhat.com>
11721 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11722 by setting it to 0. 64b atomics are not supported currently.
11724 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
11727 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11728 search domain names.
11730 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
11734 * resolv/res_query.c (__libc_res_nquerydomain): Retain
11736 * posix/tst-getaddrinfo5.c: New.
11737 * posix/Makefile (tests): Add it.
11739 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
11743 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
11744 after parsing line but before break_if_match.
11745 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
11746 if there is a protocol mismatch.
11748 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11750 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
11751 because the potential race is on the user-supplied stream.
11753 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
11755 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
11756 string literal if not passed a buffer.
11757 * manual/job.texi (ctermid): Update reasoning, note deviation
11758 from posix, suggest mtasurace when not passed a buffer, for
11759 future non-preliminary safety notes.
11761 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
11763 * manual/users.texi (cuserid): Fix MT-Safety note for the case
11764 of not passing it a buffer.
11765 Reported by Peng Haitao.
11767 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
11769 * manual/Makefile ($(objpfx)stamp-summary): Require
11770 check-safety.sh to pass.
11771 * manual/check-safety.sh: Wish for verification that every
11772 @deftypefn and @deftypefun is followed by a @safety remark.
11774 2014-11-20 Roland McGrath <roland@hack.frob.com>
11776 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
11778 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
11779 PTHREAD_CANCEL_ASYNCHRONOUS.
11780 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
11783 * nptl/default-sched.h: New file.
11784 * sysdeps/unix/sysv/linux/default-sched.h: New file.
11785 * nptl/pthread_create.c: Include it.
11786 (__pthread_create_2_1): Use collect_default_sched instead of making
11787 Linux syscalls here directly.
11789 2014-11-20 Torvald Riegel <triegel@redhat.com>
11791 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
11792 __pthread_once): Use C11 atomics.
11794 2014-11-20 Torvald Riegel <triegel@redhat.com>
11796 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
11798 2014-11-20 Torvald Riegel <triegel@redhat.com>
11800 * include/atomic.h (__atomic_link_error, __atomic_check_size,
11801 atomic_thread_fence_acquire, atomic_thread_fence_release,
11802 atomic_thread_fence_seq_cst, atomic_load_relaxed,
11803 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
11804 atomic_compare_exchange_weak_relaxed,
11805 atomic_compare_exchange_weak_acquire,
11806 atomic_compare_exchange_weak_release,
11807 atomic_exchange_acquire, atomic_exchange_release,
11808 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
11809 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
11810 atomic_fetch_and_acquire,
11811 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
11813 2014-11-20 Torvald Riegel <triegel@redhat.com>
11815 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
11816 USE_ATOMIC_COMPILER_BUILTINS): Define.
11817 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
11818 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11819 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
11820 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11821 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
11822 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11823 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
11824 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11825 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
11826 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11827 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
11828 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11829 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
11830 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11831 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
11832 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11833 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11834 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11835 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11836 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11837 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
11838 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11839 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11840 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11841 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
11842 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11843 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11844 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11845 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
11846 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11847 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
11848 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11849 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
11850 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11851 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
11852 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11853 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
11854 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11855 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
11856 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11858 2014-11-19 Roland McGrath <roland@hack.frob.com>
11860 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
11861 the sched_priority value here. It was already checked when the user
11862 called pthread_attr_setschedparam.
11864 * nptl/tst-bad-schedattr.c: New file.
11865 * nptl/Makefile (tests): Add it.
11867 2014-11-19 Carlos O'Donell <carlos@redhat.com>
11868 Florian Weimer <fweimer@redhat.com>
11869 Joseph Myers <joseph@codesourcery.com>
11870 Adam Conrad <adconrad@0c3.net>
11871 Andreas Schwab <schwab@suse.de>
11872 Brooks <bmoses@google.com>
11875 * wordexp-test.c (__dso_handle): Add prototype.
11876 (__register_atfork): Likewise.
11877 (__app_register_atfork): New function.
11878 (registered_forks): New global.
11879 (register_fork): New function.
11880 (test_case): Add 3 new tests for WRDE_CMDSUB.
11881 (main): Call __app_register_atfork.
11882 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
11883 fork count is non-zero fail the test.
11884 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
11886 (parse_dollars): Remove check for WRDE_NOCMD.
11887 (parse_dquote): Likewise.
11889 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11891 * Makeconfig (built-modules): List non-library modules to be
11893 (module-cppflags): Include libc-modules.h for
11894 everything except shlib-versions.v.i.
11895 (CPPFLAGS): Use it.
11896 (before-compile): Add libc-modules.h.
11897 ($(common-objpfx)libc-modules.h,
11898 $(common-objpfx)libc-modules.stmp): New targets.
11899 (common-generated): Add libc-modules.h and libc-modules.stmp.
11900 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
11901 * include/libc-symbols.h: Don't include libc-modules.h.
11902 * include/libc-modules.h: Remove file.
11903 * scripts/gen-libc-modules.awk: New script to generate
11905 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
11906 Depend on libc-modules.stmp.
11908 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
11910 * Makeconfig (in-module): Get value of libof set for the
11912 (CPPFLAGS): Use $(in-module).
11913 * Makerules: Don't suffix routine names for nonlib.
11914 * include/libc-modules.h: New file.
11915 * include/libc-symbols.h: Include libc-modules.h
11916 (IS_IN): New macro to replace IS_IN_* macros.
11917 * elf/Makefile: Set libof-* for each routine.
11918 * elf/rtld-Rules: Likewise.
11919 * extra-modules.mk: Likewise.
11920 * iconv/Makefile: Likewise.
11921 * iconvdata/Makefile: Likewise.
11922 * locale/Makefile: Likewise.
11923 * malloc/Makefile: Likewise.
11924 * nss/Makefile: Likewise.
11925 * sysdeps/gnu/Makefile: Likewise.
11926 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
11927 * sysdeps/unix/sysv/linux/Makefile: Likewise.
11928 * sysdeps/s390/s390-64/Makefile: Likewise.
11929 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
11930 CPPFLAGS for nscd instead of nonlib.
11932 2014-11-18 Roland McGrath <roland@hack.frob.com>
11934 * nptl/createthread.c: New file.
11936 * nptl/createthread.c: Moved ...
11937 * sysdeps/unix/sysv/linux/createthread.c: ... here.
11939 * nptl/createthread.c: Add proper top-line comment.
11940 (do_clone): Folded into ...
11941 (create_thread): ... here. Take new arguments STOPPED_START and
11942 THREAD_RAN. Always set PD->stopped_start to something here. Don't
11943 increment __nptl_threads, do event-reporting logic, do
11944 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
11945 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
11946 resource cleanup if sched_setaffinity or sched_setscheduler fails,
11947 just send SIGCANCEL.
11948 * nptl/pthread_create.c: Forward-declare create_thread before
11949 including createthread.c.
11950 (start_thread): Use new macro START_THREAD_DEFN to replace defining
11951 declaration, and new macro START_THREAD_SELF to replace argument.
11952 Remove return statement.
11953 (report_thread_creation): New function.
11954 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
11955 synchronization logic, and __nptl_nthreads increment here, around
11956 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
11957 PD->parent_cancelhandling here, before create_thread. When
11958 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
11959 __deallocate_stack, and ENOMEM translation here.
11961 2014-11-18 Joseph Myers <joseph@codesourcery.com>
11964 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
11965 (mptwo): Rename to __mptwo.
11966 (__inv): Use __mptwo instead of mptwo.
11967 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
11968 (mptwo): Rename to __mptwo.
11969 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
11970 of mpone and __mptwo instead of mptwo.
11971 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
11973 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11974 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
11975 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
11976 of mpone and __mptwo instead of mptwo.
11977 (__mpranred): Use __mpone instead of mpone.
11978 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
11980 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11981 (test-xfail-ISO99/math.h/linknamespace): Likewise.
11982 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11983 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11984 (test-xfail-ISO11/math.h/linknamespace): Likewise.
11985 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11986 (test-xfail-XPG3/math.h/linknamespace): Likewise.
11987 (test-xfail-XPG4/math.h/linknamespace): Likewise.
11988 (test-xfail-POSIX/math.h/linknamespace): Likewise.
11989 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11990 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11991 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11992 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11993 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11994 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11995 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11996 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11997 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11998 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12000 2014-11-18 Tom de Vries <tom@codesoucery.com>
12002 * manual/signal.texi (Primitives Interrupted by Signals): In section,
12003 replace BSD Handler xref with BSD Signal Handling.
12005 2014-11-17 Richard Henderson <rth@redhat.com>
12007 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
12008 (_FP_PACK_RAW_2): Remove.
12009 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
12010 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
12011 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
12012 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
12013 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
12014 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
12015 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
12016 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
12017 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
12018 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
12019 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
12020 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
12021 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
12022 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
12023 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
12024 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
12026 2014-11-14 Roland McGrath <roland@hack.frob.com>
12028 * signal/signal.h [__USE_MISC]
12029 (struct sigvec): Remove type.
12030 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
12031 (sigvec): Remove declaration.
12032 * sysdeps/posix/sigvec.c: Moved ...
12033 * signal/sigvec.c: ... here, replacing old file.
12034 (struct sigvec): New type, copied from old signal.h definition.
12035 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
12036 (__sigvec): Convert definition to prototype.
12037 (sigvec): Replace weak_alias with compat_symbol.
12038 * signal/Versions (libc: GLIBC_2.21): New version set.
12039 * include/signal.h: Remove __sigvec declaration.
12040 * sysdeps/unix/bsd/sigvec.c: Remove file.
12041 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
12042 * manual/signal.texi (BSD Handler): Remove subsection.
12043 Move siginterrupt up to ...
12044 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
12045 (Blocking in BSD): Fold subsection into its parent.
12046 * NEWS: Mention sigvec removal.
12048 2014-11-14 Joseph Myers <joseph@codesourcery.com>
12050 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
12051 (DLA_FMS): Make definition conditional only on [__FMA4__].
12052 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
12055 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
12056 Make definition conditional only on [PROF].
12057 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
12059 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
12060 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
12062 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
12064 * include/signal.h (__sigpause): Move declaration above call to
12066 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
12068 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12069 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12071 2014-11-14 David S. Miller <davem@davemloft.net>
12073 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
12074 Define before including <string/memcpy.c> and <string/mempcpy.c>.
12076 2014-11-14 Joseph Myers <joseph@codesourcery.com>
12078 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
12079 * configure: Regenerated.
12080 * manual/install.texi (Tools for Compilation): Document a
12081 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
12082 compiler verified to work.
12083 * INSTALL: Regenerated.
12085 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
12086 redeclare with asm name.
12087 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
12088 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
12089 including <string.h>.
12090 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12091 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
12092 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12093 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
12094 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12095 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12096 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12098 2014-11-13 Joseph Myers <joseph@codesourcery.com>
12100 * stdlib/strtol.c (__strtol): Use prototype definition.
12103 * stdlib/strtol.c (SYM__): New macro.
12104 (SYM__1): Likewise.
12105 (__strtol): Likewise.
12106 (strtol): Rename to __strtol and define as weak alias of
12107 __strtol. Use libc_hidden_weak.
12109 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12111 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
12112 Use numbered labels in inline assembly.
12114 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12116 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
12117 Add setjmp LIBC_PROBE.
12118 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
12120 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
12121 Add longjmp, longjmp_target LIBC_PROBE.
12122 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
12125 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12127 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12128 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
12129 to get rid of unused variable warning.
12131 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12133 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
12134 Check for unwind_backtrace == NULL only in SHARED case.
12135 (__backchain_backtrace): Compile only in SHARED case.
12136 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
12138 (__backchain_backtrace): Declare as static.
12140 2014-11-12 Roland McGrath <roland@hack.frob.com>
12142 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
12143 (__libc_multiple_threads_ptr): Variable moved ...
12144 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
12146 2014-11-12 Joseph Myers <joseph@codesourcery.com>
12148 * conform/GlibcConform.pm: New file.
12149 * conform/conformtest.pl: Use GlibcConform module.
12150 * conform/linknamespace.pl: New file.
12151 * conform/list-header-symbols.pl: Likewise.
12152 * conform/Makefile (linknamespace-symlists-base): New variable.
12153 (linknamespace-symlists-tests): Likewise.
12154 (linknamespace-header-base): Likewise.
12155 (linknamespace-header-tests): Likewise.
12156 (tests-special): Add new tests.
12157 ($(linknamespace-symlists-tests)): New rule.
12158 (linknamespace-libs): New variable.
12159 ($(objpfx)symlist-stdlibs): New rule.
12160 ($(linknamespace-header-tests)): Likewise.
12161 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
12162 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
12163 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
12164 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
12165 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
12166 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
12167 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
12168 (test-xfail-ISO/math.h/linknamespace): Likewise.
12169 (test-xfail-ISO/signal.h/linknamespace): Likewise.
12170 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
12171 (test-xfail-ISO/time.h/linknamespace): Likewise.
12172 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12173 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
12174 (test-xfail-ISO99/math.h/linknamespace): Likewise.
12175 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12176 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12177 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12178 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12179 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
12180 (test-xfail-ISO11/math.h/linknamespace): Likewise.
12181 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12182 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12183 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12184 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
12185 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
12186 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
12187 (test-xfail-XPG3/math.h/linknamespace): Likewise.
12188 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
12189 (test-xfail-XPG3/search.h/linknamespace): Likewise.
12190 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
12191 (test-xfail-XPG3/time.h/linknamespace): Likewise.
12192 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
12193 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12194 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
12195 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
12196 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12197 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12198 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
12199 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
12200 (test-xfail-XPG4/math.h/linknamespace): Likewise.
12201 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
12202 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12203 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
12204 (test-xfail-XPG4/search.h/linknamespace): Likewise.
12205 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
12206 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
12207 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
12208 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
12209 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
12210 (test-xfail-XPG4/time.h/linknamespace): Likewise.
12211 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
12212 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12213 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
12214 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12215 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12216 (test-xfail-POSIX/math.h/linknamespace): Likewise.
12217 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
12218 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
12219 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
12220 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12221 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
12222 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
12223 (test-xfail-POSIX/time.h/linknamespace): Likewise.
12224 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
12225 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12226 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12227 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
12228 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12229 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12230 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12231 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12232 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12233 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12234 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
12235 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12236 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12237 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12238 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
12239 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12240 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
12241 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
12242 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
12243 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
12244 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
12245 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12246 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12247 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12248 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
12249 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
12250 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12251 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
12252 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12253 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
12254 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12255 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12256 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12257 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
12258 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12259 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12260 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
12261 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
12262 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
12263 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
12264 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
12265 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12266 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
12267 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12268 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
12269 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
12270 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
12271 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12272 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12273 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
12274 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12275 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12276 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
12277 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
12278 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
12279 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12280 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
12281 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12282 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
12283 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
12284 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
12285 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
12286 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12287 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
12288 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
12289 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12290 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12291 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12292 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12293 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
12294 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12295 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12296 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12297 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12298 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
12299 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12300 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12301 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
12302 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
12303 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12304 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
12305 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12306 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12307 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
12308 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12309 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12310 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12311 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
12312 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12313 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
12314 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12315 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
12316 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12317 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12318 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
12319 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12320 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12321 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12324 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
12328 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
12329 (memmem): Rename to __memmem and define as weak alias of
12330 __memmem. Use libc_hidden_weak.
12331 (__memmem): Use libc_hidden_def.
12332 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
12333 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
12337 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
12338 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
12339 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
12340 and define as weak alias of __fgets_unlocked. Use
12342 (__fgets_unlocked): Use libc_hidden_def.
12343 * include/stdio.h (__fgets_unlocked): Declare. Use
12345 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
12346 __fgets_unlocked instead of fgets_unlocked.
12347 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
12348 (GET_NPROCS_CONF_PARSER): Likewise.
12349 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
12350 (GET_NPROCS_CONF_PARSER): Likewise.
12353 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
12354 weak alias of __wmemset. Use libc_hidden_weak.
12355 (__wmemset): Use libc_hidden_def.
12356 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
12357 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
12361 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
12362 with asm name __mempcpy.
12363 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
12366 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
12367 and define as weak alias of __rawmemchr.
12368 (__rawmemchr): Do not define as strong alias of rawmemchr.
12371 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
12372 alias of __qsort_r.
12373 (qsort): Call __qsort_r instead of qsort_r.
12374 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
12375 (__qsort_r): Declare. Call libc_hidden_proto.
12376 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
12377 instead of qsort_r.
12378 * nscd/gai.c (__qsort_r): Define to qsort_r.
12379 * posix/tst-rfc3484.c (__qsort_r): Likewise.
12380 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
12381 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
12384 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
12385 define as weak alias of __malloc_info.
12388 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
12389 as weak alias of __rewinddir. Don't use libc_hidden_def.
12390 (__rewinddir): Use libc_hidden_def.
12391 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
12392 as weak alias of __rewinddir. Don't use libc_hidden_def.
12393 (__rewinddir): Use libc_hidden_def.
12394 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
12395 weak alias of __rewinddir. Don't use libc_hidden_def.
12396 (__rewinddir): Use libc_hidden_def.
12397 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
12398 (__rewinddir): Use libc_hidden_proto.
12399 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
12401 (__getcwd): Use __rewinddir instead of rewinddir.
12404 * libio/fileno.c (fileno): Rename to __fileno and define as weak
12405 alias of __fileno. Use libc_hidden_weak.
12406 (__fileno): Use libc_hidden_def.
12407 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
12408 * libio/ftello.c (ftello): Rename to __ftello and define as weak
12410 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
12412 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
12413 (__fread_unlocked): Define as strong alias of _IO_fread. Use
12415 (fread_unlocked): Don't use libc_hidden_ver.
12416 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
12417 and define as weak alias of __fread_unlocked. Don't use
12419 (__fread_unlocked): Use libc_hidden_def.
12420 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
12421 (ftello): Don't use libc_hidden_proto.
12422 (__ftello): Declare. Use libc_hidden_proto.
12423 (fread_unlocked): Don't use libc_hidden_proto.
12424 (__fread_unlocked): Declare. Use libc_hidden_proto.
12425 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
12426 and __ftello instead of fileno, fread_unlocked and ftello.
12428 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12430 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
12432 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12434 (_dl_start_user): Likewise.
12435 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
12437 2014-11-12 Carlos O'Donell <carlos@redhat.com>
12438 Siddhesh Poyarekar <siddhesh@redhat.com>
12440 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
12441 Move argv and envp down instead of moving argc up.
12442 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
12444 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
12447 * test-skeleton.c (main): Return successful if one of
12448 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
12449 * string/tst-strcoll-overflow.c: Define expected status.
12451 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
12454 * locale/iso-639.def: Define Bhili and Tulu language codes.
12456 2014-11-11 Alan Hayward <alan.hayward@arm.com>
12458 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
12460 2014-11-10 Renlin Li <Renlin.Li@arm.com>
12463 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
12465 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
12467 * configure.ac: Updated check of minimal required version to
12469 * manual/install.texi (Tools for Compilation): Updated version
12471 * configure: Regenerated.
12472 * INSTALL: Likewise.
12474 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
12476 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
12479 2014-11-07 Joseph Myers <joseph@codesourcery.com>
12481 * include/sys/wait.h (__libc_waitpid): Remove declaration.
12482 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
12483 (__waitpid): Don't define as alias. Use libc_hidden_def not
12485 (waitpid): Define as alias of __waitpid.
12486 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
12488 (__waitpid): Don't define as alias. Use libc_hidden_def not
12490 (waitpid): Define as alias of __waitpid.
12491 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
12492 __libc_waitpid alias.
12493 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
12494 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
12496 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
12497 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
12498 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
12500 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
12502 (__waitpid): Don't define as alias. Use libc_hidden_def not
12504 (waitpid): Define as alias of __waitpid.
12506 2014-11-06 Carlos O'Donell <carlos@redhat.com>
12508 * manual/llio.texi: Add comment that write safety has been
12511 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
12512 (localplt-build-dso): Add elf/ld.so.
12513 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
12514 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
12515 and free for ld.so.
12516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
12517 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
12518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
12520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12522 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
12523 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
12524 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
12525 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
12526 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12527 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
12528 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
12529 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
12530 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12531 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
12532 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12534 2014-11-05 Joseph Myers <joseph@codesourcery.com>
12537 * include/libc-symbols.h (INTUSE): Remove macro.
12538 (INTDEF): Likewise.
12539 (INTVARDEF): Likewise.
12540 (_INTVARDEF): Likewise.
12541 (INTDEF2): Likewise.
12542 (INTVARDEF2): Likewise.
12543 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
12544 rtld_hidden_def instead of INTVARDEF.
12545 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
12546 (_dl_starting_up_internal): Remove declaration.
12547 (_dl_starting_up): Use rtld_hidden_proto.
12548 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
12550 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
12551 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
12553 * elf/dl-writev.h (_dl_writev): Likewise.
12554 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
12555 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
12556 _dl_starting_up_internal.
12558 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12560 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12563 2014-11-05 Will Newton <will.newton@linaro.org>
12565 * benchtests/Makefile: (bench-malloc): Add malloc thread
12566 scalability benchmark.
12567 * benchtests/bench-malloc-threads.c: New file.
12569 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
12571 * sysdeps/aarch64/strchrnul.S: New file.
12573 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12575 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
12577 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12579 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12581 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12583 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12585 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12588 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
12590 * catgets/test-gencat.c: Use test-skeleton.c.
12591 * catgets/tst-catgets.c: Likewise.
12592 * csu/tst-empty.c: Likewise.
12593 * elf/tst-audit2.c: Likewise.
12594 * elf/tst-global1.c: Likewise.
12595 * elf/tst-pathopt.c: Likewise.
12596 * elf/tst-piemod1.c: Likewise.
12597 * elf/tst-tls10.c: Likewise.
12598 * elf/tst-tls11.c: Likewise.
12599 * elf/tst-tls12.c: Likewise.
12600 * gnulib/tst-gcc.c: Likewise.
12601 * iconvdata/tst-e2big.c: Likewise.
12602 * iconvdata/tst-loading.c: Likewise.
12603 * iconv/tst-iconv1.c: Likewise.
12604 * iconv/tst-iconv2.c: Likewise.
12605 * inet/test-inet6_opt.c: Likewise.
12606 * inet/tst-gethnm.c: Likewise.
12607 * inet/tst-network.c: Likewise.
12608 * inet/tst-ntoa.c: Likewise.
12609 * intl/tst-codeset.c: Likewise.
12610 * intl/tst-gettext2.c: Likewise.
12611 * intl/tst-gettext3.c: Likewise.
12612 * intl/tst-ngettext.c: Likewise.
12613 * intl/tst-translit.c: Likewise.
12614 * io/test-stat.c: Likewise.
12615 * libio/test-fmemopen.c: Likewise.
12616 * libio/tst-freopen.c: Likewise.
12617 * libio/tst-sscanf.c: Likewise.
12618 * libio/tst-ungetwc1.c: Likewise.
12619 * libio/tst-ungetwc2.c: Likewise.
12620 * libio/tst-widetext.c: Likewise.
12621 * localedata/tst-ctype.c: Likewise.
12622 * localedata/tst-digits.c: Likewise.
12623 * localedata/tst-leaks.c: Likewise.
12624 * localedata/tst-mbswcs1.c: Likewise.
12625 * localedata/tst-mbswcs2.c: Likewise.
12626 * localedata/tst-mbswcs3.c: Likewise.
12627 * localedata/tst-mbswcs4.c: Likewise.
12628 * localedata/tst-mbswcs5.c: Likewise.
12629 * localedata/tst-setlocale.c: Likewise.
12630 * localedata/tst-trans.c: Likewise.
12631 * localedata/tst-wctype.c: Likewise.
12632 * localedata/tst-xlocale1.c: Likewise.
12633 * login/tst-grantpt.c: Likewise.
12634 * malloc/tst-calloc.c: Likewise.
12635 * malloc/tst-malloc.c: Likewise.
12636 * malloc/tst-mallocstate.c: Likewise.
12637 * malloc/tst-mcheck.c: Likewise.
12638 * malloc/tst-mtrace.c: Likewise.
12639 * malloc/tst-obstack.c: Likewise.
12640 * math/atest-exp2.c: Likewise.
12641 * math/atest-exp.c: Likewise.
12642 * math/atest-sincos.c: Likewise.
12643 * math/test-matherr.c: Likewise.
12644 * math/test-misc.c: Likewise.
12645 * math/test-powl.c: Likewise.
12646 * math/tst-definitions.c: Likewise.
12647 * misc/tst-dirname.c: Likewise.
12648 * misc/tst-efgcvt.c: Likewise.
12649 * misc/tst-fdset.c: Likewise.
12650 * misc/tst-hsearch.c: Likewise.
12651 * misc/tst-mntent2.c: Likewise.
12652 * nptl/tst-sem7.c: Likewise.
12653 * nptl/tst-sem8.c: Likewise.
12654 * nptl/tst-sem9.c: Likewise.
12655 * nss/test-netdb.c: Likewise.
12656 * posix/tst-fnmatch.c: Likewise.
12657 * posix/tst-getlogin.c: Likewise.
12658 * posix/tst-gnuglob.c: Likewise.
12659 * posix/tst-mmap.c: Likewise.
12660 * pwd/tst-getpw.c: Likewise.
12661 * resolv/tst-inet_ntop.c: Likewise.
12662 * rt/tst-timer.c: Likewise.
12663 * stdio-common/test-fseek.c: Likewise.
12664 * stdio-common/test-popen.c: Likewise.
12665 * stdio-common/test-vfprintf.c: Likewise.
12666 * stdio-common/tst-cookie.c: Likewise.
12667 * stdio-common/tst-fileno.c: Likewise.
12668 * stdio-common/tst-gets.c: Likewise.
12669 * stdio-common/tst-obprintf.c: Likewise.
12670 * stdio-common/tst-perror.c: Likewise.
12671 * stdio-common/tst-sprintf2.c: Likewise.
12672 * stdio-common/tst-sprintf3.c: Likewise.
12673 * stdio-common/tst-sprintf.c: Likewise.
12674 * stdio-common/tst-swprintf.c: Likewise.
12675 * stdio-common/tst-tmpnam.c: Likewise.
12676 * stdio-common/tst-unbputc.c: Likewise.
12677 * stdio-common/tst-wc-printf.c: Likewise.
12678 * stdlib/tst-environ.c: Likewise.
12679 * stdlib/tst-fmtmsg.c: Likewise.
12680 * stdlib/tst-limits.c: Likewise.
12681 * stdlib/tst-rand48-2.c: Likewise.
12682 * stdlib/tst-rand48.c: Likewise.
12683 * stdlib/tst-random2.c: Likewise.
12684 * stdlib/tst-random.c: Likewise.
12685 * stdlib/tst-strtol.c: Likewise.
12686 * stdlib/tst-strtoll.c: Likewise.
12687 * stdlib/tst-tls-atexit.c: Likewise.
12688 * stdlib/tst-xpg-basename.c: Likewise.
12689 * string/test-ffs.c: Likewise.
12690 * string/tst-bswap.c: Likewise.
12691 * string/tst-inlcall.c: Likewise.
12692 * string/tst-strtok.c: Likewise.
12693 * string/tst-strxfrm.c: Likewise.
12694 * sysdeps/x86_64/tst-audit10.c: Likewise.
12695 * sysdeps/x86_64/tst-audit3.c: Likewise.
12696 * sysdeps/x86_64/tst-audit4.c: Likewise.
12697 * sysdeps/x86_64/tst-audit5.c: Likewise.
12698 * time/tst-ftime_l.c: Likewise.
12699 * time/tst-getdate.c: Likewise.
12700 * time/tst-mktime3.c: Likewise.
12701 * time/tst-mktime.c: Likewise.
12702 * time/tst-posixtz.c: Likewise.
12703 * time/tst-strptime2.c: Likewise.
12704 * time/tst-strptime3.c: Likewise.
12705 * wcsmbs/tst-btowc.c: Likewise.
12706 * wcsmbs/tst-mbrtowc.c: Likewise.
12707 * wcsmbs/tst-mbsrtowcs.c: Likewise.
12708 * wcsmbs/tst-wchar-h.c: Likewise.
12709 * wcsmbs/tst-wcpncpy.c: Likewise.
12710 * wcsmbs/tst-wcrtomb.c: Likewise.
12711 * wcsmbs/tst-wcsnlen.c: Likewise.
12712 * wcsmbs/tst-wcstof.c: Likewise.
12714 2014-11-04 Joseph Myers <joseph@codesourcery.com>
12717 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12719 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12721 (_dl_mcount): Use rtld_hidden_proto.
12722 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12724 * elf/rtld.c (_rtld_global_ro): Likewise.
12727 * elf/dl-init.c (_dl_init): Don't use INTDEF.
12728 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12729 of _dl_init_internal.
12730 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
12731 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
12732 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
12733 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
12734 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
12735 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
12736 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
12737 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
12738 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
12739 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
12740 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
12741 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
12742 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12743 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12744 * sysdeps/tile/dl-start.S (_start): Likewise.
12745 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12746 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
12749 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
12750 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
12751 (rtld_progname): Make macro definition unconditional.
12752 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
12754 (dlmopen_doit): Do not use INTUSE with _dl_argv.
12755 (dl_main): Likewise.
12756 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12757 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
12758 instead of _dl_argv_internal.
12759 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12760 __GI__dl_argv instead of INTUSE(_dl_argv).
12761 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
12762 __GI__dl_argv instead of _dl_argv_internal.
12764 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
12765 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
12767 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
12768 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
12770 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
12771 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
12773 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
12774 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
12776 2014-11-04 Andreas Schwab <schwab@suse.de>
12778 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
12780 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12782 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
12783 mtvsrd instruction in binary form.
12785 2014-11-03 Andreas Schwab <schwab@suse.de>
12788 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
12789 for less than MB_LEN_MAX use a local buffer of that size.
12790 * libio/tst-fputws.c: New file.
12791 * libio/Makefile (tests): Add tst-fputws.
12793 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
12795 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
12796 the size of the fpu_fr.fpu_dregs[] array.
12798 2014-11-01 Joseph Myers <joseph@codesourcery.com>
12800 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
12801 (__nanosleep): Do not define as alias.
12802 (nanosleep): Define as alias of __nanosleep.
12803 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
12804 __libc_nanosleep name.
12806 2014-10-31 Joseph Myers <joseph@codesourcery.com>
12808 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
12809 install.texi in comment.
12811 2014-10-31 Torvald Riegel <triegel@redhat.com>
12813 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
12814 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
12815 ... add here and use lwsync or sync ...
12816 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
12817 ... and add here using lwsync.
12819 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
12821 * elf/dl-machine-reject-phdr.h: New file.
12822 * elf/dl-load.c: #include that.
12823 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
12824 if that returned true.
12826 2014-10-31 Roland McGrath <roland@hack.frob.com>
12829 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
12830 gen-as-const-headers chunk. Add a big scare comment after the last
12831 safe place to touch before-compile.
12833 2014-10-31 Joseph Myers <joseph@codesourcery.com>
12835 * manual/install.texi (Tools for Compilation): Update autoconf
12836 version requirements.
12837 * INSTALL: Regenerated.
12839 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
12840 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
12841 (__libc_pselect): Likewise.
12844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
12845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12849 2014-10-31 Torvald Riegel <triegel@redhat.com>
12851 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
12852 correct barrier instruction.
12853 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
12855 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
12858 2014-10-30 Roland McGrath <roland@hack.frob.com>
12860 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
12861 after defining inlines. Instead, just use parens to defeat macro
12862 expansion of __isctype in its declaration.
12864 2014-10-30 Joseph Myers <joseph@codesourcery.com>
12866 * include/sys/uio.h (__libc_readv): Remove declaration.
12867 (__libc_writev): Likewise.
12868 * misc/readv.c (__libc_readv): Rename to __readv.
12869 (__readv): Do not define as alias.
12870 (readv): Define as alias of __readv.
12871 * misc/writev.c (__libc_writev): Rename to __writev.
12872 (__writev): Do not define as alias.
12873 (writev): Define as alias of __writev.
12874 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
12875 (__readv): Do not define as alias.
12876 (readv): Define unconditionally as alias of __readv.
12877 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
12878 (__writev): Do not define as alias.
12879 (writev): Define unconditionally as alias of __writev.
12880 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
12882 (writev): Do not define __libc_writev name.
12884 2014-10-30 Roland McGrath <roland@hack.frob.com>
12886 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
12887 (convert_charseq): New function, broken out of ...
12888 (use_from_charmap): ... here. Call it.
12889 (use_to_charmap): Use convert_charseq and free instead of duplicating
12890 its code with a variable-length stack struct.
12892 2014-10-30 Joseph Myers <joseph@codesourcery.com>
12894 * include/fcntl.h (__libc_creat): Remove declaration.
12895 * io/creat.c (__libc_creat): Rename to creat.
12896 (creat): Do not define as alias.
12897 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
12898 of creat instead of __libc_creat.
12899 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
12901 (creat): Do not define as alias.
12902 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
12904 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
12906 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
12909 2014-10-29 Carlos O'Donell <carlos@redhat.com>
12911 * manual/llio.texi: Add comments discussing why write() may be
12912 considered MT-unsafe on Linux.
12914 2014-10-28 Carlos O'Donell <carlos@redhat.com>
12916 * dl-load.c (local_strdup): Remove.
12917 (expand_dynamic_string_token): Use __strdup.
12918 (decompose_rpath): Likewise.
12919 (_dl_map_object): Likewise.
12921 2014-10-28 Joseph Myers <joseph@codesourcery.com>
12924 * sysdeps/generic/unwind-dw2-fde.c
12925 (__register_frame_info_bases_internal): Do not declare.
12926 (__register_frame_info_table_bases_internal): Likewise.
12927 (__deregister_frame_info_bases_internal): Likewise.
12928 (__register_frame_info_bases): Declare and use hidden_proto before
12929 definition. Use hidden_def instead of INTDEF.
12930 (__register_frame_info_table_bases): Likewise.
12931 (__deregister_frame_info_bases): Likewise.
12932 (__register_frame_info): Do not use INTUSE.
12933 (__register_frame): Likewise.
12934 (__register_frame_info_table): Likewise.
12935 (__register_frame_table): Likewise.
12936 (__deregister_frame_info): Likewise.
12937 (__deregister_frame): Likewise.
12939 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
12941 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12942 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
12944 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
12946 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
12949 2014-10-27 Joseph Myers <joseph@codesourcery.com>
12952 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
12953 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
12954 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
12955 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
12956 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
12957 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
12958 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
12959 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
12960 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
12961 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
12962 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
12963 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
12964 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
12966 (setfsuid): Likewise.
12967 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
12968 (setfsuid): Likewise.
12969 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
12970 (setfsuid): Likewise.
12971 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
12973 (setfsuid): Likewise.
12974 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
12975 (setfsuid): Likewise.
12976 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
12978 (setfsuid): Likewise.
12980 2014-10-27 Andreas Schwab <schwab@suse.de>
12983 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
12984 check for Slow_SSE4_2 feature bit.
12985 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
12986 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12987 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
12988 Likewise. Fix check for Fast_Unaligned_Load feature bit.
12990 2014-10-24 Roland McGrath <roland@hack.frob.com>
12992 * configure.ac: Validate compiler version with a empirical test of
12993 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
12995 * configure: Regenerated.
12997 * inet/htons.c (htons): Prototypify.
12998 * inet/htonl.c (htonl): Likewise.
13000 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13002 * string/strncat.c (strncat): Improve performance by using strlen.
13004 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13006 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
13008 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13010 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
13011 Call libc_fetestexcept_aarch64.
13013 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13015 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
13016 Call libc_feholdexcept_aarch64.
13018 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13020 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
13021 Call get_rounding_mode.
13023 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13025 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13028 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13030 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
13033 2014-10-24 Joseph Myers <joseph@codesourcery.com>
13036 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
13037 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
13038 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
13039 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
13040 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
13041 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
13042 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
13043 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
13044 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
13045 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
13046 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13047 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
13048 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
13049 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
13050 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
13051 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
13052 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
13053 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
13054 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
13055 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
13056 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
13057 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
13058 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
13059 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
13060 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
13061 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
13062 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
13063 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
13064 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
13065 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
13066 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
13067 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
13068 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
13069 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
13070 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
13071 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
13072 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
13073 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
13074 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
13075 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
13076 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
13078 (geteuid): Likewise.
13079 (getgid): Likewise.
13080 (getuid): Likewise.
13081 (getresgid): Likewise.
13082 (getresuid): Likewise.
13083 (getgroups): Likewise.
13084 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
13085 (geteuid): Likewise.
13086 (getgid): Likewise.
13087 (getuid): Likewise.
13088 (getresgid): Likewise.
13089 (getresuid): Likewise.
13090 (getgroups): Likewise.
13091 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
13092 (geteuid): Likewise.
13093 (getgid): Likewise.
13094 (getuid): Likewise.
13095 (getresgid): Likewise.
13096 (getresuid): Likewise.
13097 (getgroups): Likewise.
13098 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
13100 (geteuid): Likewise.
13101 (getgid): Likewise.
13102 (getuid): Likewise.
13103 (getresgid): Likewise.
13104 (getresuid): Likewise.
13105 (getgroups): Likewise.
13106 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
13107 (geteuid): Likewise.
13108 (getgid): Likewise.
13109 (getuid): Likewise.
13110 (getresgid): Likewise.
13111 (getresuid): Likewise.
13112 (getgroups): Likewise.
13113 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
13115 (geteuid): Likewise.
13116 (getgid): Likewise.
13117 (getuid): Likewise.
13118 (getgroups): Likewise.
13121 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
13122 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
13123 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
13124 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13125 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
13126 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
13127 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
13128 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
13129 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
13130 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
13131 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
13132 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
13133 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
13135 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
13136 (lchown): Likewise.
13137 (fchown): Likewise.
13138 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
13140 (lchown): Likewise.
13141 (fchown): Likewise.
13142 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
13143 (lchown): Likewise.
13144 (fchown): Likewise.
13145 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
13147 (lchown): Likewise.
13148 (fchown): Likewise.
13150 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
13152 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
13155 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
13157 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13160 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
13162 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
13163 Remove unused include.
13165 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
13167 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
13168 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
13169 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
13170 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
13172 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
13173 Helge Deller <deller@gmx.de>
13176 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
13177 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
13178 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
13180 2014-10-23 Joseph Myers <joseph@codesourcery.com>
13183 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
13184 Remove macro definition.
13185 (__ashrdi3_v_glibc20): Likewise.
13186 (__lshrdi3_v_glibc20): Likewise.
13187 (__cmpdi2_v_glibc20): Likewise.
13188 (__ucmpdi2_v_glibc20): Likewise.
13189 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
13190 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13191 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13192 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13193 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13194 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
13196 2014-10-22 Roland McGrath <roland@hack.frob.com>
13198 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
13199 old GNU extension [0] syntax.
13200 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
13201 alloca rather than an array member with variable length.
13202 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
13203 * nscd/nscd.c (invalidate_db): New function, broken out of ...
13204 (parse_opt): ... here. Likewise use alloca there.
13205 Validate the -i argument before checking for rootness.
13206 (send_shutdown): New function, broken out of ...
13207 (parse_opt): ... here.
13209 2014-10-22 Roland McGrath <roland@hack.frob.com>
13211 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
13212 macro to get at the _rt_local_ro field.
13213 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
13214 ([PIC] case) or _dl_hwcap ([!PIC] case).
13215 * sysdeps/arm/setjmp.S: Likewise.
13217 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
13218 * sysdeps/arm/configure.ac: New check to define it.
13219 * sysdeps/arm/configure: Regenerated.
13220 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
13221 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
13222 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
13223 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
13224 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
13225 Use move/movt pair instead of a load.
13226 (LDST_GLOBAL): Macro removed.
13227 (LDR_GLOBAL): New macro replaces it.
13228 (LDR_HIDDEN): New macro.
13229 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
13230 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
13232 * setjmp/tst-setjmp-static.c: New file.
13233 * setjmp/Makefile (tests): Add it.
13234 (tests-static): New variable.
13236 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
13239 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
13241 2014-10-21 Joseph Myers <joseph@codesourcery.com>
13244 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
13246 2014-10-21 Roland McGrath <roland@hack.frob.com>
13248 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
13250 2014-10-20 Roland McGrath <roland@hack.frob.com>
13252 * io/fts.c (dirent_not_directory): New function.
13253 (fts_build): Call it.
13255 2014-10-20 Roland McGrath <roland@hack.frob.com>
13257 * nptl/version.c (__nptl_main): Use normal __write rather than
13259 (banner): Update copyright years.
13261 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
13263 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13264 * nptl/pthread_cond_timedwait.c: Likewise.
13265 * nptl/pthread_mutex_timedlock.c: Likewise.
13266 * nptl/sem_timedwait.c: Likewise.
13268 * sysdeps/nptl/bits/libc-lock.h
13269 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13270 (__libc_lock_init_recursive): Return void, not 0.
13271 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
13272 (__libc_rwlock_init): Likewise.
13273 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
13275 2014-10-20 Torvald Riegel <triegel@redhat.com>
13278 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
13279 (__pthread_once_slow): ... here.
13280 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
13281 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
13283 2014-10-20 Torvald Riegel <triegel@redhat.com>
13286 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
13287 __PTHREAD_ONCE_FORK_GEN_INCR): New.
13288 * sysdeps/nptl/fork.c (__libc_fork): Use them.
13289 * nptl/pthread_once.c (__pthread_once): Likewise.
13292 2014-10-20 Joseph Myers <joseph@codesourcery.com>
13295 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
13297 (writev): Use __libc_writev as strong name.
13298 * sysdeps/unix/sysv/linux/readv.c: Remove file.
13299 * sysdeps/unix/sysv/linux/writev.c: Likewise.
13301 2014-10-17 Roland McGrath <roland@hack.frob.com>
13303 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
13305 * sysdeps/i386/nptl/tls.h
13306 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
13307 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
13309 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
13310 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
13311 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
13312 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
13313 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
13314 Call CHECK_THREAD_SYSINFO instead of doing an assert.
13316 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13317 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
13319 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
13321 (__pthread_mutex_init): ... here. Call it.
13322 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
13323 Conditionalize PI cases on [__NR_futex].
13324 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
13325 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
13326 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13328 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
13329 conditional on [SIGSETXID].
13330 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
13331 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
13332 is defined. Likewise for SIGSETXID.
13333 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
13334 Conditionalize definitions on [SIGSETXID].
13335 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
13336 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
13337 unblocking on [SIGCANCEL].
13339 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
13340 [__NR_set_robust_list].
13342 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13344 * string/strcoll_l.c (get_next_seq): Fix up formatting.
13345 (do_compare): Likewise.
13347 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
13350 * string/strcoll_l.c: Don't include stdio.h.
13351 (coll_seq): Remove members idxarr and rulearr.
13352 (get_next_seq_cached): Remove function.
13353 (get_next_seq): Likewise.
13354 (get_next_seq_nocache): Rename to get_next_seq.
13355 (do_compare): Remove function.
13356 (do_compare_nocache): Rename to do_compare.
13357 (STRCOLL): Remove weight and rules cache.
13359 2014-10-16 Roland McGrath <roland@hack.frob.com>
13361 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
13362 * sysdeps/arm/sfp-machine.h: ... to here.
13363 * sysdeps/arm/Implies: Remove arm/soft-fp.
13365 2014-10-14 Joseph Myers <joseph@codesourcery.com>
13367 * conform/data/sys/utsname.h-data (*_t): Allow.
13368 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
13369 [POSIX] (WEXITED): Do not expect constant.
13370 [POSIX] (WSTOPPED): Likewise.
13371 [POSIX] (WNOHANG): Likewise.
13372 [POSIX] (WNOWAIT): Likewise.
13373 [POSIX] (siginfo_t): Do not expect type or elements.
13374 [POSIX] (pid_t): Do not expect type.
13375 [POSIX] (signal.h): Do not allow header.
13376 [POSIX] (sys/resource.h): Likewise.
13377 [POSIX] (si_*): Do not allow pattern.
13378 [POSIX] (W*): Likewise.
13379 [POSIX] (P_*): Likewise.
13380 [POSIX] (BUS_*): Likewise.
13381 [POSIX] (CLD_*): Likewise.
13382 [POSIX] (FPE_*): Likewise.
13383 [POSIX] (ILL_*): Likewise.
13384 [POSIX] (POLL_*): Likewise.
13385 [POSIX] (SEGV_*): Likewise.
13386 [POSIX] (SI_*): Likewise.
13387 [POSIX] (TRAP_*): Likewise.
13388 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
13391 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
13394 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
13395 infinite loop when __recvmsg returns 0.
13397 2014-10-10 Joseph Myers <joseph@codesourcery.com>
13399 * CANCEL-FCT-WAIVE: Remove file.
13400 * CANCEL-FILE-WAIVE: Likewise.
13403 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
13404 instead of INTVARDEF.
13405 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13406 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
13407 rtld_hidden_data_def instead of INTVARDEF.
13408 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13409 * elf/dl-deps.c (expand_dst): Likewise.
13410 * elf/dl-load.c (_dl_dst_count): Likewise.
13411 (_dl_dst_substitute): Likewise.
13412 (decompose_rpath): Likewise.
13413 (_dl_init_paths): Likewise.
13414 (open_path): Likewise.
13415 (_dl_map_object): Likewise.
13416 * elf/rtld.c (dl_main): Likewise.
13417 (process_dl_audit): Likewise.
13418 (process_envvars): Likewise.
13419 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
13420 Remove declaration.
13421 (__libc_enable_secure): Use rtld_hidden_proto.
13423 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13426 (add_path): New function broken out of _dl_rtld_di_serinfo.
13427 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
13429 2014-10-09 Joseph Myers <joseph@codesourcery.com>
13431 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
13432 parentheses around macro arguments.
13433 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
13434 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
13435 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
13436 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
13437 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
13438 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13439 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13440 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
13441 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
13442 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
13443 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
13444 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
13445 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
13446 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
13447 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
13448 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
13449 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
13450 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
13451 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
13452 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
13453 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
13454 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
13455 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
13456 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13457 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13458 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
13459 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
13460 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
13461 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
13462 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
13463 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
13464 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
13465 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
13466 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
13467 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
13468 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
13470 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
13471 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13472 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13473 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
13474 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
13475 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
13476 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
13477 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
13478 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
13479 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
13480 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
13481 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
13482 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
13483 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
13484 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
13485 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13486 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13487 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
13488 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
13489 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
13490 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
13491 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
13492 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
13493 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
13494 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
13495 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
13496 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
13497 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
13498 (_FP_FRAC_SRS_1): Likewise.
13499 (_FP_FRAC_CLZ_1): Likewise.
13500 (_FP_MUL_MEAT_1_imm): Likewise.
13501 (_FP_MUL_MEAT_1_wide): Likewise.
13502 (_FP_MUL_MEAT_1_hard): Likewise.
13503 (_FP_SQRT_MEAT_1): Likewise.
13504 (_FP_FRAC_ASSEMBLE_1): Likewise.
13505 (_FP_FRAC_DISASSEMBLE_1): Likewise.
13506 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
13507 (__FP_CLZ_2): Likewise.
13508 (_FP_MUL_MEAT_2_wide): Likewise.
13509 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13510 (_FP_MUL_MEAT_2_gmp): Likewise.
13511 (_FP_MUL_MEAT_2_120_240_double): Likewise.
13512 (_FP_SQRT_MEAT_2): Likewise.
13513 (_FP_FRAC_ASSEMBLE_2): Likewise.
13514 (_FP_FRAC_DISASSEMBLE_2): Likewise.
13515 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
13516 (_FP_FRAC_CLZ_4): Likewise.
13517 (_FP_MUL_MEAT_4_wide): Likewise.
13518 (_FP_MUL_MEAT_4_gmp): Likewise.
13519 (_FP_SQRT_MEAT_4): Likewise.
13520 (_FP_FRAC_ASSEMBLE_4): Likewise.
13521 (_FP_FRAC_DISASSEMBLE_4): Likewise.
13522 * soft-fp/op-common.h (_FP_CMP): Likewise.
13523 (_FP_CMP_EQ): Likewise.
13524 (_FP_CMP_UNORD): Likewise.
13525 (_FP_TO_INT): Likewise.
13526 (_FP_FROM_INT): Likewise.
13527 [!__FP_CLZ] (__FP_CLZ): Likewise.
13528 (_FP_DIV_HELP_imm): Likewise.
13529 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
13531 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
13532 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
13533 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
13534 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
13535 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
13536 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13537 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13538 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
13539 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
13540 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
13541 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
13542 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
13543 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
13544 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
13545 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
13546 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
13547 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
13548 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
13549 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
13550 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
13551 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
13552 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
13553 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
13554 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13555 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13556 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
13557 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
13558 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
13559 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
13560 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
13561 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
13562 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
13563 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
13564 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
13565 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
13566 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
13567 (FP_UNPACK_RAW_SP): Likewise.
13568 (FP_PACK_RAW_S): Likewise.
13569 (FP_PACK_RAW_SP): Likewise.
13570 (FP_UNPACK_S): Likewise.
13571 (FP_UNPACK_SP): Likewise.
13572 (FP_UNPACK_SEMIRAW_S): Likewise.
13573 (FP_UNPACK_SEMIRAW_SP): Likewise.
13574 (FP_PACK_S): Likewise.
13575 (FP_PACK_SP): Likewise.
13576 (FP_PACK_SEMIRAW_S): Likewise.
13577 (FP_PACK_SEMIRAW_SP): Likewise.
13578 (_FP_SQRT_MEAT_S): Likewise.
13579 (FP_CMP_S): Likewise.
13580 (FP_CMP_EQ_S): Likewise.
13581 (FP_CMP_UNORD_S): Likewise.
13582 (FP_TO_INT_S): Likewise.
13583 (FP_FROM_INT_S): Likewise.
13585 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
13587 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
13588 (FP_EX_INVALID_IMZ): Likewise.
13589 (FP_EX_INVALID_IMZ_FMA): Likewise.
13590 (FP_EX_INVALID_ISI): Likewise.
13591 (FP_EX_INVALID_ZDZ): Likewise.
13592 (FP_EX_INVALID_IDI): Likewise.
13593 (FP_EX_INVALID_SQRT): Likewise.
13594 (FP_EX_INVALID_CVI): Likewise.
13595 (FP_EX_INVALID_VC): Likewise.
13596 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
13597 "invalid" exceptions.
13598 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
13599 (_FP_ADD_INTERNAL): Likewise.
13600 (_FP_MUL): Likewise.
13601 (_FP_FMA): Likewise.
13602 (_FP_DIV): Likewise.
13603 (_FP_CMP_CHECK_NAN): Likewise.
13604 (_FP_SQRT): Likewise.
13605 (_FP_TO_INT): Likewise.
13606 (FP_EXTEND): Likewise.
13608 2014-10-09 Allan McRae <allan@archlinux.org>
13610 * po/fr.po: Update French translation from translation project.
13612 2014-10-09 Joseph Myers <joseph@codesourcery.com>
13615 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
13617 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
13618 (__cxa_atexit): Use libc_hidden_proto.
13619 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
13622 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
13624 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
13625 [!_ISOMAC] (__iswspace_l_internal): Likewise.
13626 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
13627 [!_ISOMAC] (__iswctype_internal): Likewise.
13628 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
13629 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
13631 (fcntl): Remove __fcntl_internal alias.
13632 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
13633 __connect_internal alias.
13634 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
13637 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
13638 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
13640 (_FP_CHECK_FLUSH_ZERO): New macro.
13641 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
13642 (_FP_CMP): Likewise.
13643 (_FP_CMP_EQ): Likewise.
13644 (_FP_TO_INT): Do not set inexact for subnormal arguments if
13646 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
13647 (FP_TRUNC): Likewise.
13649 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
13650 treated as invalid conversion, not as normal exponent.
13652 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
13653 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
13654 (_FP_CMP_EQ): Likewise.
13655 (_FP_CMP_UNORD): Likewise.
13656 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
13657 (FP_CMP_EQ_D): Likewise.
13658 (FP_CMP_UNORD_D): Likewise.
13659 * soft-fp/extended.h (FP_CMP_E): Likewise.
13660 (FP_CMP_EQ_E): Likewise.
13661 (FP_CMP_UNORD_E): Likewise.
13662 * soft-fp/quad.h (FP_CMP_Q): Likewise.
13663 (FP_CMP_EQ_Q): Likewise.
13664 (FP_CMP_UNORD_Q): Likewise.
13665 * soft-fp/single.h (FP_CMP_S): Likewise.
13666 (FP_CMP_EQ_S): Likewise.
13667 (FP_CMP_UNORD_S): Likewise.
13668 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
13669 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
13670 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
13671 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
13672 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
13673 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
13674 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
13675 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
13676 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
13677 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
13678 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
13679 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
13680 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
13682 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
13684 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
13685 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
13687 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
13689 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
13690 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
13691 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
13692 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
13694 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
13696 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
13697 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
13699 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
13701 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
13702 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
13703 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
13704 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
13707 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
13708 a subnormal result, set the underflow exception if trapping on
13709 underflow is enabled.
13710 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
13711 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
13712 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13714 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13715 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13716 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13717 * soft-fp/extendxftf2.c (__extendxftf2): Use
13718 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13720 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13721 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13722 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13723 FP_HANDLE_EXCEPTIONS.
13724 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13725 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13726 FP_HANDLE_EXCEPTIONS.
13727 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13728 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13729 FP_HANDLE_EXCEPTIONS.
13730 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
13731 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13732 FP_HANDLE_EXCEPTIONS.
13734 2014-10-08 Joseph Myers <joseph@codesourcery.com>
13737 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
13738 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
13740 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
13741 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
13743 (__adjtimex): Define using libc_hidden_ver.
13744 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
13745 Remove declaration.
13746 (ntp_gettime): Call __adjtimex directly.
13747 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
13748 Remove declaration.
13749 (ntp_gettimex): Call __adjtimex directly.
13750 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
13751 __adjtimex_internal alias.
13753 2014-10-08 Roland McGrath <roland@hack.frob.com>
13756 * nscd/nscd.c (more_help): Rewrite list of tables collection
13757 using xstrdup and asprintf.
13759 * nscd/nscd_conf.c: Remove local xstrdup declaration.
13761 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13762 Roland McGrath <roland@hack.frob.com>
13764 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13765 (do_lookup_unique): ... local function 'enter' here; update callers.
13767 2014-10-06 Joseph Myers <joseph@codesourcery.com>
13769 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
13770 compat_symbol calls on [SHARED].
13771 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
13772 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
13774 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13775 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
13776 (oldsetrlimit): Remove.
13777 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13779 (lchown): New syscall entry.
13780 (oldsetrlimit): Remove.
13781 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13782 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
13783 (oldsetrlimit): Remove.
13784 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13787 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
13788 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
13789 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
13790 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
13791 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13792 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
13793 (fchown): Likewise.
13794 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
13795 (fchown): Likewise.
13796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
13799 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13801 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
13802 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
13803 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
13804 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
13805 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
13807 (__old_sem_post): Likewise.
13809 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
13811 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
13812 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
13813 HAVE_CLOCK_GETTIME_VSYSCALL macros.
13814 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
13815 Use INLINE_VSYSCALL macro.
13816 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
13817 __vdso_clock_gettime.
13818 * sysdeps/unix/sysv/linux/tile/init-first.c
13819 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
13820 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
13821 __vdso_clock_gettime.
13823 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
13824 to set up frame more cleanly.
13826 * sysdeps/tile/memcmp.c: New file.
13828 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
13830 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
13831 * sysdeps/tile/tilegx/strcasestr.c: New file.
13832 * sysdeps/tile/tilegx/strnlen.c: New file.
13833 * sysdeps/tile/tilegx/strstr.c: New file.
13835 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
13837 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
13839 * nptl/tst-setuid3.c: Write errors to stdout.
13841 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13844 (preload): New functions broken out of _dl_map_object_deps.
13845 (_dl_map_object_deps): Remove a nested function. Update call sites.
13847 2014-10-01 Joseph Myers <joseph@codesourcery.com>
13850 * sysdeps/unix/sysv/linux/execve.c: Remove file.
13851 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
13853 2014-10-01 Steve Ellcey <sellcey@mips.com>
13855 * sysdeps/mips/strcmp.S: New.
13857 2014-09-30 Joseph Myers <joseph@codesourcery.com>
13860 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
13861 (linkat): Likewise.
13862 (mkdirat): Likewise.
13863 (readlinkat): Likewise.
13864 (renameat): Likewise.
13865 (symlinkat): Likewise.
13866 (unlinkat): Likewise.
13867 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
13868 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
13869 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
13870 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
13871 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13872 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
13873 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
13875 2014-09-30 Will Newton <will.newton@linaro.org>
13877 * math/math.h: Define long double math functions if
13878 _LIBC_TEST is defined.
13879 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
13881 * localedata/Makefile: Move assignment to tests-special
13882 into an ifdef testing run-built-tests.
13883 * timezone/Makefile: Likewise.
13885 2014-09-29 Joseph Myers <joseph@codesourcery.com>
13887 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
13888 with $(BASH) not $(SHELL).
13890 2014-09-29 Carlos O'Donell <carlos@redhat.com>
13891 Matthew LeGendre <legendre1@llnl.gov>
13894 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
13897 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13899 * stdio-common/printf_fp.c
13900 (hack_digit): New function, broken out of ...
13901 (__printf_fp): ... local function here. Update call sites.
13902 hack_digit now takes an additional parameter that is a pointer
13903 to a struct of the referenced locals. Those locals moved inside
13904 the struct and references updated.
13906 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
13908 * aclocal.m4: Require autoconf 2.69.
13909 * configure: Regenerated.
13910 * sysdeps/aarch64/configure: Likewise.
13911 * sysdeps/alpha/configure: Likewise.
13912 * sysdeps/arm/armv7/configure: Likewise.
13913 * sysdeps/arm/configure: Likewise.
13914 * sysdeps/ia64/configure: Likewise.
13915 * sysdeps/mach/configure: Likewise.
13916 * sysdeps/mips/configure: Likewise.
13917 * sysdeps/s390/configure: Likewise.
13918 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
13919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
13921 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
13923 * sysdeps/ia64/configure.ac: Likewise.
13925 2014-09-26 Joseph Myers <joseph@codesourcery.com>
13927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
13928 specify symbol version for ld.so. Do not include entry for
13930 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13931 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13932 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13935 * Makeconfig [$(build-shared) = yes]
13936 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
13938 [$(build-shared) = yes && $(soversions.mk-done) = t]
13939 ($(common-objpfx)gnu/lib-names.h): Remove rule.
13940 [$(build-shared) = yes && $(soversions.mk-done) = t]
13941 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
13943 [$(build-shared) = yes && $(soversions.mk-done) = t]
13944 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
13946 [$(build-shared) = yes && $(soversions.mk-done) = t]
13947 (common-generated): Don't append gnu/lib-names.h and
13948 gnu/lib-names.stmp here.
13949 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
13950 (lib-names-h-abi): New variable.
13951 [$(build-shared) = yes && $(soversions.mk-done) = t]
13952 (lib-names-stmp-abi): Likewise.
13953 [$(build-shared) = yes && $(soversions.mk-done) = t &&
13954 abi-variants] (before-compile): Append
13955 $(common-objpfx)$(lib-names-h-abi).
13956 [$(build-shared) = yes && $(soversions.mk-done) = t &&
13957 abi-variants] (common-generated): Append gnu/lib-names.h.
13958 [$(build-shared) = yes && $(soversions.mk-done) = t &&
13959 abi-variants] (install-others-nosubdir): Depend on
13960 $(inst_includedir)/$(lib-names-h-abi).
13961 [$(build-shared) = yes && $(soversions.mk-done) = t &&
13962 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
13963 [$(build-shared) = yes && $(soversions.mk-done) = t]
13964 ($(common-objpfx)$(lib-names-h-abi)): New rule.
13965 [$(build-shared) = yes && $(soversions.mk-done) = t]
13966 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
13967 [$(build-shared) = yes && $(soversions.mk-done) = t]
13968 (common-generated): Append $(lib-names-h-abi) and
13969 $(lib-names-stmp-abi).
13970 * scripts/lib-names.awk: Do not handle multi being set.
13971 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
13973 (abi-lp64_be-ld-soname): Likewise.
13974 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
13976 (abi-hard-ld-soname): Likewise.
13977 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
13978 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
13980 (abi-o32_hard-ld-soname): Likewise.
13981 (abi-o32_soft_2008-ld-soname): Likewise.
13982 (abi-o32_hard_2008-ld-soname): Likewise.
13983 (abi-n32_soft-ld-soname): Likewise.
13984 (abi-n32_hard-ld-soname): Likewise.
13985 (abi-n32_soft_2008-ld-soname): Likewise.
13986 (abi-n32_hard_2008-ld-soname): Likewise.
13987 (abi-n64_soft-ld-soname): Likewise.
13988 (abi-n64_hard-ld-soname): Likewise.
13989 (abi-n64_soft_2008-ld-soname): Likewise.
13990 (abi-n64_hard_2008-ld-soname): Likewise.
13991 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
13993 (abi-64-v2-ld-soname): Likewise.
13994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
13996 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
13998 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
14000 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
14002 (abi-64-ld-soname): Likewise.
14003 (abi-x32-ld-soname): Likewise.
14004 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
14006 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14008 2014-09-23 Joseph Myers <joseph@codesourcery.com>
14011 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
14012 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
14013 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
14014 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
14015 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
14016 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
14017 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
14018 syscall entry for GLIBC_2.2 symbol version.
14019 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
14021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14022 (setrlimit): Likewise.
14023 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
14026 2014-09-23 Will Newton <will.newton@linaro.org>
14028 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
14029 _LINUX_ARM_SYSDEP_H include guard too.
14030 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
14033 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
14035 * sysdeps/unix/sysv/linux/eventfd.c:
14036 Make first argument unsigned.
14037 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
14038 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
14040 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
14042 * socket/recvmmsg.c (recvmmsg): Drop const argument.
14043 * socket/sys/socket.h: Likewise
14044 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
14046 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14048 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
14050 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
14052 * time/tst-ftime.c: New test.
14053 * time/Makefile (tests): Add tst-ftime.
14055 2014-09-17 Joseph Myers <joseph@codesourcery.com>
14057 * soft-fp/extended.h: Fix comment formatting.
14058 * soft-fp/op-1.h: Likewise.
14059 * soft-fp/op-2.h: Likewise.
14060 * soft-fp/op-4.h: Likewise.
14061 * soft-fp/op-8.h: Likewise.
14062 * soft-fp/op-common.h: Likewise.
14063 * soft-fp/soft-fp.h: Likewise.
14065 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
14067 2014-09-16 Joseph Myers <joseph@codesourcery.com>
14070 * Makeconfig (soversions-default-setname): Remove variable.
14071 ($(common-objpfx)soversions.i): Don't pass default_setname to
14073 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
14074 oldest_abi to abi-versions.awk.
14075 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
14076 * config.make.in (oldest-abi): Remove variable.
14077 * configure.ac (--enable-oldest-abi): Remove configure option.
14078 * configure: Regenerated.
14079 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
14081 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
14082 * scripts/soversions.awk: Do not handle default_setname variable.
14083 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
14085 * sysdeps/mach/hurd/configure: Regenerated.
14086 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
14088 * sysdeps/unix/sysv/linux/configure: Regenerated.
14090 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14092 * elf/Makefile (CFLAGS-interp.c): Remove.
14093 ($(elf-objpfx)runtime-linker.h): Generate header with linker
14095 * elf/interp.c: Include generated runtime-linker.h
14097 * Makerules (lib%.so): Don't include $(+interp) in
14099 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
14100 * dlfcn/eval.c: Remove file.
14102 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
14106 * misc/sys/cdefs.h: Define __extern_always_inline for clang
14110 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
14112 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14113 Jakub Jelinek <jakub@redhat.com>
14116 * libio/stdio.h: Check definition of __fortify_function
14117 instead of __extern_always_inline to include bits/stdio2.h.
14118 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
14119 check if __extern_always_inline is defined.
14120 [__USE_MISC || __USE_XOPEN]: Likewise.
14121 [__USE_ISOC99] Likewise.
14122 * misc/sys/cdefs.h (__fortify_function): Define only if
14123 __extern_always_inline is defined.
14124 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
14125 __extern_always_inline and __extern_inline only for g++-4.3
14126 and newer or a compatible gcc.
14128 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
14131 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14132 last change to handle zero prefix length.
14134 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14136 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
14139 * posix/getconf.c (vars): Add _POSIX_IPV6 and
14140 _POSIX_RAW_SOCKETS.
14142 2014-09-13 Allan McRae <allan@archlinux.org>
14144 * po/ru.po: Update Russian translation from translation project.
14146 2014-09-12 Roland McGrath <roland@hack.frob.com>
14148 * locale/programs/locale.c (show_locale_vars): Inline local function
14149 into its sole call site. Clean up some style nits.
14150 (print_item): New function, broken out of ...
14151 (show_info): ... local function here. Clean up style nits.
14153 * locale/programs/ld-ctype.c (set_one_default): New function, broken
14155 (set_class_defaults): ... local function set_default here.
14156 Define set_default as a macro locally to pass constant parameters.
14157 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
14158 rather than a shared local.
14160 * stdlib/rpmatch.c (try): New function, broken out of ...
14161 (rpmatch): ... local function here. Also, prototypify definition.
14163 2014-09-12 Joseph Myers <joseph@codesourcery.com>
14165 * scripts/soversions.awk: Do not handle configuration names.
14166 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
14167 vendor and os variables to soversions.awk.
14168 * configure.ac: Do not modify gnu-* host_os.
14169 * configure: Regenerated
14170 * shlib-versions: Remove first column with configuration names.
14171 * nptl/shlib-versions: Likewise.
14172 * nptl_db/shlib-versions: Likewise.
14173 * sysdeps/hppa/shlib-versions: Likewise.
14174 * sysdeps/m68k/shlib-versions: Likewise.
14175 * sysdeps/mach/hurd/shlib-versions: Likewise.
14176 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
14177 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
14178 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
14179 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
14180 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
14181 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
14182 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
14183 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
14184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14186 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14187 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14188 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14189 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14190 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14191 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
14192 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14193 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14196 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
14197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14199 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
14200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
14201 Condition symbol version definitions on [HAVE_ELFV2_ABI].
14203 * shlib-versions: Remove OS-specific entries. Moved to files in
14205 * sysdeps/mach/hurd/shlib-versions: New file.
14206 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
14208 * nptl/shlib-versions: Remove architecture-specific entries.
14209 Moved to files in sysdeps.
14210 * shlib-versions: Likewise.
14211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
14213 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14214 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
14215 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
14216 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
14218 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
14219 (UDP_NO_CHECK6_RX): Likewise.
14221 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14223 * sysdeps/posix/sysconf.c (__sysconf): Spell
14224 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
14226 2014-08-12 Florian Weimer <fweimer@redhat.com>
14228 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
14230 * iconv/Versions (__gconv_transliterate): Export for use from
14232 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
14233 (struct __gconv_trans_data, __gconv_trans_fct,
14234 __gconv_trans_context_fct, __gconv_trans_query_fct,
14235 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
14237 (struct __gconv_step_data): Remove __trans member.
14238 (__gconv_transliterate): Declaration moved from gconv_int.h. No
14239 longer hidden. Remove unused trans_data argument.
14240 * iconv/gconv_int.h (struct trans_struct): Remove definition.
14241 (__gconv_translit_find): Remove declaration.
14242 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
14244 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
14245 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
14246 trans_data argument. Add hidden definition.
14247 (__gconv_translit_find): Remove.
14248 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
14249 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
14250 * iconv/skeleton.c: Remove transliteration initialization.
14251 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
14252 __gconv_step_data initialization.
14253 * libio/iofwide.c (__libio_translit_): Remove.
14254 (_IO_fwide): Adjust struct __gconv_step_data initialization.
14255 * wcsmbs/btowc.c (__btowc): Likewise.
14256 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14257 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14258 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
14259 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
14260 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
14261 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
14262 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
14263 * wcsmbs/wctob.c (wctob): Likewise.
14265 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14268 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
14269 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
14271 * sysdeps/x86/Makefile: Adjust.
14273 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14274 Roland McGrath <roland@hack.frob.com>
14276 * locale/weight.h: Add include guard.
14277 (findidx): Make static rather than auto; take new parameters
14278 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
14279 * locale/weightwc.h: Likewise.
14280 * posix/fnmatch_loop.c
14281 (FCT): Change type of EXTRA from int32_t to wint_t.
14282 Don't include either header inside the function.
14283 Call FINDIDX rather than findidx, and pass new arguments.
14284 #undef FINDIDX at the end of the file.
14285 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
14286 FINDIDX before including fnmatch_loop.c for the non-wide version.
14287 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
14288 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
14289 for the wide version.
14290 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
14291 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
14292 Pass new arguments to findidx.
14293 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
14294 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
14295 Don't #include it inside the function. Pass new arguments to findidx.
14296 * posix/regex_internal.h
14297 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
14298 (re_string_elem_size_at): Don't #include it inside the function.
14299 Pass new arguments to findidx.
14300 * string/strcoll_l.c: #include WEIGHT_H at top level.
14301 (get_next_seq): Don't #include it inside the function.
14302 Pass new arguments to findidx.
14303 (get_next_seq_nocache): Likewise.
14304 * string/strxfrm_l.c: #include WEIGHT_H at top level.
14305 (STRXFRM): Don't #include it inside the function.
14306 Pass new arguments to findidx.
14308 2014-09-11 Florian Weimer <fweimer@redhat.com>
14311 * malloc/malloc.c (unlink): Turn asserts into a call to
14314 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
14317 * libio/wfileops (do_ftell_wide): Free OUT.
14319 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
14321 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
14323 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14326 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
14327 group if the current group is empty.
14329 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14331 * benchtests/bench-memset.c (test_main): Add more test from size
14332 from 32 to 512 bytes.
14333 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14334 Add POWER8 memset object.
14335 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14336 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
14337 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
14339 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
14341 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
14342 multiarch POWER8 memset optimization.
14343 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
14344 POWER8 memset optimization.
14346 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14347 Remove bzero multiarch objects.
14348 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
14349 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
14350 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
14351 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
14353 [__bzero]: Redefine to specific name.
14354 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
14355 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
14356 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
14358 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14359 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14361 2014-09-10 Florian Weimer <fweimer@redhat.com>
14363 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
14364 warnings into errors.
14366 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
14367 __cxa_thread_atexit_impl prototype.
14369 2014-09-09 Steve Ellcey <sellcey@mips.com>
14371 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
14372 Fix capitalization of error message.
14374 2014-09-09 Steve Ellcey <sellcey@mips.com>
14376 * sysdeps/mips/preconfigure: Modify ABI tests.
14378 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
14380 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
14382 2014-09-07 Roland McGrath <roland@hack.frob.com>
14383 Carlos O'Donell <carlos@systemhalted.org>
14385 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
14386 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
14387 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
14388 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
14389 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
14390 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
14391 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
14392 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
14393 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
14394 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
14395 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
14396 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
14397 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
14398 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
14399 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
14400 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
14401 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
14402 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
14403 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
14404 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
14405 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
14406 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
14407 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
14408 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
14409 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
14410 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
14411 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
14412 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
14413 Deconditionalize the code that was previously under [RESET_PID].
14414 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
14415 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
14416 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
14417 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
14420 2014-09-08 Allan McRae <allan@archlinux.org>
14422 * version.h (RELEASE): Set to "development".
14423 (VERSION): Set to "2.20.90"
14425 2014-09-07 Allan McRae <allan@archlinux.org
14427 * version.h (RELEASE): Set to "stable".
14428 (VERSION): Set to "2.20"
14429 * include/features.h (__GLIBC_MINOR__): Set to 20.
14431 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
14434 * po/ko.po: Update Korean translation from translation project.
14436 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
14439 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
14440 macro for handling signed relocations.
14442 2014-09-03 Florian Weimer <fweimer@redhat.com>
14445 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
14446 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
14448 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
14449 * iconvdata/ibm935.c (BODY): Likewise.
14450 * iconvdata/ibm937.c (BODY): Likewise.
14451 * iconvdata/ibm939.c (BODY): Likewise.
14452 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
14454 * iconvdata/Makefile (iconv-test.out): Pass module list to test
14456 * iconvdata/run-iconv-test.sh: New test loop for checking for
14459 2014-09-02 Khem Raj <raj.khem@gmail.com>
14461 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
14464 2014-09-01 Allan McRae <allan@archlinux.org>
14466 * po/eo.po: Update Esperanto translation from translation project.
14468 * po/ca.po: Update Catalan translation from translation project.
14470 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
14472 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
14473 __proc_dostop call.
14475 2014-08-27 Mark Wielaard <mjw@redhat.com>
14478 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
14479 to call set_thread_area instead of hand written asm.
14480 (__NR_set_thread_area): Removed define.
14481 (TLS_FLAG_WRITABLE): Likewise.
14482 (__ASSUME_SET_THREAD_AREA): Remove check.
14483 (TLS_EBX_ARG): Remove define.
14484 (TLS_LOAD_EBX): Likewise.
14486 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14488 Simplify atomicity of socket creation in bind.
14490 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
14491 looking up the name after linking the file.
14493 2014-08-27 Allan McRae <allan@archlinux.org>
14495 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14497 2014-08-26 Florian Weimer <fweimer@redhat.com>
14500 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
14501 trans_compare, open_translit, __gconv_translit_find):
14502 Remove module loading code.
14504 2014-08-26 Allan McRae <allan@archlinux.org>
14506 * po/vi.po: Update Vietnamese translation from translation project.
14508 * po/uk.po: Update Ukrainian translation from translation project.
14510 * po/fr.po: Update French translation from translation project.
14512 * po/ru.po: Update Russian translation from translation project.
14514 * po/pl.po: Update Polish translation from translation project.
14516 * po/cs.po: Update Czech translation from translation project.
14518 * po/de.po: Update German translation from translation project.
14520 * po/bg.po: Update Bulgarian translation from translation project.
14522 * po/sv.po: Update Sweedish translation from translation project.
14524 * po/nl.po: Update Dutch translation from translation project.
14526 * po/es.po: Update Spanish translation from translation project.
14528 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14530 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
14532 * catgets/Makefile (CPPFLAGS-gencat): Remove.
14533 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
14534 (CPPFLAGS-iconvconfig): Likewise.
14535 * timezone/Makefile (CPPFLAGS-zic): Likewise.
14537 * include/libc-symbols.h: Remove unnecessary check for
14539 * nptl/pthreadP.h: Likewise.
14540 * sysdeps/aarch64/setjmp.S: Likewise.
14541 * sysdeps/alpha/setjmp.S: Likewise.
14542 * sysdeps/arm/sysdep.h: Likewise.
14543 * sysdeps/i386/setjmp.S: Likewise.
14544 * sysdeps/m68k/setjmp.c: Likewise.
14545 * sysdeps/posix/getcwd.c: Likewise.
14546 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14547 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14548 * sysdeps/s390/s390-32/setjmp.S: Likewise.
14549 * sysdeps/s390/s390-64/setjmp.S: Likewise.
14550 * sysdeps/sh/sh3/setjmp.S: Likewise.
14551 * sysdeps/sh/sh4/setjmp.S: Likewise.
14552 * sysdeps/unix/alpha/sysdep.h: Likewise.
14553 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14554 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14555 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14556 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14559 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14560 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14561 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14562 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14563 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14564 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14565 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14566 * sysdeps/x86_64/setjmp.S: Likewise.
14568 2014-08-13 Joseph Myers <joseph@codesourcery.com>
14571 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
14573 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
14574 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
14576 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14578 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
14581 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
14582 and __x86_64__ when disabling x87 inline functions.
14584 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
14587 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
14588 asm statement with __cpuid_count.
14590 2014-08-12 Mike Frysinger <vapier@gentoo.org>
14592 * configure.ac: Change __ehdr_start code to dereference the struct.
14593 Run readelf on the output to look for relocations.
14594 * configure: Regenerated.
14596 2014-08-12 Joseph Myers <joseph@codesourcery.com>
14599 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
14601 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
14603 2014-08-12 Roland McGrath <roland@hack.frob.com>
14605 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
14607 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
14610 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
14611 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
14613 2014-08-12 Sean Anderson <seanga2@gmail.com>
14615 * malloc/malloc.c: Fix typo in comment.
14617 2014-08-09 Allan McRae <allan@archlinux.org>
14619 * Regenerate libc.po.
14621 2014-08-08 Mike Frysinger <vapier@gentoo.org>
14623 * intl/tst-gettext2.sh: Check every lang file for creation.
14625 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
14627 * sysdeps/aarch64/fpu/math_private.h
14628 (libc_feholdsetround_noex_aarch64_ctx): New function.
14630 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
14632 * sysdeps/arm/armv6/strcpy.S (strcpy):
14633 Fix performance issue in misaligned cases.
14635 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14637 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14638 Move definition from termios.h.
14639 (struct termio): Likewise.
14640 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14641 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14642 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14643 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14645 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
14646 Move definition to ioctl-types.h
14647 (struct termio): Likewise.
14648 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14649 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14650 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14651 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14654 2014-08-05 Richard Henderson <rth@redhat.com>
14656 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
14658 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
14660 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
14661 Use __feraiseexcept.
14662 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
14663 Protect libm symbols with IS_IN_libm.
14665 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14667 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
14669 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
14671 2014-08-04 Will Newton <will.newton@linaro.org>
14673 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
14676 2014-08-04 Mike Frysinger <vapier@gentoo.org>
14678 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
14679 variants for each function.
14681 2014-08-04 Roland McGrath <roland@hack.frob.com>
14683 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
14685 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
14686 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
14688 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
14689 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
14690 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
14691 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
14692 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
14693 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14694 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
14695 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
14696 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
14697 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
14698 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
14699 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
14700 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
14701 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
14702 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
14703 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
14704 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
14705 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
14706 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
14707 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
14708 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
14709 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
14710 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
14711 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
14712 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14713 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14714 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14715 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14716 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14717 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14718 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14719 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14720 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14721 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14722 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14723 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14724 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14725 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14726 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14727 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14728 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14729 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14730 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
14731 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
14732 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
14733 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
14734 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
14735 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
14736 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
14737 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
14738 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
14739 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
14740 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
14742 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
14743 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
14745 2014-08-04 Roland McGrath <roland@hack.frob.com>
14747 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
14748 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
14749 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
14750 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
14751 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
14752 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
14754 2014-08-04 Roland McGrath <roland@hack.frob.com>
14756 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
14757 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
14758 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14759 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
14761 2014-08-04 Roland McGrath <roland@hack.frob.com>
14763 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
14764 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
14765 (__libc_vfork): Define function under this name.
14766 (__vfork): Define as an alias.
14767 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
14768 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
14770 2014-08-04 Roland McGrath <roland@hack.frob.com>
14772 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
14773 that was previously under [RESET_PID].
14774 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
14776 2014-08-04 Andreas Schwab <schwab@suse.de>
14778 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
14780 2014-08-03 Mike Frysinger <vapier@gentoo.org>
14782 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
14785 2014-08-01 Roland McGrath <roland@hack.frob.com>
14787 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
14789 2014-08-01 Richard Henderon <rth@redhat.com>
14791 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
14792 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
14793 typo in exact zero test.
14794 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14795 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14796 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14798 2014-08-01 Roland McGrath <roland@hack.frob.com>
14800 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
14801 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
14802 * sysdeps/arm/sysdep.h: ... here.
14803 [!__ASSEMBLER__]: Include <stdint.h>.
14805 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
14807 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
14808 (HAVE_WCTYPE_H): Likewise.
14809 (HAVE_ISWCTYPE): Likewise.
14810 (ENABLE_NLS): Likewise.
14811 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
14812 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
14814 * posix/regex_internal.c: Check if DEBUG is defined and is
14817 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
14818 (HAVE_MBSRTOWCS): Likewise.
14819 * posix/fnmatch.c: Include string.h unconditionally.
14821 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
14823 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
14826 2014-07-31 Roland McGrath <roland@hack.frob.com>
14828 * sysdeps/generic/safe-fatal.h: New file.
14829 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
14830 * nptl/forward.c: Include it.
14831 (__pthread_unwind): Use __safe_fatal as default action, rather
14832 than a bogus use of INTERNAL_SYSCALL that could never work.
14834 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
14835 * configure.ac (libc_cv_builtin_trap): New test.
14836 * configure: Regenerated.
14837 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
14838 (ABORT_INSTRUCTION): Define using __builtin_trap.
14840 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
14841 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
14842 * sysdeps/nptl/nptl-signals.h: New file.
14843 * nptl/pthreadP.h: Include <nptl-signals.h>.
14845 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
14847 * sysdeps/s390/s390-64/utf16-utf32-z9.c
14848 (ONE_DIRECTION): Define.
14849 * sysdeps/s390/s390-64/utf8-utf16-z9.c
14850 (ONE_DIRECTION): Define.
14851 * sysdeps/s390/s390-64/utf8-utf32-z9.c
14852 (ONE_DIRECTION): Define.
14854 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
14856 * sysdeps/s390/Makefile: Delete file.
14857 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
14858 * sysdeps/s390/__longjmp.c: Delete file.
14859 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
14860 Remove fields __flags and __reserved.
14861 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
14862 and add versioning.
14863 * sysdeps/s390/rtld-__longjmp.c: Delete file.
14864 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
14865 * sysdeps/s390/rtld-setjmp.S: Likewise.
14866 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
14867 * sysdeps/s390/s390-32/__longjmp.c: ... here.
14868 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
14869 * sysdeps/s390/s390-32/setjmp.S: ... here.
14871 (__sigsetjmp): Remove setting __flags field.
14872 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
14873 * sysdeps/s390/s390-64/__longjmp.c: ... here.
14874 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
14875 * sysdeps/s390/s390-64/setjmp.S: ... here.
14877 (__sigsetjmp): Remove setting __flags field.
14878 * sysdeps/s390/setjmp.S: Delete file.
14879 * sysdeps/s390/sigjmp.c: Likewise.
14880 * sysdeps/s390/v1-longjmp.c: Likewise.
14881 * sysdeps/s390/v1-setjmp.h: Likewise.
14882 * sysdeps/s390/v1-sigjmp.c: Likewise.
14883 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
14884 Remove v1-longjmp_chk.
14885 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
14886 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
14887 Include debug/longjmp_chk.c and add versioning.
14888 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
14889 Include nptl/pt-longjmp.c and add versioning.
14890 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
14891 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
14892 Include __longjmp.c.
14893 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14895 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
14896 (__getcontext): Remove setting __flags field.
14898 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14899 Don't restore upper high grps.
14900 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
14902 (__swapcontext): Remove setting uc_flags field.
14903 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
14905 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14906 Include __longjmp.c.
14907 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14909 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
14910 (__getcontext): Remove setting __flags field.
14912 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
14913 (__swapcontext): Remove setting uc_flags field.
14914 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
14915 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
14916 Remove fields uc_high_gprs and __reserved.
14917 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
14918 New file with reverted content.
14919 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
14920 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
14922 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
14925 2014-07-31 Andreas Schwab <schwab@suse.de>
14927 * config.h.in (HAVE_IFUNC): Define to 0.
14928 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
14931 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
14933 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14934 memmove-avx-unaligned, memcpy-avx-unaligned and
14935 mempcpy-avx-unaligned.
14936 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14937 Add tests for AVX memcpy functions.
14938 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
14939 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
14941 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
14942 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
14944 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
14945 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
14947 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
14948 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
14949 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
14951 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14954 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
14957 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
14960 * manual/llio.texi: Add section about open file description locks.
14961 * manual/examples/ofdlocks.c: Example of open file description
14963 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
14964 F_OFD_SETLK, and F_OFD_SETLKW.
14966 2014-07-23 Allan McRae <allan@archlinux.org>
14968 * po/es.po: Update Spanish translation from translation project.
14970 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
14972 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
14974 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
14977 * sysdeps/arm/dl-machine.h (elf_machine_rela)
14978 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
14979 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
14981 2014-07-17 Joseph Myers <joseph@codesourcery.com>
14984 * math/fesetenv.c (__fesetenv)
14985 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
14986 * math/feupdateenv.c (__feupdateenv)
14987 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
14989 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
14990 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14991 (__ASSUME_SOCKETCALL): Do not define.
14993 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
14994 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
14995 (__ASSUME_SOCKETCALL): Do not define.
14996 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
14997 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14998 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14999 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15000 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15001 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
15002 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15003 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15005 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
15006 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
15007 (__ASSUME_SOCKETCALL): Do not define.
15008 (__ASSUME_IPC64): Define unconditionally.
15009 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15010 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15011 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15012 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15013 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
15014 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15015 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
15018 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
15019 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
15020 (__ASSUME_SOCKETCALL): Do not define.
15021 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
15022 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15023 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15024 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15025 (__ASSUME_REQUEUE_PI): Define unconditionally.
15026 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
15027 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15028 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15029 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
15030 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15031 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15033 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
15034 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
15035 (__ASSUME_SOCKETCALL): Do not define.
15036 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
15037 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15038 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15039 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
15040 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15041 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15043 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
15044 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
15045 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15046 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
15047 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15048 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
15049 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15050 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
15051 (__ASSUME_GETCPU_SYSCALL): Likewise.
15053 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
15054 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
15055 cases for individual architectures.
15056 * sysdeps/gnu/configure: Regenerated.
15057 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
15058 LIBC_SLIBDIR_RTLDDIR.
15059 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
15060 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
15061 LIBC_SLIBDIR_RTLDDIR.
15062 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
15063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
15064 LIBC_SLIBDIR_RTLDDIR.
15065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15067 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
15068 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
15070 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
15071 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
15073 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
15074 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
15075 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
15076 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
15078 * sysdeps/aarch64/shlib-versions: Move to ...
15079 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
15080 * sysdeps/alpha/shlib-versions: Move to ...
15081 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
15082 * sysdeps/arm/shlib-versions: Move to ...
15083 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
15084 * sysdeps/hppa/shlib-versions: Move all contents except for
15085 libgcc_s entry to ...
15086 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
15088 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
15089 * sysdeps/ia64/shlib-versions: Move to ...
15090 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
15092 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
15093 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
15094 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
15095 * sysdeps/microblaze/shlib-versions: Move to ...
15096 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
15097 * sysdeps/mips/shlib-versions: Move to ...
15098 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
15100 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
15101 * sysdeps/tile/shlib-versions: Move to ...
15102 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
15103 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
15105 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
15106 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
15108 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
15110 2014-07-17 Will Newton <will.newton@linaro.org>
15112 * sysdeps/arm/bits/atomic.h
15113 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
15114 (__arch_compare_and_exchange_bool_16_int): Likewise.
15115 (__arch_compare_and_exchange_bool_64_int): Likewise.
15117 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
15118 into an #else block.
15120 2014-07-16 Roland McGrath <roland@hack.frob.com>
15122 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
15123 just Linux configurations. Test empirically that the compiler sets
15124 __ARM_EABI__, rather than using the tuple to decide.
15125 * sysdeps/arm/preconfigure: Regenerated.
15126 * sysdeps/unix/sysv/linux/arm/configure: File removed.
15127 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
15128 contents appended ...
15129 * sysdeps/arm/configure.ac: ... here.
15130 * sysdeps/arm/configure: Regenerated.
15132 2014-07-15 Roland McGrath <roland@hack.frob.com>
15134 * nptl/pthread_kill.c: New file.
15135 * nptl/pthread_sigmask.c: New file.
15136 * nptl/pthread_sigqueue.c: New file.
15138 * sysdeps/nptl/lowlevellock.h: New file.
15139 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
15140 * sysdeps/nptl/lowlevellock-futex.h: New file.
15142 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
15143 Remove dead declarations.
15145 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
15147 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
15148 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
15149 config-cflags-avx2.
15150 * sysdeps/x86_64/configure.ac: Likewise.
15151 * sysdeps/i386/configure: Regenerated.
15152 * sysdeps/x86_64/configure: Likewise.
15153 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15154 memset-avx2 only if config-cflags-avx2 is yes.
15155 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15156 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
15158 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
15159 only if HAVE_AVX2_SUPPORT is defined.
15160 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15162 2014-07-14 Alan Modra <amodra@gmail.com>
15165 * elf/elf.h (DT_PPC64_NUM): Correct value.
15166 * NEWS: Add to fixed bug list.
15168 2014-07-13 Jim Meyering <meyering@fb.com>
15171 regex: don't deref NULL upon heap allocation failure
15172 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
15173 failure in one more place.
15174 To trigger the segfault, configure grep -with-included-regex,
15175 build it, and run these commands:
15176 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
15178 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
15180 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15182 2014-07-11 Richard Henderson <rth@redhat.com>
15184 * sysdeps/aarch64/libm-test-ulps: Update.
15186 2014-07-10 Florian Weimer <fweimer@redhat.com>
15189 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
15190 * nptl/allocatestack.c (__nptl_setxid_error): New function.
15191 (__nptl_setxid): Initialize error member. Call
15192 __nptl_setxid_error.
15193 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
15194 * nptl/descr.h (struct xid_command): Add error member.
15195 * nptl/tst-setuid3.c: New file.
15196 * nptl/Makefile (tests): Add it.
15198 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15200 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
15202 (__lll_trylock): Use __lll_base_trylock.
15203 (__lll_cond_trylock): Likewise.
15205 2014-07-10 Roland McGrath <roland@hack.frob.com>
15207 * nptl/pthread_create.c (start_thread): Use atomic_or and
15208 lll_futex_wake directly rather than lll_robust_dead.
15209 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15210 (lll_robust_dead): Macro removed.
15211 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
15212 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15213 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15214 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15215 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15216 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15217 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15218 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15219 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15220 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15221 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15222 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15223 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15224 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15225 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15227 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
15228 Use atomic_compare_and_exchange_val_acq directly rather than
15229 lll_robust_trylock.
15230 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
15231 (__lll_robust_trylock, lll_robust_trylock): Removed.
15232 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
15233 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
15234 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
15235 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
15236 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
15237 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
15238 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
15239 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
15240 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
15241 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
15242 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15243 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
15244 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
15245 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
15247 2014-07-02 Florian Weimer <fweimer@redhat.com>
15249 * manual/locale.texi (Locale Names): New section documenting
15250 locale name syntax. Adjust menu and node chaining accordingly.
15251 (Choosing Locale): Reference Locale Names, Locale Categories.
15252 Mention setting LC_ALL=C. Reflect that name syntax is now
15254 (Locale Categories): New section title. Reference Locale Names.
15255 LC_ALL is an environment variable, but not a category.
15256 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
15257 description, now in Locale Name. Reference that section. Locale
15258 name syntax is now documented.
15260 2014-07-02 Florian Weimer <fweimer@redhat.com>
15263 * locale/findlocale.c (name_present, valid_locale_name): New
15265 (_nl_find_locale): Use the loc_name variable to store name
15266 candidates. Call name_present and valid_locale_name to check and
15267 validate locale names. Return an error if the locale is invalid.
15269 2014-07-02 Florian Weimer <fweimer@redhat.com>
15271 * locale/setlocale.c (setlocale): Use strdup for allocating
15272 composite name copy.
15274 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15276 Sync up with gnulib.
15277 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
15278 [!_LIBC && ENABLE_NLS]: Include gettext.h.
15279 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
15280 and _GL_ARG_NONNULL.
15281 [USE_UNLOCKED_IO]: Include unlocked-io.h.
15282 [!_LIBC]: Include code for Windows and Cygwin.
15283 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
15284 Include prototype for int strerror_r.
15285 [!_LIBC] (is_open): New function.
15286 (flush_stdout): New function.
15287 (print_errno_message): Use it.
15289 (error_at_line): Likewise.
15290 (error_tail) Add function attribute macros. Use
15293 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
15295 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
15297 * io/ftw.c: Include sys/param.h unconditionally.
15299 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
15302 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
15304 (freecache): New function to free CACHE on exit.
15306 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
15309 2014-07-09 David S. Miller <davem@davemloft.net>
15311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15313 * sysdeps/sparc/nptl/internaltypes.h: Delete.
15314 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
15315 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
15316 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
15317 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
15318 * sysdeps/sparc/nptl/sem_init.c: Likewise.
15319 * sysdeps/sparc/nptl/sem_post.c: Likewise.
15320 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
15321 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
15322 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
15323 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
15324 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
15325 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
15327 2014-07-09 Andreas Schwab <schwab@suse.de>
15329 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
15331 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
15332 (do_test): Likewise.
15334 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15336 2014-07-09 Will Newton <will.newton@linaro.org>
15338 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
15339 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
15340 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
15341 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
15342 * sysdeps/hppa/start.S (_start): Likewise.
15344 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
15346 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
15348 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
15351 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15353 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
15354 after checking that it is non-NULL.
15356 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
15358 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15360 * sysdeps/powerpc/memmove.c: Remove file.
15361 * sysdeps/powerpc/powerpc32/power4/memcopy.h
15362 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
15363 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15364 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
15365 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
15366 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
15367 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
15368 string memmove instead of removed powerpc one.
15370 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15371 [weak_alias]: Fix compiler warning due trailing data.
15372 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
15373 [weak_alias]: Likewise.
15374 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
15375 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
15377 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15378 (__libc_ifunc_impl_list): Add memmove functions.
15380 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15382 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
15384 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
15386 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
15388 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
15390 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
15392 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
15394 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
15396 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
15398 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
15400 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
15402 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
15404 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
15406 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
15408 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
15410 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
15412 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
15414 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
15417 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15419 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
15420 to avoid alignment traps in non-cacheable memory.
15421 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15423 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
15425 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
15426 file: multiarch power7 memmove.
15427 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
15428 multiarch default memmove.
15429 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
15430 multiarch memove for powerpc32/power4.
15432 * string/bcopy.c: Use full path to include memmove.c.
15433 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
15435 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
15436 bcopy for powerpc64.
15437 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
15438 bcopy for powerpc64.
15439 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
15440 and memmove implementations.
15441 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
15442 optimized multiarch memmove for POWER7/powerpc64.
15443 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
15444 default multiarch memmove for powerpc64.
15445 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
15446 multiarch for powerpc64.
15447 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
15448 for POWER7/powerpc64.
15449 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
15450 memmove for POWER7/powerpc64.
15452 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
15455 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
15456 __ELF_NATIVE_CLASS equal to 64.
15458 2014-07-07 Roland McGrath <roland@hack.frob.com>
15460 * sysdeps/nptl/lowlevellock.h: File removed.
15462 * NEWS: NPTL is no longer an add-on!
15463 * nptl/internaltypes.h: Moved ...
15464 * sysdeps/nptl/internaltypes.h: ... here.
15465 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
15466 * sysdeps/nptl/fork.c: Likewise.
15467 * sysdeps/nptl/gai_misc.h: Likewise.
15468 * sysdeps/nptl/librt-cancellation.c: Likewise.
15469 * sysdeps/nptl/jmp-unwind.c: Likewise.
15470 * sysdeps/nptl/setxid.h: Likewise.
15471 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
15472 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
15473 * sysdeps/unix/sysv/linux/arm/Implies: New file.
15474 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
15475 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
15476 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
15477 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
15478 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
15479 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
15480 * sysdeps/unix/sysv/linux/mips/Implies: New file.
15481 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
15482 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
15483 * sysdeps/unix/sysv/linux/sh/Implies: New file.
15484 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
15485 * sysdeps/unix/sysv/linux/tile/Implies: New file.
15486 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
15487 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
15488 * nptl/Makeconfig: Moved ...
15489 * sysdeps/nptl/Makeconfig: ... here.
15490 * nptl/configure: File removed.
15491 * nptl/ANNOUNCE: File removed.
15492 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
15493 * sysdeps/unix/sysv/linux/configure: Regenerated.
15495 * nptl/Makefile (routines): Add libc_pthread_init,
15496 libc_multiple_threads, register-atfork and unregister-atfork.
15497 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
15498 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
15499 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
15500 pthread-pi-defines.sym, structsem.sym.
15501 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
15502 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
15503 [$(subdir) = nptl] (tests): Add tst-setgetname.
15504 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
15505 * sysdeps/unix/sysv/linux/sigaction.c: Just include
15506 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
15507 [!LIBC_SIGACTION]: Remove aliases.
15508 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15509 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15510 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15511 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
15512 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15513 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15514 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15515 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15516 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15517 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
15518 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
15519 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
15520 __libc_allocate_rtsig_private.
15521 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
15522 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
15523 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
15524 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
15525 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
15526 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
15527 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
15528 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
15529 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
15530 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
15531 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
15532 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
15533 * nptl/internaltypes.h: ... here.
15534 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
15535 * sysdeps/nptl/jmp-unwind.c: ... here.
15536 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
15537 * nptl/libc-lowlevellock.c: ... here.
15538 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
15539 * nptl/libc_multiple_threads.c: ... here.
15540 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
15541 * nptl/libc_pthread_init.c: ... here.
15542 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
15543 * nptl/lowlevelbarrier.sym: ... here.
15544 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
15545 * nptl/lowlevelcond.sym: ... here.
15546 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
15547 * nptl/lowlevellock.c: ... here.
15548 * nptl/lowlevellock.h: Moved ...
15549 * sysdeps/nptl/lowlevellock.h: ... here.
15550 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
15551 * nptl/lowlevelrobustlock.c: ... here.
15552 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
15553 * nptl/lowlevelrobustlock.sym: ... here.
15554 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
15555 * nptl/lowlevelrwlock.sym: ... here.
15556 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
15557 * nptl/pt-fork.c: ... here.
15558 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
15559 * nptl/pthread-pi-defines.sym: ... here.
15560 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
15561 * nptl/pthread_attr_getaffinity.c: ... here.
15562 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
15563 * nptl/pthread_attr_setaffinity.c: ... here.
15564 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
15565 * nptl/pthread_mutex_cond_lock.c: ... here.
15566 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15568 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
15569 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
15570 * nptl/pthread_once.c: ... here, replacing old file.
15571 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
15572 * nptl/pthread_yield.c: ... here.
15573 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
15574 * nptl/register-atfork.c: ... here.
15575 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
15576 * nptl/sem_post.c: ... here.
15577 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
15578 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
15579 * nptl/sem_timedwait.c: ... here.
15580 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
15581 * nptl/sem_trywait.c: ... here.
15582 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
15583 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
15584 * nptl/sem_wait.c: ... here.
15585 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
15586 * nptl/structsem.sym: ... here.
15587 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
15588 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
15589 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
15590 * nptl/unregister-atfork.c: ... here.
15591 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
15592 * nptl/unwindbuf.sym: ... here.
15593 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
15594 * sysdeps/nptl/fork.c: ... here.
15595 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
15596 * sysdeps/nptl/fork.h: ... here.
15597 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
15598 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
15599 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
15600 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
15601 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
15602 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
15603 * sysdeps/unix/sysv/linux/getpid.c: ... here.
15604 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
15605 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
15606 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
15607 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
15608 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
15609 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
15610 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
15611 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
15612 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
15613 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
15614 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
15615 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
15616 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
15617 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
15618 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
15619 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
15620 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
15621 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
15622 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
15623 * sysdeps/unix/sysv/linux/raise.c: ... here.
15624 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
15625 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
15626 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
15627 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
15628 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
15629 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
15630 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
15631 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
15632 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
15633 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
15634 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
15635 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
15636 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
15637 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
15638 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
15640 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15642 * sysdeps/generic/memcopy.h: Add comment for
15643 MEMCPY_OK_FOR_FWD_MEMMOVE.
15645 2014-07-04 Will Newton <will.newton@linaro.org>
15647 * string/memchr.c: Merge from gnulib.
15648 [_LIBC]: Remove conditionals.
15649 (__ptr_t): Remove define.
15650 (LONG_MAX_32_BITS): Likewise.
15651 (LONG_MAX): Likewise.
15652 (MEMCHR): Use ANSI prototype and optimize algorithm.
15654 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
15656 2014-07-03 Roland McGrath <roland@hack.frob.com>
15658 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
15659 (lll_futex_timed_wait_bitset): Fix syscall argument count.
15661 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
15662 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
15663 in a bare environment with no <stdlib.h> installed.
15664 * sysdeps/nptl/configure: Regenerated.
15666 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
15668 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
15669 AC_EGREP_CPP for kernel header checks, so they only succeed if
15670 including <linux/version.h> actually works right.
15671 * sysdeps/unix/sysv/linux/configure: Regenerated.
15673 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
15674 value so it's not diagnosed as unused.
15676 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
15677 thing) with "ifeq ($(subdir),rt)".
15679 2014-07-03 Richard Henderson <rth@redhat.com>
15681 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
15682 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
15683 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
15685 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
15686 (math_force_eval): New.
15688 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
15689 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
15691 * sysdeps/alpha/fpu/s_round.c: Remove file.
15692 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
15694 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
15695 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
15696 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15697 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
15698 (_dl_start, print_statistics): Likewise.
15699 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
15700 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
15702 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15703 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15704 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15705 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15706 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15707 (HP_SMALL_TIMING_AVAIL): Define.
15708 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15709 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15710 (HP_SMALL_TIMING_AVAIL): Define.
15711 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15712 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15714 * sysdeps/aarch64/hp-timing.h: New file.
15716 * sysdeps/generic/hp-timing.h: Remove dead comment.
15717 * sysdeps/generic/hp-timing-common.h: New file.
15718 * sysdeps/alpha/hp-timing.h: Include it.
15719 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15720 * sysdeps/i386/i686/hp-timing.h: Likewise.
15721 * sysdeps/ia64/hp-timing.h: Likewise.
15722 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15723 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15724 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15725 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15726 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15727 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15728 (hp_timing_t): New.
15730 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
15731 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
15732 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
15733 * elf/rtld.c (_dl_start_final): Likewise.
15734 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
15735 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15736 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15737 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15738 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15739 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15740 (HP_TIMING_DIFF_INIT): Remove.
15741 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15742 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15743 (HP_TIMING_DIFF_INIT): Remove.
15744 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15745 * sysdeps/i386/i686/hp-timing.c: Remove file.
15746 * sysdeps/x86_64/hp-timing.c: Remove file.
15747 * sysdeps/ia64/hp-timing.c: Remove file.
15748 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
15749 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
15750 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
15751 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
15753 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
15754 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
15755 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
15756 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15757 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15758 (HP_TIMING_ACCUM): Remove.
15759 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15760 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
15761 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15763 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
15764 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
15765 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
15766 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
15767 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
15768 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15769 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
15770 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15772 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
15774 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
15776 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
15778 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15780 Sync up with gettext.
15781 * intl/loadmsgcat.c: Define O_BINARY if not defined.
15782 [_MSC_VER]: Include malloc.h
15783 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
15784 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
15785 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
15786 TEMP_FAILURE_RETRY. Cast return of alloca.
15787 [!_LIBC] Call gl_rwlock_init.
15788 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
15790 2014-07-02 Roland McGrath <roland@hack.frob.com>
15792 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
15793 before checking its value.
15795 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15797 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
15799 * debug/memcpy_chk.c: Don't include pagecopy.h.
15800 * debug/mempcpy_chk.c: Likewise.
15801 * string/memcpy.c: Likewise.
15802 * string/memmove.c: Likewise.
15803 * sysdeps/powerpc/memmove.c: Likewise.
15804 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
15805 definition of PAGE_COPY_FWD_MAYBE here...
15806 * sysdeps/generic/pagecopy.h: ... from here.
15807 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
15809 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15810 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15812 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
15813 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
15815 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15816 (__libc_ifunc_impl_list): Likewise.
15817 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
15818 multiarch strcat for PPC64.
15819 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
15820 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
15822 2014-07-02 Roland McGrath <roland@hack.frob.com>
15824 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
15826 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15828 * intl/loadmsgcat.c: Remove declaration of
15829 get_sysdep_segment_value.
15830 (get_sysdep_segment_value): Use ISO C style.
15831 (_nl_load_domain): Use ISO C style. Get rid of redundant
15832 semicolon. Fix typo and formatting in comment.
15833 (_nl_unload_domain): Use ISO C style.
15835 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
15837 2014-07-02 Will Newton <will.newton@linaro.org>
15839 * malloc/obstack.c: Merge from gnulib master.
15840 [HAVE_CONFIG_H]: Remove conditional code.
15841 [!_LIBC]: Include config.h.
15842 [!ELIDE_CODE]: Don't include inttypes.h, include
15843 stdint.h unconditionally.
15844 (print_and_abort): Mark as _Noreturn.
15845 (_obstack_allocated_p): Mark as __attribute_pure__.
15846 (obstack_free): Rename to __obstack_free.
15847 [!__attribute__]: Remove conditional code.
15848 * malloc/obstack.h: Merge from gnulib master.
15849 [__cplusplus]: Move conditional down.
15850 [!__attribute_pure__]: Define __attribute_pure__ here
15851 if it is not already defined.
15852 (_obstack_memory_used): Mark as __attribute_pure__.
15853 [!__obstack_free]: Define as obstack_free.
15854 [__GNUC__]: Remove check for ancient NeXT gcc.
15856 2014-07-02 Will Newton <will.newton@linaro.org>
15857 Paul Eggert <eggert@cs.ucla.edu>
15859 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
15861 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15863 * resolv/gethnamaddr.c: Add comment warning that the file is
15866 2014-07-01 Carlos O'Donell <carlos@redhat.com>
15868 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
15871 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
15872 entry for aio_cancel and aio_cancel64.
15873 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
15874 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
15875 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
15876 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
15877 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
15878 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
15879 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
15880 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
15881 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
15882 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
15883 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
15884 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
15885 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
15887 2014-07-01 Roland McGrath <roland@hack.frob.com>
15889 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
15890 * nptl/pthread_mutex_lock.c: Likewise.
15891 * nptl/pthread_mutex_timedlock.c: Likewise.
15892 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
15894 2014-07-01 Richard henderson <rth@redhat.com>
15896 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
15897 (__isnan, __isnanl): Remove.
15898 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
15900 * sysdeps/alpha/fpu/libm-test-ulps: Update.
15902 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
15904 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15906 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
15908 * resolv/nss_dns/dns-host.c (getanswer_r)
15909 [MULTI_PTRS_ARE_ALIASES]: Remove code.
15911 2014-07-01 Joseph Myers <joseph@codesourcery.com>
15913 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15914 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
15916 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
15917 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
15919 2014-07-01 Roland McGrath <roland@hack.frob.com>
15921 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
15922 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
15924 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
15925 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
15927 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
15928 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
15930 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
15931 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
15933 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
15934 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
15935 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
15936 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
15938 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
15939 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
15940 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
15941 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
15942 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
15944 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
15946 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
15947 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
15948 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
15949 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
15950 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
15951 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
15952 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
15953 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
15954 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
15955 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
15956 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
15957 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
15958 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
15959 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
15960 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
15961 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
15962 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
15963 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
15964 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
15965 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
15967 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
15968 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
15969 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
15970 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
15971 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
15972 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
15973 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
15974 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
15976 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
15978 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
15979 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
15980 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
15983 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15987 2014-06-30 Joseph Myers <joseph@codesourcery.com>
15989 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15990 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15992 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15994 * sysdeps/arm/libm-test-ulps: Regenerated.
15996 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
15997 Roland McGrath <roland@hack.frob.com>
15999 * test-skeleton.c (signal_handler): Kill the whole process group
16000 before killing the child individually.
16001 (main): Report any failure on `setpgid'.
16003 2014-06-30 Roland McGrath <roland@hack.frob.com>
16005 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
16006 from _TLS_H to _ARM_NPTL_TLS_H.
16007 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
16008 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
16010 2014-06-30 Joseph Myers <joseph@codesourcery.com>
16013 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
16014 (__expm1l): Return argument unchanged when small but not
16017 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
16018 include macro name.
16019 (_FP_UNPACK_RAW_1_P): Likewise.
16020 (_FP_PACK_RAW_1): Likewise.
16021 (_FP_PACK_RAW_1_P): Likewise.
16022 (_FP_MUL_MEAT_1_wide): Likewise.
16023 (_FP_MUL_MEAT_DW_1_hard): Likewise.
16024 (_FP_MUL_MEAT_1_hard): Likewise.
16025 (_FP_DIV_MEAT_1_imm): Likewise.
16026 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
16027 (_FP_DIV_MEAT_1_udiv): Likewise.
16028 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
16029 (_FP_UNPACK_RAW_2): Likewise.
16030 (_FP_UNPACK_RAW_2_P): Likewise.
16031 (_FP_PACK_RAW_2): Likewise.
16032 (_FP_PACK_RAW_2_P): Likewise.
16033 (_FP_MUL_MEAT_DW_2_wide): Likewise.
16034 (_FP_MUL_MEAT_2_wide): Likewise.
16035 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
16036 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
16037 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
16038 (_FP_MUL_MEAT_2_gmp): Likewise.
16039 (_FP_DIV_MEAT_2_udiv): Likewise.
16040 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
16041 (_FP_FRAC_SRL_4): Likewise.
16042 (_FP_FRAC_SRST_4): Likewise.
16043 (_FP_FRAC_SRS_4): Likewise.
16044 (_FP_UNPACK_RAW_4): Likewise.
16045 (_FP_UNPACK_RAW_4_P): Likewise.
16046 (_FP_PACK_RAW_4): Likewise.
16047 (_FP_PACK_RAW_4_P): Likewise.
16048 (_FP_MUL_MEAT_DW_4_wide): Likewise.
16049 (_FP_MUL_MEAT_4_wide): Likewise.
16050 (_FP_MUL_MEAT_4_gmp): Likewise.
16051 (umul_ppppmnnn): Likewise.
16052 (_FP_DIV_MEAT_4_udiv): Likewise.
16053 (__FP_FRAC_ADD_4): Likewise.
16054 (__FP_FRAC_SUB_3): Likewise.
16055 (__FP_FRAC_SUB_4): Likewise.
16056 (__FP_FRAC_DEC_3): Likewise.
16057 (__FP_FRAC_DEC_4): Likewise.
16058 (__FP_FRAC_ADDI_4): Likewise.
16059 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
16060 (_FP_FRAC_SRL_8): Likewise.
16061 (_FP_FRAC_SRS_8): Likewise.
16063 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
16064 include macro name.
16065 (FP_UNPACK_RAW_EP): Likewise.
16066 (FP_PACK_RAW_E): Likewise.
16067 (FP_PACK_RAW_EP): Likewise.
16068 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
16069 (_FP_ISSIGNAN): Likewise.
16070 (_FP_ADD_INTERNAL): Likewise.
16071 (_FP_FMA): Likewise.
16072 (_FP_CMP): Likewise.
16073 (_FP_SQRT): Likewise.
16074 (_FP_TO_INT): Likewise.
16075 (_FP_FROM_INT): Likewise.
16076 (FP_EXTEND): Likewise.
16077 (_FP_DIV_MEAT_N_loop): Likewise.
16079 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
16081 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
16084 2014-06-29 Joseph Myers <joseph@codesourcery.com>
16087 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
16088 result with correct sign in case of exponents that produce
16089 overflow except for X very close to 1.
16091 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
16093 mktime: merge #if/#ifdef usage from glibc
16094 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
16095 as that works with both Glibc's and Gnulib's style.
16096 See thread starting at Siddhesh Poyarekar's bug report at:
16097 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
16099 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16101 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
16102 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
16103 * sysdeps/tile/tilegx/memmove.c: Remove file.
16105 2014-06-27 Joseph Myers <joseph@codesourcery.com>
16107 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
16108 abi-name definition.
16109 * scripts/soversions.awk: Do not handle or generate ABI lines.
16110 * shlib-versions: Remove ABI entries.
16111 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
16112 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
16114 2014-06-27 Roland McGrath <roland@hack.frob.com>
16116 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
16117 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
16118 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
16119 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
16120 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
16121 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
16122 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
16124 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16126 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
16127 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
16128 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
16129 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
16130 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
16131 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
16132 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
16133 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
16134 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
16135 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
16136 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
16137 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
16138 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
16140 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
16141 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
16142 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
16143 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
16144 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
16145 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
16147 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
16148 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
16150 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
16151 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
16152 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
16153 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
16155 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
16156 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
16157 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
16158 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
16159 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
16160 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
16161 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
16162 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
16164 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
16165 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
16166 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
16167 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
16169 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
16170 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
16172 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
16173 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
16174 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
16175 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
16177 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
16179 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
16180 Identical file removed.
16181 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
16183 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
16184 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
16185 Identical file removed.
16186 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
16187 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
16188 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
16190 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
16191 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
16192 Identical file removed.
16193 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
16194 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
16195 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
16196 Identical file removed.
16197 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
16198 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
16199 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
16200 Identical file removed.
16201 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
16202 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
16203 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
16204 Identical file removed.
16205 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
16207 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
16208 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
16209 Identical file removed.
16210 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
16212 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
16213 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
16214 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
16215 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
16216 Identical file removed.
16217 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
16219 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
16221 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
16222 Identical file removed.
16223 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
16225 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
16226 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
16227 Identical file removed.
16228 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
16230 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
16231 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
16232 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
16233 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
16234 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
16235 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
16237 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
16238 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
16239 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
16241 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
16242 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
16243 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
16244 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
16245 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
16247 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
16250 * nscd/nscd.c (monitor_child): Return exit status of child
16251 instead of return value from wait syscall.
16253 2014-06-27 Joseph Myers <joseph@codesourcery.com>
16255 * configure.ac (libc_commonpagesize): Remove variable.
16256 (libc_relro_required): Likewise.
16257 (libc_cv_z_relro): Remove configure test.
16258 * configure: Regenerated.
16259 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
16261 (libc_relro_required): Likewise.
16262 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
16263 (libc_relro_required): Likewise.
16264 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
16265 (libc_relro_required): Likewise.
16266 * sysdeps/arm/preconfigure: Regenerated.
16267 * sysdeps/ia64/preconfigure: Remove file.
16268 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
16270 (libc_relro_required): Likewise.
16274 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
16275 (__ieee754_yn): Set FE_TONEAREST mode internally and then
16276 recompute overflowing results in original rounding mode.
16277 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
16278 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
16279 recompute overflowing results in original rounding mode.
16280 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
16281 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16282 recompute overflowing results in original rounding mode.
16283 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
16284 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16285 recompute overflowing results in original rounding mode.
16286 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
16287 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
16288 recompute overflowing results in original rounding mode.
16289 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
16290 (libc_feholdsetround_ctx): New macro.
16291 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
16292 * sysdeps/i386/fpu/libm-test-ulps: Update.
16293 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
16295 2014-06-26 Joseph Myers <joseph@codesourcery.com>
16297 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
16298 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
16299 corresponding .cpsetup call.
16301 2014-06-26 Roland McGrath <roland@hack.frob.com>
16303 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
16304 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
16305 * sysdeps/arm/Makefile [$(subdir) = csu]
16306 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
16307 (static-only-routines): Add aeabi_read_tp here.
16308 (shared-only-routines): Add libc-aeabi_read_tp here.
16309 (CFLAGS-libc-start.c): Add -fexceptions here.
16310 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
16311 (sysdep_routines, static-only-routines, shared-only-routines):
16312 Don't add to these here.
16313 (CFLAGS-libc-start.c): Likewise.
16315 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
16316 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16317 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
16318 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16319 * sysdeps/arm/Makefile [$(subdir) = rt]
16320 (librt-sysdep_routines, librt-shared-only-routines):
16321 Append rt-aeabi_unwind_cpp_pr1 here.
16322 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
16323 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
16324 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
16325 (libpthread-sysdep_routines, libpthread-shared-only-routines):
16326 Append nptl-aeabi_unwind_cpp_pr1 here.
16327 (tests): Filter out tst-cleanupx4 here.
16328 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
16329 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
16330 Don't do those here.
16332 2014-06-26 Joseph Myers <joseph@codesourcery.com>
16334 * scripts/list-sources.sh: Do not handle ports specially.
16336 2014-06-26 Roland McGrath <roland@hack.frob.com>
16338 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
16339 * sysdeps/arm/feupdateenv.c: Likewise.
16341 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
16343 2014-06-26 Joseph Myers <joseph@codesourcery.com>
16345 * manual/texinfo.tex: Update to version 2014-05-05.10 with
16346 trailing whitespace removed.
16347 * scripts/config.guess: Update to version 2014-03-23.
16348 * scripts/config.sub: Update to version 2014-05-01
16349 * scripts/install-sh: Update to version 2013-12-25.23.
16350 * scripts/move-if-change: Update from gnulib.
16352 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16354 * debug/memmove_chk.c: Remove pagecopy.h include.
16356 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
16358 * time/mktime.c (leapyear): Remove inline keyword. The code is now
16359 identical to gnulib mktime.
16361 2014-06-26 Joseph Myers <joseph@codesourcery.com>
16363 * configure.ac: Do not test for machine being rs6000. Do not test
16364 for powerpc*-*soft.
16365 * configure: Regenerated.
16368 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
16370 * configure: Regenerated.
16371 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
16372 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
16373 Remove configure test.
16374 * sysdeps/arm/configure: Regenerated.
16375 * sysdeps/nptl/configure.ac: Do not check
16376 libc_cv_asm_cfi_directives.
16377 * sysdeps/nptl/configure: Regenerated.
16378 * sysdeps/x86_64/nptl/configure.ac: Remove file.
16379 * sysdeps/x86_64/nptl/configure: Remove generated file.
16380 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
16382 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
16384 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16386 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
16387 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
16388 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
16391 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
16392 instead of whether it is defined.
16393 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
16394 * sysdeps/hppa/dl-machine.h: Likewise.
16395 * sysdeps/ia64/dl-machine.h: Likewise.
16396 * sysdeps/m68k/dl-machine.h: Likewise.
16397 * sysdeps/microblaze/dl-machine.h: Likewise.
16398 * sysdeps/mips/dl-machine.: Likewise.
16399 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16400 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16401 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16402 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16403 * sysdeps/sh/dl-machine.h: Likewise.
16404 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16405 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16406 * sysdeps/tile/dl-machine.h: Likewise.
16407 * sysdeps/x86_64/dl-machine.h: Likewise.
16409 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
16411 (verify_persistent_db): Likewise.
16413 2014-06-26 Roland McGrath <roland@hack.frob.com>
16415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
16416 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
16417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
16418 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
16419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16421 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
16424 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
16425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
16426 Identical file removed.
16427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
16428 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
16429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
16430 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
16431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
16432 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
16433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
16434 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
16435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
16436 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
16437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16439 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
16440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
16441 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
16442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
16443 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
16444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16446 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
16447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
16448 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
16449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
16450 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
16451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16452 Identical file removed.
16453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
16454 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
16455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
16456 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
16457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16459 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
16462 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
16463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
16464 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
16465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
16466 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
16467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
16468 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
16469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
16470 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
16471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16473 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
16474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
16476 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
16477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
16478 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
16479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16481 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
16482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
16483 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
16485 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
16487 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
16488 * sysdeps/unix/sysv/linux/s390/Versions
16489 (libpthread: GLIBC_2.19): New version set.
16490 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
16491 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
16492 (librt: GLIBC_2.3.3): New version set.
16493 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
16494 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
16495 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
16496 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
16497 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
16498 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
16499 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
16500 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
16501 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
16502 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
16503 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
16504 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
16505 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
16506 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
16507 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
16508 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
16509 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
16510 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
16511 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
16512 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
16513 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
16514 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
16515 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
16516 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
16517 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
16518 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
16519 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
16520 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
16521 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
16522 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
16523 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
16524 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
16525 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
16526 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
16527 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
16528 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
16529 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
16530 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
16531 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
16532 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
16533 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
16534 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
16535 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
16536 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
16537 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
16539 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
16540 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
16541 (__libc_vfork): Define the function under this name.
16542 [!NOT_IN_libc] (__vfork): Make this an alias.
16543 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16544 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
16545 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
16546 (__libc_vfork): Define the function under this name.
16547 [!NOT_IN_libc] (__vfork): Make this an alias.
16548 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16549 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
16550 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
16551 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
16552 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
16553 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16555 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
16556 code that was previously under [RESET_PID].
16557 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
16558 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
16559 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
16561 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
16562 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
16563 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
16564 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
16565 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
16566 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
16567 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
16568 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
16569 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
16570 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
16571 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
16573 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
16574 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
16575 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
16576 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
16577 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
16578 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
16579 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
16580 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
16581 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
16582 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
16583 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
16584 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
16585 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
16586 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
16587 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
16588 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
16589 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
16590 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
16591 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
16592 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
16593 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
16594 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
16595 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
16596 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
16597 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
16598 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
16599 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
16600 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
16601 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
16603 2014-06-25 Roland McGrath <roland@hack.frob.com>
16605 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
16606 that was previously under [RESET_PID].
16607 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
16609 2014-06-25 Joseph Myers <joseph@codesourcery.com>
16611 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
16612 not undefine and redefine.
16613 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
16614 [O_CLOEXEC]: Make code unconditional.
16615 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
16616 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
16617 <kernel-features.h>.
16618 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
16619 conditional variable definition.
16620 (shm_open) [O_CLOEXEC]: Make code unconditional.
16621 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
16624 * configure.ac (USE_REGPARMS): Don't define here.
16625 * configure: Regenerated.
16626 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
16627 * sysdeps/i386/configure: Regenerated.
16629 * nptl/createthread.c: Don't include kernel-features.h.
16630 * nptl/pthread_cancel.c: Likewise.
16631 * nptl/pthread_condattr_setclock.c: Likewise.
16632 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
16633 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
16634 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
16635 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
16636 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16637 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
16638 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16639 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
16640 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16641 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16642 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
16643 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
16644 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
16645 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
16646 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
16647 * nscd/gai.c: Likewise.
16648 * nss/nss_db/db-open.c: Likewise.
16649 * sysdeps/generic/ldsodefs.h: Likewise.
16650 * sysdeps/sh/nptl/tls.h: Likewise.
16651 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16652 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
16653 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
16654 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
16655 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
16656 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16657 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
16658 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16659 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16660 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16661 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16662 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16663 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
16664 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
16665 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
16666 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
16667 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16668 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
16669 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
16670 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
16671 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16672 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16673 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
16674 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16675 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16676 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16677 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
16678 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16679 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16680 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
16681 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
16682 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
16683 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
16684 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16685 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16686 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16687 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16688 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
16689 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
16690 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16691 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16692 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
16693 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
16694 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16695 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
16696 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
16697 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
16698 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
16699 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
16700 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16701 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16702 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16703 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16704 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16705 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
16706 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16707 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16708 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
16709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
16711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
16712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
16731 * sysdeps/unix/sysv/linux/pread.c: Likewise.
16732 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
16733 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
16734 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
16735 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
16736 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
16737 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
16738 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
16739 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
16740 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16741 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
16742 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16743 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
16744 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
16745 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
16746 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
16747 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16748 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
16749 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
16750 * sysdeps/unix/sysv/linux/system.c: Likewise.
16751 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
16752 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16753 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16754 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16755 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16756 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16757 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16759 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
16760 * configure: Regenerated.
16761 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
16763 * configure.ac (base_machine): Do not set specially for particular
16765 * configure: Regenerated.
16766 * sysdeps/powerpc/preconfigure: Move machine and base_machine
16767 settings from configure.ac.
16768 * sysdeps/i386/preconfigure: New file.
16769 * sysdeps/s390/preconfigure: Likewise.
16770 * sysdeps/sh/preconfigure: Likewise.
16771 * sysdeps/sparc/preconfigure: Likewise.
16773 2014-06-25 Roland McGrath <roland@hack.frob.com>
16775 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
16776 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
16777 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
16778 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
16779 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
16780 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
16781 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
16782 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
16783 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
16784 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
16785 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
16786 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
16787 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
16788 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
16789 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
16790 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
16791 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
16792 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
16793 * sysdeps/sparc/sparc64/Makefile: ... appended here.
16795 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
16796 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
16797 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
16798 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
16799 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
16800 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
16801 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
16802 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
16803 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
16804 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
16805 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
16806 * sysdeps/sparc/sparc32/sem_post.c: ... here.
16807 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
16808 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
16809 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
16810 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
16811 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
16812 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
16813 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
16814 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
16815 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
16816 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
16817 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
16818 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
16819 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
16820 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
16821 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
16822 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
16823 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
16824 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
16825 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
16826 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
16827 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
16828 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
16829 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
16830 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
16831 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
16832 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
16834 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
16835 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
16836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
16837 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
16838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16840 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
16843 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
16844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
16845 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
16846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
16848 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
16849 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
16850 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
16851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
16852 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
16853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
16854 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
16855 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16857 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
16858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16860 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
16861 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
16862 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
16863 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16865 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
16866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
16867 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
16868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
16869 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
16870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
16871 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
16872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
16873 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
16874 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16876 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16878 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
16879 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
16880 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
16881 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
16882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
16884 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
16885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
16886 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
16887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
16888 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
16889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
16890 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
16891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16893 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
16894 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16896 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
16897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
16898 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
16899 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16901 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
16902 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
16903 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
16904 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
16905 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
16907 2014-06-25 Joseph Myers <joseph@codesourcery.com>
16909 * timezone/checktab.awk: Update from tzcode 2014e.
16910 * timezone/private.h: Likewise.
16911 * timezone/tzfile.h: Likewise.
16912 * timezone/zdump.c: Likewise.
16913 * timezone/zic.c: Likewise.
16915 * sysdeps/unix/sysv/linux/kernel-features.h
16916 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
16917 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
16918 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
16919 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16920 Remove conditional code.
16922 2014-06-25 Will Newton <will.newton@linaro.org>
16924 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
16925 (_dl_arm_cap_flags): Add HWCAP2 values.
16926 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
16927 (_DL_HWCAP_COUNT): Increase to 37.
16928 (_DL_HWCAP_LAST): New define.
16929 (_DL_HWCAP2_LAST): New define.
16930 (_dl_procinfo): Add support for printing
16932 (_dl_string_hwcap): Use _dl_hwcap_string.
16934 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16938 2014-06-25 Joseph Myers <joseph@codesourcery.com>
16940 * README: Do not mention ports directory.
16942 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
16944 * sysdeps/unix/sysv/linux/futimes.c: Do not include
16945 <kernel-features.h>.
16946 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
16947 conditional variable definition.
16948 (__futimes): Update comment.
16949 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
16950 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
16953 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
16954 arguments close to 0.
16955 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
16957 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
16959 * math/auto-libm-test-in: Add more tests of exp10.
16960 * math/auto-libm-test-out: Regenerated.
16961 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16963 * sysdeps/unix/sysv/linux/kernel-features.h
16964 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
16965 * sysdeps/unix/sysv/linux/readv.c: Do not include
16966 <kernel-features.h>.
16967 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16968 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16969 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16971 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16973 * sysdeps/unix/sysv/linux/writev.c: Do not include
16974 <kernel-features.h>.
16975 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16976 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16977 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16979 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16982 2014-06-25 Will Newton <will.newton@linaro.org>
16984 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
16985 comment changes throughout the file. Remove checks
16986 for HAVE_*_H definitions that are not required.
16987 (__gen_tempname): Call abort if an unknown kind value is
16990 2014-06-25 Andreas Schwab <schwab@suse.de>
16993 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
16994 scalbln, scalblnf, scalblnl in libc.
16996 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16999 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
17000 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17001 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17003 2014-06-24 Roland McGrath <roland@hack.frob.com>
17005 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
17006 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
17007 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
17008 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
17010 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
17011 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
17013 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
17014 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
17015 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
17016 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
17017 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
17018 * sysdeps/x86/bits/pthreadtypes.h: ... here.
17019 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
17020 * sysdeps/x86/bits/semaphore.h: ... here.
17021 * sysdeps/x86/nptl/elide.h: Moved ...
17022 * sysdeps/x86/elide.h: ... here.
17023 * sysdeps/x86_64/nptl/Implies: File removed.
17024 * sysdeps/i386/nptl/Implies: File removed.
17026 2014-06-24 Joseph Myers <joseph@codesourcery.com>
17029 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
17030 return the argument for normal arguments with exponent below -64.
17031 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17033 * math/auto-libm-test-in: Add another test of expm1.
17034 * math/auto-libm-test-out: Regenerated.
17037 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
17038 calling __erfcl for arguments at least 16.
17039 * math/auto-libm-test-in: Add more tests of erf.
17040 * math/auto-libm-test-out: Regenerated.
17042 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
17043 individual architectures.
17044 * sysdeps/unix/sysv/linux/configure: Regenerated.
17045 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
17046 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
17047 * sysdeps/unix/sysv/linux/powerpc/configure.ac
17048 (ldd_rewrite_script): Define variable.
17049 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
17052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
17054 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
17055 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
17056 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
17057 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
17058 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
17059 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
17060 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
17061 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
17063 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17066 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
17067 Rename member __data.d to __data.__elision_data.
17069 2014-06-24 Wilco <wdijkstr@arm.com>
17071 * NEWS: Add 16918 to fixed bug list.
17073 2014-06-24 Wilco <wdijkstr@arm.com>
17075 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
17077 2014-06-24 Wilco <wdijkstr@arm.com>
17079 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
17080 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
17081 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
17082 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
17083 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
17084 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
17085 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
17088 2014-06-24 Wilco <wdijkstr@arm.com>
17090 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
17092 2014-06-24 Wilco <wdijkstr@arm.com>
17094 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
17095 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
17096 * sysdeps/arm/fesetround.c (fesetround): Remove space.
17097 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
17099 2014-06-24 Wilco <wdijkstr@arm.com>
17102 * sysdeps/arm/feupdateenv.c (feupdateenv):
17103 Rewrite to reduce FPSCR accesses and fix return value.
17105 2014-06-24 Wilco <wdijkstr@arm.com>
17107 * sysdeps/arm/fclrexcpt.c (feclearexcept):
17108 Optimize to avoid unnecessary FPSCR writes.
17109 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
17110 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
17111 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
17112 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
17114 2014-06-24 Wilco <wdijkstr@arm.com>
17116 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
17117 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
17118 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
17119 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
17120 Call libc_fetestexcept_vfp.
17121 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
17122 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
17123 __SOFTFP__ ifdef so that they can be built for softfp.
17125 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17127 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
17128 argument type signed char.
17130 * Makerules (check-abi): Dump diff of symlist if the test
17133 2014-06-23 Roland McGrath <roland@hack.frob.com>
17135 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
17138 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17139 Remove unused variable ST.
17141 2014-06-23 Joseph Myers <joseph@codesourcery.com>
17145 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
17146 small arguments before calling __expm1.
17147 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
17148 small arguments before calling __expm1f.
17149 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
17150 small arguments before calling __expm1l.
17151 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17153 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
17154 * math/auto-libm-test-in: Add more cosh tests. Do not allow
17155 spurious underflow for some cosh tests.
17156 * math/auto-libm-test-out: Regenerated.
17157 * sysdeps/i386/fpu/libm-test-ulps: Update.
17160 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
17161 (__ieee754_y1): Set errno if return value overflows.
17162 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
17163 (__ieee754_y1f): Set errno if return value overflows.
17164 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
17165 (__ieee754_y1l): Set errno if return value overflows.
17166 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
17167 (__ieee754_y1l): Set errno if return value overflows.
17168 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
17169 * math/auto-libm-test-out: Regenerated.
17171 * math/gen-auto-libm-tests.c: Document use of
17172 ignore-zero-inf-sign.
17173 (input_flag_type): Add value flag_ignore_zero_inf_sign.
17174 (input_flags): Add ignore-zero-inf-sign.
17175 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
17176 * math/gen-libm-test.pl (generate_testfile): Handle
17177 ignore-zero-inf-sign.
17178 * math/auto-libm-test-in: Mark some cpow tests with
17179 ignore-zero-inf-sign and some with xfail-rounding.
17180 * math/auto-libm-test-out: Regenerated.
17181 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
17182 * sysdeps/i386/fpu/libm-test-ulps: Update.
17183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17186 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
17187 overflowing or underflowing operations take place with sign of
17189 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17190 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17191 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
17192 (__ieee754_pow): Recompute overflowing and underflowing results in
17193 original rounding mode.
17194 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
17195 (__powl_helper): Allow negative argument X and scale negated value
17196 as needed. Avoid passing value outside [-1, 1] to f2xm1.
17197 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
17198 overflowing or underflowing operations take place with sign of
17200 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
17202 * math/auto-libm-test-in: Add more tests of pow.
17203 * math/auto-libm-test-out: Regenerated.
17204 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
17205 (pow_tonearest_test_data): Remove.
17206 (pow_test_tonearest): Likewise.
17207 (pow_towardzero_test_data): Likewise.
17208 (pow_test_towardzero): Likewise.
17209 (pow_downward_test_data): Likewise.
17210 (pow_test_downward): Likewise.
17211 (pow_upward_test_data): Likewise.
17212 (pow_test_upward): Likewise.
17213 (main): Don't call removed functions.
17214 * sysdeps/i386/fpu/libm-test-ulps: Update.
17215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17217 2014-06-23 Roland McGrath <roland@hack.frob.com>
17219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
17221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
17222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
17225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
17227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
17228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
17231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
17235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
17237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
17239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
17241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
17243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
17245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
17249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
17251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
17253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
17255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
17257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
17258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
17260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
17262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
17264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
17265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
17267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
17268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
17270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
17271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
17273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
17274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
17276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
17277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
17279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
17280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
17282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
17283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
17284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
17286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
17288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
17289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
17295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
17301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
17304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
17307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
17308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
17309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
17313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
17317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
17320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
17323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
17326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
17329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
17333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
17336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
17339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
17342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
17345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
17346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
17347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
17350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
17353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
17368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
17371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
17374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
17389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
17393 2014-06-23 Will Newton <will.newton@linaro.org>
17394 Wilco <wdijkstr@arm.com>
17396 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
17397 implementation. Include get-rounding-mode.h.
17398 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
17399 [!libc_feholdsetround_noex_ctx]: Define
17400 libc_feholdsetround_noex_ctx.
17401 [!libc_feholdsetround_noexf_ctx]: Define
17402 libc_feholdsetround_noexf_ctx.
17403 [!libc_feholdsetround_noexl_ctx]: Define
17404 libc_feholdsetround_noexl_ctx.
17405 (libc_feholdsetround_ctx): New function.
17406 (libc_feresetround_ctx): New function.
17407 (libc_feholdsetround_noex_ctx): New function.
17408 (libc_feresetround_noex_ctx): New function.
17410 2014-06-23 Roland McGrath <roland@hack.frob.com>
17412 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
17413 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
17414 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
17415 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
17416 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
17417 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
17419 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
17420 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
17421 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
17422 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
17423 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
17424 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
17425 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
17426 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
17427 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
17428 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
17429 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
17431 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17433 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
17434 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
17435 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
17436 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
17437 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
17439 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
17440 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
17441 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
17442 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
17443 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
17444 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
17445 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
17446 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
17448 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
17449 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
17451 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
17452 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
17453 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
17454 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
17456 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
17457 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
17458 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
17459 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
17460 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
17461 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
17462 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
17463 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
17464 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
17465 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
17467 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17469 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
17470 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
17471 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
17472 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
17473 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
17474 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
17475 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
17476 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
17477 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
17478 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
17479 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
17480 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
17481 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
17483 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
17484 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
17485 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
17486 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
17487 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
17488 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
17490 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
17491 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
17492 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
17493 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
17494 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
17496 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
17497 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
17498 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
17499 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
17500 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
17501 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
17502 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
17503 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
17504 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
17505 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
17506 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
17507 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
17508 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
17509 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
17510 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
17511 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
17512 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
17513 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
17514 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
17515 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
17516 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
17517 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
17518 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
17519 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
17520 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
17521 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
17522 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
17523 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
17525 2014-06-23 Joseph Myers <joseph@codesourcery.com>
17527 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
17528 (FALLOC_FL_COLLAPSE_RANGE): New macro.
17529 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
17530 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
17531 (IPV6_PMTUDISC_INTERFACE): Likewise.
17532 (IPV6_PMTUDISC_OMIT): Likewise.
17534 2014-06-23 Andreas Schwab <schwab@suse.de>
17536 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
17537 Remove unused errout label.
17539 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17541 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
17542 macro: hardware supports Vector Crypto instructions.
17544 2014-06-23 Will Newton <will.newton@linaro.org>
17546 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
17547 rather than __builtin_expect.
17549 * elf/dl-lookup.c (undefined_msg): Remove variable.
17550 (_dl_lookup_symbol_x): Replace undefined_msg with string
17553 * elf/dl-lookup.c (do_lookup_unique): New function.
17554 (do_lookup_x): Move STB_GNU_UNIQUE handling code
17555 to a separate function.
17557 2014-06-23 Andreas Schwab <schwab@suse.de>
17560 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
17561 before reading the next line.
17563 2014-06-23 Will Newton <will.newton@linaro.org>
17565 * test-skeleton.c (signal_handler): Use printf and %m
17566 rather than perror. Use printf rather than fprintf to
17567 stderr. Use puts rather than fputs to stderr.
17570 2014-06-22 Ludovic Courtès <ludo@gnu.org>
17572 * nscd/nscd.c (thread_info_t): Remove typedef.
17573 (thread_info): Remove variable.
17575 2014-06-21 Allan McRae <allan@archlinux.org>
17577 * NEWS: Mention CVE-2014-4043.
17579 2014-06-20 Roland McGrath <roland@hack.frob.com>
17581 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
17582 * nptl/smp.h: ... here.
17584 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
17586 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
17587 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
17588 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
17589 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
17591 * nptl/allocatestack.c: Include <stack-aliasing.h>.
17592 * nptl/stack-aliasing.h: New file.
17593 * sysdeps/i386/i686/stack-aliasing.h: New file.
17594 * sysdeps/i386/i686/nptl/Makefile: File removed.
17595 * sysdeps/x86_64/stack-aliasing.h: New file.
17596 * sysdeps/x86_64/nptl/Makefile
17597 (CFLAGS-pthread_create.c): Variable removed.
17599 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
17600 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
17602 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
17603 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
17606 2014-06-21 Joseph Myers <joseph@codesourcery.com>
17608 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17609 (__ASSUME_SIGFRAME_V2): Remove macro.
17610 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
17611 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
17612 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
17613 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
17614 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
17615 Declare as function. Remove conditional macro definitions.
17616 (__default_rt_sa_restorer): Likewise.
17617 (__default_sa_restorer_v1): Remove declaration.
17618 (__default_sa_restorer_v2): Likewise.
17619 (__default_rt_sa_restorer_v1): Likewise.
17620 (__default_rt_sa_restorer_v2): Likewise.
17621 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
17622 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
17623 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
17625 2014-06-20 Roland McGrath <roland@hack.frob.com>
17627 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
17628 (libpthread-routines): Add sysdep.
17629 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
17630 * sysdeps/unix/sysv/linux/sparc/Versions
17631 (libpthread: GLIBC_2.3.3): New version set.
17632 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
17633 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
17634 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
17635 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
17636 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
17637 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
17639 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
17640 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17641 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
17642 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
17643 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
17644 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
17645 * sysdeps/sparc/nptl/sem_init.c: ... here.
17646 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
17647 * sysdeps/sparc/nptl/sem_post.c: ... here.
17648 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
17649 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
17650 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
17651 * sysdeps/sparc/nptl/sem_wait.c: ... here.
17652 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
17653 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
17654 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
17655 (libpthread-routines): Add cpu_relax.
17656 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
17658 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
17659 (librt: GLIBC_2.3.3): New version set.
17660 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
17661 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
17662 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
17663 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
17664 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
17665 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
17666 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
17667 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
17669 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
17670 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
17671 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
17672 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
17673 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
17674 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
17675 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
17676 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
17677 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
17678 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
17680 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
17682 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
17684 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
17686 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
17688 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
17690 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
17692 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
17694 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
17696 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
17698 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
17700 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
17702 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
17703 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
17704 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
17705 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
17706 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
17707 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
17708 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
17709 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
17710 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
17711 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
17712 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17714 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17715 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17716 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17717 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17718 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17720 2014-06-20 Joseph Myers <joseph@codesourcery.com>
17722 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17723 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17724 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17725 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17726 * nscd/nscd.c: Likewise.
17727 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17728 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17729 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17730 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
17732 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
17733 <kernel-features.h>.
17734 (init_mq_netlink): Remove conditional have_sock_cloexec
17735 definitions. Remove code conditional on have_sock_cloexec < 0.
17736 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
17737 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
17738 * sysdeps/unix/sysv/linux/opensock.c: Do not include
17739 <kernel-features.h>.
17740 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
17741 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
17743 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
17745 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17746 Add tests for memset_chk and memset.
17748 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
17751 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
17754 * elf/tst-dl-iter-static.c: New file.
17755 * elf/Makefile (tests-static): Add tst-dl-iter-static.
17757 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
17760 2014-06-20 Joseph Myers <joseph@codesourcery.com>
17762 * sysdeps/unix/sysv/linux/kernel-features.h
17763 (__ASSUME_F_GETOWN_EX): Remove macro.
17764 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
17765 <kernel-features.h>.
17766 (miss_F_GETOWN_EX): Remove variable or macro.
17767 (do_fcntl): Do not check miss_F_GETOWN_EX.
17768 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
17770 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
17772 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
17773 [!__ASSUME_AT_RANDOM]: Remove conditional code.
17774 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
17776 * sysdeps/unix/sysv/linux/kernel-features.h
17777 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
17778 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
17779 [ADJ_OFFSET_SS_READ]: Make code unconditional.
17780 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
17782 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
17785 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
17786 Fix calculation of the symbol's value.
17787 * sysdeps/arm/tst-armtlsdescloc.c: New file.
17788 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
17789 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
17790 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
17791 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
17792 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
17793 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
17794 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
17795 (modules-names): Add `tst-armtlsdescmod',
17796 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
17797 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
17798 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17799 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
17800 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
17801 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17802 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
17803 ($(objpfx)tst-armtlsdescloc): New dependency.
17804 ($(objpfx)tst-armtlsdescextnow): Likewise.
17805 ($(objpfx)tst-armtlsdescextlazy): Likewise.
17806 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
17807 TLS scheme support.
17808 * sysdeps/arm/configure: Regenerate.
17810 2014-06-20 Joseph Myers <joseph@codesourcery.com>
17812 * include/fcntl.h (__atfct_seterrno): Remove prototype.
17813 (__atfct_seterrno_2): Likewise.
17814 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
17815 <kernel-features.h>.
17816 (__ASSUME_ATFCTS): Do not undefine and redefine.
17817 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
17818 (__have_atfcts): Remove conditional definition.
17819 (__fxstatat([__NR_fstatat64]: Make code unconditional.
17820 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
17821 unreachable if [__ASSUME_ATFCTS].
17822 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
17823 not undefine and redefine.
17824 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
17825 <kernel-features.h>.
17826 (faccessat) [__NR_faccessat]: Make code unconditional.
17827 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
17828 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
17829 <kernel-features.h>.
17830 (fchmodat) [__NR_fchmodat]: Make code unconditional.
17831 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17832 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
17833 <kernel-features.h>.
17834 (fchownat) [__NR_fchownat]: Make code unconditional.
17835 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
17836 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
17837 <kernel-features.h>.
17838 (futimesat) [__NR_futimesat]: Make code unconditional.
17839 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
17840 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17841 <kernel-features.h>.
17842 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17843 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17844 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17845 <kernel-features.h>.
17846 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
17847 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17848 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
17849 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17850 <kernel-features.h>.
17851 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
17852 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17853 * sysdeps/unix/sysv/linux/linkat.c: Do not include
17854 <kernel-features.h>.
17855 (linkat) [__NR_linkat]: Make code unconditional.
17856 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17857 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
17858 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
17859 <kernel-features.h>.
17860 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
17861 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17862 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
17863 <kernel-features.h>.
17864 (mkdirat) [__NR_mkdirat]: Make code unconditional.
17865 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
17866 * sysdeps/unix/sysv/linux/openat.c: Do not include
17867 <kernel-features.h>.
17868 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
17869 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
17870 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
17871 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
17872 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
17873 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
17874 <kernel-features.h>.
17875 (readlinkat) [__NR_readlinkat]: Make code unconditional.
17876 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
17877 result of INLINE_SYSCALL directly, not via int variable.
17878 * sysdeps/unix/sysv/linux/renameat.c: Do not include
17879 <kernel-features.h>.
17880 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
17881 (renameat) [__NR_renameat]: Make code unconditional.
17882 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
17883 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
17884 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
17885 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
17886 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
17887 (__ASSUME_ATFCTS): Do not undefine and redefine.
17888 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
17889 <kernel-features.h>.
17890 (symlinkat) [__NR_symlinkat]: Make code unconditional.
17891 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17892 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
17893 <kernel-features.h>.
17894 (unlinkat) [__NR_unlinkat]: Make code unconditional.
17895 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17896 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
17897 (__ASSUME_ATFCTS): Do not undefine and redefine.
17898 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17899 <kernel-features.h>.
17900 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17901 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17902 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17903 <kernel-features.h>.
17904 (__xmknodat) [__NR_mknodat]: Make code unconditional.
17905 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17907 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
17909 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
17911 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
17914 * posix/regcomp.c (parse_reg_exp): Deallocate partially
17915 constructed tree before returning error.
17916 * posix/bug-regexp36.c: Expand test case.
17918 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
17921 * math/libm-test.inc (scalbln_test_date):
17922 Add errno expectations.
17923 * math/w_scalblnf.c: New File.
17924 Add wrapper which checks for setting errno to ERANGE.
17925 Add weak_alias for corresponding scalbln function.
17926 * math/w_scalbln.c: Likewise.
17927 * math/w_scalblnl.c: Likewise.
17928 * math/Makefile (libm-calls): Add w_scalbln.
17929 * sysdeps/ieee754/flt-32/s_scalblnf.c:
17930 Remove weak_alias for corresponding scalbln function.
17931 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17932 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17933 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17934 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17935 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
17936 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17937 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
17938 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17939 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
17940 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
17941 Remove long_double_symbol for scalblnl function in libm, libc.
17942 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
17943 Add wrapper which checks for setting errno to ERANGE.
17944 Add long_double_symbol for scalblnl function in libm, libc.
17945 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
17946 Remove long_double_symbol for scalblnl in libm.
17947 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
17948 Add wrapper which checks for setting errno to ERANGE.
17949 Add long_double_symbol for scalblnl function in libm.
17950 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
17951 Do not use wrapper because of own implementation.
17953 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
17955 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
17956 3 bytes for __pad1 for x32.
17957 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
17959 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
17960 H.J. Lu <hongjiu.lu@intel.com>
17962 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
17963 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
17964 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17965 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17966 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17968 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
17971 * posix/regcomp.c (parse_expression): Deallocate partially
17972 constructed tree before returning error.
17973 * posix/Makefile.c (tests): Add bug-regex36.
17974 (generated): Add bug-regex36.mtrace.
17975 (tests-special): Add $(objpfx)bug-regex36-mem.out
17976 (bug-regex36-ENV): New variable.
17977 ($(objpfx)bug-regex36-mem.out): New rule.
17978 * posix/bug-regex36.c: New file.
17980 2014-06-19 Will Newton <will.newton@linaro.org>
17982 * malloc/malloc.c (systrim): If extra is zero then return
17985 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17987 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
17989 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
17991 * sysdeps/aarch64/strchr.S: New file.
17993 2014-06-18 Joseph Myers <joseph@codesourcery.com>
17996 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
17997 from arguments -2 or below.
17998 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17999 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18001 2014-06-18 Andreas Schwab <schwab@suse.de>
18004 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
18005 of a bracket expr not to run off the end of the string.
18006 * posix/Makefile (tests): Add tst-fnmatch3.
18007 * posix/tst-fnmatch3.c: New file.
18009 2014-06-18 Joseph Myers <joseph@codesourcery.com>
18011 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
18012 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18013 [$(cross-compiling) = no]: Likewise.
18014 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18015 [$(cross-compiling) = no]: Likewise.
18017 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18020 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
18021 double, adjusted for any remainder from the high double.
18022 * math/libm-test.inc (nearbyint): Add tests.
18025 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18027 * nptl/sysdeps/powerpc/Makefile: Moved ...
18028 * sysdeps/powerpc/nptl/Makefile: ... here.
18029 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
18030 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
18031 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
18032 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
18033 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
18034 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
18035 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
18036 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
18037 * nptl/sysdeps/powerpc/tls.h: Moved ...
18038 * sysdeps/powerpc/nptl/tls.h: ... here.
18040 2014-06-16 Joseph Myers <joseph@codesourcery.com>
18043 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
18044 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
18045 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
18046 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
18047 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
18048 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
18049 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
18050 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
18051 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
18053 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
18055 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18057 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
18059 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
18062 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
18065 2014-06-16 Florian Weimer <fweimer@redhat.com>
18068 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
18069 non-executed part of the test.
18071 2014-06-16 Andreas Schwab <schwab@suse.de>
18073 * string/bits/string2.h (strdup, strndup): Update feature guard.
18075 2014-06-14 David S. Miller <davem@davemloft.net>
18077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18079 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
18081 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
18082 that was previously under [RESET_PID].
18083 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
18085 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
18086 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
18087 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
18088 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18089 (__libc_vfork): New strong alias.
18090 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
18092 2014-06-14 Andi Kleen <ak@linux.intel.com>
18094 * sysdeps/generic/elide.h: New file.
18096 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
18098 * Makefile (installed-headers): Adjust path of pthread.h header.
18100 2014-06-13 Roland McGrath <roland@hack.frob.com>
18102 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
18103 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
18104 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
18105 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
18107 * nptl/sysdeps/s390/Makefile: Moved ...
18108 * sysdeps/s390/nptl/Makefile: ... here.
18109 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
18110 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
18111 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
18112 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
18113 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
18114 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
18115 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
18116 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
18117 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
18118 * sysdeps/s390/nptl/pthreaddef.h: ... here.
18119 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
18120 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
18121 * nptl/sysdeps/s390/tls.h: Moved ...
18122 * sysdeps/s390/nptl/tls.h: ... here.
18124 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
18125 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
18127 2014-06-13 David S. Miller <davem@davemloft.net>
18129 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
18130 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
18131 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
18132 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
18133 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
18134 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
18135 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
18136 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
18137 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
18138 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
18139 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
18140 Remove RESET_PID cpp guards.
18141 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
18142 Remove RESET_PID cpp guards.
18143 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
18145 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
18147 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
18150 2014-06-13 Andi Kleen <ak@linux.intel.com>
18152 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
18153 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
18154 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
18155 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
18156 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
18157 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
18158 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
18159 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
18160 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
18161 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
18162 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
18163 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
18164 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
18165 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
18166 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
18167 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
18168 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
18169 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
18170 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
18171 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
18173 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
18174 (pthread_rwlock_rdlock): Add elision.
18175 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
18176 (pthread_rwlock_wrlock): Add elision.
18177 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
18178 (pthread_rwlock_trywrlock): Add elision.
18179 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
18180 (pthread_rwlock_tryrdlock): Add elision.
18181 * nptl/pthread_rwlock_unlock.c: Include elide.h.
18182 (pthread_rwlock_tryrdlock): Add elision unlock.
18183 * nptl/sysdeps/pthread/pthread.h:
18184 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
18185 (PTHREAD_RWLOCK_INITIALIZER,
18186 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
18187 Handle new elision field.
18188 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
18189 * sysdeps/arm/nptl/bits/pthreadtypes.h
18190 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18191 * sysdeps/sh/nptl/bits/pthreadtypes.h
18192 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18193 * sysdeps/tile/nptl/bits/pthreadtypes.h
18194 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18195 * sysdeps/a/nptl/bits/pthreadtypes.h
18196 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18197 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18198 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18199 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18200 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18201 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
18202 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18203 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18204 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18205 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18206 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18207 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18208 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18209 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18210 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18211 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
18212 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18213 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
18214 (elision_init): Set try_xbegin to zero when no RTM.
18215 * sysdeps/x86/nptl/bits/pthreadtypes.h
18216 (pthread_rwlock_t): Change __pad1 to __rwelision.
18217 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
18219 2014-06-13 Andi Kleen <ak@linux.intel.com>
18221 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
18222 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
18223 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
18224 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
18226 2014-06-13 Meador Inge <meadori@codesourcery.com>
18229 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
18230 that the cached result has been set before returning it.
18232 2014-06-12 Roland McGrath <roland@hack.frob.com>
18234 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
18235 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
18236 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
18237 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
18238 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
18239 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
18241 * nptl/sysdeps/sparc/Makefile: Moved ...
18242 * sysdeps/sparc/nptl/Makefile: ... here.
18243 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
18244 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
18245 * nptl/sysdeps/sparc/tls.h: Moved ...
18246 * sysdeps/sparc/nptl/tls.h: ... here.
18247 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
18248 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
18249 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
18250 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
18251 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
18252 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
18253 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
18254 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
18255 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
18256 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
18257 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
18258 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
18259 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
18260 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
18261 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
18262 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
18263 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
18264 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
18266 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
18267 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
18269 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
18270 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
18272 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
18273 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
18276 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18278 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
18279 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
18281 * sysdeps/pthread/posix-timer.h: Include <list.h>.
18282 (struct list_links): Type removed.
18283 (struct thread_node, struct timer_node): Replace struct list_links
18284 with struct list_head.
18285 (list_unlink_ip): Likewise.
18286 * sysdeps/pthread/timer_routines.c
18287 (timer_free_list, thread_free_list, thread_active_list): Likewise.
18288 (list_append, list_insbefore): Likewise.
18289 (list_init): Function removed.
18290 (thread_init, init_module): Use INIT_LIST_HEAD instead.
18291 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
18292 * sysdeps/pthread/Makefile: ... here, new file.
18294 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
18295 * sysdeps/nptl/Implies: ... here.
18296 * sysdeps/unix/sysv/linux/Implies: Add nptl.
18297 * nptl/sysdeps/pthread/list.h: Moved ...
18298 * include/list.h: ... here.
18299 * nptl/sysdeps/pthread/createthread.c: Moved ...
18300 * nptl/createthread.c: ... here.
18301 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
18302 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
18303 * nptl/pt-longjmp.c: ... here.
18304 * nptl/sysdeps/pthread/Makefile: Moved ...
18305 * sysdeps/nptl/Makefile: ... here.
18306 * nptl/sysdeps/pthread/Subdirs: Moved ...
18307 * sysdeps/nptl/Subdirs: ... here.
18308 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
18309 * sysdeps/nptl/aio_misc.h: ... here.
18310 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
18311 * sysdeps/nptl/bits/libc-lock.h: ... here.
18312 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
18313 * sysdeps/nptl/bits/libc-lockP.h: ... here.
18314 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
18315 * sysdeps/nptl/bits/stdio-lock.h: ... here.
18316 * nptl/sysdeps/pthread/configure: Moved ...
18317 * sysdeps/nptl/configure: ... here.
18318 * nptl/sysdeps/pthread/configure.ac: Moved ...
18319 * sysdeps/nptl/configure.ac: ... here.
18320 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
18321 * sysdeps/nptl/gai_misc.h: ... here.
18322 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
18323 * sysdeps/nptl/librt-cancellation.c: ... here.
18324 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
18325 * sysdeps/nptl/malloc-machine.h: ... here.
18326 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
18327 * sysdeps/nptl/pthread-functions.h: ... here.
18328 * nptl/sysdeps/pthread/pthread.h: Moved ...
18329 * sysdeps/nptl/pthread.h: ... here.
18330 * nptl/sysdeps/pthread/setxid.h: Moved ...
18331 * sysdeps/nptl/setxid.h: ... here.
18332 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
18333 * sysdeps/nptl/sigfillset.c: ... here.
18334 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
18335 * sysdeps/nptl/tcb-offsets.h: ... here.
18336 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
18337 * sysdeps/nptl/tst-mqueue8x.c: ... here.
18338 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
18339 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
18340 * nptl/sysdeps/pthread/allocalim.h: Moved ...
18341 * sysdeps/pthread/allocalim.h: ... here.
18342 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
18343 * sysdeps/pthread/bits/sigthread.h: ... here.
18344 * nptl/sysdeps/pthread/flockfile.c: Moved ...
18345 * sysdeps/pthread/flockfile.c: ... here.
18346 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
18347 * sysdeps/pthread/ftrylockfile.c: ... here.
18348 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
18349 * sysdeps/pthread/funlockfile.c: ... here.
18350 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
18351 * sysdeps/pthread/posix-timer.h: ... here.
18352 * nptl/sysdeps/pthread/timer_create.c: Moved ...
18353 * sysdeps/pthread/timer_create.c: ... here.
18354 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
18355 * sysdeps/pthread/timer_delete.c: ... here.
18356 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
18357 * sysdeps/pthread/timer_getoverr.c: ... here.
18358 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
18359 * sysdeps/pthread/timer_gettime.c: ... here.
18360 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
18361 * sysdeps/pthread/timer_routines.c: ... here.
18362 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
18363 * sysdeps/pthread/timer_settime.c: ... here.
18364 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
18365 * sysdeps/pthread/tst-timer.c: ... here.
18366 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
18367 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
18369 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
18370 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
18372 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
18373 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
18374 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
18375 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
18376 Update #include target.
18377 * nptl/sysdeps/i386/i686/Makefile: Moved ...
18378 * sysdeps/i386/i686/nptl/Makefile: ... here.
18379 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
18380 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
18381 Update #include target.
18382 * nptl/sysdeps/i386/i686/tls.h: Moved ...
18383 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
18384 * nptl/sysdeps/i386/Makefile: Moved ...
18385 * sysdeps/i386/nptl/Makefile: ... here.
18386 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
18387 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
18388 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
18389 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
18390 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
18391 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
18392 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
18393 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
18394 * sysdeps/i386/nptl/pthreaddef.h: ... here.
18395 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
18396 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
18397 * nptl/sysdeps/i386/tls.h: Moved ...
18398 * sysdeps/i386/nptl/tls.h: ... here.
18400 * sysdeps/sh/Makefile [$(subdir) = csu]
18401 (gen-as-const-headers): Add tcb-offsets.sym.
18402 * nptl/sysdeps/sh/Makefile: File removed.
18403 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
18404 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
18405 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
18406 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
18407 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
18408 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
18409 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
18410 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
18411 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
18412 * sysdeps/sh/nptl/pthreaddef.h: ... here.
18413 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
18414 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
18415 * nptl/sysdeps/sh/tls.h: Moved ...
18416 * sysdeps/sh/nptl/tls.h: ... here.
18417 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
18418 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
18419 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
18420 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
18421 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
18422 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
18423 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
18424 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
18425 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
18426 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
18427 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
18428 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
18429 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
18430 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
18431 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
18432 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
18433 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
18434 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
18435 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
18436 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
18437 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
18438 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
18439 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
18440 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
18441 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
18443 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
18444 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
18446 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
18447 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
18448 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
18449 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
18450 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
18451 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
18452 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
18453 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
18454 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
18455 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
18456 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
18457 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
18458 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
18459 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
18460 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
18461 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
18462 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
18463 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
18464 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
18466 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
18468 * posix/spawn_faction_addopen.c: Include string.h.
18470 2014-06-11 Roland McGrath <roland@hack.frob.com>
18472 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
18473 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
18474 * nptl/sysdeps/x86_64/Makefile: Moved ...
18475 * sysdeps/x86_64/nptl/Makefile: ... here.
18476 * nptl/sysdeps/x86_64/configure: Moved ...
18477 * sysdeps/x86_64/nptl/configure: ... here.
18478 * nptl/sysdeps/x86_64/configure.ac: Moved ...
18479 * sysdeps/x86_64/nptl/configure.ac: ... here.
18480 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
18481 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
18482 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
18483 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
18484 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
18485 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
18486 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
18487 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
18488 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
18489 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
18490 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
18491 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
18492 * nptl/sysdeps/x86_64/tls.h: Moved ...
18493 * sysdeps/x86_64/nptl/tls.h: ... here.
18494 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
18495 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
18496 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
18497 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
18499 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
18501 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18505 2014-06-11 Joseph Myers <joseph@codesourcery.com>
18507 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
18509 [POSIX] (off_t): Likewise.
18510 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
18511 [POSIX] (S_ISBLK): Require macro.
18512 [POSIX] (S_ISCHR): Likewise.
18513 [POSIX] (S_ISDIR): Likewise.
18514 [POSIX] (S_ISFIFO): Likewise.
18515 [POSIX] (S_ISREG): Likewise.
18516 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
18518 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
18520 [POSIX] (time_t): Likewise.
18521 [POSIX] (timer_t): Likewise.
18523 2014-06-11 Florian Weimer <fweimer@redhat.com>
18526 * posix/spawn_int.h (struct __spawn_action): Make the path string
18527 non-const to support deallocation.
18528 * posix/spawn_faction_addopen.c
18529 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
18530 * posix/spawn_faction_destroy.c
18531 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
18532 path in all spawn_do_open actions.
18533 * posix/tst-spawn.c (do_test): Exercise the copy operation in
18534 posix_spawn_file_actions_addopen.
18536 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
18538 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
18539 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
18540 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
18541 conditional code always true.
18542 (__libc_vfork): New alias.
18544 2014-06-11 Roland McGrath <roland@hack.frob.com>
18546 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18547 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
18549 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
18551 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18552 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
18554 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18555 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
18557 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18558 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
18560 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18562 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
18563 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
18564 multiarch strcmp for PPC64.
18565 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
18566 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
18567 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
18568 multiarch optimizations.
18569 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18570 (__libc_ifunc_impl_list): Likewise.
18572 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18574 * benchtests/scripts/validate_benchout.py: New script.
18575 * benchtests/Makefile (bench-func): Call it.
18576 * benchtests/scripts/benchout.schema.json: New file.
18578 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
18580 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
18581 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
18582 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
18583 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
18584 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
18585 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18586 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
18587 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
18588 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
18589 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
18590 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
18591 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
18592 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
18593 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
18594 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
18595 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
18596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
18598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
18600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
18602 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
18603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
18605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
18607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
18609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
18611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
18613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
18614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
18616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
18618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
18620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
18622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
18624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
18625 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
18627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
18629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
18631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
18633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
18635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
18637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
18639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
18640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
18642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
18644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
18646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
18648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
18650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
18652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
18654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
18655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
18657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
18659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
18661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
18663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
18665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
18666 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
18668 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
18670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
18672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
18673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
18675 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
18676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
18678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
18680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
18682 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
18684 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
18686 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
18688 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
18690 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
18691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
18693 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
18695 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
18697 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
18699 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
18700 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
18701 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
18702 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
18703 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
18705 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18707 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
18708 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
18709 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
18710 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
18711 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
18712 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18713 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18714 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18715 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18716 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18717 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18718 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18719 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
18721 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18722 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
18724 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18725 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18726 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18727 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
18729 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18730 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
18731 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
18732 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
18733 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
18734 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
18735 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
18737 2014-06-10 Wilco <wdijkstr@arm.com>
18739 * math/test-fenv-return.c: New file.
18740 * math/Makefile: Add new test test-fenv-return.
18742 2014-06-10 Joseph Myers <joseph@codesourcery.com>
18745 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
18746 when x - 1 is zero.
18747 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
18748 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18749 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
18750 0.0L for an argument of 1.0L.
18751 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18753 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
18754 value when x - 1 is zero.
18755 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
18756 * sysdeps/i386/fpu/libm-test-ulps: Update.
18757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18759 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
18762 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
18764 2014-06-09 Roland McGrath <roland@hack.frob.com>
18766 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
18767 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
18769 2014-06-09 Roland McGrath <roland@hack.frob.com>
18771 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18772 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
18774 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18775 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
18777 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18778 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
18780 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18781 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
18783 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
18784 if not already defined.
18785 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
18786 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
18787 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
18788 (TLS_INIT_TP): Use it.
18789 (TLS_DEFINE_INIT_TP): New macro.
18790 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
18792 2014-06-09 Joseph Myers <joseph@codesourcery.com>
18794 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
18796 [POSIX] (IXANY): Likewise.
18797 [POSIX] (OLCUC): Likewise.
18798 [POSIX || POSIX2008] (CBAUD): Do not allow.
18799 [POSIX || POSIX2008] (DEFECHO): Likewise.
18800 [POSIX || POSIX2008] (ECHOCTL): Likewise.
18801 [POSIX || POSIX2008] (ECHOKE): Likewise.
18802 [POSIX || POSIX2008] (ECHOPRT): Likewise.
18803 [POSIX || POSIX2008] (EXTA): Likewise.
18804 [POSIX || POSIX2008] (EXTB): Likewise.
18805 [POSIX || POSIX2008] (FLUSHO): Likewise.
18806 [POSIX || POSIX2008] (LOBLK): Likewise.
18807 [POSIX || POSIX2008] (PENDIN): Likewise.
18808 [POSIX || POSIX2008] (SWTCH): Likewise.
18809 [POSIX || POSIX2008] (VDISCARD): Likewise.
18810 [POSIX || POSIX2008] (VDSUSP): Likewise.
18811 [POSIX || POSIX2008] (VLNEXT): Likewise.
18812 [POSIX || POSIX2008] (VREPRINT): Likewise.
18813 [POSIX || POSIX2008] (VSTATUS): Likewise.
18814 [POSIX || POSIX2008] (VWERASE): Likewise.
18815 (B*): Change to B[0123456789]*.
18816 * conform/data/time.h-data [POSIX || UNIX98]
18817 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
18818 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18819 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
18820 [POSIX] (tm_*): Do not allow.
18822 2014-06-07 Joseph Myers <joseph@codesourcery.com>
18824 * Makefile (install): Don't set LANGUAGE.
18825 * Makefile.in (install): Likewise.
18826 * assert/Makefile (test-assert-ENV): Remove variable.
18827 (test-assert-perr-ENV): Likewise.
18828 * elf/Makefile (neededtest4-ENV): Likewise.
18829 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18830 [$(cross-compiling) = no]: Don't set LANGUAGE.
18831 * io/ftwtest-sh (LANG): Remove variable.
18832 * libio/Makefile (tst-widetext-ENV): Likewise.
18833 * manual/install.texi (Running make install): Don't refer to
18834 environment settings for make install.
18835 * INSTALL: Regenerated.
18836 * nptl/tst-tls6.sh: Don't set LANG.
18837 * posix/globtest.sh (LANG): Remove variable.
18838 * string/Makefile (tester-ENV): Likewise.
18839 (inl-tester-ENV): Likewise.
18840 (noinl-tester-ENV): Likewise.
18841 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18842 [$(cross-compiling) = no]: Don't set LANGUAGE.
18843 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
18844 without explicit environment settings.
18846 2014-06-06 Roland McGrath <roland@hack.frob.com>
18848 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
18849 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
18850 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
18851 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
18853 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
18855 * crypt/crypt-private.h [DOS]: Add some includes taken from the
18856 other files in the crypt directory.
18857 * crypt/crypt.c: Remove duplicate includes.
18858 * crypt/crypt-entry.c: Likewise.
18859 * crypt/crypt_util.c: Likewise.
18861 2014-06-06 Joseph Myers <joseph@codesourcery.com>
18863 * Makeconfig (run-program-env): New variable.
18864 (run-program-prefix-before-env): Likewise.
18865 (run-program-prefix-after-env): Likewise.
18866 (run-program-prefix): Define in terms of new variables.
18867 (built-program-cmd-before-env): New variable.
18868 (built-program-cmd-after-env): Likewise.
18869 (built-program-cmd): Define in terms of new variables.
18870 (test-program-prefix-before-env): New variable.
18871 (test-program-prefix-after-env): Likewise.
18872 (test-program-prefix): Define in terms of new variables.
18873 (test-program-cmd-before-env): New variable.
18874 (test-program-cmd-after-env): Likewise.
18875 (test-program-cmd): Define in terms of new variables.
18876 * Rules (make-test-out): Use $(run-program-env).
18877 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
18878 (help): Do not mention environment variables. Mention
18879 --timeoutfactor option.
18880 (timeoutfactor): New variable.
18881 (blacklist_exports): Remove function.
18882 (exports): Remove variable.
18883 (command): Do not include ${exports}.
18884 * manual/install.texi (Configuring and compiling): Do not mention
18885 test wrappers preserving environment variables. Mention that last
18886 assignment to a variable must take precedence.
18887 * INSTALL: Regenerated.
18888 * benchtests/Makefile (run-bench): Use $(run-program-env).
18889 * catgets/Makefile ($(objpfx)test1.cat): Use
18890 $(built-program-cmd-before-env), $(run-program-env) and
18891 $(built-program-cmd-after-env).
18892 ($(objpfx)test2.cat): Do not specify environment variables
18894 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
18895 $(run-program-env) and $(built-program-cmd-after-env).
18896 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
18897 $(run-program-env) and $(test-program-cmd-after-env).
18898 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
18900 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
18901 run_program_env and test_program_cmd_after_env arguments.
18902 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
18903 * elf/tst-pathopt.sh: Use run_program_env argument.
18904 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
18905 $(test-wrapper-env) and $(run-program-env).
18906 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
18907 run_program_env arguments.
18908 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
18909 * intl/Makefile ($(objpfx)tst-gettext.out): Use
18910 $(test-program-prefix-before-env), $(run-program-env) and
18911 $(test-program-prefix-after-env).
18912 ($(objpfx)tst-gettext2.out): Likewise.
18913 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
18914 run_program_env and test_program_prefix_after_env arguments.
18915 * intl/tst-gettext2.sh: Likewise.
18916 * intl/tst-gettext4.sh: Do not set environment variables
18918 * intl/tst-gettext6.sh: Likewise.
18919 * intl/tst-translit.sh: Likewise.
18920 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
18921 $(test-program-prefix-before-env), $(run-program-env) and
18922 $(test-program-prefix-after-env).
18923 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
18924 run_program_env and test_program_prefix_after_env arguments.
18925 * math/Makefile (run-regen-ulps): Use $(run-program-env).
18926 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
18927 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
18928 explicitly with each use of ${test_wrapper_env}.
18929 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
18930 $(test-program-prefix-before-env), $(run-program-env) and
18931 $(test-program-prefix-after-env).
18932 * posix/tst-getconf.sh: Do not set environment variables
18934 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
18935 run_program_env and test_program_prefix_after_env arguments.
18936 * stdio-common/tst-printf.sh: Do not set environment variables
18938 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
18939 $(test-program-prefix-before-env), $(run-program-env) and
18940 $(test-program-prefix-after-env).
18941 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
18942 run_program_env and test_program_prefix_after_env arguments.
18943 Split $test calls into $test_pre and $test.
18944 * timezone/Makefile (build-testdata): Use
18945 $(built-program-cmd-before-env), $(run-program-env) and
18946 $(built-program-cmd-after-env).
18948 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18950 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
18951 strlen for non SHARED builds.
18953 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18955 * nptl/allocatestack.c (check_list): Inlined function...
18956 (__reclaim_stacks): ... here.
18958 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
18961 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18964 2014-06-05 Joseph Myers <joseph@codesourcery.com>
18966 * Rules (make-test-out): Include
18967 LOCPATH=$(common-objpfx)localedata in default environment.
18968 * debug/Makefile (tst-chk1-ENV): Remove variable.
18969 (tst-chk2-ENV): Likewise.
18970 (tst-chk3-ENV): Likewise.
18971 (tst-chk4-ENV): Likewise.
18972 (tst-chk5-ENV): Likewise.
18973 (tst-chk6-ENV): Likewise.
18974 (tst-lfschk1-ENV): Likewise.
18975 (tst-lfschk2-ENV): Likewise.
18976 (tst-lfschk3-ENV): Likewise.
18977 (tst-lfschk4-ENV): Likewise.
18978 (tst-lfschk5-ENV): Likewise.
18979 (tst-lfschk6-ENV): Likewise.
18980 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
18981 (tst-iconv7-ENV): Likewise.
18982 * intl/Makefile (LOCPATH-ENV): Likewise.
18983 (tst-codeset-ENV): Likewise.
18984 (tst-gettext3-ENV): Likewise.
18985 (tst-gettext5-ENV): Likewise.
18986 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
18987 (tst-fopenloc-ENV): Likewise.
18988 (tst-fgetws-ENV): Remove variable.
18989 (tst-ungetwc1-ENV): Likewise.
18990 (tst-ungetwc2-ENV): Likewise.
18991 (bug-ungetwc2-ENV): Likewise.
18992 (tst-swscanf-ENV): Likewise.
18993 (bug-ftell-ENV): Likewise.
18994 (tst-fgetwc-ENV): Likewise.
18995 (tst-fseek-ENV): Likewise.
18996 (tst-ftell-partial-wide-ENV): Likewise.
18997 (tst-ftell-active-handler-ENV): Likewise.
18998 (tst-ftell-append-ENV): Likewise.
18999 * posix/Makefile (tst-fnmatch-ENV): Likewise.
19000 (tst-regexloc-ENV): Likewise.
19001 (bug-regex1-ENV): Likewise.
19002 (tst-regex-ENV): Likewise.
19003 (tst-regex2-ENV): Likewise.
19004 (bug-regex5-ENV): Likewise.
19005 (bug-regex6-ENV): Likewise.
19006 (bug-regex17-ENV): Likewise.
19007 (bug-regex18-ENV): Likewise.
19008 (bug-regex19-ENV): Likewise.
19009 (bug-regex20-ENV): Likewise.
19010 (bug-regex22-ENV): Likewise.
19011 (bug-regex23-ENV): Likewise.
19012 (bug-regex25-ENV): Likewise.
19013 (bug-regex26-ENV): Likewise.
19014 (bug-regex30-ENV): Likewise.
19015 (bug-regex32-ENV): Likewise.
19016 (bug-regex33-ENV): Likewise.
19017 (bug-regex34-ENV): Likewise.
19018 (bug-regex35-ENV): Likewise.
19019 (tst-rxspencer-ENV): Likewise.
19020 (tst-rxspencer-no-utf8-ENV): Likewise.
19021 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
19022 (tst-sscanf-ENV): Likewise.
19023 (tst-swprintf-ENV): Likewise.
19024 (tst-swscanf-ENV): Likewise.
19025 (test-vfprintf-ENV): Likewise.
19026 (scanf13-ENV): Likewise.
19027 (bug14-ENV): Likewise.
19028 (tst-grouping-ENV): Likewise.
19029 * stdlib/Makefile (tst-strtod-ENV): Likewise.
19030 (tst-strtod3-ENV): Likewise.
19031 (tst-strtod4-ENV): Likewise.
19032 (tst-strtod5-ENV): Likewise.
19033 (testmb2-ENV): Likewise./
19034 * string/Makefile (tst-strxfrm-ENV): Likewise.
19035 (tst-strxfrm2-ENV): Likewise.
19036 (bug-strcoll1-ENV): Likewise.
19037 (test-strcasecmp-ENV): Likewise.
19038 (test-strncasecmp-ENV): Likewise.
19039 * time/Makefile (tst-strptime-ENV): Likewise.
19040 (tst-ftime_l-ENV): Likewise.
19041 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
19042 (tst-mbrtowc-ENV): Likewise.
19043 (tst-wcrtomb-ENV): Likewise.
19044 (tst-mbrtowc2-ENV): Likewise.
19045 (tst-c16c32-1-ENV): Likewise.
19046 (tst-mbsnrtowcs-ENV): Likewise.
19048 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
19050 * manual/resource.texi (How to get information about the memory
19051 subsystem?): Fix typo.
19052 Reported by Peon de la Parra Ivan <peon@keba.com>
19054 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
19057 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
19058 (pthread_spin_lock): Branch out of spin loop to proper location.
19059 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
19060 (pthread_spin_lock): Likewise.
19062 * nptl/tst-spin4.c: New test.
19063 * nptl/Makefile (tests): Add tst-spin4.
19065 2014-06-03 Andreas Schwab <schwab@suse.de>
19068 * resolv/res_send.c (send_dg): Reload file descriptor after
19071 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
19073 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19075 2014-06-03 Richard Henderson <rth@redhat.com>
19077 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
19078 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
19079 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
19080 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
19081 in the SAVE_PID block.
19082 (__libc_vfork): New alias.
19083 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
19085 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
19086 child in registers, not on the stack. Remove RESET_PID conditionals.
19087 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
19089 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
19091 * sysdeps/aarch64/libm-test-ulps: Regenerate.
19093 2014-06-03 Wilco <wdijkstr@arm.com>
19095 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
19096 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
19097 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19098 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
19099 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
19102 2014-06-03 Wilco <wdijkstr@arm.com>
19104 * sysdeps/aarch64/fpu/math_private.h
19105 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
19106 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
19107 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
19108 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19111 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
19113 * crypt/crypt-private.h: Include ufc-crypt.h.
19114 (__b64_from_24bit): Declare extern.
19115 * crypt/crypt_util.c(__b64_from_24bit): New function.
19116 (b64t): New static const variable.
19117 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
19118 (b64t): Remove variable.
19119 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
19120 * crypt/sha256-crypt.c: Include crypt-private.h.
19121 (b64t): Remove variable.
19122 (__sha256_crypt_r): Remove b64_from_24bit and replace
19123 with __b64_from_24bit.
19124 * crypt/sha512-crypt.c: Likewise.
19126 2014-06-02 Roland McGrath <roland@hack.frob.com>
19128 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
19129 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
19130 Label the code __libc_vfork rather than __vfork.
19131 [!NOT_IN_libc] (vfork): Define as weak alias.
19132 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
19133 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
19134 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
19136 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19138 * malloc/malloc.c (malloc_info): Fix format specifier for
19141 2014-06-02 Wilco <wdijkstr@arm.com>
19143 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
19146 2014-06-02 Wilco <wdijkstr@arm.com>
19149 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
19150 Rewrite to reduce FPCR/FPSR accesses.
19152 2014-06-01 David S. Miller <davem@davemloft.net>
19154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19156 2014-05-31 David S. Miller <davem@davemloft.net>
19158 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
19159 to occur in round to nearest mode when |x| >= 2.0
19161 2014-05-30 Richard Henderson <rth@twiddle.net>
19163 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
19164 (PSEUDO_RET_NOERRNO): Remove.
19165 (ret): Don't redefine.
19166 (ret_NOERRNO): Define in terms of ret.
19167 (ret_ERRVAL): Likewise.
19169 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
19170 use of PSEUDO_RET; perform the error check directly.
19172 2014-05-30 Marko Myllynen <myllynen@redhat.com>
19174 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
19177 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19179 * malloc/malloc (malloc_info): Fix formatting.
19181 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19182 Roland McGrath <roland@hack.frob.com>
19184 * malloc/malloc (malloc_info): Also print mmapped statistics.
19186 2014-05-30 Roland McGrath <roland@hack.frob.com>
19188 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
19189 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
19191 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
19193 * malloc/malloc.c (malloc_info): Inline mi_arena.
19195 2014-05-29 Richard Henderson <rth@twiddle.net>
19197 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
19198 Remove comma before expanding ASM_ARGS_##nr.
19199 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
19200 Make _x0 a strict output; make _x8 a strict input; adjust expansion
19202 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
19203 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
19204 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
19205 (ASM_ARGS_1): Add leading comma.
19207 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
19208 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
19209 to __errno_location.
19210 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
19211 Remove the expected plt for __errno_location.
19213 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19214 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
19217 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19218 Always allocate 64 bytes of stack frame. Use ldp/stp to create
19219 it and break it down.
19220 (DOCARGS_0, DOCARGS_1): Do nothing.
19221 (DOCARGS_2): Update to store into the new stack frame.
19222 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
19223 (UNDOCARGS_1): Update to restore from the new stack frame.
19224 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
19225 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
19227 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19228 (SINGLE_THREAD_P): New parameter for result regno.
19229 (PSEUDO): Update to match; use cbz instead of beq.
19231 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19232 Use ENTRY to define the _nocancel entry point. Share the syscall
19233 and syscall error check paths with the cancel path.
19236 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
19237 whitespace; tabs before and after asm mnemonics.
19239 2014-05-29 Eric Wong <normalperson@yhbt.net>
19242 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19243 Call fstat64 or stat64 internally, depending on arguments passed.
19244 Replace stat buffer argument with file descriptor argument.
19245 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
19246 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19247 Pass fd to __internal_statvfs instead of calling fstat64.
19248 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
19249 Pass fd to __internal_statvfs64 instead of calling fstat64.
19250 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
19251 Pass -1 to __internal_statvfs instead of calling stat64.
19252 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
19253 Pass -1 to __internal_statvfs64 instead of calling stat64.
19255 2014-05-28 Roland McGrath <roland@hack.frob.com>
19257 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
19258 that was previously under [RESET_PID].
19259 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
19261 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
19262 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
19264 2014-05-27 Roland McGrath <roland@hack.frob.com>
19266 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
19268 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
19269 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
19271 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
19273 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
19275 2014-05-27 Andreas Schwab <schwab@suse.de>
19277 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
19279 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
19280 * elf/rtld.c (init_tls, dl_main): Likewise.
19281 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
19282 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
19283 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
19284 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
19285 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
19286 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
19287 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
19288 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
19289 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
19290 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
19291 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
19292 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
19293 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
19294 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
19295 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
19296 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
19297 * sysdeps/generic/tls.h: Update description.
19299 2014-05-27 Will Newton <will.newton@linaro.org>
19302 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
19303 and restore r2 rather than just restoring.
19305 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19308 * libio/tst-ftell-append.c: New test case.
19309 * libio/Makefile (tests): Add test case.
19310 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
19312 * libio/wfileops.c (do_ftell_wide): Likewise.
19314 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19318 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
19320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
19321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19322 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
19323 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
19324 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
19325 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
19326 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
19327 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
19328 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
19331 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
19334 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
19335 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
19336 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
19337 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
19338 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
19340 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
19341 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
19343 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
19345 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
19347 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
19348 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
19349 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
19351 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
19352 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
19353 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
19354 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
19356 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
19358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
19359 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
19361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
19362 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
19364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
19365 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
19369 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
19372 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
19376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
19377 conditional [RESET_PID].
19378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
19379 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
19381 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
19384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
19386 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19387 (__libc_vfork): New strong alias.
19388 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
19390 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
19393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
19395 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
19396 (__libc_vfork): New strong alias.
19397 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
19399 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
19402 2014-05-26 Carlos O'Donell <carlos@redhat.com>
19404 * malloc/malloc.c (mi_arena): New function.
19405 (malloc_info): Remove nested function mi_arena. Call non-nosted
19408 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19410 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
19412 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
19413 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
19414 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
19415 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
19416 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
19417 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
19418 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
19420 2014-05-26 Andreas Schwab <schwab@suse.de>
19423 * locale/programs/repertoire.c (repertoire_read): Add slash
19424 between I18NPATH element and file name.
19425 * locale/programs/locfile.c (locfile_read): Likewise.
19427 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
19429 * nptl/pthread_mutexattr_settype.c
19430 (__pthread_mutexattr_settype):
19431 Disable lock elision for PTHREAD_MUTEX_NORMAL.
19433 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
19435 * nptl/tst-mutex5 (do_test):
19436 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
19438 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19440 * benchtests/README: Document 'init' directive.
19441 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
19443 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
19444 (parse_file): Recognize 'init' directive.
19446 2014-05-26 Kyle McMartin <kyle@redhat.com>
19449 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
19450 alignment of struct pthread.
19452 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19455 * nscd/netgroupcache.c (addgetnetgrentX): Look for
19456 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19457 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
19458 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19460 2014-05-25 Richard Henderson <rth@twiddle.net>
19462 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19463 (SINGLE_THREAD_P_PIC): Remove.
19464 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
19465 (SINGLE_THREAD_P_PIC): Remove.
19467 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
19468 branch to syscall error ...
19469 (PSEUDO): ... here.
19470 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
19471 from __local_syscall_error to .Lsyscall_error.
19472 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
19473 (SYSCALL_ERROR): Update label name.
19475 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19476 Do not use DOARGS/UNDOARGS.
19477 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
19478 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
19479 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
19480 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
19481 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
19483 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
19486 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
19487 define if !NOT_IN_libc.
19488 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
19489 define with non-default symbol versions.
19491 2014-05-23 Richard Henderson <rth@twiddle.net>
19493 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
19494 (vfork, __vfork): Define via compat_symbol.
19496 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
19497 [!HAVE_IFUNC] (vfork_compat): Remove.
19498 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
19500 2014-05-23 Joseph Myers <joseph@codesourcery.com>
19503 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
19504 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
19507 2014-05-23 Richard Henderson <rth@twiddle.net>
19509 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
19510 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
19511 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
19512 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
19514 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
19515 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
19516 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
19517 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
19518 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
19519 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
19520 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
19521 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
19522 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
19523 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
19524 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
19525 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
19526 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
19527 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
19528 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
19529 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
19530 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
19531 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
19532 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
19533 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
19534 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
19535 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
19536 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
19537 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
19538 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
19539 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
19540 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
19541 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
19542 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
19543 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
19544 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
19545 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
19546 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
19547 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
19548 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
19549 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
19550 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
19551 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
19552 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
19553 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
19554 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
19555 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
19556 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
19557 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
19558 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
19559 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
19560 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
19561 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
19562 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
19563 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
19564 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
19565 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
19566 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
19567 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
19568 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
19569 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
19571 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
19572 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
19573 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
19574 before exiting on error.
19575 (__libc_vfork): New strong alias.
19576 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
19577 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
19579 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
19580 that was previously under [RESET_PID].
19581 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
19583 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
19585 2014-05-23 Joseph Myers <joseph@codesourcery.com>
19588 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
19589 value when x - 1 is zero.
19590 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
19591 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19592 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
19593 0.0L for an argument of 1.0L.
19594 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
19596 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
19597 value when x - 1 is zero.
19598 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
19599 * sysdeps/i386/fpu/libm-test-ulps: Update.
19600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19602 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
19604 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
19605 alphasort and versionsort.
19607 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19609 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
19611 [copysignf]: Likewise.
19613 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19615 * crypt/md5-crypt.c: Fix formatting.
19617 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
19619 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
19620 (b64_from_24bit): New function.
19622 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19624 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
19625 libc_hidden_builtin_def to ifunc.
19626 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19627 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
19629 2014-05-21 Roland McGrath <roland@hack.frob.com>
19631 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
19632 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
19634 2014-05-21 Joseph Myers <joseph@codesourcery.com>
19636 * nscd/Depend (linuxthreads): Remove.
19638 * resolv/Depend (linuxthreads): Remove.
19639 * rt/Depend (linuxthreads): Remove.
19641 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
19642 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
19643 $(common-objpfx)elf/.
19644 (link-libc-before-gnulib): Likewise.
19645 (elfobjdir): Remove variable.
19646 * Makefile (install): Use $(elf-objpfx) instead of
19647 $(common-objpfx)elf/.
19648 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
19650 (link-libc-deps): Likewise.
19651 ($(common-objpfx)libc.so): Likewise.
19652 ($(common-objpfx)linkobj/libc.so): Likewise.
19653 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
19654 instead of $(common-objpfx)elf/.
19655 (symbolic-link-list): Likewise.
19656 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19657 [$(cross-compiling) = no]: Likewise.
19658 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
19660 (static-gnulib-arch): Likewise.
19661 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19662 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
19663 $(common-objpfx)elf/.
19665 2014-05-21 Richard Henderson <rth@redhat.com>
19667 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19668 (SINGLE_THREAD_P): Use the correct width load. Fold
19669 into the ldr offset.
19671 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
19672 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
19674 2014-05-20 Joseph Myers <joseph@codesourcery.com>
19676 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
19677 (libgcc_s_resume): Use __attribute_used__.
19678 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
19681 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19683 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
19684 optimization when used with float constants.
19686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19688 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
19691 * locale/nl_langinfo_l.c: Make direct reference to every
19692 _nl_current_CATEGORY symbol.
19693 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
19694 (tests-static): Add tst-langinfo-static.
19695 (tests-special): Add tst-langinfo-static.out.
19696 ($(objpfx)tst-langinfo.out): Redirect output.
19697 ($(objpfx)tst-langinfo-static.out): New.
19698 * localedata/tst-langinfo.sh: Send output to stdout.
19699 * localedata/tst-langinfo-static.c: New file.
19702 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
19703 when the shift amount is modulo the limb size.
19705 2014-05-20 Richard Henderson <rth@redhat.com>
19708 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
19709 Change type of sa_flags from unsigned int to int.
19712 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
19714 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19716 2014-05-20 Will Newton <will.newton@linaro.org>
19718 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19719 Test the return value of the system call in the nocancel case.
19721 2014-05-20 Will Newton <will.newton@linaro.org>
19722 Yvan Roux <yvan.roux@linaro.org>
19724 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19725 #include of asm/ptrace.h.
19726 (PTRACE_GET_THREAD_AREA): Remove #undef.
19727 (PTRACE_GETHBPREGS): Likewise.
19728 (PTRACE_SETHBPREGS): Likewise.
19729 (struct user_regs_struct): New structure.
19730 (struct user_fpsimd_struct): New structure.
19731 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
19732 #include of asm/ptrace.h and second #include of sys/user.h.
19733 (PTRACE_GET_THREAD_AREA): Remove #undef.
19734 (PTRACE_GETHBPREGS): Likewise.
19735 (PTRACE_SETHBPREGS): Likewise.
19736 (ELF_NGREG): Use new struct user_regs_struct.
19737 (elf_fpregset_t): Use new struct user_fpsimd_struct.
19739 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19741 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
19742 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
19744 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
19747 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
19748 membar to avoid block loads/stores to overlap previous stores.
19750 2014-05-17 Richard Henderson <rth@redhat.com>
19752 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
19753 Create the __##syscall_name##_nocancel entry point.
19754 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
19755 Remove; let the sysdep-cancel.h code create it.
19757 2014-05-17 David S. Miller <davem@davemloft.net>
19759 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
19760 Protect with __USE_GNU.
19761 (TIOCSET_TEMPT): Likewise.
19762 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19763 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
19764 these are already provided in bits/ioctl-types.h
19766 2014-05-16 Roland McGrath <roland@hack.frob.com>
19768 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
19769 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
19771 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
19772 Use wait4 regardless of [__NR_waitpid].
19774 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19777 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19778 (_FP_NANSIGN_Q): Set the quiet bit.
19780 2014-05-16 Joseph Myers <joseph@codesourcery.com>
19782 * benchtests/Makefile
19783 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
19784 not $(common-objpfx)math/libm.so.
19785 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
19786 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
19787 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
19788 $(common-objpfx)dlfcn/libdl.so.
19789 ($(objpfx)tst-audit8): Depend on $(libm), not
19790 $(common-objpfx)math/libm.so.
19791 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
19792 not $(common-objpfx)dlfcn/libdl.so.
19794 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19795 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
19796 [$(build-shared) = yes].
19797 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
19798 $(common-objpfx)nptl/libpthread.so.
19799 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
19800 $(common-objpfx)math/libm.so$(libm.so-version) or
19801 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
19802 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
19803 $(common-objpfx)dlfcn/libdl.so.
19804 * setjmp/Makefile (link-libm): Remove variable.
19805 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
19806 * stdio-common/Makefile (link-libm): Remove variable.
19807 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
19808 * stdlib/Makefile (link-libm): Remove variable.
19809 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
19810 ($(objpfx)tst-strtod-round): Likewise.
19811 ($(objpfx)tst-tininess): Likewise.
19812 ($(objpfx)tst-strtod-underflow): Likewise.
19813 ($(objpfx)tst-strtod6): Likewise.
19814 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
19815 $(libdl), not $(common-objpfx)nptl/libpthread.so and
19816 $(common-objpfx)dlfcn/libdl.so.
19818 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19820 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
19821 BSD terminal modes definitions.
19823 2014-05-16 Roland McGrath <roland@hack.frob.com>
19825 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
19826 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
19828 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
19829 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
19830 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
19831 Don't do #include_next.
19832 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
19833 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
19834 Don't do #include_next.
19835 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
19836 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
19837 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
19838 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
19840 2014-05-16 Allan McRae <allan@archlinux.org>
19842 * po/sv.po: Update Swedish translation from translation project.
19844 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
19847 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
19850 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
19851 errno if the TIOCGPTN ioctl fails with an error different than
19853 * login/tst-ptsname.c: New file.
19854 * login/Makefile (tests): Add tst-ptsname.
19857 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
19860 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19863 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
19864 herrno to return EAI_AGAIN.
19866 2014-05-14 Roland McGrath <roland@hack.frob.com>
19868 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
19869 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
19870 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
19871 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
19872 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
19873 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
19874 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
19875 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
19876 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
19877 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
19878 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
19879 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
19880 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
19881 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
19882 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
19883 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
19884 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
19885 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
19886 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
19887 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
19888 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
19889 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
19890 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
19891 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
19892 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
19893 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
19894 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
19895 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
19896 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
19897 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
19898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
19899 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
19900 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
19901 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
19902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19904 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
19905 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
19906 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
19907 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
19908 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
19909 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
19910 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
19911 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
19912 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
19913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
19914 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
19915 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
19916 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
19917 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
19918 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
19919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
19920 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
19921 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
19922 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
19923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
19924 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
19925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
19926 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
19927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
19928 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
19929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
19930 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
19931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19933 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
19934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
19935 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
19936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
19937 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
19938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
19939 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
19940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
19941 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
19942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
19943 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
19944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
19945 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
19946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
19947 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
19948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
19949 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
19950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
19951 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
19952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19954 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
19955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
19956 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
19958 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
19959 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
19960 (libpthread-sysdep_routines): Add elision-related stuff here instead.
19961 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
19962 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
19963 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
19964 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
19965 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
19966 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
19967 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
19968 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
19969 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
19970 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
19971 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
19972 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
19973 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
19974 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
19975 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
19976 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
19977 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
19978 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
19979 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
19980 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
19981 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
19982 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
19983 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
19984 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
19985 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
19986 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
19987 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
19988 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
19990 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
19991 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
19993 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
19994 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
19995 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
19996 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
19997 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
19998 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
20000 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
20001 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
20003 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
20004 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
20006 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
20007 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
20009 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
20010 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
20011 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
20012 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
20014 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
20015 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
20016 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
20017 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
20018 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
20019 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
20020 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
20021 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
20023 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
20024 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20026 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20028 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
20029 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
20030 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
20031 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
20032 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20034 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20036 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
20038 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
20039 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
20040 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
20041 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
20042 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
20043 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
20045 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
20046 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
20048 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
20049 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
20051 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
20052 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
20054 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
20055 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
20056 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
20057 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
20059 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
20060 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
20061 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
20062 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
20063 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
20064 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
20065 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
20066 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
20068 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
20069 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20071 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20073 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
20074 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
20075 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
20076 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
20077 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20079 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20081 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
20083 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
20084 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
20085 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
20086 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
20087 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
20088 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
20089 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
20090 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
20091 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
20092 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
20094 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
20095 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
20097 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
20098 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
20100 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
20101 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
20103 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
20104 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
20105 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
20106 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
20107 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
20108 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
20110 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
20111 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
20112 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
20113 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
20114 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
20115 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
20116 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
20117 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
20119 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
20120 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20122 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20124 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
20125 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
20126 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
20127 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
20128 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20130 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20132 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
20134 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
20135 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
20136 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
20137 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
20138 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
20139 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
20140 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
20141 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
20142 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
20143 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
20144 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
20146 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
20147 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
20149 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
20150 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
20152 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
20153 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
20154 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
20155 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
20156 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
20157 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
20158 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
20159 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
20160 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
20161 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
20162 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
20163 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
20164 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
20165 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
20166 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
20167 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
20168 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
20169 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
20171 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
20172 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
20173 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
20174 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
20176 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
20177 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
20178 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
20179 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
20180 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
20181 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
20182 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
20183 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
20185 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
20186 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
20188 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
20189 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
20190 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
20191 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
20192 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
20193 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
20194 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
20195 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
20196 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
20197 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
20198 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
20199 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
20200 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
20201 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
20202 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
20203 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
20204 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
20206 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
20207 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
20208 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
20209 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
20210 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
20212 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
20213 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
20214 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
20215 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
20216 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
20217 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
20218 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
20219 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
20220 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
20221 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
20223 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
20224 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
20226 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
20227 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
20228 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
20229 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
20230 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
20231 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
20232 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
20233 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
20234 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
20235 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
20236 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
20237 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
20238 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
20239 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
20240 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
20242 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
20244 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20246 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20248 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20250 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
20252 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
20254 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
20256 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
20258 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
20260 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
20261 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
20262 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
20263 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
20264 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
20265 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
20266 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
20267 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
20268 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
20269 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
20270 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
20271 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
20272 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
20273 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
20274 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
20276 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
20277 that was previously under [RESET_PID].
20278 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20279 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
20280 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
20282 * sysdeps/i386/nptl/Implies: New file.
20283 * sysdeps/x86_64/nptl/Implies: New file.
20284 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
20285 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
20286 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
20287 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
20289 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
20290 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20291 (__libc_vfork): New strong alias.
20292 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
20293 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
20295 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
20296 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20297 (__libc_vfork): New strong alias.
20298 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
20299 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
20301 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
20302 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20303 (__libc_vfork): New strong alias.
20304 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
20305 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
20306 * nptl/pt-vfork.c: New file.
20307 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
20308 (libpthread: GLIBC_2.20): New version set (empty).
20310 2014-05-14 Will Newton <will.newton@linaro.org>
20312 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
20315 2014-05-14 Joseph Myers <joseph@codesourcery.com>
20318 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
20319 arguments with exponent 65 or above.
20320 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
20321 arguments 0x1p113L or above.
20322 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
20323 to arguments 0x1p107L or above.
20324 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
20325 positive arguments with exponent 65 or above.
20326 * math/auto-libm-test-in: Add more tests of log1p.
20327 * math/auto-libm-test-out: Regenerated.
20330 * math/s_cacos.c (__cacos): Ensure zero real part of result from
20331 non-finite arguments is +0.
20332 * math/s_cacosf.c (__cacosf): Likewise.
20333 * math/s_cacosl.c (__cacosl): Likewise.
20334 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
20335 * sysdeps/i386/fpu/libm-test-ulps: Update.
20336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20339 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
20341 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
20342 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
20343 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
20344 for explicit high bit of mantissa when testing for argument equal
20346 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
20347 * sysdeps/i386/fpu/libm-test-ulps: Update.
20348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20351 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
20352 (__erf): Scale by 16 instead of 8 in potentially underflowing
20353 case. Ensure exception if result actually underflows.
20354 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
20355 (__erff): Scale by 16 instead of 8 in potentially underflowing
20356 case. Ensure exception if result actually underflows.
20357 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
20358 (efx8): Remove variable.
20359 (__erfl): Scale by 16 instead of 8 in potentially underflowing
20360 case. Ensure exception if result actually underflows.
20361 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
20362 (efx8): Remove variable.
20363 (__erfl): Scale by 16 instead of 8 in potentially underflowing
20364 case. Ensure exception if result actually underflows.
20365 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
20366 (efx8): Remove variable.
20367 (__erfl): Scale by 16 instead of 8 in potentially underflowing
20368 case. Ensure exception if result actually underflows.
20369 * math/auto-libm-test-in: Add more tests of erf.
20370 * math/auto-libm-test-out: Regenerated.
20372 2014-05-14 Andreas Schwab <schwab@suse.de>
20374 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
20375 Remove code conditionalized on USE___THREAD.
20377 * config.h.in (HAVE_PT_CHOWN): Define as 0.
20378 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
20381 2014-05-14 Joseph Myers <joseph@codesourcery.com>
20383 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
20384 Define unconditionally.
20385 (__ASSUME_O_CLOEXEC): Likewise.
20386 (__ASSUME_SOCK_CLOEXEC): Likewise.
20387 (__ASSUME_IN_NONBLOCK): Likewise.
20388 (__ASSUME_PIPE2): Likewise.
20389 (__ASSUME_EVENTFD2): Likewise.
20390 (__ASSUME_SIGNALFD4): Likewise.
20391 (__ASSUME_DUP3): Likewise.
20392 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20393 (__ASSUME_DUP3): Do not define.
20394 (__ASSUME_EVENTFD2): Likewise.
20395 (__ASSUME_IN_NONBLOCK): Likewise.
20396 (__ASSUME_O_CLOEXEC): Likewise.
20397 (__ASSUME_PIPE2): Likewise.
20398 (__ASSUME_SIGNALFD4): Likewise.
20399 (__ASSUME_SOCK_CLOEXEC): Likewise.
20400 (__ASSUME_UTIMES): Undefine.
20401 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20402 (__ASSUME_UTIMES): Do not define.
20403 (__ASSUME_O_CLOEXEC): Likewise.
20404 (__ASSUME_SOCK_CLOEXEC): Likewise.
20405 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
20406 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
20408 (__ASSUME_PIPE2): Likewise.
20409 (__ASSUME_EVENTFD2): Likewise.
20410 (__ASSUME_SIGNALFD4): Likewise.
20411 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
20412 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
20414 (__ASSUME_EVENTFD2): Likewise.
20415 (__ASSUME_SIGNALFD4): Likewise.
20416 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20417 (__ASSUME_32BITUIDS): Likewise.
20418 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20419 (__ASSUME_IPC64): Likewise.
20420 (__ASSUME_ST_INO_64_BIT): Likewise.
20421 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
20422 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
20423 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20424 (__ASSUME_UTIMES): Do not define.
20425 (__ASSUME_PSELECT): Likewise.
20426 (__ASSUME_PPOLL): Likewise.
20427 (__ASSUME_O_CLOEXEC): Likewise.
20428 (__ASSUME_SOCK_CLOEXEC): Likewise.
20429 (__ASSUME_IN_NONBLOCK): Likewise.
20430 (__ASSUME_PIPE2): Likewise.
20431 (__ASSUME_EVENTFD2): Likewise.
20432 (__ASSUME_SIGNALFD4): Likewise.
20433 (__ASSUME_DUP3): Likewise.
20434 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20435 (__ASSUME_UTIMES): Likewise.
20436 (__ASSUME_O_CLOEXEC): Likewise.
20437 (__ASSUME_SOCK_CLOEXEC): Likewise.
20438 (__ASSUME_IN_NONBLOCK): Likewise.
20439 (__ASSUME_PIPE2): Likewise.
20440 (__ASSUME_EVENTFD2): Likewise.
20441 (__ASSUME_SIGNALFD4): Likewise.
20442 (__ASSUME_DUP3): Likewise.
20443 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20444 (__ASSUME_UTIMES): Likewise.
20445 (__ASSUME_O_CLOEXEC): Likewise.
20446 (__ASSUME_SOCK_CLOEXEC): Likewise.
20447 (__ASSUME_IN_NONBLOCK): Likewise.
20448 (__ASSUME_PIPE2): Likewise.
20449 (__ASSUME_EVENTFD2): Likewise.
20450 (__ASSUME_SIGNALFD4): Likewise.
20451 (__ASSUME_DUP3): Likewise.
20452 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
20454 (__ASSUME_UTIMES): Likewise.
20455 (__ASSUME_EVENTFD2): Likewise.
20456 (__ASSUME_SIGNALFD4): Likewise.
20457 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20458 (__ASSUME_O_CLOEXEC): Likewise.
20459 (__ASSUME_SOCK_CLOEXEC): Likewise.
20460 (__ASSUME_IN_NONBLOCK): Likewise.
20461 (__ASSUME_PIPE2): Likewise.
20462 (__ASSUME_EVENTFD2): Likewise.
20463 (__ASSUME_SIGNALFD4): Likewise.
20464 (__ASSUME_DUP3): Likewise.
20465 (__ASSUME_UTIMES): Undefine.
20467 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
20468 feclearexcept. Remove symbol versioning code.
20469 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
20470 symbol versioning code.
20471 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
20472 symbol versioning code.
20473 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
20474 feupdateenv. Remove symbol versioning code.
20475 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
20476 fegetexceptflag. Remove symbol versioning code.
20477 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
20478 fesetexceptflag. Remove symbol versioning code.
20479 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
20480 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
20481 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
20482 (__posix_fadvise64_l32): Remove prototype.
20483 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
20486 2014-05-13 Roland McGrath <roland@hack.frob.com>
20488 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
20489 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
20490 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
20491 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
20493 2014-05-13 Sami Kerola <kerolasa@iki.fi>
20495 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
20496 current working directory
20498 2014-05-13 Roland McGrath <roland@hack.frob.com>
20500 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
20501 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
20502 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
20503 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
20504 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
20505 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
20506 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
20507 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
20508 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
20509 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
20510 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
20511 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
20512 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
20513 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
20514 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
20515 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
20516 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
20517 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
20518 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
20519 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
20520 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
20521 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
20522 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
20523 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
20524 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
20525 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
20526 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
20527 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
20528 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
20529 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
20530 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
20531 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
20532 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
20533 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
20534 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
20535 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
20536 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
20537 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
20538 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
20539 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
20540 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
20541 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
20543 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
20544 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
20546 * sysdeps/unix/sysv/linux/arm/Makefile
20547 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20548 Add rt-aeabi_unwind_cpp_pr1.
20549 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
20550 Add nptl-aeabi_unwind_cpp_pr1.
20551 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
20552 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
20553 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
20554 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20555 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
20556 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20558 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
20559 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
20560 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
20561 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
20563 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
20564 Deconditionalize the code that was previously under [RESET_PID].
20565 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
20567 * sysdeps/generic/exit-thread.h: New file.
20568 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
20569 * include/unistd.h (__exit_thread): Remove declaration.
20570 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
20571 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
20572 * csu/libc-start.c: Include <exit-thread.h>.
20573 (LIBC_START_MAIN): Pass no argument to __exit_thread.
20574 * nptl/pthread_create.c: Include <exit-thread.h>.
20575 (start_thread): Call __exit_thread in place of __exit_thread_inline.
20576 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
20577 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
20578 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
20579 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
20580 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
20581 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
20582 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
20583 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
20584 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
20585 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
20586 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
20587 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
20588 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
20589 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
20590 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
20591 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
20593 2014-05-13 Andreas Schwab <schwab@suse.de>
20595 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
20597 2014-05-12 Joseph Myers <joseph@codesourcery.com>
20599 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20600 (__ASSUME_UTIMES): Do not condition on kernel version.
20601 (__ASSUME_PSELECT): Define unconditionally.
20602 (__ASSUME_PPOLL): Likewise.
20603 (__ASSUME_ATFCTS): Likewise.
20604 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
20605 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
20606 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
20607 (__ASSUME_UTIMENSAT): Define unconditionally.
20608 (__ASSUME_PRIVATE_FUTEX): Likewise.
20609 (__ASSUME_FALLOCATE): Likewise.
20610 (__ASSUME_O_CLOEXEC): Likewise.
20611 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
20612 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
20613 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
20614 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
20615 (__ASSUME_IN_NONBLOCK): Likewise.
20616 (__ASSUME_PIPE2): Likewise.
20617 (__ASSUME_EVENTFD2): Likewise.
20618 (__ASSUME_SIGNALFD4): Likewise.
20619 (__ASSUME_DUP3): Likewise.
20620 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20621 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
20622 (__ASSUME_AT_RANDOM): Likewise.
20623 (__ASSUME_PREADV): Likewise.
20624 (__ASSUME_PWRITEV): Likewise.
20625 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
20626 (__ASSUME_F_GETOWN_EX): Define unconditionally.
20627 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
20628 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20629 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
20630 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20631 (__ASSUME_O_CLOEXEC): Define unconditionally.
20632 (__ASSUME_PSELECT): Do not undefine conditionally.
20633 (__ASSUME_PPOLL): Likewise.
20634 (__ASSUME_ATFCTS): Likewise.
20635 (__ASSUME_SET_ROBUST_LIST): Likewise.
20636 (__ASSUME_UTIMENSAT): Likewise.
20637 (__ASSUME_FDATASYNC): Define unconditionally.
20638 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20639 (__ASSUME_SIGFRAME_V2): Likewise.
20640 )__ASSUME_EVENTFD2): Likewise.
20641 (__ASSUME_SIGNALFD4): Likewise.
20642 (__ASSUME_PSELECT): Do not undefine conditionally.
20643 (__ASSUME_PPOLL): Likewise.
20644 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20645 (__ASSUME_PSELECT): Define unconditionally.
20646 (__ASSUME_PPOLL): Likewise.
20647 (__ASSUME_O_CLOEXEC): Likewise.
20648 (__ASSUME_SOCK_CLOEXEC): Likewise.
20649 (__ASSUME_IN_NONBLOCK): Likewise.
20650 (__ASSUME_PIPE2): Likewise.
20651 (__ASSUME_EVENTFD2): Likewise.
20652 (__ASSUME_SIGNALFD4): Likewise.
20653 (__ASSUME_DUP3): Likewise.
20654 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20655 (__ASSUME_O_CLOEXEC): Likewise.
20656 (__ASSUME_SOCK_CLOEXEC): Likewise.
20657 (__ASSUME_IN_NONBLOCK): Likewise.
20658 (__ASSUME_PIPE2): Likewise.
20659 (__ASSUME_EVENTFD2): Likewise.
20660 (__ASSUME_SIGNALFD4): Likewise.
20661 (__ASSUME_DUP3): Likewise.
20662 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20663 (__ASSUME_EVENTFD2): Likewise.
20664 (__ASSUME_SIGNALFD4): Likewise.
20665 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20667 2014-05-12 Andreas Schwab <schwab@suse.de>
20670 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
20671 (_nss_nis_gethostbyname4_r): Return error if item length is larger
20672 than maximum RPC packet size.
20673 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
20674 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
20675 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
20676 (_nss_nis_getservbyport_r): Likewise.
20678 2014-05-12 Will Newton <will.newton@linaro.org>
20680 * malloc/Makefile (tests): Add tst-mallopt.
20681 * malloc/tst-mallopt.c: New file.
20683 2014-05-09 Roland McGrath <roland@hack.frob.com>
20685 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20686 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
20688 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20690 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
20691 (tst-tlsmod6.so): Likewise.
20693 2014-05-09 Roland McGrath <roland@hack.frob.com>
20695 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20697 2014-05-09 Joseph Myers <joseph@codesourcery.com>
20700 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
20701 and <dl-procinfo.h>.
20702 (__fegetenv): Save SSE state in envp->__eip if supported.
20703 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
20704 envp->__eip if supported.
20705 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
20706 and <dl-procinfo.h>.
20707 (__fesetenv): Always set __eip, __cs_selector, __opcode,
20708 __data_offset and __data_selector in environment to 0. Set SSE
20709 state if supported.
20710 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20712 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20714 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20716 2014-05-09 Will Newton <will.newton@linaro.org>
20718 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20719 and libc_relro_required for ARM.
20720 * sysdeps/arm/preconfigure: Regenerate.
20722 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
20723 Stefan Liebler <stli@linux.vnet.ibm.com>
20725 * config.make.in (enable-lock-elision): New Makefile variable.
20726 * configure.ac: Likewise.
20727 * configure: Regenerate.
20728 * sysdeps/s390/configure.ac:
20729 Add check for gcc transactions support.
20730 * sysdeps/s390/configure: Regenerate.
20731 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
20732 Build elision files if enabled.
20733 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
20734 Add lock elision support for s390.
20735 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20736 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
20737 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
20738 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20739 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
20740 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20741 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20743 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
20745 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
20747 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
20749 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
20750 (__lll_timedlock_elision, __lll_lock_elision)
20751 (__lll_unlock_elision, __lll_trylock_elision)
20752 (lll_timedlock_elision, lll_lock_elision)
20753 (lll_unlock_elision, lll_trylock_elision): Add.
20754 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20755 (pthread_mutex_t): Add lock elision support for s390.
20757 2014-05-14 Wilco <wdijkstr@arm.com>
20759 * sysdeps/arm/fclrexcpt.c: Cleanup.
20760 * sysdeps/arm/fedisblxcpt.c: Cleanup.
20761 * sysdeps/arm/feenablxcpt.c: Cleanup.
20762 * sysdeps/arm/fegetenv.c: Cleanup.
20763 * sysdeps/arm/fegetexcept.c: Cleanup.
20764 * sysdeps/arm/fegetround.c: Cleanup.
20765 * sysdeps/arm/feholdexcpt.c: Cleanup.
20766 * sysdeps/arm/fesetenv.c: Cleanup.
20767 * sysdeps/arm/fesetround.c: Cleanup.
20768 * sysdeps/arm/feupdateenv.c: Cleanup.
20769 * sysdeps/arm/fgetexcptflg.c: Cleanup.
20770 * sysdeps/arm/fraiseexcpt.c: Cleanup.
20771 * sysdeps/arm/fsetexcptflg.c: Cleanup.
20772 * sysdeps/arm/ftestexcept.c: Cleanup.
20773 * sysdeps/arm/get-rounding-mode.h: Cleanup.
20774 * sysdeps/arm/setfpucw.c: Cleanup.
20776 2014-05-09 Will Newton <will.newton@linaro.org>
20778 * sysdeps/arm/armv7/strcmp.S: New file.
20779 * NEWS: Mention addition of ARMv7 optimized strcmp.
20781 2014-05-08 Roland McGrath <roland@hack.frob.com>
20783 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
20784 look for %.ac rather than %.in.
20786 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
20787 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
20788 * sysdeps/mach/hurd/configure: Regenerated.
20789 * sysdeps/unix/sysv/linux/configure: Regenerated.
20791 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
20793 2014-05-07 Steve Ellcey <sellcey@mips.com>
20796 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
20800 2014-05-07 Andreas Schwab <schwab@suse.de>
20802 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
20803 when skipping over non-matching result from nscd.
20805 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
20808 * nptl/sockperf.c (client): Check socket return value.
20811 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
20812 nscd security class.
20814 2014-05-06 Roland McGrath <roland@hack.frob.com>
20816 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
20817 * sysdeps/arm/unwind.h: ... here.
20819 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
20822 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
20825 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20827 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
20828 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
20829 multiarch strncpy for PPC64.
20830 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
20831 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
20832 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
20833 multiarch optimizations.
20834 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20835 (__libc_ifunc_impl_list): Likewise.
20836 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
20837 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
20838 multiarch stpncpy for PPC64.
20839 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
20840 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
20842 2014-05-06 Andreas Schwab <schwab@suse.de>
20845 * gmon/mcount.c (_MCOUNT_DECL): Use
20846 atomic_compare_and_exchange_bool_acq instead of
20847 catomic_compare_and_exchange_bool_acq.
20849 2014-05-05 Roland McGrath <roland@hack.frob.com>
20851 * elf/Makefile (others, install-bin): Remove pldd.
20852 (pldd-modules): Variable removed.
20853 ($(objpfx)pldd): Target removed.
20854 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
20855 (others, install-bin): Append pldd here.
20856 ($(objpfx)pldd): New target.
20858 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
20859 to 0, so the first #if test emitted later doesn't see it undefined.
20860 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
20861 * sysdeps/gnu/errlist.c: Regenerated.
20863 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20865 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20866 [libc_hidden_builtin_def]: Define to empty value.
20867 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
20868 [libc_hidden_builtin_def]: Likewise.
20869 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
20870 [libc_hidden_builtin_def]: Likewise.
20871 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
20872 [libc_hidden_builtin_def]: Likewise.
20873 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
20874 __redirect_memcpy and define ifunc as default hidden symbol.
20875 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
20876 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
20878 2014-05-04 Adam Conrad <adconrad@0c3.net>
20880 * locale/iso-4217.def: Reintroduce XDR currency.
20882 2014-05-04 Allan McRae <allan@archlinux.org>
20884 * po/eo.po: Update Esperanto translation from translation project.
20886 2014-05-02 Carlos O'Donell <carlos@redhat.com>
20888 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
20889 and FEATURE_INDEX_MAX to 1.
20890 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
20892 2014-05-01 Steve Ellcey <sellcey@mips.com>
20894 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
20895 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
20896 * iconvdata/big5.c (ONE_DIRECTION): Define.
20897 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
20898 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
20899 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
20900 * iconvdata/cp932.c (ONE_DIRECTION): Define.
20901 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
20902 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
20903 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
20904 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
20905 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
20906 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
20907 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
20908 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
20909 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
20910 * iconvdata/gbk.c (ONE_DIRECTION): Define.
20911 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
20912 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
20913 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
20914 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
20915 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
20916 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
20917 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
20918 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
20919 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
20920 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
20921 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
20922 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
20923 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
20924 * iconvdata/iso646.c (ONE_DIRECTION): Define.
20925 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
20926 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
20927 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
20928 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
20929 * iconvdata/johab.c (ONE_DIRECTION): Define.
20930 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
20931 * iconvdata/sjis.c (ONE_DIRECTION): Define.
20932 * iconvdata/t.61.c (ONE_DIRECTION): Define.
20933 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
20934 * iconvdata/tscii.c (ONE_DIRECTION): Define.
20935 * iconvdata/uhc.c (ONE_DIRECTION): Define.
20936 * iconvdata/unicode.c (ONE_DIRECTION): Define.
20937 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
20938 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
20939 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
20941 2014-05-01 Roland McGrath <roland@hack.frob.com>
20943 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
20944 (_IO_JUMPS_OFFSET): Define to 0.
20946 * nptl/sysdeps/pthread/bits/libc-lock.h
20947 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20948 (__libc_lock_define_initialized_recursive): Always define using
20949 initializer. Modern compilers treat uninitialized (implicit zero) and
20950 explicit zero initializers the same (i.e. put the datum in bss).
20952 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
20954 * nscd/nscd-client.h: Include <string.h>.
20956 2014-05-01 David S. Miller <davem@davemloft.net>
20959 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
20960 multiple zero bytes exist at the end of a string.
20961 Reported by Aurelien Jarno <aurelien@aurel32.net>
20963 * string/test-strcmp.c (check): Add explicit test for situations where
20964 there are multiple zero bytes after the first.
20966 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
20969 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
20970 when compiling wprintf.
20971 * stdio-common/tstdiomisc.c (t3): New function.
20974 2014-05-01 Steve Ellcey <sellcey@mips.com>
20976 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
20977 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
20978 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
20979 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
20981 2014-05-01 Steve Ellcey <sellcey@mips.com>
20983 * stdlib/longlong.h: Updated from GCC.
20985 2014-05-01 Will Newton <will.newton@linaro.org>
20986 Bernard Ogden <bernie.ogden@linaro.org>
20988 * NEWS: Update fixed bug list.
20991 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
20993 2014-04-30 David S. Miller <davem@davemloft.net>
20995 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
20996 (libc_feholdexcept_setround_sparc_ctx): New function.
20997 (libc_fesetenv_sparc_ctx): Likewise.
20998 (libc_feupdateenv_sparc_ctx): Likewise.
20999 (libc_feholdsetround_sparc_ctx): Likewise.
21000 (libc_feholdexcept_setround_ctx): Define.
21001 (libc_feholdexcept_setroundf_ctx): Likewise.
21002 (libc_feholdexcept_setroundl_ctx): Likewise.
21003 (libc_fesetenv_ctx): Likewise.
21004 (libc_fesetenvf_ctx): Likewise.
21005 (libc_fesetenvl_ctx): Likewise.
21006 (libc_feupdateenv_ctx): Likewise.
21007 (libc_feupdateenvf_ctx): Likewise.
21008 (libc_feupdateenvl_ctx): Likewise.
21009 (libc_feresetround_ctx): Likewise.
21010 (libc_feresetroundf_ctx): Likewise.
21011 (libc_feresetroundl_ctx): Likewise.
21012 (libc_feholdsetround_ctx): Likewise.
21013 (libc_feholdsetroundf_ctx): Likewise.
21014 (libc_feholdsetroundl_ctx): Likewise.
21016 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21017 with __USE_GNU instead of XOPEN cpp guards.
21019 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
21022 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21023 with XOPEN cpp guards.
21025 2014-04-30 Julian Brown <julian@codesourcery.com>
21028 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
21031 2014-04-30 Joseph Myers <joseph@codesourcery.com>
21034 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
21036 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
21037 * sysdeps/unix/sysv/linux/configure: Regenerated.
21038 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
21039 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
21040 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
21041 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
21042 * README: Update reference to required Linux kernel version.
21043 * manual/install.texi (Linux): Update reference to required Linux
21044 kernel headers version.
21045 * INSTALL: Regenerated.
21047 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
21049 [POSIX] (limits.h): Likewise.
21050 [POSIX] (math.h): Likewise.
21051 [POSIX] (sys/wait.h): Likewise.
21052 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
21054 [POSIX] (stddef.h): Do not allow header inclusion.
21056 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21058 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
21060 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
21062 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21063 Return immediately after lll_futex_wake.
21065 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21068 * nscd/nscd-client.h (datahead_init_common): Initialize entire
21070 (datahead_init_pos): Call datahead_init_common early.
21071 (datahead_init_neg): Likewise.
21073 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
21074 datahead_init_neg): New functions.
21075 * nscd/aicache.c (addhstaiX): Use them.
21076 * nscd/grpcache.c (cache_addgr): Likewise.
21077 * nscd/hstcache.c (cache_addhst): Likewise.
21078 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21079 * nscd/netgroupcache.c (do_notfound): Likewise.
21080 (addgetnetgrentX): Likewise.
21081 (addinnetgrX): Likewise.
21082 * nscd/pwdcache.c (cache_addpw): Likewise.
21083 * nscd/servicescache.c (cache_addserv): Likewise.
21085 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21086 Atsushi Onoe <atsushi@onoe.org>
21091 * resolv/res_query.c (__libc_res_nsearch): Return if at least
21092 one response is valid.
21093 * resolv/res_send.c (send_dg): Check for validity of other
21094 response if the current response is a referral.
21096 2014-04-29 Steve Ellcey <sellcey@mips.com>
21098 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
21100 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
21103 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
21104 Always divide by positive zero when computing -Inf result.
21105 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21106 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
21108 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21110 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
21111 FPSCR if value do not change.
21112 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21113 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
21114 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21115 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21116 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
21117 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
21120 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
21122 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
21123 * sysdeps/unix/sysv/linux/hppa: Move directory from
21124 ports/systeps/unix/sysv/linux/hppa.
21125 * README: Update listing for hppa-*-linux-gnu.
21127 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
21130 * manual/stdio.texi (Hook functions): Fix types of stream hook
21133 * socket/sys/socket.h: Fix typo in comment.
21135 2014-04-28 Wilco <wdijkstr@arm.com>
21137 * sysdeps/arm/fenv_private.h: New file.
21138 * sysdeps/arm/math_private.h: New file.
21139 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
21141 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
21143 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
21145 (La_x86_64_retval): Likewise.
21147 2014-04-24 Ian Bolton <ian.bolton@arm.com>
21149 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
21150 fpsr if value didn't change.
21151 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
21152 to fpcr if value didn't change.
21153 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
21154 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
21155 fpsr or fpcr if value didn't change.
21156 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21157 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
21158 fpcr if value didn't change.
21159 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
21160 to fpsr if value didn't change.
21162 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21164 * nptl/tst-sem3.c: Use test-skeleton.c
21165 (main): Rename to do_test. Use return instead of
21167 * nptl/tst-sem4.c: Use test-skeleton.c
21168 (main): Rename to do_test.
21170 2014-04-22 David S. Miller <davem@davemloft.net>
21172 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
21173 (struct sigaction): New struct member __glibc_reserved0, change
21174 type of sa_flags to int.
21176 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
21178 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
21179 (COUNT_LEADING_ZEROS_0): Define for AArch64.
21181 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21183 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
21184 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
21186 2014-04-22 Will Newton <will.newton@linaro.org>
21187 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
21189 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
21190 (__longjmp): Add longjmp and longjmp_target SystemTap
21192 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
21193 (__sigsetjmp): Add setjmp SystemTap probe.
21195 2014-04-17 Carlos O'Donell <carlos@redhat.com>
21197 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
21198 match manual order.
21200 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21202 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
21204 * sysdeps/powerpc/fpu/fenv_private.h
21205 (libc_feholdexcept_setroundl_ctx): Define to
21206 libc_feholdexcept_setround_ppc_ctx.
21207 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
21208 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
21209 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
21210 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
21212 2014-04-17 Ian Bolton <ian.bolton@arm.com>
21214 * sysdeps/aarch64/math-tests.h: New file.
21216 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
21218 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
21220 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21221 Check and set bit_AVX2_Usable.
21222 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
21224 (bit_AVX2): Likewise.
21225 (index_AVX2_Usable): Likewise.
21226 (CPUID_AVX2): Likewise.
21227 (HAS_AVX2): Likewise.
21229 2014-04-17 Will Newton <will.newton@linaro.org>
21231 * manual/setjmp.texi (System V contexts): Add note that
21232 calling setcontext on a context created by a call to a
21233 signal handler is undefined. Update text to note that
21234 setcontext from a signal handler is possible but not
21238 * stdlib/tst-setcontext.c: Include signal.h.
21239 (main): Check that the signal stack before and
21240 after swapcontext is the same.
21242 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
21243 Re-implement to restore registers in user code and avoid
21244 rt_sigreturn system call.
21246 2014-04-17 Wilco <wdijkstr@arm.com>
21248 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
21249 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
21250 * math/test-fenv.c: Skip exception trap tests on targets which only
21251 support non-stop mode.
21253 2014-04-17 Ian Bolton <ian.bolton@arm.com>
21254 Wilco Dijkstra <wilco.dijkstra@arm.com>
21256 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
21257 (libc_feholdsetround_aarch64_ctx)
21258 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
21259 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
21260 (libc_feresetround_ctx, libc_feresetroundf_ctx)
21261 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
21262 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
21263 (libc_feresetround_noexl_ctx): Define.
21265 2014-04-16 Richard Henderson <rth@redhat.com>
21267 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
21269 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
21272 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
21273 const from the non-libc, non-ldso copy.
21275 * sysdeps/alpha/libm-test-ulps: Regenerate.
21277 2014-04-16 Ian Bolton <ian.bolton@arm.com>
21278 Wilco Dijkstra <wilco.dijkstra@arm.com>
21280 * sysdeps/aarch64/fpu/math_private.h: New file.
21282 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
21284 * sysdeps/aarch64/libm-test-ulps: Regenerate.
21286 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
21289 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
21290 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
21291 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
21292 Intel MPX bound registers before _dl_profile_fixup.
21293 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
21294 registers after _dl_profile_fixup. Save and restore bound
21295 registers bnd0/bnd1 when calling _dl_call_pltexit.
21296 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
21297 (LR_BND_OFFSET): Likewise.
21298 (LRV_BND0_OFFSET): Likewise.
21299 (LRV_BND1_OFFSET): Likewise.
21301 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21303 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
21305 * sysdeps/mach/hurd/i386/tls.h: ... here.
21306 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
21307 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
21310 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21312 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
21314 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21316 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21318 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
21321 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
21322 * sysdeps/s390/configure: Regenerate.
21325 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
21326 Set round-to-nearest internally to reduce error accumulation.
21328 2014-04-16 Alan Modra <amodra@gmail.com>
21332 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
21333 * math/libm-test.inc (frexp_test_data): Add tests.
21334 * NEWS: Update fixed bug list.
21336 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21338 * benchtests/Makefile: Depend on libraries in build directory.
21339 (bench-math): Separate out math tests.
21340 (bench-pthread): Separate out pthread tests.
21341 (bench): Include math and pthread tests.
21343 2014-04-14 Carlos O'Donell <carlos@redhat.com>
21346 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
21347 _dl_debug_initialize.
21349 * configure.ac: Remove SELinux header check.
21350 * configure: Regenerate.
21351 * nscd/selinux.c (perms): Array of const char* to permission names.
21352 (nscd_request_avc_has_perm): Call security_deny_unknown to find
21353 default policy. Call string_to_security_class and string_to_av_perm to
21354 translate strings. Enforce default policy and call avs_has_perm with
21355 results of translated strings.
21357 2014-04-13 David S. Miller <davem@davemloft.net>
21359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21361 2014-04-12 Allan McRae <allan@archlinux.org>
21364 * manual/string.texi (Collation Functions): Fix qsort argument
21366 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21368 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
21370 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
21371 Make the test a no-op if there are no exceptions defined.
21373 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
21375 * elf/Makefile (tests): make tst-dlopen-aout conditional on
21376 enable-hardcoded-path-in-tests
21378 2014-04-11 Will Newton <will.newton@linaro.org>
21380 * benchtests/Makefile (extra-objs): Add json-lib.o.
21381 (bench-func): Tidy up JSON output.
21382 * benchtests/bench-skeleton.c: Include json-lib.h.
21383 (main): Use JSON library functions to do output of
21385 * benchtests/bench-timing-type.c (main): Output the
21386 timing type simply, leaving formatting to the user.
21387 * benchtests/json-lib.c: New file.
21388 * benchtests/json-lib.h: Likewise.
21390 2014-04-11 Torvald Riegel <triegel@redhat.com>
21393 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
21394 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
21395 memory barriers. Add comments.
21396 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
21397 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
21398 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
21399 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
21400 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
21401 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
21403 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21405 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
21406 * sysdeps/s390/s390-64/configure.ac: ... this ...
21407 * sysdeps/s390/configure.ac: ... to here.
21408 * sysdeps/s390/s390-32/configure: Delete file.
21409 * sysdeps/s390/s390-64/configure: Delete file.
21410 * sysdeps/s390/configure: Regenerate.
21412 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
21414 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
21416 2014-04-11 Will Newton <will.newton@linaro.org>
21418 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
21419 to zero if it is not defined elsewhere. (mtrim): Test
21420 the value of MALLOC_DEBUG with #if rather than #ifdef.
21422 2014-04-10 Torvald Riegel <triegel@redhat.com>
21424 * benchtests/pthread_once-inputs: New file.
21425 * benchtests/pthread_once-source.c: New file.
21426 * benchtests/README: Update documentation.
21428 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
21429 H.J. Lu <hongjiu.lu@intel.com>
21432 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
21433 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
21434 * sysdeps/x86_64/configure: Regenerated.
21435 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
21437 (REGISTER_SAVE_RAX): Likewise.
21438 (REGISTER_SAVE_RCX): Likewise.
21439 (REGISTER_SAVE_RDX): Likewise.
21440 (REGISTER_SAVE_RSI): Likewise.
21441 (REGISTER_SAVE_RDI): Likewise.
21442 (REGISTER_SAVE_R8): Likewise.
21443 (REGISTER_SAVE_R9): Likewise.
21444 (REGISTER_SAVE_BND0): Likewise.
21445 (REGISTER_SAVE_BND1): Likewise.
21446 (REGISTER_SAVE_BND2): Likewise.
21447 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
21448 bound registers when calling _dl_fixup.
21450 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21452 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
21453 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
21455 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
21456 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
21457 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
21458 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
21459 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
21460 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
21461 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
21463 2014-04-09 Peter Brett <peter@peter-b.co.uk>
21466 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
21467 pathconf(_PC_NAME_MAX).
21469 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21471 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
21472 Remove macro usage.
21473 (__PTHREAD_SPINS): Move definition to ...
21474 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21475 (__PTHREAD_SPINS): ... here.
21476 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21477 (__PTHREAD_SPIN): Likewise.
21478 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
21479 (__PTHREAD_SPIN): Likewise.
21480 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
21481 (__PTHREAD_SPIN): Likewise.
21482 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
21483 (__PTHREAD_SPIN): Likewise.
21484 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
21485 (__PTHREAD_SPIN): Likewise.
21486 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
21487 (__PTHREAD_SPIN): Likewise.
21488 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
21489 (__PTHREAD_SPIN): Likewise.
21490 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
21491 (__PTHREAD_SPIN): Likewise.
21492 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
21493 (__PTHREAD_SPIN): Likewise.
21494 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
21495 (__PTHREAD_SPIN): Likewise.
21496 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
21497 (__PTHREAD_SPIN): Likewise.
21498 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
21499 (__PTHREAD_SPIN): Likewise.
21501 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
21502 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
21503 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
21504 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
21506 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
21507 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
21508 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
21509 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
21510 correct imply path.
21511 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
21512 strlen symbol for non multi-arch builds.
21513 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
21514 missing hidden_def and weak_alias.
21516 2014-04-08 Carlos O'Donell <carlos@redhat.com>
21518 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
21520 2014-04-07 Will Newton <will.newton@linaro.org>
21522 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
21523 and contents. [!_LIBC] Remove #ifndef and contents.
21524 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
21525 * string/memccpy.c (__memccpy): Use ANSI prototype.
21526 * string/memfrob.c (memfrob): Likewise.
21527 * string/strcoll.c (STRCOLL): Likewise.
21528 * string/strlen.c (strlen): Likewise.
21529 * string/strtok.c (STRTOK): Likewise.
21530 * string/strcat.c: Remove unused #include of memcopy.h.
21531 (strcat): Use ANSI prototype.
21532 * string/strchr.c: Remove unused #include of memcopy.h.
21533 (strchr): Use ANSI prototype.
21534 * string/strcmp.c: Remove unused #include of memcopy.h.
21535 (strcmp): Use ANSI prototype.
21536 * string/strcpy.c: Remove unused #include of memcopy.h.
21537 (strcpy): Use ANSI prototype.
21539 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21541 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
21542 * config.make.in (config-extra-cppflags): Set it from
21543 libc_extra_cppflags.
21544 * configure.ac (libc_extra_cflags): Make it accumulate over
21545 configure fragments.
21546 (libc_extra_cppflags): New flag.
21547 * configure. Regenerate.
21548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21549 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
21550 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
21551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21554 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
21555 result for FE_DOWNWARD rounding mode.
21556 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21560 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
21562 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
21563 in function argument name.
21565 2014-04-03 David Svoboda <svoboda@cert.org>
21568 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
21571 2014-04-03 Roland McGrath <roland@hack.frob.com>
21573 * elf/dl-unmap-segments.h: New file.
21574 * sysdeps/generic/ldsodefs.h
21575 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
21576 * elf/dl-close.c: Include <dl-unmap-segments.h>.
21577 * elf/dl-fptr.c: Likewise.
21578 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
21579 * sysdeps/aarch64/tlsdesc.c: Likewise.
21580 * sysdeps/arm/tlsdesc.c: Likewise.
21581 * sysdeps/i386/tlsdesc.c: Likewise.
21582 * sysdeps/tile/dl-runtime.c: Likewise.
21583 * sysdeps/x86_64/tlsdesc.c: Likewise.
21584 * elf/dl-load.h: New file.
21585 * elf/dl-load.c: Include it.
21586 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
21587 Macros moved to dl-load.h.
21588 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
21589 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
21590 Use _dl_unmap_segments in place of __munmap.
21591 Break out segment-mapping loop into ...
21592 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
21594 2014-04-03 Will Newton <will.newton@linaro.org>
21596 * elf/dl-lookup.c (do_lookup_x): Remove comment
21597 referring to nested function and move variable
21598 declarations down to before first use.
21600 2014-04-02 Joseph Myers <joseph@codesourcery.com>
21604 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
21606 * math/s_catanf.c (__catanf): Likewise.
21607 * math/s_catanh.c (__catanh): Likewise.
21608 * math/s_catanhf.c (__catanhf): Likewise.
21609 * math/s_catanhl.c (__catanhl): Likewise.
21610 * math/s_catanl.c (__catanl): Likewise.
21611 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
21612 by positive zero when computing -Inf result.
21613 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
21614 (catanh_test): Likewise.
21615 * sysdeps/i386/fpu/libm-test-ulps: Update.
21616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21619 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
21620 instead of using underflowing value in computing result.
21621 * math/s_clog10.c (__clog10): Likewise.
21622 * math/s_clog10f.c (__clog10f): Likewise.
21623 * math/s_clog10l.c (__clog10l): Likewise.
21624 * math/s_clogf.c (__clogf): Likewise.
21625 * math/s_clogl.c (__clogl): Likewise.
21626 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
21627 (clog10_test): Likewise.
21628 * sysdeps/i386/fpu/libm-test-ulps: Update.
21629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21631 2014-04-02 Alan Modra <amodra@gmail.com>
21634 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
21635 output when value is near a power of two. Use int64_t for lx and
21636 remove casts. Use decimal rather than hex exponent constants.
21637 Don't use long double multiplication when double will suffice.
21638 * math/libm-test.inc (nextafter_test_data): Add tests.
21639 * NEWS: Add 16739 and 16786 to bug list.
21641 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
21643 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
21645 2014-04-01 Will Newton <will.newton@linaro.org>
21647 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
21648 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
21650 2014-04-01 Florian Weimer <fweimer@redhat.com>
21653 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
21654 * nptl/tst-setuid2.c: New file.
21655 * nptl/Makefile (xtests): Add tst-setuid2.
21657 2014-04-01 Alan Modra <amodra@gmail.com>
21660 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
21662 2014-03-31 Joseph Myers <joseph@codesourcery.com>
21666 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
21667 set errno as appropriate.
21668 * math/w_scalbf.c (__scalbf): Likewise.
21669 * math/w_scalbl.c (__scalbl): Likewise.
21670 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
21671 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
21672 * math/libm-test.inc (scalb_test_data): Add errno expectations.
21673 Add more NaN tests.
21676 * math/w_atan2.c: Include <errno.h>.
21677 (__atan2): Set errno for result underflowing to zero.
21678 * math/w_atan2f.c: Include <errno.h>.
21679 (__atan2f): Set errno for result underflowing to zero.
21680 * math/w_atan2l.c: Include <errno.h>.
21681 (__atan2l): Set errno for result underflowing to zero.
21682 * math/auto-libm-test-in: Don't allow missing errno for some atan2
21684 * math/auto-libm-test-out: Regenerated.
21686 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21688 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21689 Encode instruction correctly in little endian.
21690 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21692 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21694 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21696 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21699 2014-03-31 Joseph Myers <joseph@codesourcery.com>
21702 * sysdeps/unix/sysv/linux/kernel-features.h
21703 [__sparc__ && !__arch64__ && !__sparc_v9__]
21704 (__ASSUME_SET_ROBUST_LIST): Do not define.
21705 [__sparc__ && !__arch64__ && !__sparc_v9__]
21706 (__ASSUME_FUTEX_LOCK_PI): Likewise.
21707 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
21709 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21710 (__ASSUME_FUTEX_LOCK_PI): Undefine.
21711 (__ASSUME_REQUEUE_PI): Likewise.
21712 (__ASSUME_SET_ROBUST_LIST): Likewise.
21713 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21714 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21716 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21717 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21719 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21721 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21723 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21724 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21726 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21727 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21731 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21732 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
21733 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
21735 2014-03-31 Will Newton <will.newton@linaro.org>
21737 * benchtests/Makefile (bench): Add ffs and ffsll to list
21739 * benchtests/ffs-inputs: New file.
21740 * benchtests/ffsll-inputs: Likewise.
21742 2014-03-29 Joseph Myers <joseph@codesourcery.com>
21745 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
21746 too large before casting to int.
21747 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
21748 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
21749 * math/libm-test.inc (scalb_test_data): Add more tests.
21751 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21753 * benchtests/Makefile (DETAILED_OPT): New make option.
21754 (bench-func): Run benchmark program with -d if DETAILED_OPT is
21756 * benchtests/bench-skeleton.c: Include stdbool.h.
21757 (main): Store and print timings per input.
21758 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
21759 member to each argument value.
21760 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
21761 (_print_arg_data): Initialize per-input timing to 0.
21763 * benchtests/Makefile (timing-type): New binary.
21764 (bench-clean): Also remove bench-timing-type.
21765 (bench): New target for timing-type.
21766 (bench-func): Print output in JSON format.
21767 * benchtests/bench-skeleton.c (main): Print output in JSON
21769 * benchtests/bench-timing-type.c: New file.
21770 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
21771 (TIMING_PRINT_STATS): Remove.
21772 * benchtests/scripts/bench.py (_print_arg_data): Store variant
21775 * benchtests/bench-modf.c: Remove.
21776 * benchtests/modf-inputs: New inputs file.
21778 2014-03-28 Joseph Myers <joseph@codesourcery.com>
21781 * math/s_clog10.c (M_PI_LOG10E): New macro.
21782 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
21783 imaginary parts are 0.
21784 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
21785 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
21786 imaginary parts are 0.
21787 * math/s_clog10l.c (M_PI_LOG10El): New macro.
21788 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
21789 imaginary parts are 0.
21790 * math/libm-test.inc (clog10_test_data): Update expected results
21791 for when real and imaginary parts are 0.
21793 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
21795 * elf/dl-load.c: Finish conversion of __builtin_expect into
21796 __glibc_{un}likely.
21798 2014-03-27 Joseph Myers <joseph@codesourcery.com>
21801 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
21802 1+x for argument with exponent below -67.
21803 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
21805 * math/auto-libm-test-in: Add more tests of exp.
21806 * math/auto-libm-test-out: Regenerated.
21808 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21811 * inet/getnetgrent_r.c (get_nonempty_val): New function.
21812 (nscd_getnetgrent): Use it.
21815 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
21818 2014-03-27 Andi Kleen <ak@linux.intel.com>
21820 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
21821 (lll_robust_lock, lll_cond_lock, lll_timedlock)
21822 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21823 (lll_robust_unlock): Remove out of line section. Use cfi
21825 (LLL_STUB_UNWIND_INFO*): Remove.
21826 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
21827 (lll_robust_lock, lll_cond_lock, lll_timedlock)
21828 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21829 (lll_robust_unlock): Remove out of line section. Use cfi
21831 (LLL_STUB_UNWIND_INFO*): Remove.
21833 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21836 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
21839 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
21841 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
21843 2014-03-26 Joseph Myers <joseph@codesourcery.com>
21846 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
21848 * math/test-fenv-preserve.c: New file.
21849 * math/Makefile (tests): Add test-fenv-preserve.
21851 2014-03-26 Will Newton <will.newton@linaro.org>
21853 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
21855 2014-03-25 Roland McGrath <roland@hack.frob.com>
21857 * scripts/versionlist.awk: Partition the version sets and emit all
21858 GLIBC_* (sorted) before all others (sorted).
21860 2014-03-25 Joseph Myers <joseph@codesourcery.com>
21862 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
21863 GLIBC_2.2.5 version.
21865 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21867 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
21870 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
21873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21875 2014-03-25 Andreas Schwab <schwab@suse.de>
21877 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
21878 label to be used after in6ailist is initialized.
21880 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21882 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21883 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21885 2014-03-25 Joseph Myers <joseph@codesourcery.com>
21889 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
21891 (fp_formats): Update initializers.
21892 (init_fp_formats): Initialize new field.
21893 (output_for_one_input_case): Allow underflow for results up to
21895 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
21896 * math/auto-libm-test-in: Don't mark some underflows from asin and
21898 * math/auto-libm-test-out: Regenerated.
21899 * sysdeps/i386/fpu/libm-test-ulps: Update.
21900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21902 2014-03-25 Andreas Schwab <schwab@suse.de>
21904 * libio/Makefile (tst-ftell-partial-wide-ENV)
21905 (tst-ftell-active-handler-ENV): Define.
21907 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
21909 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
21911 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
21913 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
21915 2014-03-24 Joseph Myers <joseph@codesourcery.com>
21917 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
21918 * sysdeps/x86_64/fpu/multiarch/e_exp.c
21919 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21921 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
21924 * elf/dl-load.c (open_verify): Add mode parameter.
21925 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
21926 (open_path): Change from boolean 'secure' to complete flag 'mode'
21927 (_dl_map_object): Adjust.
21928 * elf/Makefile (tests): Add tst-dlopen-aout.
21929 * elf/tst-dlopen-aout.c: New test.
21931 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
21934 * sysdeps/unix/sysv/linux/s390/bits/stat.h
21935 (struct stat): Rename member pad0 to __glibc_reserved0.
21938 * sysdeps/s390/s390-32/bits/wordsize.h
21939 (__WORDSIZE32_SIZE_ULONG): New define.
21940 * sysdeps/s390/s390-64/bits/wordsize.h
21941 (__WORDSIZE32_SIZE_ULONG): Likewise.
21942 * sysdeps/generic/stdint.h (SIZE_MAX):
21943 Define as UL if __WORDSIZE32_SIZE_ULONG.
21946 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
21947 (__glibc_reserved0): New variable.
21948 (sa_flags): Change type to int.
21950 * posix/Makefile (before-compile): Use += before-compile instead
21953 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21954 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21956 2014-03-20 Andreas Schwab <schwab@suse.de>
21959 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
21960 non-matching result from nscd.
21962 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21964 * scripts/bench.py: Moved to ...
21965 * benchtests/scripts/bench.py: ... here.
21966 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
21968 2014-03-24 Andreas Schwab <schwab@suse.de>
21971 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
21972 alloca_account and account alloca use for struct in6ailist.
21974 2014-03-24 Joseph Myers <joseph@codesourcery.com>
21977 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
21978 rounding mode to recompute results that overflow to infinity or
21980 * math/auto-libm-test-in: Don't mark tests as expected to fail for
21982 * math/auto-libm-test-out: Regenerated.
21983 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
21984 (ccosh_test): Likewise.
21985 (csin_test_data): Use plus_oflow.
21986 (csin_test): Use ALL_RM_TEST.
21987 (csinh_test_data): Use plus_oflow.
21988 (csinh_test): Use ALL_RM_TEST.
21989 * sysdeps/i386/fpu/libm-test-ulps: Update.
21990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21992 2014-03-21 Joseph Myers <joseph@codesourcery.com>
21994 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
21995 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
21996 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
21999 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
22000 when x - 1 is zero.
22001 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
22002 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
22003 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22004 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
22006 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
22007 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
22009 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
22010 * sysdeps/i386/fpu/libm-test-ulps: Update.
22011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22013 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22015 * scripts/bench.pl: Remove file.
22016 * scripts/bench.py: New benchmark script.
22017 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
22018 * benchtests/README: Mention python dependency.
22019 * scripts/pylintrc: New file.
22020 * scripts/pylint: New file.
22022 * bits/mathdef.h: Use #ifdef instead of #if.
22023 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
22024 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22025 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
22026 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22027 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
22028 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22030 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22031 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
22033 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
22034 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
22035 and strpbrk-ppc64 objects.
22036 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22037 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
22038 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
22039 multiarch strpbrk for POWER7.
22040 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
22041 multiarch strpbrk for PPC64.
22042 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
22044 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
22045 strpbrk for POWER7.
22047 2014-03-20 Joseph Myers <joseph@codesourcery.com>
22049 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
22050 (atan_test): Likewise.
22051 (atanh_test_data): Use NO_TEST_INLINE for two tests.
22052 (atanh_test): Use ALL_RM_TEST.
22053 (atan2_test_data): Likewise.
22054 (cabs_test): Likewise.
22055 (cacosh_test): Likewise.
22056 (carg_test): Likewise.
22057 (casin_test): Likewise.
22058 (casinh_test): Likewise.
22059 (cbrt_test): Likewise.
22060 (csqrt_test): Likewise.
22061 (erf_test): Likewise.
22062 (erfc_test): Likewise.
22063 (pow10_test): Likewise.
22064 (exp2_test): Likewise.
22065 (hypot_test): Likewise.
22066 (j0_test): Likewise.
22067 (j1_test): Likewise.
22068 (lgamma_test): Likewise.
22069 (gamma_test): Likewise.
22070 (sincos_test): Likewise.
22071 (tanh_test): Likewise.
22072 (y0_test): Likewise.
22073 (y1_test): Likewise.
22074 * sysdeps/i386/fpu/libm-test-ulps: Update.
22075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22077 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22079 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
22080 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
22081 and strcspn-ppc64 objects.
22082 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22083 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
22084 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
22085 multiarch strcspn for POWER7.
22086 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
22087 multiarch strcspn for PPC64.
22088 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
22090 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
22091 strcspn for POWER7.
22093 2014-03-20 Joseph Myers <joseph@codesourcery.com>
22095 * math/gen-libm-test.pl (generate_testfile): Expect only function
22096 name as argument to AUTO_TESTS_* and pass results for all rounding
22097 modes to parse_args.
22098 (parse_auto_input): Separate inputs of automatic tests from
22099 outputs before storing in %auto_tests.
22100 * math/libm-test.inc (acos_test_data): Update call to
22102 (acos_test): Use ALL_RM_TEST.
22103 (acos_tonearest_test_data): Remove.
22104 (acos_test_tonearest): Likewise.
22105 (acos_towardzero_test_data): Likewise.
22106 (acos_test_towardzero): Likewise.
22107 (acos_downward_test_data): Likewise.
22108 (acos_test_downward): Likewise.
22109 (acos_upward_test_data): Likewise.
22110 (acos_test_upward): Likewise.
22111 (acosh_test_data): Update call to AUTO_TESTS_f_f.
22112 (asin_test_data): Likewise.
22113 (asin_test): Use ALL_RM_TEST.
22114 (asin_tonearest_test_data): Remove.
22115 (asin_test_tonearest): Likewise.
22116 (asin_towardzero_test_data): Likewise.
22117 (asin_test_towardzero): Likewise.
22118 (asin_downward_test_data): Likewise.
22119 (asin_test_downward): Likewise.
22120 (asin_upward_test_data): Likewise.
22121 (asin_test_upward): Likewise.
22122 (asinh_test_data): Update call to AUTO_TESTS_f_f.
22123 (atan_test_data): Likewise.
22124 (atanh_test_data): Likewise.
22125 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
22126 (cabs_test_data): Update call to AUTO_TESTS_c_f.
22127 (carg_test_data): Likewise.
22128 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
22129 (ccos_test_data): Update call to AUTO_TESTS_c_c.
22130 (ccosh_test_data): Likewise.
22131 (cexp_test_data): Likewise.
22132 (clog_test_data): Likewise.
22133 (clog10_test_data): Likewise.
22134 (cos_test_data): Update call to AUTO_TESTS_f_f.
22135 (cos_test): Use ALL_RM_TEST.
22136 (cos_tonearest_test_data): Remove.
22137 (cos_test_tonearest): Likewise.
22138 (cos_towardzero_test_data): Likewise.
22139 (cos_test_towardzero): Likewise.
22140 (cos_downward_test_data): Likewise.
22141 (cos_test_downward): Likewise.
22142 (cos_upward_test_data): Likewise.
22143 (cos_test_upward): Likewise.
22144 (cosh_test_data): Update call to AUTO_TESTS_f_f.
22145 (cosh_test): Use ALL_RM_TEST.
22146 (cosh_tonearest_test_data): Remove.
22147 (cosh_test_tonearest): Likewise.
22148 (cosh_towardzero_test_data): Likewise.
22149 (cosh_test_towardzero): Likewise.
22150 (cosh_downward_test_data): Likewise.
22151 (cosh_test_downward): Likewise.
22152 (cosh_upward_test_data): Likewise.
22153 (cosh_test_upward): Likewise.
22154 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
22155 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
22156 (ctan_test_data): Likewise.
22157 (ctan_test): Use ALL_RM_TEST.
22158 (ctan_tonearest_test_data): Remove.
22159 (ctan_test_tonearest): Likewise.
22160 (ctan_towardzero_test_data): Likewise.
22161 (ctan_test_towardzero): Likewise.
22162 (ctan_downward_test_data): Likewise.
22163 (ctan_test_downward): Likewise.
22164 (ctan_upward_test_data): Likewise.
22165 (ctan_test_upward): Likewise.
22166 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
22167 (ctanh_test): Use ALL_RM_TEST.
22168 (ctanh_tonearest_test_data): Remove.
22169 (ctanh_test_tonearest): Likewise.
22170 (ctanh_towardzero_test_data): Likewise.
22171 (ctanh_test_towardzero): Likewise.
22172 (ctanh_downward_test_data): Likewise.
22173 (ctanh_test_downward): Likewise.
22174 (ctanh_upward_test_data): Likewise.
22175 (ctanh_test_upward): Likewise.
22176 (erf_test_data): Update call to AUTO_TESTS_f_f.
22177 (erfc_test_data): Likewise.
22178 (exp_test_data): Likewise.
22179 (exp_test): Use ALL_RM_TEST.
22180 (exp_tonearest_test_data): Remove.
22181 (exp_test_tonearest): Likewise.
22182 (exp_towardzero_test_data): Likewise.
22183 (exp_test_towardzero): Likewise.
22184 (exp_downward_test_data): Likewise.
22185 (exp_test_downward): Likewise.
22186 (exp_upward_test_data): Likewise.
22187 (exp_test_upward): Likewise.
22188 (exp10_test_data): Update call to AUTO_TESTS_f_f.
22189 (exp10_test): Use ALL_RM_TEST.
22190 (exp10_tonearest_test_data): Remove.
22191 (exp10_test_tonearest): Likewise.
22192 (exp10_towardzero_test_data): Likewise.
22193 (exp10_test_towardzero): Likewise.
22194 (exp10_downward_test_data): Likewise.
22195 (exp10_test_downward): Likewise.
22196 (exp10_upward_test_data): Likewise.
22197 (exp10_test_upward): Likewise.
22198 (exp2_test_data): Update call to AUTO_TESTS_f_f.
22199 (expm1_test_data): Likewise.
22200 (expm1_test): Use ALL_RM_TEST.
22201 (expm1_tonearest_test_data): Remove.
22202 (expm1_test_tonearest): Likewise.
22203 (expm1_towardzero_test_data): Likewise.
22204 (expm1_test_towardzero): Likewise.
22205 (expm1_downward_test_data): Likewise.
22206 (expm1_test_downward): Likewise.
22207 (expm1_upward_test_data): Likewise.
22208 (expm1_test_upward): Likewise.
22209 (fma_test_data): Update call to AUTO_TESTS_fff_f.
22210 (fma_test): Use ALL_RM_TEST.
22211 (fma_towardzero_test_data): Remove.
22212 (fma_test_towardzero): Likewise.
22213 (fma_downward_test_data): Likewise.
22214 (fma_test_downward): Likewise.
22215 (fma_upward_test_data): Likewise.
22216 (fma_test_upward): Likewise.
22217 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
22218 (j0_test_data): Update call to AUTO_TESTS_f_f.
22219 (j1_test_data): Likewise.
22220 (jn_test_data): Update call to AUTO_TESTS_if_f.
22221 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
22222 (log_test_data): Update call to AUTO_TESTS_f_f.
22223 (log10_test_data): Likewise.
22224 (log1p_test_data): Likewise.
22225 (log2_test_data): Likewise.
22226 (pow_test_data): Update call to AUTO_TESTS_ff_f.
22227 (pow_tonearest_test_data): Likewise.
22228 (sin_test_data): Update call to AUTO_TESTS_f_f.
22229 (sin_test): Use ALL_RM_TEST.
22230 (sin_tonearest_test_data): Remove.
22231 (sin_test_tonearest): Likewise.
22232 (sin_towardzero_test_data): Likewise.
22233 (sin_test_towardzero): Likewise.
22234 (sin_downward_test_data): Likewise.
22235 (sin_test_downward): Likewise.
22236 (sin_upward_test_data): Likewise.
22237 (sin_test_upward): Likewise.
22238 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
22239 (sinh_test_data): Update call to AUTO_TESTS_f_f.
22240 (sinh_test): Use ALL_RM_TEST.
22241 (sinh_tonearest_test_data): Remove.
22242 (sinh_test_tonearest): Likewise.
22243 (sinh_towardzero_test_data): Likewise.
22244 (sinh_test_towardzero): Likewise.
22245 (sinh_downward_test_data): Likewise.
22246 (sinh_test_downward): Likewise.
22247 (sinh_upward_test_data): Likewise.
22248 (sinh_test_upward): Likewise.
22249 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
22250 (sqrt_test): Use ALL_RM_TEST.
22251 (sqrt_tonearest_test_data): Remove.
22252 (sqrt_test_tonearest): Likewise.
22253 (sqrt_towardzero_test_data): Likewise.
22254 (sqrt_test_towardzero): Likewise.
22255 (sqrt_downward_test_data): Likewise.
22256 (sqrt_test_downward): Likewise.
22257 (sqrt_upward_test_data): Likewise.
22258 (sqrt_test_upward): Likewise.
22259 (tan_test_data): Update call to AUTO_TESTS_f_f.
22260 (tan_test): Use ALL_RM_TEST.
22261 (tan_tonearest_test_data): Remove.
22262 (tan_test_tonearest): Likewise.
22263 (tan_towardzero_test_data): Likewise.
22264 (tan_test_towardzero): Likewise.
22265 (tan_downward_test_data): Likewise.
22266 (tan_test_downward): Likewise.
22267 (tan_upward_test_data): Likewise.
22268 (tan_test_upward): Likewise.
22269 (tanh_test_data): Update call to AUTO_TESTS_f_f.
22270 (tgamma_test_data): Likewise.
22271 (y0_test_data): Likewise.
22272 (y1_test_data): Likewise.
22273 (yn_test_data): Update call to AUTO_TESTS_if_f.
22274 (main): Do not call removed functions.
22276 2014-03-19 Joseph Myers <joseph@codesourcery.com>
22278 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
22279 (ldexp_test_data): Remove.
22280 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
22282 (scalb_test): Use ALL_RM_TEST.
22284 2014-03-19 Andreas Schwab <schwab@suse.de>
22286 * nscd/nscd.service: Also invalidate netgroup cache on reload.
22288 2014-03-19 Joseph Myers <joseph@codesourcery.com>
22291 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22292 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
22293 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
22294 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22295 (__ASSUME_PREADV): Undefine.
22296 (__ASSUME_PWRITEV): Likewise.
22298 2014-03-18 Roland McGrath <roland@hack.frob.com>
22300 * bits/mman-linux.h: Add comment about non-Linux use.
22301 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
22302 bits/mman-linux.h resting place.
22304 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
22305 * bits/mman-linux.h: ... here.
22307 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22309 * conform/conformtest.pl: Add standard definition when calling C
22310 preprocessor on data files.
22311 (checknamespace): Remove unused variable.
22313 2014-03-18 Joseph Myers <joseph@codesourcery.com>
22315 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
22316 minus_oflow, plus_uflow and minus_uflow in expected results.
22317 * math/libm-test.inc (scalbn_test_data): Add more tests of
22318 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
22320 (scalbn_test): Use ALL_RM_TEST.
22321 (scalbln_test_data): Add more tests of negative arguments. Use
22322 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
22323 (scalbln_test): Use ALL_RM_TEST.
22325 2014-03-18 Roland McGrath <roland@hack.frob.com>
22327 * scripts/abilist.awk: Ignore symbols marked with .hidden.
22329 2014-03-18 Will Newton <will.newton@linaro.org>
22331 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
22332 inaccurate comment.
22334 2014-03-18 Joseph Myers <joseph@codesourcery.com>
22336 * Makerules [!subdir] (check-abi): Exit with error status if a
22339 2014-03-17 Joseph Myers <joseph@codesourcery.com>
22341 * math/libm-test.inc (nearbyint_test_data): Include all tests used
22342 for rint. Include results for all rounding modes.
22343 (nearbyint_test): Use ALL_RM_TEST.
22344 (rint_test_data): Include all tests used for nearbyint.
22346 2014-03-17 Will Newton <will.newton@linaro.org>
22348 * nptl/sysdeps/pthread/pthread.h: Revert previous
22351 * sysdeps/generic/ldsodefs.h: Revert previous
22354 * libio/genops.c: Revert previous change.
22355 * libio/libioP.h: Likewise.
22356 * stdio-common/vfprintf.c: Likewise.
22358 * sysdeps/generic/math_private.h: Revert previous
22361 * sysdeps/generic/math_private.h: Check whether
22362 HAVE_RM_CTX is defined with #ifdef rather
22365 * argp/argp-fmtstream.h: Check whether
22366 __STRICT_ANSI__ is defined with #ifdef rather
22368 * argp/argp.h: Likewise.
22370 * libio/genops.c: Check whether
22371 _IO_JUMPS_OFFSET is defined with #ifdef rather
22373 * libio/libioP.h: Likewise.
22374 * stdio-common/vfprintf.c: Likewise.
22376 * sysdeps/generic/ldsodefs.h: Check whether
22377 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
22380 * nptl/sysdeps/pthread/pthread.h: Check
22381 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
22384 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22386 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
22388 * libio/tst-ftell-active-handler.c (do_append_test): Add a
22392 * libio/fileops.c (_IO_file_open): Seek to end of file but
22393 don't cache the offset.
22394 (get_file_offset): Remove function.
22395 (do_ftell): Use cached offset when available.
22396 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
22397 don't cache the offset.
22398 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
22400 (do_one_test): Call it.
22401 (do_ftell_test): Fix up expected old offset for a+ mode.
22402 * libio/wfileops.c (do_ftell_wide): Used cached offset when
22405 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
22406 up test status with function return status.
22407 (do_write_test): Likewise.
22408 (do_append_test): Likewise.
22410 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
22411 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
22414 2014-03-17 Joseph Myers <joseph@codesourcery.com>
22416 * math/gen-libm-test.pl (parse_args): Handle results specified for
22417 each rounding mode separately.
22418 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
22419 tests and results from lrint_tonearest_test_data,
22420 lrint_towardzero_test_data, lrint_downward_test_data and
22421 lrint_upward_test_data.
22422 (lrint_test): Use ALL_RM_TEST.
22423 (lrint_tonearest_test_data): Remove.
22424 (lrint_test_tonearest): Likewise.
22425 (lrint_towardzero_test_data): Likewise.
22426 (lrint_test_towardzero): Likewise.
22427 (lrint_downward_test_data): Likewise.
22428 (lrint_test_downward): Likewise.
22429 (lrint_upward_test_data): Likewise.
22430 (lrint_test_upward): Likewise.
22431 (llrint_test_data): Merge in per-rounding-mode tests and results
22432 from llrint_tonearest_test_data, llrint_towardzero_test_data,
22433 llrint_downward_test_data and llrint_upward_test_data.
22434 (llrint_test): Use ALL_RM_TEST.
22435 (llrint_tonearest_test_data): Remove.
22436 (llrint_test_tonearest): Likewise.
22437 (llrint_towardzero_test_data): Likewise.
22438 (llrint_test_towardzero): Likewise.
22439 (llrint_downward_test_data): Likewise.
22440 (llrint_test_downward): Likewise.
22441 (llrint_upward_test_data): Likewise.
22442 (llrint_test_upward): Likewise.
22443 (rint_test_data): Merge in per-rounding-mode tests and results
22444 from rint_tonearest_test_data, rint_towardzero_test_data,
22445 rint_downward_test_data and rint_upward_test_data. Add
22446 per-rounding-mode results for tests not in those arrays.
22447 (rint_test): Use ALL_RM_TEST.
22448 (rint_tonearest_test_data): Remove.
22449 (rint_test_tonearest): Likewise.
22450 (rint_towardzero_test_data): Likewise.
22451 (rint_test_towardzero): Likewise.
22452 (rint_downward_test_data): Likewise.
22453 (rint_test_downward): Likewise.
22454 (rint_upward_test_data): Likewise.
22455 (rint_test_upward): Likewise.
22456 (main): Don't call removed functions.
22458 2014-03-14 Roland McGrath <roland@hack.frob.com>
22460 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
22461 "Compiled on ..." crapola. It is anti-useful.
22463 2014-03-14 Joseph Myers <joseph@codesourcery.com>
22465 * scripts/evaluate-test.sh: Handle fourth argument to determine
22466 whether test run should stop on failure.
22467 * Makeconfig (stop-on-test-failure): New variable.
22468 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
22469 $(stop-on-test-failure).
22470 * Makefile (tests): Give a summary of results from testing and
22471 exit with failure status if they include an ERROR or FAIL.
22472 (xtests): Likewise.
22473 * manual/install.texi (Configuring and compiling): Mention
22474 stop-on-test-failure=y.
22475 * INSTALL: Regenerated.
22477 2014-03-14 Roland McGrath <roland@hack.frob.com>
22479 * scripts/versionlist.awk: New file.
22480 * Makerules [$(build-shared) = yes]
22481 (postclean-generated): Add Versions.def, not Versions.def.v and
22483 ($(common-objpfx)Versions.def.v.i): Target removed.
22484 ($(common-objpfx)Versions.def): New target.
22485 ($(common-objpfx)Versions.all): Depend on that rather that
22486 $(common-objpfx)Versions.def.v.
22487 * Versions.def: File removed.
22489 * Makeconfig (+gccwarn): Add -Wundef.
22490 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
22491 a dl-sysdep.h breaking its contract.
22492 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
22493 * include/stackinfo.h: New file.
22494 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
22495 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
22496 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
22497 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
22498 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
22499 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
22500 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22501 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22502 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22503 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22504 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22505 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
22506 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22507 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22508 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22510 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22513 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
22515 * math/libm-test.inc (round_test_data): Add more tests.
22518 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
22520 * math/libm-test.inc (nearbyint_test_data): Add more tests.
22523 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
22525 * math/libm-test.inc (ceil_test_data): Add more tests.
22527 * math/libm-test.inc (trunc_test_data): Add more tests related to
22530 2014-03-14 Roland McGrath <roland@hack.frob.com>
22532 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
22533 with #if rather than #ifdef.
22534 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
22536 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
22538 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
22539 first. Disable AVX-512 GCC support if assembler doesn't support
22541 * sysdeps/x86_64/configure: Regenerated.
22543 2014-03-13 Carlos O'Donell <carlos@redhat.com>
22545 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
22546 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
22547 (__old_pthread_attr_setstack): Likewise.
22548 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
22549 [!_STACK_GROWS_DOWN]: Likewise.
22551 2014-03-13 Mike Frysinger <vapier@gentoo.org>
22553 * config.make.in (have-bash2): Delete.
22554 * configure.ac (libc_cv_have_bash2): Delete.
22555 * configure: Regenerate.
22556 * elf/Makefile (common-ldd-rewrite): Rename to ...
22557 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
22558 (sh-ldd-rewrite): Delete.
22559 (bash-ldd-rewrite): Delete.
22560 (have-bash2): Delete checks.
22561 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
22564 * config.make.in (have-ksh): Delete.
22566 * configure.ac (libc_cv_have_ksh): Delete.
22567 * configure: Regenerate.
22569 * elf/Makefile: Delete $(have-ksh) check.
22570 ($(objpfx)sotruss): Change KSH to BASH.
22571 * elf/sotruss.ksh: Rename to ...
22572 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
22573 function style to match POSIX. Drop ksh vim mode setting.
22575 * manual/time.texi (Specifying the Time Zone with TZ): Change
22576 Tuesday to Thursday.
22578 * debug/tst-longjmp_chk2.c: Update header comment.
22579 (stackoverflow_handler): Add comment. Call assert on pass value.
22581 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
22584 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
22585 (HAVE_AVX512_ASM_SUPPORT): Likewise.
22586 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
22587 (La_x86_64_vector): Add zmm.
22588 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
22589 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
22590 ($(objpfx)tst-audit10): New target.
22591 ($(objpfx)tst-audit10.out): Likewise.
22592 (tst-audit10-ENV): New.
22593 (AVX512-CFLAGS): Likewise.
22594 (CFLAGS-tst-audit10.c): Likewise.
22595 (CFLAGS-tst-auditmod10a.c): Likewise.
22596 (CFLAGS-tst-auditmod10b.c): Likewise.
22597 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
22598 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
22599 * sysdeps/x86_64/configure: Regenerated.
22600 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
22601 AVX-512 zmm register support.
22602 (_dl_x86_64_save_sse): Likewise.
22603 (_dl_x86_64_restore_sse): Likewise.
22604 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
22605 size vector registers.
22606 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
22607 (ZMM_SIZE): Likewise.
22608 * sysdeps/x86_64/tst-audit10.c: New file.
22609 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
22610 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
22612 2014-03-13 Roland McGrath <roland@hack.frob.com>
22614 * configure.ac (HAVE_EHDR_START): New check.
22615 * configure: Regenerated.
22616 * config.h.in (HAVE_EHDR_START): New #undef.
22617 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
22618 assuming the lowest-addressed segment maps the start of the file.
22620 2014-03-13 Joseph Myers <joseph@codesourcery.com>
22622 * INSTALL: Regenerated.
22624 2014-03-13 Will Newton <will.newton@linaro.org>
22626 * manual/setjmp.texi (System V contexts): Improve
22627 clarity and grammar of documentation.
22629 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
22632 * elf/Makefile (tests): Add tst-pie2.
22633 (tests-pie): Add tst-pie2.
22634 * elf/tst-pie2.c: New file.
22635 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
22637 * elf/rtld.c (map_doit): Load executable as lt_executable.
22638 (dl_main): Likewise.
22640 2014-03-12 Joseph Myers <joseph@codesourcery.com>
22643 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22644 (__ASSUME_PSELECT): Undefine.
22646 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22649 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
22650 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
22652 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
22653 selector for static builds.
22655 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22658 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
22661 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22663 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
22664 IFUNC selector for static builds.
22666 2014-03-11 Joseph Myers <joseph@codesourcery.com>
22668 * sysdeps/mips/math_private.h [__mips_hard_float]
22669 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
22670 libc_feresetround_mips_ctx.
22671 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
22672 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
22673 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
22676 * math/s_nextafter.c (__nextafter): Do not return value from
22677 overflowing computation.
22678 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
22679 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
22680 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
22682 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22684 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
22685 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
22687 2014-03-11 Roland McGrath <roland@hack.frob.com>
22689 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
22690 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
22691 Move sfi_sp use from the load-multiple (that no longer sets sp) to
22692 the new mov targetting sp.
22694 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22697 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
22698 Define it for static builds as well.
22699 (NO_BZERO_IMPL): Likewise.
22701 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
22703 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
22704 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
22705 multiarch strspn for PPC64.
22706 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
22707 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
22708 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22709 (__libc_ifunc_impl_list): Likewise.
22710 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
22711 multiarch optimizations
22712 * string/strspn.c (strspn): Using macro to redefine symbol name.
22714 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
22715 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22717 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22718 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22719 multiarch strncat for PPC64.
22720 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22721 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22723 (__libc_ifunc_impl_list): Likewise.
22724 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22725 multiarch optimizations
22727 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22730 * nscd/nscd.service: Make service type forking.
22732 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22734 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
22735 sign in non default rounding modes.
22736 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
22738 2014-03-08 Joseph Myers <joseph@codesourcery.com>
22740 * math/libm-test.inc (ALL_RM_TEST): New macro.
22741 (ceil_test): Use ALL_RM_TEST.
22742 (cimag_test): Likewise.
22743 (conj_test): Likewise.
22744 (copysign_test): Likewise.
22745 (cproj_test): Likewise.
22746 (creal_test): Likewise.
22747 (fabs_test): Likewise.
22748 (floor_test): Likewise.
22749 (fmax_test): Likewise.
22750 (fmin_test): Likewise.
22751 (fmod_test): Likewise.
22752 (fpclassify_test): Likewise.
22753 (frexp_test): Likewise.
22754 (ilogb_test): Likewise.
22755 (isfinite_test): Likewise.
22756 (finite_test): Likewise.
22757 (isgreater_test): Likewise.
22758 (isgreaterequal_test): Likewise.
22759 (isinf_test): Likewise.
22760 (isless_test): Likewise.
22761 (islessequal_test): Likewise.
22762 (islessgreater_test): Likewise.
22763 (isnan_test): Likewise.
22764 (isnormal_test): Likewise.
22765 (issignaling_test): Likewise.
22766 (isunordered_test): Likewise.
22767 (logb_test): Likewise.
22768 (logb_downward_test_data): Remove.
22769 (logb_test_downward): Likewise.
22770 (lround_test): Use ALL_RM_TEST.
22771 (llround_test): Likewise.
22772 (modf_test): Likewise.
22773 (nexttoward_test): Likewise.
22774 (remainder_test): Likewise.
22775 (drem_test): Likewise.
22776 (remainder_tonearest_test_data): Likewise.
22777 (remainder_test_tonearest): Likewise.
22778 (drem_test_tonearest): Likewise.
22779 (remainder_towardzero_test_data): Likewise.
22780 (remainder_test_towardzero): Likewise.
22781 (drem_test_towardzero): Likewise.
22782 (remainder_downward_test_data): Likewise.
22783 (remainder_test_downward): Likewise.
22784 (drem_test_downward): Likewise.
22785 (remainder_upward_test_data): Likewise.
22786 (remainder_test_upward): Likewise.
22787 (drem_test_upward): Likewise.
22788 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
22789 (round_test): Use ALL_RM_TEST.
22790 (signbit_test): Likewise.
22791 (trunc_test): Likewise.
22792 (significand_test): Likewise.
22793 (main): Don't call removed functions.
22795 2014-03-07 Joseph Myers <joseph@codesourcery.com>
22798 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
22799 || __USE_XOPEN2K8].
22800 (ILL_ILLOPN): Likewise.
22801 (ILL_ILLADR): Likewise.
22802 (ILL_ILLTRP): Likewise.
22803 (ILL_PRVOPC): Likewise.
22804 (ILL_PRVREG): Likewise.
22805 (ILL_COPROC): Likewise.
22806 (ILL_BADSTK): Likewise.
22807 (FPE_INTDIV): Likewise.
22808 (FPE_INTOVF): Likewise.
22809 (FPE_FLTDIV): Likewise.
22810 (FPE_FLTOVF): Likewise.
22811 (FPE_FLTUND): Likewise.
22812 (FPE_FLTRES): Likewise.
22813 (FPE_FLTINV): Likewise.
22814 (FPE_FLTSUB): Likewise.
22815 (SEGV_MAPERR): Likewise.
22816 (SEGV_ACCERR): Likewise.
22817 (BUS_ADRALN): Likewise.
22818 (BUS_ADRERR): Likewise.
22819 (BUS_OBJERR): Likewise.
22820 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22821 (TRAP_TRACE): Likewise.
22822 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22824 (CLD_KILLED): Likewise.
22825 (CLD_DUMPED): Likewise.
22826 (CLD_TRAPPED): Likewise.
22827 (CLD_STOPPED): Likewise.
22828 (CLD_CONTINUED): Likewise.
22829 (POLL_IN): Likewise.
22830 (POLL_OUT): Likewise.
22831 (POLL_MSG): Likewise.
22832 (POLL_ERR): Likewise.
22833 (POLL_PRI): Likewise.
22834 (POLL_HUP): Likewise.
22835 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
22837 (ILL_ILLOPN): Likewise.
22838 (ILL_ILLADR): Likewise.
22839 (ILL_ILLTRP): Likewise.
22840 (ILL_PRVOPC): Likewise.
22841 (ILL_PRVREG): Likewise.
22842 (ILL_COPROC): Likewise.
22843 (ILL_BADSTK): Likewise.
22844 (FPE_INTDIV): Likewise.
22845 (FPE_INTOVF): Likewise.
22846 (FPE_FLTDIV): Likewise.
22847 (FPE_FLTOVF): Likewise.
22848 (FPE_FLTUND): Likewise.
22849 (FPE_FLTRES): Likewise.
22850 (FPE_FLTINV): Likewise.
22851 (FPE_FLTSUB): Likewise.
22852 (SEGV_MAPERR): Likewise.
22853 (SEGV_ACCERR): Likewise.
22854 (BUS_ADRALN): Likewise.
22855 (BUS_ADRERR): Likewise.
22856 (BUS_OBJERR): Likewise.
22857 (BUS_MCEERR_AR): Likewise.
22858 (BUS_MCEERR_AO): Likewise.
22859 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22860 (TRAP_TRACE): Likewise.
22861 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22863 (CLD_KILLED): Likewise.
22864 (CLD_DUMPED): Likewise.
22865 (CLD_TRAPPED): Likewise.
22866 (CLD_STOPPED): Likewise.
22867 (CLD_CONTINUED): Likewise.
22868 (POLL_IN): Likewise.
22869 (POLL_OUT): Likewise.
22870 (POLL_MSG): Likewise.
22871 (POLL_ERR): Likewise.
22872 (POLL_PRI): Likewise.
22873 (POLL_HUP): Likewise.
22874 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
22875 (ILL_ILLOPN): Likewise.
22876 (ILL_ILLADR): Likewise.
22877 (ILL_ILLTRP): Likewise.
22878 (ILL_PRVOPC): Likewise.
22879 (ILL_PRVREG): Likewise.
22880 (ILL_COPROC): Likewise.
22881 (ILL_BADSTK): Likewise.
22882 (FPE_INTDIV): Likewise.
22883 (FPE_INTOVF): Likewise.
22884 (FPE_FLTDIV): Likewise.
22885 (FPE_FLTOVF): Likewise.
22886 (FPE_FLTUND): Likewise.
22887 (FPE_FLTRES): Likewise.
22888 (FPE_FLTINV): Likewise.
22889 (FPE_FLTSUB): Likewise.
22890 (SEGV_MAPERR): Likewise.
22891 (SEGV_ACCERR): Likewise.
22892 (BUS_ADRALN): Likewise.
22893 (BUS_ADRERR): Likewise.
22894 (BUS_OBJERR): Likewise.
22895 (BUS_MCEERR_AR): Likewise.
22896 (BUS_MCEERR_AO): Likewise.
22897 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22898 (TRAP_TRACE): Likewise.
22899 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22901 (CLD_KILLED): Likewise.
22902 (CLD_DUMPED): Likewise.
22903 (CLD_TRAPPED): Likewise.
22904 (CLD_STOPPED): Likewise.
22905 (CLD_CONTINUED): Likewise.
22906 (POLL_IN): Likewise.
22907 (POLL_OUT): Likewise.
22908 (POLL_MSG): Likewise.
22909 (POLL_ERR): Likewise.
22910 (POLL_PRI): Likewise.
22911 (POLL_HUP): Likewise.
22912 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
22914 (ILL_ILLOPN): Likewise.
22915 (ILL_ILLADR): Likewise.
22916 (ILL_ILLTRP): Likewise.
22917 (ILL_PRVOPC): Likewise.
22918 (ILL_PRVREG): Likewise.
22919 (ILL_COPROC): Likewise.
22920 (ILL_BADSTK): Likewise.
22921 (ILL_BADIADDR): Likewise.
22922 (ILL_BREAK): Likewise.
22923 (FPE_INTDIV): Likewise.
22924 (FPE_INTOVF): Likewise.
22925 (FPE_FLTDIV): Likewise.
22926 (FPE_FLTOVF): Likewise.
22927 (FPE_FLTUND): Likewise.
22928 (FPE_FLTRES): Likewise.
22929 (FPE_FLTINV): Likewise.
22930 (FPE_FLTSUB): Likewise.
22931 (FPE_DECOVF): Likewise.
22932 (FPE_DECDIV): Likewise.
22933 (FPE_DECERR): Likewise.
22934 (FPE_INVASC): Likewise.
22935 (FPE_INVDEC): Likewise.
22936 (SEGV_MAPERR): Likewise.
22937 (SEGV_ACCERR): Likewise.
22938 (SEGV_PSTKOVF): Likewise.
22939 (BUS_ADRALN): Likewise.
22940 (BUS_ADRERR): Likewise.
22941 (BUS_OBJERR): Likewise.
22942 (BUS_MCEERR_AR): Likewise.
22943 (BUS_MCEERR_AO): Likewise.
22944 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22945 (TRAP_TRACE): Likewise.
22946 (TRAP_BRANCH): Likewise.
22947 (TRAP_HWBKPT): Likewise.
22948 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22950 (CLD_KILLED): Likewise.
22951 (CLD_DUMPED): Likewise.
22952 (CLD_TRAPPED): Likewise.
22953 (CLD_STOPPED): Likewise.
22954 (CLD_CONTINUED): Likewise.
22955 (POLL_IN): Likewise.
22956 (POLL_OUT): Likewise.
22957 (POLL_MSG): Likewise.
22958 (POLL_ERR): Likewise.
22959 (POLL_PRI): Likewise.
22960 (POLL_HUP): Likewise.
22961 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
22962 (ILL_ILLOPN): Likewise.
22963 (ILL_ILLADR): Likewise.
22964 (ILL_ILLTRP): Likewise.
22965 (ILL_PRVOPC): Likewise.
22966 (ILL_PRVREG): Likewise.
22967 (ILL_COPROC): Likewise.
22968 (ILL_BADSTK): Likewise.
22969 (FPE_INTDIV): Likewise.
22970 (FPE_INTOVF): Likewise.
22971 (FPE_FLTDIV): Likewise.
22972 (FPE_FLTOVF): Likewise.
22973 (FPE_FLTUND): Likewise.
22974 (FPE_FLTRES): Likewise.
22975 (FPE_FLTINV): Likewise.
22976 (FPE_FLTSUB): Likewise.
22977 (SEGV_MAPERR): Likewise.
22978 (SEGV_ACCERR): Likewise.
22979 (BUS_ADRALN): Likewise.
22980 (BUS_ADRERR): Likewise.
22981 (BUS_OBJERR): Likewise.
22982 (BUS_MCEERR_AR): Likewise.
22983 (BUS_MCEERR_AO): Likewise.
22984 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22985 (TRAP_TRACE): Likewise.
22986 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22988 (CLD_KILLED): Likewise.
22989 (CLD_DUMPED): Likewise.
22990 (CLD_TRAPPED): Likewise.
22991 (CLD_STOPPED): Likewise.
22992 (CLD_CONTINUED): Likewise.
22993 (POLL_IN): Likewise.
22994 (POLL_OUT): Likewise.
22995 (POLL_MSG): Likewise.
22996 (POLL_ERR): Likewise.
22997 (POLL_PRI): Likewise.
22998 (POLL_HUP): Likewise.
22999 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
23000 (ILL_ILLOPN): Likewise.
23001 (ILL_ILLADR): Likewise.
23002 (ILL_ILLTRP): Likewise.
23003 (ILL_PRVOPC): Likewise.
23004 (ILL_PRVREG): Likewise.
23005 (ILL_COPROC): Likewise.
23006 (ILL_BADSTK): Likewise.
23007 (FPE_INTDIV): Likewise.
23008 (FPE_INTOVF): Likewise.
23009 (FPE_FLTDIV): Likewise.
23010 (FPE_FLTOVF): Likewise.
23011 (FPE_FLTUND): Likewise.
23012 (FPE_FLTRES): Likewise.
23013 (FPE_FLTINV): Likewise.
23014 (FPE_FLTSUB): Likewise.
23015 (SEGV_MAPERR): Likewise.
23016 (SEGV_ACCERR): Likewise.
23017 (BUS_ADRALN): Likewise.
23018 (BUS_ADRERR): Likewise.
23019 (BUS_OBJERR): Likewise.
23020 (BUS_MCEERR_AR): Likewise.
23021 (BUS_MCEERR_AO): Likewise.
23022 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23023 (TRAP_TRACE): Likewise.
23024 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23026 (CLD_KILLED): Likewise.
23027 (CLD_DUMPED): Likewise.
23028 (CLD_TRAPPED): Likewise.
23029 (CLD_STOPPED): Likewise.
23030 (CLD_CONTINUED): Likewise.
23031 (POLL_IN): Likewise.
23032 (POLL_OUT): Likewise.
23033 (POLL_MSG): Likewise.
23034 (POLL_ERR): Likewise.
23035 (POLL_PRI): Likewise.
23036 (POLL_HUP): Likewise.
23037 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
23038 (ILL_ILLOPN): Likewise.
23039 (ILL_ILLADR): Likewise.
23040 (ILL_ILLTRP): Likewise.
23041 (ILL_PRVOPC): Likewise.
23042 (ILL_PRVREG): Likewise.
23043 (ILL_COPROC): Likewise.
23044 (ILL_BADSTK): Likewise.
23045 (FPE_INTDIV): Likewise.
23046 (FPE_INTOVF): Likewise.
23047 (FPE_FLTDIV): Likewise.
23048 (FPE_FLTOVF): Likewise.
23049 (FPE_FLTUND): Likewise.
23050 (FPE_FLTRES): Likewise.
23051 (FPE_FLTINV): Likewise.
23052 (FPE_FLTSUB): Likewise.
23053 (SEGV_MAPERR): Likewise.
23054 (SEGV_ACCERR): Likewise.
23055 (BUS_ADRALN): Likewise.
23056 (BUS_ADRERR): Likewise.
23057 (BUS_OBJERR): Likewise.
23058 (BUS_MCEERR_AR): Likewise.
23059 (BUS_MCEERR_AO): Likewise.
23060 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23061 (TRAP_TRACE): Likewise.
23062 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23064 (CLD_KILLED): Likewise.
23065 (CLD_DUMPED): Likewise.
23066 (CLD_TRAPPED): Likewise.
23067 (CLD_STOPPED): Likewise.
23068 (CLD_CONTINUED): Likewise.
23069 (POLL_IN): Likewise.
23070 (POLL_OUT): Likewise.
23071 (POLL_MSG): Likewise.
23072 (POLL_ERR): Likewise.
23073 (POLL_PRI): Likewise.
23074 (POLL_HUP): Likewise.
23075 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
23076 (ILL_ILLOPN): Likewise.
23077 (ILL_ILLADR): Likewise.
23078 (ILL_ILLTRP): Likewise.
23079 (ILL_PRVOPC): Likewise.
23080 (ILL_PRVREG): Likewise.
23081 (ILL_COPROC): Likewise.
23082 (ILL_BADSTK): Likewise.
23083 (ILL_DBLFLT): Likewise.
23084 (ILL_HARDWALL): Likewise.
23085 (FPE_INTDIV): Likewise.
23086 (FPE_INTOVF): Likewise.
23087 (FPE_FLTDIV): Likewise.
23088 (FPE_FLTOVF): Likewise.
23089 (FPE_FLTUND): Likewise.
23090 (FPE_FLTRES): Likewise.
23091 (FPE_FLTINV): Likewise.
23092 (FPE_FLTSUB): Likewise.
23093 (SEGV_MAPERR): Likewise.
23094 (SEGV_ACCERR): Likewise.
23095 (BUS_ADRALN): Likewise.
23096 (BUS_ADRERR): Likewise.
23097 (BUS_OBJERR): Likewise.
23098 (BUS_MCEERR_AR): Likewise.
23099 (BUS_MCEERR_AO): Likewise.
23100 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23101 (TRAP_TRACE): Likewise.
23102 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23104 (CLD_KILLED): Likewise.
23105 (CLD_DUMPED): Likewise.
23106 (CLD_TRAPPED): Likewise.
23107 (CLD_STOPPED): Likewise.
23108 (CLD_CONTINUED): Likewise.
23109 (POLL_IN): Likewise.
23110 (POLL_OUT): Likewise.
23111 (POLL_MSG): Likewise.
23112 (POLL_ERR): Likewise.
23113 (POLL_PRI): Likewise.
23114 (POLL_HUP): Likewise.
23115 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
23116 (ILL_ILLOPN): Likewise.
23117 (ILL_ILLADR): Likewise.
23118 (ILL_ILLTRP): Likewise.
23119 (ILL_PRVOPC): Likewise.
23120 (ILL_PRVREG): Likewise.
23121 (ILL_COPROC): Likewise.
23122 (ILL_BADSTK): Likewise.
23123 (FPE_INTDIV): Likewise.
23124 (FPE_INTOVF): Likewise.
23125 (FPE_FLTDIV): Likewise.
23126 (FPE_FLTOVF): Likewise.
23127 (FPE_FLTUND): Likewise.
23128 (FPE_FLTRES): Likewise.
23129 (FPE_FLTINV): Likewise.
23130 (FPE_FLTSUB): Likewise.
23131 (SEGV_MAPERR): Likewise.
23132 (SEGV_ACCERR): Likewise.
23133 (BUS_ADRALN): Likewise.
23134 (BUS_ADRERR): Likewise.
23135 (BUS_OBJERR): Likewise.
23136 (BUS_MCEERR_AR): Likewise.
23137 (BUS_MCEERR_AO): Likewise.
23138 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23139 (TRAP_TRACE): Likewise.
23140 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23142 (CLD_KILLED): Likewise.
23143 (CLD_DUMPED): Likewise.
23144 (CLD_TRAPPED): Likewise.
23145 (CLD_STOPPED): Likewise.
23146 (CLD_CONTINUED): Likewise.
23147 (POLL_IN): Likewise.
23148 (POLL_OUT): Likewise.
23149 (POLL_MSG): Likewise.
23150 (POLL_ERR): Likewise.
23151 (POLL_PRI): Likewise.
23152 (POLL_HUP): Likewise.
23153 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
23154 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23157 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
23158 before #include of <time.h>.
23159 [!__USE_XOPEN2K] (__need_timespec): Likewise.
23160 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
23161 (test-xfail-UNIX98/sched.h/conform): Likewise.
23163 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
23165 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
23166 error absence of trapping exception support.
23167 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23169 2014-03-07 Joseph Myers <joseph@codesourcery.com>
23171 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
23172 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
23173 * timezone/Makefile (testdata): Move definition above include of
23175 (test-zones): New variable.
23176 (tests-special): Add zone files.
23177 (build-testdata): Use $(evaluate-test).
23179 * elf/Makefile (tests-special): Rename tests to end with .out.
23180 ($(objpfx)noload-mem): Likewise.
23181 ($(objpfx)tst-leaks1-mem): Likewise.
23182 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
23183 * iconv/Makefile (xtests-special): Change test-iconvconfig to
23184 $(objpfx)test-iconvconfig.out.
23185 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
23186 set -e inside subshell and redirect output to file.
23187 * iconvdata/Makefile (generated): Rename tests to end with .out.
23189 (tests-special): Rename tests to end with .out.
23190 ($(objpfx)mtrace-tst-loading): Likewise.
23191 * intl/Makefile (generated): Likewise.
23192 (tests-special): Likewise.
23193 ($(objpfx)mtrace-tst-gettext): Likewise.
23194 * misc/Makefile (generated): Likewise.
23195 (tests-special): Likewise.
23196 ($(objpfx)tst-error1-mem): Likewise.
23197 * nptl/Makefile (tests-special): Likewise.
23198 ($(objpfx)tst-stack3-mem): Likewise.
23199 (generated): Likewise.
23200 * posix/Makefile (generated): Likewise.
23201 (tests-special): Likewise.
23202 (xtests-special): Likewise.
23203 ($(objpfx)tst-fnmatch-mem): Likewise.
23204 ($(objpfx)bug-regex2-mem): Likewise.
23205 ($(objpfx)bug-regex14-mem): Likewise.
23206 ($(objpfx)bug-regex21-mem): Likewise.
23207 ($(objpfx)bug-regex31-mem): Likewise.
23208 ($(objpfx)tst-vfork3-mem): Likewise.
23209 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
23210 ($(objpfx)tst-pcre-mem): Likewise.
23211 ($(objpfx)tst-boost-mem): Likewise.
23212 ($(objpfx)bug-ga2-mem): Likewise.
23213 ($(objpfx)bug-glob2-mem): Likewise.
23214 * resolv/Makefile (generate): Likewise.
23215 (tests-special): Likewise.
23216 (xtests-special): Likewise.
23217 (generated): Likewise.
23218 ($(objpfx)mtrace-tst-leaks): Likewise.
23219 ($(objpfx)mtrace-tst-leaks2): Likewise.
23221 * scripts/merge-test-results.sh: New file.
23222 * Makefile (tests-special-notdir): New variable.
23223 (tests): Run merge-test-results.sh.
23224 (xtests): Likewise.
23225 * Rules (tests-special-notdir): New variable.
23226 (xtests-special-notdir): Likewise.
23227 (tests): Run merge-test-results.sh
23228 (xtests): Likewise.
23230 * Makeconfig (test-xfail-name): New variable.
23231 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
23232 compute variable name for expected failures.
23233 * conform/Makefile (conformtest-headers-data): New variable.
23234 (conformtest-standards): Likewise.
23235 (conformtest-headers-ISO): Likewise.
23236 (conformtest-headers-ISO99): Likewise.
23237 (conformtest-headers-ISO11): Likewise.
23238 (conformtest-headers-POSIX): Likewise.
23239 (conformtest-headers-XPG3): Likewise.
23240 (conformtest-headers-XPG4): Likewise.
23241 (conformtest-headers-UNIX98): Likewise.
23242 (conformtest-headers-XOPEN2K): Likewise.
23243 (conformtest-headers-POSIX2008): Likewise.
23244 (conformtest-headers-XOPEN2K8): Likewise.
23245 (conformtest-header-list-base): Likewise.
23246 (conformtest-header-list-tests): Likewise.
23247 (conformtest-header-base): Likewise.
23248 (conformtest-header-tests): Likewise.
23249 (tests-special): Add $(conformtest-header-list-tests). If
23250 [$(fast-check) && !$(cross-compiling)], add
23251 $(conformtest-header-tests) instead of
23252 $(objpfx)run-conformtest.out.
23253 (generated): Add $(conformtest-header-list-base). If
23254 [$(fast-check) && !$(cross-compiling)], add
23255 $(conformtest-header-base). Remove previous setting.
23256 ($(conformtest-header-list-tests)): New target.
23257 (test-xfail-run-conformtest): Remove variable.
23258 ($(objpfx)run-conformtest.out): Remove target.
23259 (test-xfail-ISO11/complex.h/conform): New variable.
23260 (test-xfail-ISO11/stdalign.h/conform): Likewise.
23261 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
23262 (test-xfail-XPG3/varargs.h/conform): Likewise.
23263 (test-xfail-XPG4/varargs.h/conform): Likewise.
23264 (test-xfail-UNIX98/varargs.h/conform): Likewise.
23265 (test-xfail-XPG4/ndbm.h/conform): Likewise.
23266 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
23267 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
23268 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
23269 (test-xfail-XPG3/fcntl.h/conform): Likewise.
23270 (test-xfail-XPG3/ftw.h/conform): Likewise.
23271 (test-xfail-XPG3/grp.h/conform): Likewise.
23272 (test-xfail-XPG3/langinfo.h/conform): Likewise.
23273 (test-xfail-XPG3/limits.h/conform): Likewise.
23274 (test-xfail-XPG3/pwd.h/conform): Likewise.
23275 (test-xfail-XPG3/search.h/conform): Likewise.
23276 (test-xfail-XPG3/signal.h/conform): Likewise.
23277 (test-xfail-XPG3/stdio.h/conform): Likewise.
23278 (test-xfail-XPG3/stdlib.h/conform): Likewise.
23279 (test-xfail-XPG3/string.h/conform): Likewise.
23280 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
23281 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
23282 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
23283 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
23284 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
23285 (test-xfail-XPG3/sys/types.h/conform): Likewise.
23286 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
23287 (test-xfail-XPG3/termios.h/conform): Likewise.
23288 (test-xfail-XPG3/time.h/conform): Likewise.
23289 (test-xfail-XPG3/unistd.h/conform): Likewise.
23290 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
23291 (test-xfail-XPG4/fcntl.h/conform): Likewise.
23292 (test-xfail-XPG4/langinfo.h/conform): Likewise.
23293 (test-xfail-XPG4/netdb.h/conform): Likewise.
23294 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
23295 (test-xfail-XPG4/signal.h/conform): Likewise.
23296 (test-xfail-XPG4/stdio.h/conform): Likewise.
23297 (test-xfail-XPG4/stdlib.h/conform): Likewise.
23298 (test-xfail-XPG4/stropts.h/conform): Likewise.
23299 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
23300 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
23301 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
23302 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
23303 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
23304 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
23305 (test-xfail-XPG4/sys/time.h/conform): Likewise.
23306 (test-xfail-XPG4/sys/types.h/conform): Likewise.
23307 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
23308 (test-xfail-XPG4/termios.h/conform): Likewise.
23309 (test-xfail-XPG4/ucontext.h/conform): Likewise.
23310 (test-xfail-XPG4/unistd.h/conform): Likewise.
23311 (test-xfail-XPG4/utmpx.h/conform): Likewise.
23312 (test-xfail-POSIX/sched.h/conform): Likewise.
23313 (test-xfail-POSIX/signal.h/conform): Likewise.
23314 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23315 (test-xfail-POSIX/tar.h/conform): Likewise.
23316 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
23317 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
23318 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
23319 (test-xfail-UNIX98/netdb.h/conform): Likewise.
23320 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
23321 (test-xfail-UNIX98/sched.h/conform): Likewise.
23322 (test-xfail-UNIX98/signal.h/conform): Likewise.
23323 (test-xfail-UNIX98/stdio.h/conform): Likewise.
23324 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
23325 (test-xfail-UNIX98/stropts.h/conform): Likewise.
23326 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
23327 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
23328 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
23329 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
23330 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
23331 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
23332 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
23333 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
23334 (test-xfail-UNIX98/unistd.h/conform): Likewise.
23335 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
23336 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
23337 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
23338 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
23339 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
23340 (test-xfail-XOPEN2K/math.h/conform): Likewise.
23341 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
23342 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
23343 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
23344 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
23345 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
23346 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
23347 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
23348 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
23349 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
23350 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
23351 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
23352 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
23353 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
23354 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
23355 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
23356 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
23357 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
23358 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
23359 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
23360 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
23361 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
23362 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
23363 (test-xfail-POSIX2008/signal.h/conform): Likewise.
23364 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
23365 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
23366 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
23367 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
23368 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
23369 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
23370 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
23371 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
23372 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
23373 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
23374 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
23375 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
23376 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
23377 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
23378 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
23379 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
23380 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
23381 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
23382 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
23383 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
23384 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23385 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
23386 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
23387 (conformtest-cc-flags): Likewise.
23388 ($(conformtest-header-tests): New target.
23389 * conform/check-header-lists.sh: New file.
23390 * conform/run-conformtest.sh: Remove.
23392 * conform/conformtest.pl: Allow ' and \ in values given for
23394 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
23396 [POSIX] (sys/types.h): Likewise.
23397 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
23399 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
23401 * conform/data/signal.h-data (SIGIO): Remove expectation.
23402 [XPG3] (SIGBUS): Do not expect.
23403 [POSIX || XPG3] (SIGPOLL): Likewise.
23404 [POSIX || XPG3] (SIGPROF): Likewise.
23405 [POSIX || XPG3] (SIGSYS): Likewise.
23406 [XPG3] (SIGTRAP): Likewise.
23407 [POSIX || XPG3] (SIGURG): Likewise.
23408 [POSIX || XPG3] (SIGVTALRM): Likewise.
23409 [POSIX || XPG3] (SIGXCPU): Likewise.
23410 [POSIX || XPG3] (SIGXFSZ): Likewise.
23411 [POSIX] (SA_SIGINFO): Expect.
23412 [XPG3] (siginfo_t): Do not expect type or contents.
23413 [POSIX] (si_pid): Do not expect element.
23414 [POSIX] (si_uid): Likewise.
23415 [POSIX] (si_addr): Likewise.
23416 [POSIX] (si_status): Likewise.
23417 [POSIX] (si_band): Likewise.
23418 [XPG4] (si_value): Likewise.
23419 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
23420 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
23421 [POSIX || XPG3] (ILL_ILLADR): Likewise.
23422 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
23423 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
23424 [POSIX || XPG3] (ILL_PRVREG): Likewise.
23425 [POSIX || XPG3] (ILL_COPROC): Likewise.
23426 [POSIX || XPG3] (ILL_BADSTK): Likewise.
23427 [POSIX || XPG3] (FPE_INTDIV): Likewise.
23428 [POSIX || XPG3] (FPE_INTOVF): Likewise.
23429 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
23430 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
23431 [POSIX || XPG3] (FPE_FLTUND): Likewise.
23432 [POSIX || XPG3] (FPE_FLTRES): Likewise.
23433 [POSIX || XPG3] (FPE_FLTINV): Likewise.
23434 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
23435 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
23436 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
23437 [POSIX || XPG3] (BUS_ADRALN): Likewise.
23438 [POSIX || XPG3] (BUS_ADRERR): Likewise.
23439 [POSIX || XPG3] (BUS_OBJERR): Likewise.
23440 [POSIX || XPG3] (CLD_EXITED): Likewise.
23441 [POSIX || XPG3] (CLD_KILLED): Likewise.
23442 [POSIX || XPG3] (CLD_DUMPED): Likewise.
23443 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
23444 [POSIX || XPG3] (CLD_STOPPED): Likewise.
23445 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
23446 [POSIX || XPG3] (POLL_IN): Likewise.
23447 [POSIX || XPG3] (POLL_OUT): Likewise.
23448 [POSIX || XPG3] (POLL_MSG): Likewise.
23449 [POSIX || XPG3] (POLL_ERR): Likewise.
23450 [POSIX || XPG3] (POLL_PRI): Likewise.
23451 [POSIX || XPG3] (POLL_HUP): Likewise.
23452 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
23453 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
23454 (SIG*): Do not allow.
23455 [XPG3] (si_*): Likewise.
23456 [XPG3] (SI_*): Likewise.
23457 [XPG3 || XPG4] (sigev_*): Likewise.
23458 [XPG3 || XPG4] (SIGEV_*): Likewise.
23459 [XPG3 || XPG4] (sival_*): Likewise.
23460 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
23461 [POSIX || XPG3] (BUS_*): Likewise.
23462 [POSIX || XPG3] (CLD_*): Likewise.
23463 [POSIX || XPG3] (FPE_*): Likewise.
23464 [POSIX || XPG3] (ILL_*): Likewise.
23465 [POSIX || XPG3] (POLL_*): Likewise.
23466 [POSIX || XPG3] (SEGV_*): Likewise.
23467 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
23468 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
23469 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
23470 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
23471 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
23472 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
23473 Specify type and value.
23474 (TVERSLEN): Likewise.
23475 (REGTYPE): Likewise.
23476 (AREGTYPE): Likewise.
23477 (LNKTYPE): Likewise.
23478 (SYMTYPE): Likewise.
23479 (CHRTYPE): Likewise.
23480 (BLKTYPE): Likewise.
23481 (DIRTYPE): Likewise.
23482 (FIFOTYPE): Likewise.
23483 (CONTTYPE): Likewise.
23487 (TUREAD): Likewise.
23488 (TUWRITE): Likewise.
23489 (TUEXEC): Likewise.
23490 (TGREAD): Likewise.
23491 (TGWRITE): Likewise.
23492 (TGEXEC): Likewise.
23493 (TOREAD): Likewise.
23494 (TOWRITE): Likewise.
23495 (TOEXEC): Likewise.
23496 [POSIX] (TSVTX): Expect constant.
23498 2014-03-06 Joseph Myers <joseph@codesourcery.com>
23500 * Makefile (tests): Change dependencies to ....
23501 (tests-special): ... additions to this variable.
23502 (tests): Depend on $(tests-special).
23503 * Makerules (check-abi-list): New variable.
23504 (check-abi): Depend on $(check-abi-list).
23505 [$(subdir) = elf] (tests-special): Add
23506 $(objpfx)check-abi-libc.out.
23507 [$(build-shared) = yes && subdir] (tests-special): Add
23509 [$(build-shared) = yes && subdir] (tests): Do not depend on
23511 * Rules (tests): Depend on $(tests-special).
23512 (xtests): Depend on $(xtests-special).
23513 * catgets/Makefile (tests): Change dependencies to ....
23514 (tests-special): ... additions to this variable.
23515 * conform/Makefile (tests): Change dependencies to ....
23516 (tests-special): ... additions to this variable.
23517 * elf/Makefile (tests): Change dependencies to ....
23518 (tests-special): ... additions to this variable.
23519 * grp/Makefile (tests): Change dependencies to ....
23520 (tests-special): ... additions to this variable.
23521 * iconv/Makefile (xtests): Change dependencies to ....
23522 (xtests-special): ... additions to this variable.
23523 * iconvdata/Makefile (tests): Change dependencies to ....
23524 (tests-special): ... additions to this variable.
23525 * intl/Makefile (tests): Change dependencies to ....
23526 (tests-special): ... additions to this variable. Also add
23527 $(objpfx)tst-gettext.out.
23528 * io/Makefile (tests): Change dependencies to ....
23529 (tests-special): ... additions to this variable.
23530 * libio/Makefile (tests): Change dependencies to ....
23531 (tests-special): ... additions to this variable.
23532 * malloc/Makefile (tests): Change dependencies to ....
23533 (tests-special): ... additions to this variable.
23534 * misc/Makefile (tests): Change dependencies to ....
23535 (tests-special): ... additions to this variable.
23536 * nptl/Makefile (tests): Change dependencies to ....
23537 (tests-special): ... additions to this variable.
23538 * nptl_db/Makefile (tests): Change dependencies to ....
23539 (tests-special): ... additions to this variable.
23540 * posix/Makefile (tests): Change dependencies to ....
23541 (tests-special): ... additions to this variable.
23542 (xtests): Change dependencies to ....
23543 (xtests-special): ... additions to this variable.
23544 * resolv/Makefile (tests): Change dependencies to ....
23545 (tests-special): ... additions to this variable.
23546 (xtests): Change dependencies to ....
23547 (xtests-special): ... additions to this variable.
23548 * stdio-common/Makefile (tests): Change dependencies to ....
23549 (tests-special): ... additions to this variable.
23550 (do-tst-unbputc): Remove target.
23551 (do-tst-printf): Likewise.
23552 * stdlib/Makefile (tests): Change dependencies to ....
23553 (tests-special): ... additions to this variable.
23554 * string/Makefile (tests): Change dependencies to ....
23555 (tests-special): ... additions to this variable.
23556 * sysdeps/x86/Makefile (tests): Change dependencies to ....
23557 (tests-special): ... additions to this variable.
23559 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
23561 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
23563 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
23564 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
23566 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
23567 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
23568 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
23569 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
23570 * conform/data/libgen.h-data [XPG3]: Likewise.
23571 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
23572 * conform/data/ndbm.h-data [XPG3]: Likewise.
23573 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23574 * conform/data/netdb.h-data [XPG3]: Likewise.
23575 * conform/data/netinet/in.h-data [XPG3]: Likewise.
23576 * conform/data/poll.h-data [XPG3]: Likewise.
23577 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23578 * conform/data/strings.h-data [XPG3]: Likewise.
23579 * conform/data/stropts.h-data [XPG3]: Likewise.
23580 * conform/data/sys/mman.h-data [XPG3]: Likewise.
23581 * conform/data/sys/resource.h-data [XPG3]: Likewise.
23582 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
23584 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
23585 * conform/data/sys/time.h-data [XPG3]: Likewise.
23586 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
23587 * conform/data/sys/uio.h-data [XPG3]: Likewise.
23588 * conform/data/sys/un.h-data [XPG3]: Likewise.
23589 * conform/data/syslog.h-data [XPG3]: Likewise.
23590 * conform/data/ucontext.h-data [XPG3]: Likewise.
23591 * conform/data/utmpx.h-data [XPG3]: Likewise.
23592 * conform/data/varargs.h-data [UNIX98]: Enable file.
23594 * manual/Makefile (INSTALL_INFO): Remove variable setting.
23596 * math/libm-test.inc (struct test_f_f_data): Move expected results
23597 into structure for each rounding mode.
23598 (struct test_ff_f_data): Likewise.
23599 (struct test_ff_f_data_nexttoward): Likewise.
23600 (struct test_fi_f_data): Likewise.
23601 (struct test_fl_f_data): Likewise.
23602 (struct test_if_f_data): Likewise.
23603 (struct test_fff_f_data): Likewise.
23604 (struct test_c_f_data): Likewise.
23605 (struct test_f_f1_data): Likewise.
23606 (struct test_fF_f1_data): Likewise.
23607 (struct test_ffI_f1_data): Likewise.
23608 (struct test_c_c_data): Likewise.
23609 (struct test_cc_c_data): Likewise.
23610 (struct test_f_i_data): Likewise.
23611 (struct test_ff_i_data): Likewise.
23612 (struct test_f_l_data): Likewise.
23613 (struct test_f_L_data): Likewise.
23614 (struct test_fFF_11_data): Likewise.
23616 (RM_FE_DOWNWARD): Likewise.
23617 (RM_FE_TONEAREST): Likewise.
23618 (RM_FE_TOWARDZERO): Likewise.
23619 (RM_FE_UPWARD): Likewise.
23620 (RUN_TEST_LOOP_f_f): Update references to expected results.
23621 (RUN_TEST_LOOP_2_f): Likewise.
23622 (RUN_TEST_LOOP_fff_f): Likewise.
23623 (RUN_TEST_LOOP_c_f): Likewise.
23624 (RUN_TEST_LOOP_f_f1): Likewise.
23625 (RUN_TEST_LOOP_fF_f1): Likewise.
23626 (RUN_TEST_LOOP_fI_f1): Likewise.
23627 (RUN_TEST_LOOP_ffI_f1): Likewise.
23628 (RUN_TEST_LOOP_c_c): Likewise.
23629 (RUN_TEST_LOOP_cc_c): Likewise.
23630 (RUN_TEST_LOOP_f_i): Likewise.
23631 (RUN_TEST_LOOP_f_i_tg): Likewise.
23632 (RUN_TEST_LOOP_ff_i_tg): Likewise.
23633 (RUN_TEST_LOOP_f_b): Likewise.
23634 (RUN_TEST_LOOP_f_b_tg): Likewise.
23635 (RUN_TEST_LOOP_f_l): Likewise.
23636 (RUN_TEST_LOOP_f_L): Likewise.
23637 (RUN_TEST_LOOP_fFF_11): Likewise.
23638 * math/gen-libm-test.pl (parse_args): Output four copies of
23639 expected results for each test.
23641 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23642 (__ASSUME_UTIMES): Remove.
23643 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23644 (__ASSUME_UTIMES): Likewise.
23646 * math/gen-auto-libm-tests.c: Update comment on output format.
23647 (output_for_one_input_case): Generate before-rounding and
23648 after-rounding information as conditions on output flags not
23649 floating-point format.
23650 * math/auto-libm-test-out: Regenerated.
23651 * math/gen-libm-test.pl (cond_value): New function.
23652 (or_cond_value): Use cond_value.
23653 (generate_testfile): Handle conditional exceptions.
23655 2014-03-05 Joseph Myers <joseph@codesourcery.com>
23657 * math/libm-test.inc (max_valid_error): New variable.
23658 (init_max_error): Take new argument specifying whether function
23659 results are exactly determined. Set max_valid_error and bound
23660 other variables for errors based on this argument.
23661 (set_max_error): Do not record results above max_valid_error.
23662 (check_float_internal): Only accept errors of up to 0.5ulps if
23663 also at most max_valid_error.
23664 (START): Take new argument EXACT and pass it to init_max_error.
23665 (acos_test): Update call to START.
23666 (acos_test_tonearest): Likewise.
23667 (acos_test_towardzero): Likewise.
23668 (acos_test_downward): Likewise.
23669 (acos_test_upward): Likewise.
23670 (acosh_test): Likewise.
23671 (asin_test): Likewise.
23672 (asin_test_tonearest): Likewise.
23673 (asin_test_towardzero): Likewise.
23674 (asin_test_downward): Likewise.
23675 (asin_test_upward): Likewise.
23676 (asinh_test): Likewise.
23677 (atan_test): Likewise.
23678 (atanh_test): Likewise.
23679 (atan2_test): Likewise.
23680 (cabs_test): Likewise.
23681 (cacos_test): Likewise.
23682 (cacosh_test): Likewise.
23683 (carg_test): Likewise.
23684 (casin_test): Likewise.
23685 (casinh_test): Likewise.
23686 (catan_test): Likewise.
23687 (catanh_test): Likewise.
23688 (cbrt_test): Likewise.
23689 (ccos_test): Likewise.
23690 (ccosh_test): Likewise.
23691 (ceil_test): Likewise.
23692 (cexp_test): Likewise.
23693 (cimag_test): Likewise.
23694 (clog_test): Likewise.
23695 (clog10_test): Likewise.
23696 (conj_test): Likewise.
23697 (copysign_test): Likewise.
23698 (cos_test): Likewise.
23699 (cos_test_tonearest): Likewise.
23700 (cos_test_towardzero): Likewise.
23701 (cos_test_downward): Likewise.
23702 (cos_test_upward): Likewise.
23703 (cosh_test): Likewise.
23704 (cosh_test_tonearest): Likewise.
23705 (cosh_test_towardzero): Likewise.
23706 (cosh_test_downward): Likewise.
23707 (cosh_test_upward): Likewise.
23708 (cpow_test): Likewise.
23709 (cproj_test): Likewise.
23710 (creal_test): Likewise.
23711 (csin_test): Likewise.
23712 (csinh_test): Likewise.
23713 (csqrt_test): Likewise.
23714 (ctan_test): Likewise.
23715 (ctan_test_tonearest): Likewise.
23716 (ctan_test_towardzero): Likewise.
23717 (ctan_test_downward): Likewise.
23718 (ctan_test_upward): Likewise.
23719 (ctanh_test): Likewise.
23720 (ctanh_test_tonearest): Likewise.
23721 (ctanh_test_towardzero): Likewise.
23722 (ctanh_test_downward): Likewise.
23723 (ctanh_test_upward): Likewise.
23724 (erf_test): Likewise.
23725 (erfc_test): Likewise.
23726 (exp_test): Likewise.
23727 (exp_test_tonearest): Likewise.
23728 (exp_test_towardzero): Likewise.
23729 (exp_test_downward): Likewise.
23730 (exp_test_upward): Likewise.
23731 (exp10_test): Likewise.
23732 (exp10_test_tonearest): Likewise.
23733 (exp10_test_towardzero): Likewise.
23734 (exp10_test_downward): Likewise.
23735 (exp10_test_upward): Likewise.
23736 (pow10_test): Likewise.
23737 (exp2_test): Likewise.
23738 (expm1_test): Likewise.
23739 (expm1_test_tonearest): Likewise.
23740 (expm1_test_towardzero): Likewise.
23741 (expm1_test_downward): Likewise.
23742 (expm1_test_upward): Likewise.
23743 (fabs_test): Likewise.
23744 (fdim_test): Likewise.
23745 (floor_test): Likewise.
23746 (fma_test): Likewise.
23747 (fma_test_towardzero): Likewise.
23748 (fma_test_downward): Likewise.
23749 (fma_test_upward): Likewise.
23750 (fmax_test): Likewise.
23751 (fmin_test): Likewise.
23752 (fmod_test): Likewise.
23753 (fpclassify_test): Likewise.
23754 (frexp_test): Likewise.
23755 (hypot_test): Likewise.
23756 (ilogb_test): Likewise.
23757 (isfinite_test): Likewise.
23758 (finite_test): Likewise.
23759 (isgreater_test): Likewise.
23760 (isgreaterequal_test): Likewise.
23761 (isinf_test): Likewise.
23762 (isless_test): Likewise.
23763 (islessequal_test): Likewise.
23764 (islessgreater_test): Likewise.
23765 (isnan_test): Likewise.
23766 (isnormal_test): Likewise.
23767 (issignaling_test): Likewise.
23768 (isunordered_test): Likewise.
23769 (j0_test): Likewise.
23770 (j1_test): Likewise.
23771 (jn_test): Likewise.
23772 (ldexp_test): Likewise.
23773 (lgamma_test): Likewise.
23774 (gamma_test): Likewise.
23775 (lrint_test): Likewise.
23776 (lrint_test_tonearest): Likewise.
23777 (lrint_test_towardzero): Likewise.
23778 (lrint_test_downward): Likewise.
23779 (lrint_test_upward): Likewise.
23780 (llrint_test): Likewise.
23781 (llrint_test_tonearest): Likewise.
23782 (llrint_test_towardzero): Likewise.
23783 (llrint_test_downward): Likewise.
23784 (llrint_test_upward): Likewise.
23785 (log_test): Likewise.
23786 (log10_test): Likewise.
23787 (log1p_test): Likewise.
23788 (log2_test): Likewise.
23789 (logb_test): Likewise.
23790 (logb_test_downward): Likewise.
23791 (lround_test): Likewise.
23792 (llround_test): Likewise.
23793 (modf_test): Likewise.
23794 (nearbyint_test): Likewise.
23795 (nextafter_test): Likewise.
23796 (nexttoward_test): Likewise.
23797 (pow_test): Likewise.
23798 (pow_test_tonearest): Likewise.
23799 (pow_test_towardzero): Likewise.
23800 (pow_test_downward): Likewise.
23801 (pow_test_upward): Likewise.
23802 (remainder_test): Likewise.
23803 (drem_test): Likewise.
23804 (remainder_test_tonearest): Likewise.
23805 (drem_test_tonearest): Likewise.
23806 (remainder_test_towardzero): Likewise.
23807 (drem_test_towardzero): Likewise.
23808 (remainder_test_downward): Likewise.
23809 (drem_test_downward): Likewise.
23810 (remainder_test_upward): Likewise.
23811 (drem_test_upward): Likewise.
23812 (remquo_test): Likewise.
23813 (rint_test): Likewise.
23814 (rint_test_tonearest): Likewise.
23815 (rint_test_towardzero): Likewise.
23816 (rint_test_downward): Likewise.
23817 (rint_test_upward): Likewise.
23818 (round_test): Likewise.
23819 (scalb_test): Likewise.
23820 (scalbn_test): Likewise.
23821 (scalbln_test): Likewise.
23822 (signbit_test): Likewise.
23823 (sin_test): Likewise.
23824 (sin_test_tonearest): Likewise.
23825 (sin_test_towardzero): Likewise.
23826 (sin_test_downward): Likewise.
23827 (sin_test_upward): Likewise.
23828 (sincos_test): Likewise.
23829 (sinh_test): Likewise.
23830 (sinh_test_tonearest): Likewise.
23831 (sinh_test_towardzero): Likewise.
23832 (sinh_test_downward): Likewise.
23833 (sinh_test_upward): Likewise.
23834 (sqrt_test): Likewise.
23835 (sqrt_test_tonearest): Likewise.
23836 (sqrt_test_towardzero): Likewise.
23837 (sqrt_test_downward): Likewise.
23838 (sqrt_test_upward): Likewise.
23839 (tan_test): Likewise.
23840 (tan_test_tonearest): Likewise.
23841 (tan_test_towardzero): Likewise.
23842 (tan_test_downward): Likewise.
23843 (tan_test_upward): Likewise.
23844 (tanh_test): Likewise.
23845 (tgamma_test): Likewise.
23846 (trunc_test): Likewise.
23847 (y0_test): Likewise.
23848 (y1_test): Likewise.
23849 (yn_test): Likewise.
23850 (significand_test): Likewise.
23852 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
23853 individual tests in comment.
23854 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
23855 (prev_max_error): New variable.
23856 (prev_real_max_error): Likewise.
23857 (prev_imag_max_error): Likewise.
23858 (compare_ulp_data): Don't refer to test names in comment.
23859 (find_test_ulps): Remove function.
23860 (find_function_ulps): Likewise.
23861 (find_complex_function_ulps): Likewise.
23862 (init_max_error): Take function name as argument. Look up ulps
23864 (print_ulps): Remove function.
23865 (print_max_error): Use prev_max_error instead of calling
23866 find_function_ulps.
23867 (print_complex_max_error): Use prev_real_max_error and
23868 prev_imag_max_error instead of calling find_complex_function_ulps.
23869 (check_float_internal): Take max_ulp parameter instead of calling
23870 find_test_ulps. Don't call print_ulps.
23871 (check_float): Update call to check_float_internal.
23872 (check_complex): Update calls to check_float_internal.
23873 (START): Pass argument to init_max_error.
23874 * math/gen-libm-test.pl (%results): Don't include "kind"
23876 (parse_ulps): Don't handle ulps of individual tests.
23877 (print_ulps_file): Likewise.
23878 (output_ulps): Likewise.
23879 * math/README.libm-test: Update.
23880 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
23882 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
23883 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
23884 * sysdeps/arm/libm-test-ulps: Likewise.
23885 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23886 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
23887 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
23888 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
23889 * sysdeps/microblaze/libm-test-ulps: Likewise.
23890 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23891 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23892 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23893 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23894 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23895 * sysdeps/sh/libm-test-ulps: Likewise.
23896 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23897 * sysdeps/tile/libm-test-ulps: Likewise.
23898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23900 2014-03-04 Joseph Myers <joseph@codesourcery.com>
23902 * math/libm-test.inc (print_complex_max_error): Check separately
23903 whether real and imaginary errors are within allowed range and
23904 pass 0 to print_complex_function_ulps instead of value within
23907 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23909 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
23911 (get_handles_fopen): Likewise.
23912 (do_write_test): Likewise.
23914 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
23916 * libio/fileops.c (do_ftell): Use cached offset when
23918 * libio/iofwide.c (do_ftell_wide): Likewise.
23919 * libio/iofdopen.c (_IO_new_fdopen): Don't use
23921 * libio/wfileops.c (_IO_fwide): Don't cache offset.
23924 * libio/libioP.h (get_file_offset): New function.
23925 * libio/fileops.c (get_file_offset): Likewise.
23926 (do_ftell): Likewise.
23927 (_IO_new_file_seekoff): Split out ftell logic.
23928 * libio/wfileops.c (do_ftell_wide): Likewise.
23929 (_IO_wfile_seekoff): Split out ftell logic.
23930 * libio/tst-ftell-active-handler.c: New test case.
23931 * libio/Makefile (tests): Add it.
23933 2014-03-03 Roland McGrath <roland@hack.frob.com>
23935 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
23936 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
23938 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
23941 * nscd/connections.c (nscd_init): Call do_exit.
23942 (start_threads): Call do_exit and notify_parent.
23943 (begin_drop_privileges): Call do_exit.
23944 (finish_drop_privileges): Likewise.
23945 * nscd/selinux.c (preserve_capabilities): Likewise.
23946 (install_real_capabilities): Likewise.
23947 (nscd_selinux_enabled): Likewise.
23948 (avc_create_thread): Likewise.
23949 (avc_alloc_lock): Likewise.
23950 (nscd_avc_init): Likewise.
23951 * nscd/nscd.c (parent_fd): New static variable.
23952 (main): Create a pipe between parent and child processes.
23953 Skip closing parent_fd.
23954 (monitor_child): New function.
23955 (do_exit): Likewise.
23956 (notify_parent): Likewise.
23957 * nscd/nscd.h (notify_parent): Likewise.
23958 (do_exit): Likewise.
23960 2014-03-03 Carlos O'Donell <carlos@redhat.com>
23962 * malloc/malloc.c (__libc_calloc): Revert last change.
23964 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23968 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23970 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
23971 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
23973 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23974 (__libc_ifunc_impl_list): Likewise.
23975 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
23976 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
23977 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
23978 * string/strrchr.c: Define STRRCHR.
23980 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
23982 * benchtest/bench-strtok.c (simple_strtok): Delete.
23983 (strtok_string): Use as benchmark.
23984 * string/strtok (STRTOK): New macro.
23986 2014-02-28 Carlos O'Donell <carlos@redhat.com>
23988 * manual/threads.texi: Add header and standard comments to all
23991 * elf/dl-lookup.c (check_match): New function.
23992 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
23993 (do_lookup_x): Remove nested function check_match. Use non-nested
23994 function check_match.
23996 2014-02-28 Roland McGrath <roland@hack.frob.com>
23998 * csu/Makefile (generated, before-compile): Use += rather than =.
23999 * catgets/Makefile (generated, generated-dirs): Likewise.
24000 * debug/Makefile (generated): Likewise.
24001 * dlfcn/Makefile (generated): Likewise.
24002 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
24003 * iconvdata/Makefile (before-compile, generated): Likewise.
24004 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
24005 * libio/Makefile (generated): Likewise.
24006 * malloc/Makefile (generated): Likewise.
24007 * manual/Makefile (generated, generated-dirs): Likewise.
24008 * misc/Makefile (generated): Likewise.
24009 * posix/Makefile (generated): Likewise.
24010 * resolv/Makefile (generated): Likewise.
24011 * sunrpc/Makefile (generated, generated-dirs): Likewise.
24012 * timezone/Makefile (generated, generated-dirs): Likewise.
24014 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
24016 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24018 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24019 power8 implementation.
24020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
24021 file: POWER8 llround ifunc implementation.
24022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
24023 (__lllround): Add POWER8 implementation.
24024 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
24025 POWER8 llround implementation.
24027 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
24028 power8 implementation.
24029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
24030 file: POWER8 llrint ifunc implementation.
24031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
24032 Add POWER8 implementation.
24033 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
24034 POWER8 llrint implementation.
24036 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
24037 power8 implementation.
24038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
24039 file: POWER8 finite ifunc implementation.
24040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
24041 Add POWER8 implementation.
24042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
24044 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
24045 POWER8 finite implementation.
24046 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
24048 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
24049 power8 implementation.
24050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
24051 file: POWER8 isinf ifunc implementation.
24052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
24053 POWER8 implementation.
24054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
24056 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
24057 isinf implementation.
24058 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
24060 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24061 (INIT_ARCH): Add hwcap2 initialization.
24062 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24063 power8 implementation.
24064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
24065 file: POWER8 isnan ifunc implementation.
24066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
24067 POWER8 implementation.
24068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
24070 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
24071 isnan implementation.
24072 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
24074 2014-02-27 Joey Ye <joey.ye@arm.com>
24076 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
24077 (_FP_NANFRAC_Q): Set to zero.
24079 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24082 * math/auto-libm-test-in: New test inputs.
24083 * math/auto-libm-test-out: Regenerate.
24084 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
24087 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24089 2014-02-27 Joseph Myers <joseph@codesourcery.com>
24091 * scripts/evaluate-test.sh: Take new argument indicating whether
24092 failure is expected.
24093 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
24094 indicating whether failure is expected.
24095 * conform/Makefile (test-xfail-run-conformtest): New variable.
24096 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
24098 * posix/Makefile (test-xfail-annexc): New variable.
24099 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
24101 2014-02-26 Joseph Myers <joseph@codesourcery.com>
24103 * argp/Makefile: Include Makeconfig immediately after defining
24105 * assert/Makefile: Likewise.
24106 * benchtests/Makefile: Likewise.
24107 * catgets/Makefile: Likewise.
24108 * conform/Makefile: Likewise.
24109 * crypt/Makefile: Likewise.
24110 * csu/Makefile: Likewise.
24111 (all): Remove target.
24112 * ctype/Makefile: Include Makeconfig immediately after defining
24114 * debug/Makefile: Likewise.
24115 * dirent/Makefile: Likewise.
24116 * dlfcn/Makefile: Likewise.
24117 * gmon/Makefile: Likewise.
24118 * gnulib/Makefile: Likewise.
24119 * grp/Makefile: Likewise.
24120 * gshadow/Makefile: Likewise.
24121 * hesiod/Makefile: Likewise.
24122 * hurd/Makefile: Likewise.
24123 (all): Remove target.
24124 * iconvdata/Makefile: Include Makeconfig immediately after
24126 * inet/Makefile: Likewise.
24127 * intl/Makefile: Likewise.
24128 * io/Makefile: Likewise.
24129 * libio/Makefile: Likewise.
24130 (all): Remove target.
24131 * locale/Makefile: Include Makeconfig immediately after defining
24133 * login/Makefile: Likewise.
24134 * mach/Makefile: Likewise.
24135 (all): Remove target.
24136 * malloc/Makefile: Include Makeconfig immediately after defining
24138 (all): Remove target.
24139 * manual/Makefile: Include Makeconfig immediately after defining
24141 * math/Makefile: Likewise.
24142 * misc/Makefile: Likewise.
24143 * nis/Makefile: Likewise.
24144 * nss/Makefile: Likewise.
24145 * po/Makefile: Likewise.
24146 (all): Remove target.
24147 * posix/Makefile: Include Makeconfig immediately after defining
24149 * pwd/Makefile: Likewise.
24150 * resolv/Makefile: Likewise.
24151 * resource/Makefile: Likewise.
24152 * rt/Makefile: Likewise.
24153 * setjmp/Makefile: Likewise.
24154 * shadow/Makefile: Likewise.
24155 * signal/Makefile: Likewise.
24156 * socket/Makefile: Likewise.
24157 * soft-fp/Makefile: Likewise.
24158 * stdio-common/Makefile: Likewise.
24159 * stdlib/Makefile: Likewise.
24160 * streams/Makefile: Likewise.
24161 * string/Makefile: Likewise.
24162 * sunrpc/Makefile: Likewise.
24163 (all): Remove target.
24164 * sysvipc/Makefile: Include Makeconfig immediately after defining
24166 * termios/Makefile: Likewise.
24167 * time/Makefile: Likewise.
24168 * timezone/Makefile: Likewise.
24169 (all): Remove target.
24170 * wcsmbs/Makefile: Include Makeconfig immediately after defining
24172 * wctype/Makefile: Likewise.
24174 2014-02-26 Steve Ellcey <sellcey@mips.com>
24176 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
24177 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
24178 (libc_feholdexcept_setround_mips): Ditto.
24179 (libc_feholdsetround): New.
24180 (libc_feholdsetroundf): New.
24181 (libc_feholdsetroundl): New.
24182 (libc_feupdateenv_test_mips): New.
24183 (libc_feupdateenv_test): New.
24184 (libc_feupdateenv_testf): New.
24185 (libc_feupdateenv_testl): New.
24186 (libc_feresetround): New.
24187 (libc_feresetroundf): New.
24188 (libc_feresetroundl): New.
24189 (libc_fetestexcept_mips): New.
24190 (libc_fetestexcept): New.
24191 (libc_fetestexceptf): New.
24192 (libc_fetestexceptl): New.
24193 (HAVE_RM_CTX): New.
24194 (libc_feholdexcept_setround_mips_ctx): New.
24195 (libc_feholdexcept_setround_ctx): New.
24196 (libc_feholdexcept_setroundf_ctx): New.
24197 (libc_feholdexcept_setroundl_ctx): New.
24198 (libc_fesetenv_mips_ctx): New.
24199 (libc_fesetenv_ctx): New.
24200 (libc_fesetenv_ctxf): New.
24201 (libc_fesetenv_ctxl): New.
24202 (libc_feupdateenv_mips_ctx): New.
24203 (libc_feupdateenv_ctx): New.
24204 (libc_feupdateenvf_ctx): New.
24205 (libc_feupdateenvl_ctx): New.
24206 (libc_feholdsetround_mips_ctx): New.
24207 (libc_feholdsetround_ctx): New.
24208 (libc_feholdsetroundf_ctx): New.
24209 (libc_feholdsetroundl_ctx): New.
24210 (libc_feresetround_mips_ctx): New.
24211 (libc_feresetround_ctx): New.
24212 (libc_feresetroundf_ctx): New.
24213 (libc_feresetroundl_ctx): New.
24215 2014-02-26 Carlos O'Donell <carlos@redhat.com>
24217 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
24219 * manual/ipc.texi: New file.
24220 * manual/Makefile (chapters): Add ipc.
24221 * manual/job.texi: Add "Inter-Process Communication" to next.
24222 * manual/process.texi: Add "Inter-Process Communication" to prev.
24224 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24228 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
24230 * malloc/malloc.c (__libc_calloc): Simplify implementation.
24232 * manual/arith.texi: Fix spaces after sentences.
24233 * manual/charset.texi: Likewise.
24234 * manual/errno.texi: Likewise.
24235 * manual/install.texi: Likewise.
24236 * manual/llio.texi: Likewise.
24237 * manual/locale.texi: Likewise.
24238 * manual/maint.texi: Likewise.
24239 * manual/math.texi: Likewise.
24240 * manual/memory.texi: Likewise.
24241 * manual/message.texi: Likewise.
24242 * manual/probes.texi: Likewise.
24243 * manual/resource.texi: Likewise.
24244 * manual/signal.texi: Likewise.
24245 * manual/socket.texi: Likewise.
24246 * manual/stdio.texi: Likewise.
24247 * manual/string.texi: Likewise.
24248 * manual/time.texi: Likewise.
24249 * manual/users.texi: Likewise.
24251 2014-02-25 Carlos O'Donell <carlos@redhat.com>
24254 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
24255 _DEFAULT_SOURCE is defined.
24257 2014-02-25 Ulrich Drepper <drepper@gmail.com>
24258 Carlos O'Donell <carlos@redhat.com>
24261 * elf/dl-tls.c (_dl_count_modids): New function.
24262 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
24263 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
24264 audit library and increment generation counter.
24265 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
24266 * elf/tst-audit9.c: New file.
24267 * elf/tst-auditmod9a.c: New file.
24268 * elf/tst-auditmod9b.c: New file.
24269 * elf/Makefile: Add rules to build and run tst-audit9.
24271 2014-02-25 Florian Weimer <fweimer@redhat.com>
24274 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
24276 2014-02-25 Will Newton <will.newton@linaro.org>
24278 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
24279 (__longjmp): Restore sp and lr before restoring callee
24280 saved registers. Add longjmp and longjmp_target
24281 SystemTap probe point.
24282 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
24283 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
24284 Define to zero to match jmpbuf layout.
24285 * sysdeps/arm/setjmp.S: Include stap-probe.h.
24286 (__sigsetjmp): Save sp and lr before saving callee
24287 saved registers. Add setjmp SystemTap probe point.
24289 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
24291 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24293 2014-02-24 Andreas Schwab <schwab@suse.de>
24296 * elf/pldd.c (wait_for_ptrace_stop): New function.
24297 (main): Call it after attaching.
24299 2014-02-22 Roland McGrath <roland@hack.frob.com>
24301 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
24302 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
24303 Versions files is now verboten.
24304 * hurd/Versions (libc: GLIBC_2.0):
24305 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
24306 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
24307 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
24308 * mach/Versions: Likewise.
24310 * csu/Versions: Remove unused %include.
24311 * resolv/Versions: Likewise.
24313 2014-02-21 Joseph Myers <joseph@codesourcery.com>
24315 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
24316 ($(objpfx)check-local-headers.out): Likewise.
24317 ($(objpfx)begin-end-check.out): Likewise.
24318 * Makerules (check-abi-%.out): Likewise.
24319 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
24320 ($(objpfx)test2.cat): Likewise.
24321 ($(objpfx)de/libc.cat): Likewise.
24322 ($(objpfx)test-gencat.out): Likewise.
24323 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
24324 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
24325 ($(objpfx)noload-mem): Likewise.
24326 ($(objpfx)tst-pathopt.out): Likewise.
24327 ($(objpfx)tst-rtld-load-self.out): Likewise.
24328 ($(objpfx)tst-array1-cmp.out): Likewise.
24329 ($(objpfx)tst-array1-static-cmp.out): Likewise.
24330 ($(objpfx)tst-array2-cmp.out): Likewise.
24331 ($(objpfx)tst-array3-cmp.out): Likewise.
24332 ($(objpfx)tst-array4-cmp.out): Likewise.
24333 ($(objpfx)tst-array5-cmp.out): Likewise.
24334 ($(objpfx)tst-array5-static-cmp.out): Likewise.
24335 ($(objpfx)check-textrel.out): Likewise.
24336 ($(objpfx)check-execstack.out): Likewise.
24337 ($(objpfx)check-localplt.out): Likewise.
24338 ($(objpfx)order2-cmp.out): Likewise.
24339 ($(objpfx)tst-leaks1-mem): Likewise.
24340 ($(objpfx)tst-leaks1-static-mem): Likewise.
24341 ($(objpfx)tst-initorder-cmp.out): Likewise.
24342 ($(objpfx)tst-initorder2-cmp.out): Likewise.
24343 ($(objpfx)tst-unused-dep.out): Likewise.
24344 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
24345 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
24346 * iconv/Makefile (test-iconvconfig): Likewise.
24347 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
24348 ($(objpfx)iconv-test.out): Likewise.
24349 ($(objpfx)tst-tables.out): Likewise.
24350 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
24351 ($(objpfx)tst-gettext.out): Likewise.
24352 ($(objpfx)tst-translit.out): Likewise.
24353 ($(objpfx)tst-gettext2.out): Likewise.
24354 ($(objpfx)tst-gettext4.out): Likewise.
24355 ($(objpfx)tst-gettext6.out): Likewise.
24356 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
24357 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
24358 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
24359 ($(objpfx)tst-fopenloc-mem.out): Likewise.
24360 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
24361 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
24362 * posix/Makefile ($(objpfx)globtest.out): Likewise.
24363 ($(objpfx)wordexp-tst.out): Likewise.
24364 ($(objpfx)annexc.out): Likewise.
24365 ($(objpfx)tst-fnmatch-mem): Likewise.
24366 ($(objpfx)bug-regex2-mem): Likewise.
24367 ($(objpfx)bug-regex14-mem): Likewise.
24368 ($(objpfx)bug-regex21-mem): Likewise.
24369 ($(objpfx)bug-regex31-mem): Likewise.
24370 ($(objpfx)tst-vfork3-mem): Likewise.
24371 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24372 ($(objpfx)tst-pcre-mem): Likewise.
24373 ($(objpfx)tst-boost-mem): Likewise.
24374 ($(objpfx)tst-getconf.out): Likewise.
24375 ($(objpfx)bug-ga2-mem): Likewise.
24376 ($(objpfx)bug-glob2-mem): Likewise.
24377 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
24378 ($(objpfx)mtrace-tst-leaks2): Likewise.
24379 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
24380 ($(objpfx)tst-printf.out): Likewise.
24381 ($(objpfx)tst-setvbuf1.out): Likewise.
24382 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
24383 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
24384 ($(objpfx)tst-fmtmsg.out): Likewise.
24385 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
24386 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
24388 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
24389 * bits/sigaction.h [__USE_MISC]: Likewise.
24390 * bits/waitstatus.h: Update #endif comments.
24391 * ctype/ctype.h: Likewise.
24392 * dirent/dirent.h: Likewise.
24393 [__USE_MISC]: Remove redundant conditionals.
24394 * grp/grp.h: Update #endif comments.
24395 [__USE_GNU]: Remove redundant conditionals.
24396 [__USE_MISC]: Likewise.
24397 * inet/netinet/in.h [__USE_GNU]: Likewise.
24398 * io/sys/stat.h [__USE_MISC]: Likewise.
24399 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
24400 * libio/bits/stdio.h: Update #endif comments.
24401 [__USE_MISC]: Remove redundant conditionals.
24402 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
24403 * libio/stdio.h: Update #endif comments.
24404 [__USE_MISC]: Remove redundant conditionals.
24405 * math/bits/math-finite.h [__USE_MISC]: Likewise.
24406 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
24407 * math/math.h: Update #else and #endif comments.
24408 [__USE_MISC]: Remove redundant conditionals.
24409 * misc/sys/uio.h: Update #endif comments.
24410 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
24411 * posix/glob.h [__USE_MISC]: Likewise.
24412 * posix/sys/types.h: Update #endif comments.
24413 [__USE_MISC]: Remove redundant conditionals.
24414 * posix/sys/wait.h: Update #endif comments.
24415 [__USE_MISC]: Remove redundant conditionals.
24416 * posix/unistd.h: Update #endif comments.
24417 [__USE_MISC]: Remove redundant conditionals.
24418 * pwd/pwd.h [__USE_GNU]: Likewise.
24419 [__USE_MISC]: Likewise.
24420 * resolv/netdb.h [__USE_GNU]: Likewise.
24421 * signal/signal.h: Update #endif comments.
24422 [__USE_MISC]: Remove redundant conditionals.
24423 * stdlib/stdlib.h: Update #else and #endif comments.
24424 [__USE_MISC]: Remove redundant conditionals.
24425 [__USE_GNU]: Likewise.
24426 * string/bits/string2.h [__USE_MISC]: Likewise.
24427 * string/string.h: Update #endif comments.
24428 [__USE_MISC]: Remove redundant conditionals.
24429 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
24431 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
24432 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
24433 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
24435 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
24437 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
24439 [__USE_MISC]: Remove redundant conditionals.
24440 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
24441 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
24442 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
24443 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
24444 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
24446 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
24447 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
24449 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
24450 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
24452 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
24454 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
24455 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
24457 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
24459 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
24460 * sysdeps/x86/bits/string.h: Update #endif comments.
24461 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
24463 * time/sys/time.h: Update #endif comments.
24464 * time/time.h: Likewise.
24465 [__USE_MISC]: Remove redundant conditionals.
24467 2014-02-21 Yury Gribov <y.gribov@samsung.com>
24470 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
24472 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
24474 * Versions.def (librt): Add GLIBC_2.17.
24476 2014-02-21 Adam Conrad <adconrad@0c3.net>
24478 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
24479 synonym for _SYS_AUXV_H to allow direct inclusion.
24480 * sysdeps/sparc/bits/hwcap.h: Likewise.
24481 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
24482 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
24483 * sysdeps/sparc/sysdep.h: Likewise.
24485 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24487 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
24489 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24491 * benchtests/bench-strrchr.c: Print length instead of position.
24493 2014-02-20 Joseph Myers <joseph@codesourcery.com>
24496 * sysdeps/unix/sysv/linux/kernel-features.h
24497 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
24498 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
24499 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
24500 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
24502 [__i386__ || __powerpc__ || __sh__ || __sparc__]
24503 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24504 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
24505 (__ASSUME_SENDMMSG): Define instead of using previous
24506 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
24507 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24508 (__ASSUME_SENDMMSG_SYSCALL): Define.
24509 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24510 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
24512 * sysdeps/unix/sysv/linux/arm/kernel-features.h
24513 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24515 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24516 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24518 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
24519 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24520 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24521 [__ASSUME_SENDMMSG]: Change conditionals to
24522 [__ASSUME_SENDMMSG_SOCKETCALL].
24523 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24524 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
24526 * sysdeps/unix/sysv/linux/mips/kernel-features.h
24527 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
24529 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
24530 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24531 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24532 [!__ASSUME_SENDMMSG]: Change conditional to
24533 [!__ASSUME_SENDMMSG_SOCKETCALL].
24534 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24535 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24539 * sysdeps/unix/sysv/linux/kernel-features.h
24540 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
24541 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
24542 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
24543 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
24544 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24545 [__i386__ || __sparc__]
24546 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24547 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
24548 (__ASSUME_RECVMMSG): Define instead of using previous
24549 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
24550 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24551 (__ASSUME_RECVMMSG_SYSCALL): Define.
24552 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24553 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24555 * sysdeps/unix/sysv/linux/arm/kernel-features.h
24556 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24558 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24559 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24561 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
24562 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24563 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24564 [__ASSUME_RECVMMSG]: Change condition to
24565 [__ASSUME_RECVMMSG_SOCKETCALL].
24566 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24567 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24569 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24570 * sysdeps/unix/sysv/linux/mips/kernel-features.h
24571 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24573 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
24574 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24575 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24576 [!__ASSUME_RECVMMSG]: Change condition to
24577 [!__ASSUME_RECVMMSG_SOCKETCALL].
24578 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24579 (__ASSUME_RECVMMSG_SYSCALL): Define.
24582 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
24583 __powerpc__ || __s390__ || __sh__ || __sparc__]
24584 (__ASSUME_SOCKETCALL): Define.
24585 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
24586 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
24587 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
24588 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
24589 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24590 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24591 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
24592 (__ASSUME_ACCEPT4): Define instead of using previous
24593 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
24594 __powerpc__ || __sparc__ || __s390__)] condition.
24595 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24596 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24597 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
24598 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24599 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24600 [!__ASSUME_ACCEPT4]: Change condition to
24601 [!__ASSUME_ACCEPT4_SOCKETCALL].
24602 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24603 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
24604 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
24605 * sysdeps/unix/sysv/linux/arm/kernel-features.h
24606 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
24607 __ASSUME_ACCEPT4_SYSCALL.
24608 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
24609 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
24610 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24611 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
24612 __ASSUME_ACCEPT4_SYSCALL.
24613 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
24614 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24615 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24616 [__ASSUME_ACCEPT4]: Change condition to
24617 [__ASSUME_ACCEPT4_SOCKETCALL].
24618 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24619 (__ASSUME_SOCKETCALL): Define.
24620 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
24621 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24622 (__ASSUME_SOCKETCALL): Define.
24623 (__ASSUME_ACCEPT4): Remove.
24624 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
24626 * sysdeps/unix/sysv/linux/mips/kernel-features.h
24627 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
24629 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24630 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24632 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
24634 (HWCAP_ARM_LPAE): Likewise.
24635 (HWCAP_ARM_EVTSTRM): Likewise.
24636 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
24637 Add vpfd32, lpae and evtstrm.
24638 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
24641 2014-02-19 Joseph Myers <joseph@codesourcery.com>
24643 * math/auto-libm-test-in: Add tests of clog10.
24644 * math/auto-libm-test-out: Regenerated.
24645 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
24646 * sysdeps/i386/fpu/libm-test-ulps: Update.
24647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24649 2014-02-18 Andreas Schwab <schwab@suse.de>
24652 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24653 Store non-zero if the second buffer was newly allocated.
24654 (send_dg): Likewise.
24655 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
24656 to send_vc and send_dg.
24657 (res_nsend): Pass NULL for ansp2_malloced.
24658 * resolv/res_query.c (__libc_res_nquery): Add parameter
24659 answerp2_malloced and pass it down to __libc_res_nsend.
24660 (res_nquery): Pass additional NULL to __libc_res_nquery.
24661 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
24662 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
24663 second answer buffer if answerp2_malloced was set.
24664 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
24665 (__libc_res_nquerydomain): Add parameter
24666 answerp2_malloced and pass it down to __libc_res_nquery.
24667 (res_nquerydomain): Pass additional NULL to
24668 __libc_res_nquerydomain.
24669 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
24670 additional NULL to __libc_res_nsend and __libc_res_nquery.
24671 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24672 additional NULL to __libc_res_nsearch.
24673 (_nss_dns_gethostbyname4_r): Revert last change. Use new
24674 parameter of __libc_res_nsearch to check for separately allocated
24676 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
24678 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
24679 additional NULL to __libc_res_nquery.
24680 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
24681 __libc_res_nsearch.
24682 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
24683 * include/resolv.h: Update prototypes of __libc_res_nquery,
24684 __libc_res_nsearch, __libc_res_nsend.
24686 2014-02-18 Joseph Myers <joseph@codesourcery.com>
24688 * math/auto-libm-test-in: Add tests of fma.
24689 * math/auto-libm-test-out: Regenerated.
24690 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
24691 (fma_towardzero_test_data): Likewise.
24692 (fma_downward_test_data): Likewise.
24693 (fma_upward_test_data): Likewise.
24694 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
24696 (rounding_modes): Add values for new field.
24697 (func_calc_method): Add value mpfr_fff_f.
24698 (func_calc_desc): Add mpfr_fff_f union field.
24699 (test_function): Add field exact_args.
24700 (FUNC): Add macro argument EXACT_ARGS.
24701 (FUNC_mpfr_f_f): Update call to FUNC.
24702 (FUNC_mpfr_f_f): Likewise.
24703 (FUNC_mpfr_ff_f): Likewise.
24704 (FUNC_mpfr_if_f): Likewise.
24705 (FUNC_mpc_c_f): Likewise.
24706 (FUNC_mpc_c_c): Likewise.
24707 (test_functions): Add fma. Update calls to FUNC.
24708 (handle_input_arg): Add argument exact_args.
24709 (add_test): Update call to handle_input_arg.
24710 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
24711 (output_for_one_input_case): Update call to calc_generic_results.
24712 Recalculate exact zero results in each rounding mode.
24714 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24715 non-negative before setting low bit.
24716 * math/auto-libm-test-in: Mark one asin test possibly having
24717 spurious underflow.
24718 * math/auto-libm-test-out: Regenerated.
24719 * sysdeps/i386/fpu/libm-test-ulps: Update.
24720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24722 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
24724 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24725 * sysdeps/unix/sysv/linux/microblaze: Move directory from
24726 ports/sysdeps/unix/sysv/linux/microblaze.
24727 * README: Add missing listing for microblaze*-*-linux-gnu.
24729 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
24731 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
24734 2014-02-16 Mike Frysinger <vapier@gentoo.org>
24736 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
24737 * sysdeps/unix/sysv/linux/ia64: Move directory from
24738 ports/sysdeps/unix/sysv/linux/ia64.
24739 * README: Update listing for ia64-*-linux-gnu.
24741 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
24742 Joseph Myers <joseph@codesourcery.com>
24744 * Makeconfig (test-name): New variable.
24745 (evaluate-test): Likewise.
24746 * Makerules (do-test-clean): Remove .test-result files.
24747 (common-mostlyclean): Likewise.
24748 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
24749 * scripts/evaluate-test.sh: New file.
24751 2014-02-14 Joseph Myers <joseph@codesourcery.com>
24753 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
24754 separate $(objpfx)tst-fopenloc-cmp.out and
24755 $(objpfx)tst-fopenloc-mem.out targets.
24756 (tests): Update dependencies.
24757 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
24758 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
24759 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
24760 (tst-rxspencer-no-utf8-ARGS): New variable.
24761 (tst-rxspencer-no-utf8-ENV): Likewise.
24762 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
24763 instead of $(objpfx)tst-rxspencer-mem.
24764 ($(objpfx)tst-rxspencer-mem): Change target to
24765 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
24766 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
24767 * posix/tst-rxspencer-no-utf8.c: New file.
24769 * elf/Makefile ($(objpfx)order.out): Remove rule.
24770 [$(run-built-tests) = yes] (tests): Depend on
24771 $(objpfx)order-cmp.out.
24772 ($(objpfx)order-cmp.out): New rule.
24773 [$(run-built-tests) = yes] (tests): Depend on
24774 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
24775 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
24776 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
24777 $(objpfx)tst-array5-static-cmp.out.
24778 ($(objpfx)tst-array1.out): Remove rule.
24779 ($(objpfx)tst-array1-cmp.out): New rule.
24780 ($(objpfx)tst-array1-static.out): Remove rule.
24781 ($(objpfx)tst-array1-static-cmp.out): New rule.
24782 ($(objpfx)tst-array2.out): Remove rule.
24783 ($(objpfx)tst-array2-cmp.out): New rule.
24784 ($(objpfx)tst-array3.out): Remove rule.
24785 ($(objpfx)tst-array3-cmp.out): New rule.
24786 ($(objpfx)tst-array4.out): Remove rule.
24787 ($(objpfx)tst-array4-cmp.out): New rule.
24788 ($(objpfx)tst-array5.out): Remove rule.
24789 ($(objpfx)tst-array5-cmp.out): New rule.
24790 ($(objpfx)tst-array5-static.out): Remove rule.
24791 ($(objpfx)tst-array5-static-cmp.out): New rule.
24792 [$(run-built-tests) = yes] (tests): Depend on
24793 $(objpfx)order2-cmp.out.
24794 ($(objpfx)order2.out): Remove rule.
24795 ($(objpfx)order2-cmp.out): New rule.
24796 ($(objpfx)tst-initorder.out): Remove rule.
24797 [$(run-built-tests) = yes] (tests): Depend on
24798 $(objpfx)tst-initorder-cmp.out.
24799 ($(objpfx)tst-initorder-cmp.out): New rule.
24800 ($(objpfx)tst-initorder2.out): Remove rule.
24801 [$(run-built-tests) = yes] (tests): Depend on
24802 $(objpfx)tst-initorder2-cmp.out.
24803 ($(objpfx)tst-initorder2-cmp.out): New rule.
24804 [$(run-built-tests) = yes] (tests): Depend on
24805 $(objpfx)tst-unused-dep-cmp.out.
24806 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
24807 ($(objpfx)tst-unused-dep-cmp.out): New rule.
24808 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
24809 on $(objpfx)tst-setvbuf1-cmp.out.
24810 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
24811 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
24812 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
24813 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
24814 ($(objpfx)tst-svc.out): Remove rule.
24815 ($(objpfx)tst-svc-cmp.out): New rule.
24817 2014-02-13 Joseph Myers <joseph@codesourcery.com>
24819 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
24820 * ctype/ctype.h [__USE_MISC]: Likewise.
24821 * dirent/dirent.h [__USE_MISC]: Likewise.
24822 * grp/grp.h [__USE_MISC]: Likewise.
24823 * io/fcntl.h [__USE_MISC]: Likewise.
24824 * io/sys/stat.h [__USE_MISC]: Likewise.
24825 * libio/stdio.h [__USE_MISC]: Likewise.
24826 * posix/unistd.h [__USE_MISC]: Likewise.
24827 * pwd/pwd.h [__USE_MISC]: Likewise.
24828 * stdlib.h [__USE_MISC]: Likewise.
24829 * string/bits/string2.h [__USE_MISC]: Likewise.
24830 * string/string.h [__USE_MISC]: Likewise.
24831 * time/time.h [__USE_MISC]: Likewise.
24833 2014-02-13 Andreas Schwab <schwab@suse.de>
24836 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
24837 second answer buffer if it was separately allocated.
24839 2014-02-12 Joseph Myers <joseph@codesourcery.com>
24841 * sysdeps/mips/math-tests.h: Include <features.h>.
24842 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24843 (ROUNDING_TESTS_long_double): Do not define.
24844 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24845 (EXCEPTION_TESTS_long_double): Likewise.
24846 * sysdeps/mips/mips64/libm-test-ulps: Update.
24848 * include/features.h (__USE_BSD): Remove macro definitions.
24849 (__USE_SVID): Likewise.
24850 (_BSD_SOURCE): Likewise.
24851 (_SVID_SOURCE): Likewise.
24852 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
24853 from definition of _DEFAULT_SOURCE.
24854 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
24856 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
24857 * bits/mman.h [__USE_BSD]: Likewise.
24858 * bits/termios.h [__USE_BSD]: Likewise.
24859 * bits/waitstatus.h [__USE_BSD]: Likewise.
24860 * ctype/ctype.h [__USE_SVID]: Likewise.
24861 * dirent/dirent.h [__USE_BSD]: Likewise.
24862 * grp/grp.h [__USE_SVID]: Likewise.
24863 [__USE_BSD]: Likewise.
24864 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
24865 * io/fcntl.h [__USE_BSD]: Likewise.
24866 * io/ftw.h [__USE_BSD]: Likewise.
24867 * io/sys/stat.h [__USE_BSD]: Likewise.
24868 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
24869 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
24870 * libio/stdio.h [__USE_SVID]: Likewise.
24871 [__USE_BSD]: Likewise.
24872 * math/math.h [__USE_SVID]: Likewise.
24873 [__USE_BSD]: Likewise.
24874 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
24875 * misc/bits/syslog.h [__USE_BSD]: Likewise.
24876 * misc/search.h [__USE_SVID]: Likewise.
24877 * misc/sys/mman.h [__USE_BSD]: Likewise.
24878 * misc/sys/syslog.h [__USE_BSD]: Likewise.
24879 * misc/sys/uio.h [__USE_BSD]: Likewise.
24880 * posix/bits/unistd.h [__USE_BSD]: Likewise.
24881 * posix/glob.h [__USE_BSD]: Likewise.
24882 * posix/regex.h [__USE_BSD]: Likewise.
24883 * posix/sys/types.h [__USE_BSD]: Likewise.
24884 [__USE_SVID]: Likewise.
24885 * posix/sys/utsname.h [__USE_SVID]: Likewise.
24886 * posix/sys/wait.h [__USE_BSD]: Likewise.
24887 [__USE_SVID]: Likewise.
24888 * posix/unistd.h [__USE_BSD]: Likewise.
24889 [__USE_SVID]: Likewise.
24890 * pwd/pwd.h [__USE_SVID]: Likewise.
24891 * resolv/netdb.h [__USE_BSD]: Likewise.
24892 * setjmp/setjmp.h [__USE_BSD]: Likewise.
24893 * signal/signal.h [__USE_BSD]: Likewise.
24894 [__USE_SVID]: Likewise.
24895 * socket/sys/socket.h [__USE_BSD]: Likewise.
24896 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
24897 * stdlib/stdlib.h [__USE_BSD]: Likewise.
24898 [__USE_SVID]: Likewise.
24899 * string/bits/string2.h [__USE_BSD]: Likewise.
24900 [__USE_SVID]: Likewise.
24901 * string/bits/string3.h [__USE_BSD]: Likewise.
24902 * string/endian.h [__USE_BSD]: Likewise.
24903 * string/string.h [__USE_SVID]: Likewise.
24904 [__USE_BSD]: Likewise.
24905 * string/strings.h [__USE_BSD]: Likewise.
24906 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
24907 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
24908 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
24909 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
24910 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
24911 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
24913 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
24915 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
24916 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
24918 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
24919 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
24921 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
24923 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
24924 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
24925 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
24927 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
24929 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
24930 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
24931 * termios/termios.h [__USE_BSD]: Likewise.
24932 * time/sys/time.h [__USE_BSD]: Likewise.
24933 * time/time.h [__USE_BSD]: Likewise.
24934 [__USE_SVID]: Likewise.
24936 * Makefile (subdir_targets): Remove subdir_lint.out.
24938 * stdio-common/Makefile (do-tst-unbputc): Remove target.
24939 (do-tst-printf): Likewise.
24940 (tests): Depend directly on $(objpfx)tst-unbputc.out and
24941 $(objpfx)tst-printf.out.
24943 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
24945 * Makerules (check-abi-%): Change target to
24946 $(objpfx)check-abi-%.out.
24947 (check-abi target): Update dependencies.
24948 (check-abi-pattern variable): Redirect output of diff to $@.
24949 (check-abi variable): Likewise.
24950 * elf/Makefile (check-abi): Update dependencies.
24952 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
24954 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
24955 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
24957 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
24958 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
24959 value has largest subnormal exponent.
24960 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
24961 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
24962 * sysdeps/aarch64/soft-fp/sfp-machine.h
24963 (_FP_TININESS_AFTER_ROUNDING): New macro.
24964 * sysdeps/alpha/soft-fp/sfp-machine.h
24965 (_FP_TININESS_AFTER_ROUNDING): Likewise.
24966 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24968 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
24969 (_FP_TININESS_AFTER_ROUNDING): Likewise.
24970 * sysdeps/mips/soft-fp/sfp-machine.h
24971 (_FP_TININESS_AFTER_ROUNDING): Likewise.
24972 * sysdeps/powerpc/soft-fp/sfp-machine.h
24973 (_FP_TININESS_AFTER_ROUNDING): Likewise.
24974 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24976 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24977 (_FP_TININESS_AFTER_ROUNDING): Likewise.
24978 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24979 (_FP_TININESS_AFTER_ROUNDING): Likewise.
24980 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24983 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
24986 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
24989 2014-02-12 Richard Henderson <rth@redhat.com>
24991 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
24992 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
24993 * sysdeps/unix/sysv/linux/alpha: Move directory from
24994 ports/sysdeps/unix/sysv/linux/alpha.
24995 * README: Update listing for alpha-*-linux-gnu.
24997 2014-02-11 Joseph Myers <joseph@codesourcery.com>
24999 * include/features.h: Update comment documenting feature test
25001 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
25003 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
25004 (_SVID_SOURCE): Likewise.
25005 (_DEFAULT_SOURCE): Update description of default features.
25006 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
25008 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
25009 (S_ISVTX): Likewise.
25010 * manual/math.texi (Mathematical Constants): Likewise.
25011 * manual/signal.texi (Interrupted Primitives): Likewise.
25012 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
25013 * math/test-matherr.c (_SVID_SOURCE): Do not define.
25014 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
25015 Don't refer to _SVID_SOURCE in warning text.
25017 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25019 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
25021 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
25022 * sysdeps/mips/dl-lookup.c: Remove.
25023 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
25025 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
25028 * math/auto-libm-test-in: Add testcase for expl.
25029 * math/auto-libm-test-out: Regenerate.
25030 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
25031 calculation of unsafe.
25032 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
25034 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
25036 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
25037 * sysdeps/unix/sysv/linux/aarch64: Move directory from
25038 ports/sysdeps/unix/sysv/linux/aarch64.
25039 * README: Update listing for aarch64*-*-linux-gnu.
25041 2014-02-11 Will Newton <will.newton@linaro.org>
25043 * manual/probes.texi (Mathematical Function Probes): Use
25044 "triggered" instead of "hit".
25046 * manual/probes.texi (Internal Probes): Add documentation
25047 of setjmp, longjmp and longjmp_target probes.
25049 * include/stap-probe.h: Add comment about probe argument
25052 * malloc/mtrace.c (attribute_hidden): Remove unused macro
25053 definition. (tr_where, tr_freehook, tr_mallochook,
25054 tr_reallochook, tr_memalignhook): Use ANSI protoype.
25056 2014-02-11 David S. Miller <davem@davemloft.net>
25058 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
25059 processing int_tests.
25061 2014-02-10 Joseph Myers <joseph@codesourcery.com>
25063 * sysdeps/mips: Move directory from ports/sysdeps/mips.
25064 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
25065 * sysdeps/unix/sysv/linux/mips: Move directory from
25066 ports/sysdeps/unix/sysv/linux/mips.
25067 * README: Update listing for mips-*-linux-gnu and
25068 mips64-*-linux-gnu.
25070 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
25072 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
25073 * sysdeps/unix/sysv/linux/m68k: Move directory from
25074 ports/sysdeps/unix/sysv/linux/m68k.
25075 * README: Update listing for m68k-*-linux-gnu.
25077 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
25079 * sysdeps/tile: Move directory from ports/sysdeps/tile.
25080 * sysdeps/unix/sysv/linux/generic: Move directory from
25081 ports/sysdeps/unix/sysv/linux/generic.
25082 * sysdeps/unix/sysv/linux/tile: Move directory from
25083 ports/sysdeps/unix/sysv/linux/tile.
25084 * README: Update listing for tile*-*-linux-gnu.
25086 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
25088 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
25090 * benchtests/bench-memmem.c (simple_memmem): Likewise.
25091 * catgets/open_catalog.c (__open_catalog): Likewise.
25092 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
25093 * debug/confstr_chk.c: Likewise.
25094 * debug/fread_chk.c (__fread_chk): Likewise.
25095 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
25096 * debug/getgroups_chk.c: Likewise.
25097 * debug/mbsnrtowcs_chk.c: Likewise.
25098 * debug/mbsrtowcs_chk.c: Likewise.
25099 * debug/mbstowcs_chk.c: Likewise.
25100 * debug/memcpy_chk.c: Likewise.
25101 * debug/memmove_chk.c: Likewise.
25102 * debug/mempcpy_chk.c: Likewise.
25103 * debug/memset_chk.c: Likewise.
25104 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25105 * debug/strcat_chk.c (__strcat_chk): Likewise.
25106 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
25107 * debug/strncat_chk.c (__strncat_chk): Likewise.
25108 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
25109 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
25110 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
25111 * debug/wcpncpy_chk.c: Likewise.
25112 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25113 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
25114 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
25115 * debug/wcsncpy_chk.c: Likewise.
25116 * debug/wcsnrtombs_chk.c: Likewise.
25117 * debug/wcsrtombs_chk.c: Likewise.
25118 * debug/wcstombs_chk.c: Likewise.
25119 * debug/wmemcpy_chk.c: Likewise.
25120 * debug/wmemmove_chk.c: Likewise.
25121 * debug/wmempcpy_chk.c: Likewise.
25122 * debug/wmemset_chk.c: Likewise.
25123 * dirent/scandirat.c (SCANDIRAT): Likewise.
25124 * dlfcn/dladdr1.c (dladdr1): Likewise.
25125 * dlfcn/dladdr.c (dladdr): Likewise.
25126 * dlfcn/dlclose.c (dlclose_doit): Likewise.
25127 * dlfcn/dlerror.c (__dlerror): Likewise.
25128 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
25129 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
25130 * dlfcn/dlopen.c (dlopen_doit): Likewise.
25131 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
25132 * dlfcn/dlsym.c (dlsym_doit): Likewise.
25133 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
25134 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
25135 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
25137 * elf/dl-conflict.c: Likewise.
25138 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
25139 * elf/dl-dst.h: Likewise.
25140 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
25141 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
25142 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
25143 * elf/dl-init.c (call_init, _dl_init): Likewise.
25144 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
25145 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
25146 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
25148 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
25150 * elf/dl-minimal.c (__libc_memalign): Likewise.
25151 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
25152 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25153 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
25154 * elf/dl-sym.c (do_sym): Likewise.
25155 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
25156 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
25157 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
25158 * elf/dl-writev.h (_dl_writev): Likewise.
25159 * elf/ldconfig.c (search_dir): Likewise.
25160 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
25161 (dl_main): Likewise.
25162 * elf/setup-vdso.h (setup_vdso): Likewise.
25163 * grp/compat-initgroups.c (compat_call): Likewise.
25164 * grp/fgetgrent.c (fgetgrent): Likewise.
25165 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
25166 * grp/putgrent.c (putgrent): Likewise.
25167 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25169 * hurd/hurdinit.c: Likewise.
25170 * iconvdata/8bit-gap.c (struct): Likewise.
25171 * iconvdata/ansi_x3.110.c : Likewise.
25172 * iconvdata/big5.c : Likewise.
25173 * iconvdata/big5hkscs.c : Likewise.
25174 * iconvdata/cp1255.c: Likewise.
25175 * iconvdata/cp1258.c : Likewise.
25176 * iconvdata/cp932.c : Likewise.
25177 * iconvdata/euc-cn.c: Likewise.
25178 * iconvdata/euc-jisx0213.c : Likewise.
25179 * iconvdata/euc-jp.c: Likewise.
25180 * iconvdata/euc-jp-ms.c : Likewise.
25181 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
25182 * iconvdata/gb18030.c : Likewise.
25183 * iconvdata/gbbig5.c (const): Likewise.
25184 * iconvdata/gbgbk.c: Likewise.
25185 * iconvdata/gbk.c : Likewise.
25186 * iconvdata/ibm1364.c : Likewise.
25187 * iconvdata/ibm930.c : Likewise.
25188 * iconvdata/ibm932.c: Likewise.
25189 * iconvdata/ibm933.c : Likewise.
25190 * iconvdata/ibm935.c : Likewise.
25191 * iconvdata/ibm937.c : Likewise.
25192 * iconvdata/ibm939.c : Likewise.
25193 * iconvdata/ibm943.c: Likewise.
25194 * iconvdata/iso_11548-1.c: Likewise.
25195 * iconvdata/iso-2022-cn.c : Likewise.
25196 * iconvdata/iso-2022-cn-ext.c : Likewise.
25197 * iconvdata/iso-2022-jp-3.c: Likewise.
25198 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
25199 * iconvdata/iso-2022-kr.c : Likewise.
25200 * iconvdata/iso646.c (gconv_end): Likewise.
25201 * iconvdata/iso_6937-2.c : Likewise.
25202 * iconvdata/iso_6937.c : Likewise.
25203 * iconvdata/iso8859-1.c: Likewise.
25204 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
25205 * iconvdata/shift_jisx0213.c : Likewise.
25206 * iconvdata/sjis.c : Likewise.
25207 * iconvdata/t.61.c : Likewise.
25208 * iconvdata/tcvn5712-1.c : Likewise.
25209 * iconvdata/tscii.c: Likewise.
25210 * iconvdata/uhc.c : Likewise.
25211 * iconvdata/unicode.c (gconv_end): Likewise.
25212 * iconvdata/utf-16.c (gconv_end): Likewise.
25213 * iconvdata/utf-32.c (gconv_end): Likewise.
25214 * iconvdata/utf-7.c (base64): Likewise.
25215 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
25216 * iconv/gconv_close.c (__gconv_close): Likewise.
25217 * iconv/gconv_open.c (__gconv_open): Likewise.
25218 * iconv/gconv_simple.c (internal_ucs4_loop_single)
25219 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
25220 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
25221 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
25222 (ucs4le_internal_loop_single): Likewise.
25223 * iconv/iconv.c (iconv): Likewise.
25224 * iconv/iconv_close.c: Likewise.
25225 * iconv/loop.c (SINGLE): Likewise.
25226 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
25227 * include/atomic.h: Likewise.
25228 * inet/inet6_option.c (option_alloc): Likewise.
25229 * intl/bindtextdom.c (set_binding_values): Likewise.
25230 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
25231 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
25232 * intl/localealias.c (read_alias_file): Likewise.
25233 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25234 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
25235 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
25236 * libio/fmemopen.c (fmemopen): Likewise.
25237 * libio/iofgets.c (_IO_fgets): Likewise.
25238 * libio/iofgets_u.c (fgets_unlocked): Likewise.
25239 * libio/iofgetws.c (fgetws): Likewise.
25240 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
25241 * libio/iogetdelim.c (_IO_getdelim): Likewise.
25242 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
25243 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
25244 * locale/findlocale.c (_nl_find_locale): Likewise.
25245 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
25246 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
25248 * locale/setlocale.c (setlocale): Likewise.
25249 * login/programs/pt_chown.c (main): Likewise.
25250 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
25251 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
25252 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
25253 (mmap, mmap64, mremap, munmap): Likewise.
25254 * math/e_exp2l.c: Likewise.
25255 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
25256 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
25257 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
25258 * math/s_catan.c (__catan): Likewise.
25259 * math/s_catanf.c (__catanf): Likewise.
25260 * math/s_catanh.c (__catanh): Likewise.
25261 * math/s_catanhf.c (__catanhf): Likewise.
25262 * math/s_catanhl.c (__catanhl): Likewise.
25263 * math/s_catanl.c (__catanl): Likewise.
25264 * math/s_ccosh.c (__ccosh): Likewise.
25265 * math/s_ccoshf.c (__ccoshf): Likewise.
25266 * math/s_ccoshl.c (__ccoshl): Likewise.
25267 * math/s_cexp.c (__cexp): Likewise.
25268 * math/s_cexpf.c (__cexpf): Likewise.
25269 * math/s_cexpl.c (__cexpl): Likewise.
25270 * math/s_clog10.c (__clog10): Likewise.
25271 * math/s_clog10f.c (__clog10f): Likewise.
25272 * math/s_clog10l.c (__clog10l): Likewise.
25273 * math/s_clog.c (__clog): Likewise.
25274 * math/s_clogf.c (__clogf): Likewise.
25275 * math/s_clogl.c (__clogl): Likewise.
25276 * math/s_csin.c (__csin): Likewise.
25277 * math/s_csinf.c (__csinf): Likewise.
25278 * math/s_csinh.c (__csinh): Likewise.
25279 * math/s_csinhf.c (__csinhf): Likewise.
25280 * math/s_csinhl.c (__csinhl): Likewise.
25281 * math/s_csinl.c (__csinl): Likewise.
25282 * math/s_csqrt.c (__csqrt): Likewise.
25283 * math/s_csqrtf.c (__csqrtf): Likewise.
25284 * math/s_csqrtl.c (__csqrtl): Likewise.
25285 * math/s_ctan.c (__ctan): Likewise.
25286 * math/s_ctanf.c (__ctanf): Likewise.
25287 * math/s_ctanh.c (__ctanh): Likewise.
25288 * math/s_ctanhf.c (__ctanhf): Likewise.
25289 * math/s_ctanhl.c (__ctanhl): Likewise.
25290 * math/s_ctanl.c (__ctanl): Likewise.
25291 * math/w_pow.c: Likewise.
25292 * math/w_powf.c: Likewise.
25293 * math/w_powl.c: Likewise.
25294 * math/w_scalb.c (sysv_scalb): Likewise.
25295 * math/w_scalbf.c (sysv_scalbf): Likewise.
25296 * math/w_scalbl.c (sysv_scalbl): Likewise.
25297 * misc/error.c (error_tail): Likewise.
25298 * misc/pselect.c (__pselect): Likewise.
25299 * nis/nis_callback.c (__nis_create_callback): Likewise.
25300 * nis/nis_call.c (__nisfind_server): Likewise.
25301 * nis/nis_creategroup.c (nis_creategroup): Likewise.
25302 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
25303 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
25304 * nis/nis_getservlist.c (nis_getservlist): Likewise.
25305 * nis/nis_lookup.c (nis_lookup): Likewise.
25306 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
25307 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
25308 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
25309 * nis/nis_xdr.c (xdr_endpoint): Likewise.
25310 * nis/nss_compat/compat-grp.c (getgrent_next_file)
25311 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
25312 * nis/nss_compat/compat-initgroups.c (add_group)
25313 (internal_getgrent_r): Likewise.
25314 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
25315 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
25316 * nis/nss_compat/compat-spwd.c (getspent_next_file)
25317 (internal_getspnam_r): Likewise.
25318 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
25319 (_nss_nis_getaliasbyname_r): Likewise.
25320 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
25321 (_nss_nis_getntohost_r): Likewise.
25322 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
25323 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
25324 (_nss_nis_getgrgid_r): Likewise.
25325 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
25326 (internal_nis_gethostent_r, internal_gethostbyname2_r)
25327 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
25328 (_nss_nis_gethostbyname4_r): Likewise.
25329 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
25330 (initgroups_netid): Likewise.
25331 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
25332 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
25333 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
25334 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
25335 (_nss_nis_getprotobynumber_r): Likewise.
25336 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
25337 (_nss_nis_getsecretkey): Likewise.
25338 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
25339 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
25340 (_nss_nis_getpwuid_r): Likewise.
25341 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
25342 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
25343 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
25344 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
25345 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
25346 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
25347 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
25349 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
25350 (_nss_nisplus_getntohost_r): Likewise.
25351 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
25352 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
25353 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
25354 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
25356 * nis/nss_nisplus/nisplus-initgroups.c
25357 (_nss_nisplus_initgroups_dyn): Likewise.
25358 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
25359 (_nss_nisplus_getnetbyaddr_r): Likewise.
25360 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
25361 (_nss_nisplus_getprotobynumber_r): Likewise.
25362 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
25363 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
25364 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
25366 * nis/nss_nisplus/nisplus-service.c
25367 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
25368 (_nss_nisplus_getservbyport_r): Likewise.
25369 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
25370 (_nss_nisplus_getspnam_r): Likewise.
25371 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
25373 * nscd/aicache.c (addhstaiX): Likewise.
25374 * nscd/cache.c (cache_search, prune_cache): Likewise.
25375 * nscd/connections.c (register_traced_file, send_ro_fd)
25376 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
25377 (main_loop_epoll): Likewise.
25378 * nscd/grpcache.c (addgrbyX): Likewise.
25379 * nscd/hstcache.c (addhstbyX): Likewise.
25380 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25381 * nscd/mem.c (gc, mempool_alloc): Likewise.
25382 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
25383 (addinnetgrX): Likewise.
25384 * nscd/nscd-client.h (__nscd_acquire_maplock)
25385 (__nscd_drop_map_ref): Likewise.
25386 * nscd/nscd_getai.c (__nscd_getai): Likewise.
25387 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25388 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
25390 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
25391 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25392 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
25393 (__nscd_get_map_ref): Likewise.
25394 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
25395 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
25397 * nscd/pwdcache.c (addpwbyX): Likewise.
25398 * nscd/selinux.c (preserve_capabilities): Likewise.
25399 * nscd/servicescache.c (addservbyX): Likewise.
25400 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
25401 * posix/fnmatch.c (fnmatch): Likewise.
25402 * posix/getopt.c (_getopt_internal_r): Likewise.
25403 * posix/glob.c (glob, glob_in_dir): Likewise.
25404 * posix/wordexp.c (exec_comm_child): Likewise.
25405 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
25406 (getanswer_r, gaih_getanswer_slice): Likewise.
25407 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
25408 * resolv/res_init.c: Likewise.
25409 * resolv/res_mkquery.c (res_nmkquery): Likewise.
25410 * resolv/res_query.c (__libc_res_nquery): Likewise.
25411 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
25413 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
25414 * stdio-common/perror.c (perror): Likewise.
25415 * stdio-common/printf_fp.c (___printf_fp): Likewise.
25416 * stdio-common/tmpnam.c (tmpnam): Likewise.
25417 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25418 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
25419 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25421 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
25422 * stdlib/putenv.c (putenv): Likewise.
25423 * stdlib/setenv.c (__add_to_environ): Likewise.
25424 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25425 * stdlib/strtol_l.c (INTERNAL): Likewise.
25426 * string/memmem.c (memmem): Likewise.
25427 * string/strerror.c (strerror): Likewise.
25428 * string/strnlen.c (__strnlen): Likewise.
25429 * string/test-memmem.c (simple_memmem): Likewise.
25430 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
25431 * sunrpc/pm_getport.c (__get_socket): Likewise.
25432 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
25433 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
25434 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
25435 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
25437 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
25438 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25439 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
25440 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
25441 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
25442 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
25444 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
25446 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25447 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25448 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25449 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25450 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
25451 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
25452 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
25453 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
25454 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
25455 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
25456 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25457 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
25459 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
25461 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
25463 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
25464 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25465 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
25466 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
25467 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
25468 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
25469 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
25470 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
25471 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
25472 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
25473 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
25474 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25475 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25476 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
25477 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25478 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25480 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
25482 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
25484 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
25486 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25487 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25488 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
25490 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
25491 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
25492 * sysdeps/posix/opendir.c (__opendirat): Likewise.
25493 * sysdeps/posix/sleep.c: Likewise.
25494 * sysdeps/posix/tempname.c: Likewise.
25495 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
25496 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25498 * sysdeps/powerpc/powerpc32/dl-machine.h
25499 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
25500 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25501 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25502 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
25503 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
25505 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
25506 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
25507 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25508 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
25509 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25510 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
25511 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
25512 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
25513 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25514 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
25515 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
25516 (elf_machine_lazy_rel): Likewise.
25517 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25518 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
25519 (elf_machine_lazy_rel): Likewise.
25520 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
25521 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
25522 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
25523 * sysdeps/unix/grantpt.c (grantpt): Likewise.
25524 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
25525 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
25526 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
25527 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25529 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25530 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25531 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
25532 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
25533 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25534 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25535 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
25536 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
25537 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
25538 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25539 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25541 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
25542 (__posix_fallocate64_l64): Likewise.
25543 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
25544 (posix_fallocate): Likewise.
25545 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25547 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25548 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
25549 (getifaddrs_internal): Likewise.
25550 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
25551 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
25552 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25553 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25554 * sysdeps/unix/sysv/linux/posix_fallocate64.c
25555 (__posix_fallocate64_l64): Likewise.
25556 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25558 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
25559 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
25560 (__get_clockfreq): Likewise.
25561 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
25562 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25563 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
25564 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25565 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25566 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
25567 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
25568 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
25570 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
25571 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
25572 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25573 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
25574 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25575 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
25576 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
25578 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25579 (posix_fallocate): Likewise.
25580 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25581 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25582 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
25583 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
25584 (elf_machine_rela, elf_machine_rela_relative)
25585 (elf_machine_lazy_rel): Likewise.
25586 * time/asctime.c (asctime_internal): Likewise.
25587 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
25588 * time/tzset.c (__tzset_parse_tz): Likewise.
25589 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25590 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25591 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
25592 * wcsmbs/wcsmbsload.h: Likewise.
25595 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
25597 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
25598 (arena_get2): Remove THREAD_STATS conditionals.
25599 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
25600 (__malloc_stats, int): Likewise.
25602 2014-02-08 Mike Frysinger <vapier@gentoo.org>
25604 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
25605 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
25607 * manual/setjmp.texi: Fix typos/grammar errors.
25609 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
25610 Only return early when n is <= 0. Delete unused return statement.
25612 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
25613 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25614 * debug/tst-longjmp_chk3.c: New file.
25616 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
25617 (test_main): Replace code with set_fortify_handler call.
25618 * debug/test-strcpy_chk.c: Likewise.
25619 * debug/tst-chk1.c: Likewise.
25620 * debug/tst-longjmp_chk.c: Likewise.
25621 * test-skeleton.c: Include fcntl.h & paths.h
25622 (set_fortify_handler): Define.
25624 * debug/tst-longjmp_chk.c: Add header comment and include
25625 ../test-skeleton.c.
25626 (do_test): Mark static.
25627 (TEST_FUNCTION): Define.
25629 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
25630 (IP_PMTUDISC_INTERFACE): Likewise.
25631 (IP_MULTICAST_IF): Likewise.
25632 (IP_MULTICAST_TTL): Likewise.
25633 (IP_MULTICAST_LOOP): Likewise.
25634 (IP_ADD_MEMBERSHIP): Likewise.
25635 (IP_DROP_MEMBERSHIP): Likewise.
25636 (IP_UNBLOCK_SOURCE): Likewise.
25637 (IP_BLOCK_SOURCE): Likewise.
25638 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
25639 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
25640 (IP_MSFILTER): Likewise.
25641 (MCAST_JOIN_GROUP): Likewise.
25642 (MCAST_BLOCK_SOURCE): Likewise.
25643 (MCAST_UNBLOCK_SOURCE): Likewise.
25644 (MCAST_LEAVE_GROUP): Likewise.
25645 (MCAST_JOIN_SOURCE_GROUP): Likewise.
25646 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25647 (MCAST_MSFILTER): Likewise.
25648 (IP_MULTICAST_ALL): Likewise.
25649 (IP_UNICAST_IF): Likewise.
25651 * timezone/Makefile: Delete $(have-ksh) check.
25652 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
25653 * timezone/tzselect.ksh: Add +x mode bits.
25655 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
25656 (ANON_INODE_FS_MAGIC): Likewise.
25657 (BDEVFS_MAGIC): Likewise.
25658 (BINFMTFS_MAGIC): Likewise.
25659 (BTRFS_TEST_MAGIC): Likewise.
25660 (CRAMFS_MAGIC_WEND): Likewise.
25661 (DEBUGFS_MAGIC): Likewise.
25662 (ECRYPTFS_SUPER_MAGIC): Likewise.
25663 (EXT3_SUPER_MAGIC): Likewise.
25664 (EXT4_SUPER_MAGIC): Likewise.
25665 (FUTEXFS_SUPER_MAGIC): Likewise.
25666 (HOSTFS_SUPER_MAGIC): Likewise.
25667 (HUGETLBFS_MAGIC): Likewise.
25668 (MINIX3_SUPER_MAGIC): Likewise.
25669 (MTD_INODE_FS_MAGIC): Likewise.
25670 (NILFS_SUPER_MAGIC): Likewise.
25671 (OPENPROM_SUPER_MAGIC): Likewise.
25672 (PIPEFS_MAGIC): Likewise.
25673 (PSTOREFS_MAGIC): Likewise.
25674 (QNX6_SUPER_MAGIC): Likewise.
25675 (RAMFS_MAGIC): Likewise.
25676 (REISERFS_SUPER_MAGIC_STRING): Likewise.
25677 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
25678 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
25679 (SECURITYFS_MAGIC): Likewise.
25680 (SELINUX_MAGIC): Likewise.
25681 (SMACK_MAGIC): Likewise.
25682 (SOCKFS_MAGIC): Likewise.
25683 (SQUASHFS_MAGIC): Likewise.
25684 (STACK_END_MAGIC): Likewise.
25685 (TMPFS_MAGIC): Likewise.
25686 (USBDEVICE_SUPER_MAGIC): Likewise.
25687 (V9FS_MAGIC): Likewise.
25688 (XENFS_SUPER_MAGIC): Likewise.
25689 (CRAMFS_MAGIC): Fix typo in comment.
25690 (EXT2_SUPER_MAGIC): Update comment.
25691 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
25693 2014-02-08 Joseph Myers <joseph@codesourcery.com>
25695 * sysdeps/arm: Move directory from ports/sysdeps/arm.
25696 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
25697 * sysdeps/unix/sysv/linux/arm: Move directory from
25698 ports/sysdeps/unix/sysv/linux/arm.
25699 * README: Update listing for arm-*-linux-gnueabi.
25701 * README: Remove mention of am33.
25703 2014-02-07 Roland McGrath <roland@hack.frob.com>
25705 * bits/sigset.h (__sigemptyset): Use a statement expression rather
25706 than the comma operator, to avoid "rhs of comma has no effect"
25708 (__sigfillset, __sigandset, __sigorset): Likewise.
25709 * include/signal.h (__sigemptyset): Likewise.
25710 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
25712 2014-02-07 Allan McRae <allan@archlinux.org>
25714 * version.h (RELEASE): Set to "development".
25715 (VERSION): Set to "2.19.90"
25716 * NEWS: Add 2.20 section.
25718 2014-02-06 Carlos O'Donell <carlos@redhat.com>
25721 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25723 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25725 * manual/contrib.texi: Update entry for Carlos O'Donell,
25726 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25728 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
25730 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
25732 * sysdeps/unix/sysv/linux/kernel-features.h
25733 [__LINUX_KERNEL_VERSION >= 0x020621]
25734 (__ASSUME_PROC_PID_TASK_COMM): Define.
25736 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25739 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
25740 conversion when destination buffer does not have enough space.
25741 * libio/tst-ftell-partial-wide.c: New test case.
25742 * libio/Makefile (tests): Add tst-ftell-partial-wide.
25744 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
25745 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
25746 Leonard and Allan McRae.
25748 2014-02-04 David S. Miller <davem@davemloft.net>
25750 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
25753 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25782 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25784 * nptl/shlib-versions: Change powerpc*le start to 2.17.
25785 * shlib-versions: Likewise.
25787 2014-02-04 Roland McGrath <roland@hack.frob.com>
25788 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25790 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
25791 (abilist-pattern): New variable, set to %-le.abilist.
25793 * Makerules (abilist-pattern): New variable.
25794 (vpath): Use $(abilist-pattern) in place of %.abilist.
25795 (check-abi-% pattern rule): Likewise.
25796 (check-abi, update-abi): Likewise.
25798 2014-02-04 Eric Wong <normalperson@yhbt.net>
25800 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25802 2014-02-03 Carlos O'Donell <carlos@redhat.com>
25804 * manual/startup.texi: Add next, previous, and top entries for
25805 the `Program Arguments' and `Environment Variables' nodes.
25807 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
25809 * manual/macros.texi: Add comments before MTASC-safety macros.
25811 * manual/users.texi: Document MTASC-safety properties.
25813 * manual/threads.texi (pthread_key_create, pthread_key_delete)
25814 (pthread_getspecific, pthread_setspecific): Format with
25815 @deftypefun, and add @safety note.
25816 * manual/signal.texi: Move comments that analyze the above
25817 functions to their home place.
25819 2014-02-03 Allan McRae <allan@archlinux.org>
25821 * po/sl.po: Update Slovenian translation from translation project.
25823 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
25825 * manual/time.texi (timegm): Add missing blank after @c.
25826 Reported by Joseph Myers <joseph@codesourcery.com>.
25828 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
25830 * manual/check-safety.sh: New.
25831 * manual/Makefile ($(objpfx)stamp-summary): Run it.
25833 * manual/terminal.texi: Document MTASC-safety properties.
25835 * manual/filesys.texi: Document MTASC-safety properties.
25837 * manual/errno.texi: Document MTASC-safety properties.
25839 * manual/intro.texi: Document safety identifiers and
25842 * manual/string.texi (wcstok): Fix prototype.
25843 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
25845 * manual/time.texi: Document MTASC-safety properties.
25847 * manual/string.texi: Document MTASC-safety properties.
25849 * manual/threads.texi: Document MTASC-safety properties.
25851 * manual/stdio.texi: Document MTASC-safety properties.
25853 * manual/syslog.texi: Document MTASC-safety properties.
25855 * manual/sysinfo.texi: Document MTASC-safety properties.
25857 * manual/startup.texi: Document MTASC-safety properties.
25859 * manual/socket.texi: Document MTASC-safety properties.
25861 * manual/signal.texi: Document MTASC-safety properties.
25863 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
25865 * manual/setjmp.texi: Document MTASC-safety properties.
25867 * manual/search.texi: Document MTASC-safety properties.
25869 * manual/resource.texi: Document MTASC-safety properties.
25871 * manual/process.texi: Document MTASC-safety properties.
25873 * manual/platform.texi: Document MTASC-safety properties.
25875 * manual/pipe.texi: Document MTASC-safety properties.
25877 * manual/pattern.texi: Document MTASC-safety properties.
25879 * manual/message.texi: Document MTASC-safety properties.
25882 * manual/memory.texi: Document MTASC-safety properties.
25884 * manual/math.texi: Document MTASC-safety properties.
25886 * manual/locale.texi: Document MTASC-safety properties.
25888 * manual/llio.texi: Document MTASC-safety properties.
25890 * manual/libdl.texi: New.
25892 * manual/lang.texi: Document MTASC-safety properties.
25894 * manual/job.texi: Document MTASC-safety properties.
25896 * manual/getopt.texi: Document MTASC-safety properties.
25898 * manual/ctype.texi: Document MTASC-safety properties.
25900 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
25903 * csu/libc-tls.c (static_map): Remove variable.
25904 (__libc_setup_tls): Use main executable's link map for TLS data.
25905 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
25906 casing for LM_ID_BASE and GL(dl_nns).
25907 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
25908 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
25909 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
25910 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
25911 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
25913 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
25916 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
25918 * manual/debug.texi: Document MTASC-safety properties.
25920 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
25923 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
25924 of __x86_64__ when disabling x87 inline functions.
25926 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
25928 * manual/charset.texi: Document MTASC-safety properties.
25930 * manual/crypt.texi: Document MTASC-safety properties.
25932 * manual/conf.texi: Document MTASC-safety properties.
25934 * manual/arith.texi: Document MTASC-safety properties.
25936 * manual/argp.texi: Document MTASC-safety properties.
25938 * manual/macros.texi: Introduce macros to document multi
25939 thread, asynchronous signal and asynchronous cancellation
25941 * manual/intro.texi: Introduce the properties themselves.
25943 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25945 * sysdeps/sh/sh4/Makefile: New file.
25947 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
25949 * math/gen-libm-test.pl ($srcdir): New variable.
25950 ($auto_input): Use it.
25952 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25955 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
25956 access beyond array bounds when parsing netgroups file.
25958 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
25959 the old buffer before realloc.
25961 2014-01-27 Allan McRae <allan@archlinux.org>
25963 * po/fr.po: Update French translation from translation project.
25965 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25967 * sysdeps/sh/libm-test-ulps: Regenerate.
25969 2014-01-24 David S. Miller <davem@davemloft.net>
25971 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
25973 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25975 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
25976 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
25978 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25981 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
25982 string pointers after reallocation.
25984 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25986 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
25987 __SH4A__ instead of __SH_FPU_ANY__.
25989 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25991 * sysdeps/sh/fpu_control.h: New file.
25992 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
25993 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
25994 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
25995 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
25996 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
25997 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
25998 * sysdeps/sh/sys/ucontext.h: Remove.
25999 * sysdeps/sh/sys: Remove directory.
26001 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26003 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
26004 s390/sys/ucontext.h.
26005 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
26006 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
26008 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
26011 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
26013 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26016 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26017 Adjust the vDSO correctly for internal calls.
26018 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
26020 2014-01-20 Allan McRae <allan@archlinux.org>
26022 * po/ca.po: Update Catalan translation from translation project.
26024 2014-01-16 Mike Frysinger <vapier@gentoo.org>
26026 * sysdeps/s390/sotruss-lib.c: New file.
26028 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26031 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
26032 (__GI___gettimeofday): Alias for a different internal symbol to avoid
26033 local calls issues by not having a PLT stub required for IFUNC calls.
26034 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
26036 2014-01-16 Joseph Myers <joseph@codesourcery.com>
26038 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
26039 * math/test-fpucw-static.c: Likewise.
26041 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26044 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
26046 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26048 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
26049 implementation for powerpc.
26051 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
26054 * sysdeps/posix/system.c (__libc_system): Do not enable
26055 asynchronous cancellation.
26057 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26060 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
26061 handling only for numbers special also in the IEEE case.
26063 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26065 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26067 2014-01-11 Allan McRae <allan@archlinux.org>
26069 * po/bg.po: Update Bulgarian translation from translation project.
26071 * po/de.po: Update German translation from translation project.
26073 2014-01-10 Roland McGrath <roland@hack.frob.com>
26075 * sysdeps/generic/gcc-compat.h: New file.
26077 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26079 * benchtests/asin-inputs: Correct slow inputs.
26080 * benchtests/acos-inputs: Likewise.
26082 2014-01-10 Allan McRae <allan@archlinux.org>
26084 * po:sv.po: Update Swedish translation from translation project.
26086 * po/vi.po: Update Vietnamese translation from translation project.
26088 * po/eo.po: Update Esperanto translation from translation project.
26090 * po/cs.po: Update Czech translation from translation project.
26092 * po/nl.po: Update Dutch translation from translation project.
26094 * po/pl.po: Update Polish translation from translation project.
26096 * po/ru.po: Update Russian translation from translation project.
26098 * po/uk.po: Update Ukrainian translation from translation project.
26100 2014-01-08 Brooks Moses <bmoses@google.com>
26102 * elf/dl-load.c: Fix comment typo.
26104 2014-01-08 Carlos O'Donell <carlos@redhat.com>
26106 * po/header.pot: Rename to...
26107 * po/pot.header: ... this.
26108 * po/Makefile: Use pot.header.
26110 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
26111 Maxim Kuvyrkov <maxim@kugelworks.com>
26114 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
26115 SRC and DEST against LEN.
26117 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26120 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
26122 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
26124 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26128 2014-01-08 Joseph Myers <joseph@codesourcery.com>
26131 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
26132 for large positive arguments.
26134 2014-01-07 Joseph Myers <joseph@codesourcery.com>
26136 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26138 * math/auto-libm-test-in: Mark various tests with
26139 xfail-rounding:ldbl-128ibm.
26140 * math/auto-libm-test-out: Regenerated.
26143 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26144 Increase overflow threshold.
26146 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
26149 * stdio-common/vfprintf.c: Check for integer overflow.
26151 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26153 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
26154 the first argument and return value of __tls_get_addr_internal.
26156 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26158 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
26159 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
26161 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26163 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
26164 * sysdeps/s390/rtld-global-offsets.sym: New file.
26165 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
26167 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
26168 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
26169 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26171 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
26172 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26178 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
26179 halfs of GPRs for high_gprs contexts.
26180 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
26181 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
26183 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
26185 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
26187 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
26188 for high GPRs (uc_high_gprs) and for future extensions
26190 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
26191 for future extensions (__reserved).
26192 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
26194 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
26195 SC_HIGHGPRS offset definition.
26196 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
26197 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
26199 * Versions.def: Add GLIBC_2.19 for libpthread.
26200 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
26201 siglongjmp for libpthread with GLIBC_2.19 symver.
26202 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
26203 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
26204 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
26205 * sysdeps/s390/__longjmp.c: New file.
26206 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
26207 * sysdeps/s390/longjmp.c: New file.
26208 * sysdeps/s390/setjmp.S: New file.
26209 * sysdeps/s390/sigjmp.S: New file.
26210 * sysdeps/s390/v1-longjmp.c: New file.
26211 * sysdeps/s390/v1-setjmp.h: New file.
26212 * sysdeps/s390/v1-sigjmp.c: New file.
26213 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
26214 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
26215 GLIBC_2.19 version.
26216 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
26217 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
26218 versioned symbols for ____longjmp_chk.
26219 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26229 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
26230 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
26231 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
26232 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
26233 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
26234 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
26235 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
26236 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
26237 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
26238 * sysdeps/s390/rtld-__longjmp.c: New file.
26239 * sysdeps/s390/rtld-setjmp.S: New file.
26241 2014-01-06 Joseph Myers <joseph@codesourcery.com>
26244 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26245 Return -__logl (x) for small positive arguments without evaluating
26248 2014-01-06 Mike Frysinger <vapier@gentoo.org>
26250 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
26252 (__ptrace_peeksiginfo_args): ... this.
26253 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26254 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26255 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26257 2014-01-06 Allan McRae <allan@archlinux.org>
26259 * inet/netinet/in.h: Fix typo in comment.
26261 2014-01-05 Andreas Jaeger <aj@suse.de>
26263 * sysdeps/i386/fpu/libm-test-ulps: Update.
26265 2014-01-05 Allan McRae <allan@archlinux.org>
26267 * po/libc.pot: Regenerated.
26269 * malloc/memusagestat.c: Fix gettext call formatting.
26271 2014-01-04 Sami Kerola <kerolasa@iki.fi>
26273 * nscd/nscd.c: Improve usage() output.
26275 2014-01-04 Mike Frysinger <vapier@gentoo.org>
26277 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
26278 * sysdeps/unix/sysv/linux/configure: Regenerated.
26279 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
26280 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
26282 2014-01-03 Joseph Myers <joseph@codesourcery.com>
26285 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26286 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
26288 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26290 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
26291 extra tokens at end of #undef directive.
26292 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26293 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26294 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26296 2014-01-03 Joseph Myers <joseph@codesourcery.com>
26298 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26300 * math/auto-libm-test-in: Mark various tests with
26301 xfail-rounding:ldbl-128ibm.
26302 * math/auto-libm-test-out: Regenerated.
26304 2014-01-02 Joseph Myers <joseph@codesourcery.com>
26307 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
26308 numbers with subnormal high part when calculating exponent.
26311 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
26315 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
26317 (__ieee754_acoshl): Use __log1pl not __log1p.
26319 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
26321 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
26322 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
26323 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
26324 (grow_heap, heap_trim, _int_new_arena, get_free_list)
26325 (reused_arena, arena_get2): Convert to GNU style.
26326 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
26327 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
26328 (memalign_check, __malloc_set_state): Likewise.
26329 * malloc/mallocbug.c (main): Likewise.
26330 * malloc/malloc.c (__malloc_assert, malloc_init_state)
26331 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
26332 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
26333 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
26334 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
26335 (__posix_memalign, malloc_info): Likewise.
26336 * malloc/malloc.h: Likewise.
26337 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
26338 (mallochook, memalignhook, reallochook, mabort): Likewise.
26339 * malloc/mcheck.h: Likewise.
26340 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
26341 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
26342 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
26343 * malloc/morecore.c (__default_morecore): Likewise.
26344 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
26345 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
26346 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
26347 (print_and_abort): Likewise.
26348 * malloc/obstack.h: Likewise.
26349 * malloc/set-freeres.c (__libc_freeres): Likewise.
26350 * malloc/tst-mallocstate.c (main): Likewise.
26351 * malloc/tst-mtrace.c (main): Likewise.
26352 * malloc/tst-realloc.c (do_test): Likewise.
26354 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26357 * nscd/netgroupcache.c (do_notfound): New function.
26358 (addgetnetgrentX): Use it.
26361 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
26362 NSS_STATUS_NOTFOUND.
26364 2014-01-01 Joseph Myers <joseph@codesourcery.com>
26366 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26369 2014-01-01 Allan McRae <allan@archlinux.org>
26371 * scripts/update-copyrights: Update configure input file suffix.
26373 * NEWS: Update copyright year.
26374 * catgets/gencat.c: Likewise.
26375 * csu/version.c: Likewise.
26376 * debug/catchsegv.sh: Likewise.
26377 * debug/pcprofiledump.c: Likewise.
26378 * debug/xtrace.sh: Likewise.
26379 * elf/ldconfig.c: Likewise.
26380 * elf/ldd.bash.in: Likewise.
26381 * elf/pldd.c: Likewise.
26382 * elf/sotruss.ksh: Likewise.
26383 * elf/sprof.c: Likewise.
26384 * iconv/iconv_prog.c: Likewise.
26385 * iconv/iconvconfig.c: Likewise.
26386 * locale/programs/locale.c: Likewise.
26387 * locale/programs/localedef.c: Likewise.
26388 * login/programs/pt_chown.c: Likewise.
26389 * malloc/memusage.sh: Likewise.
26390 * malloc/memusagestat.c: Likewise.
26391 * malloc/mtrace.pl: Likewise.
26392 * manual/libc.texinfo: Likewise.
26393 * nscd/nscd.c: Likewise.
26394 * nss/getent.c: Likewise.
26395 * nss/makedb.c: Likewise.
26396 * posix/getconf.c: Likewise.
26397 * scripts/test-installation.pl: Likewise.
26399 * All files with FSF copyright notices: Update copyright dates
26400 using scripts/update-copyrights.
26401 * intl/plural.c: Regenerated.
26402 * locale/programs/charmap-kw.h: Likewise.
26403 * locale/programs/locfile-kw.h: Likewise.
26405 2013-12-31 Mike Frysinger <vapier@gentoo.org>
26407 * sysdeps/unix/sysv/linux/configure: Regenerated.
26408 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
26409 the linux/fanotify.h header.
26410 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
26411 HAVE_LINUX_FANOTIFY_H is defined.
26413 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26415 * benchtests/cos-inputs: New inputs.
26416 * benchtests/sin-inputs: Likewise.
26418 * benchtests/atan-inputs: New inputs. Fix name of multiple
26419 precision fallback inputs.
26421 * benchtests/atanh-inputs: New inputs.
26422 * benchtests/tanh-inputs: Likewise.
26424 * benchtests/acosh-inputs: New inputs.
26425 * benchtests/asinh-inputs: Likewise.
26427 * benchtests/cosh-inputs: New inputs.
26428 * benchtests/sinh-inputs: Likewise.
26430 * benchtests/acos-inputs: Add more inputs.
26431 * benchtests/asin-inputs: Likewise.
26433 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
26436 * manual/arith.texi: Fix spelling.
26437 * manual/charset.texi: Likewise.
26438 * manual/errno.texi: Likewise.
26439 * manual/filesys.texi: Likewise.
26440 * manual/lang.texi: Likewise.
26441 * manual/llio.texi: Likewise.
26442 * manual/locale.texi: Likewise.
26443 * manual/message.texi: Likewise.
26444 * manual/resource.texi: Likewise.
26445 * manual/search.texi: Likewise.
26446 * manual/setjmp.texi: Likewise.
26447 * manual/stdio.texi: Likewise.
26448 * manual/string.texi: Likewise.
26449 * manual/sysinfo.texi: Likewise.
26450 * manual/time.texi: Likewise.
26452 2013-12-27 Carlos O'Donell <carlos@redhat.com>
26454 * po/sl.po: New file.
26456 2013-12-27 Mike Frysinger <vapier@gentoo.org>
26458 * .gitignore: Add core/.gdbinit/.gdb_history.
26460 2013-12-27 Allan McRae <allan@archlinux.org>
26463 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
26464 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
26466 2013-12-24 Brooks Moses <bmoses@google.com>
26468 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
26469 all compilers that claim C++98 compliance, not just GCC.
26470 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26473 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
26475 * NEWS: Restore accidentally deleted bug-fix entries.
26477 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
26478 Ondřej Bílka <neleai@seznam.cz>
26481 * malloc/malloc.c (_int_free): Perform sanity check only if we
26484 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
26487 * manual/stdio.texi (String Input Conversions): Clarify that character
26488 classes are not supported.
26490 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26494 2013-12-22 Joseph Myers <joseph@codesourcery.com>
26497 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26498 Calculate results for small negative arguments directly rather
26499 than using reflection formula with special underflow handling.
26501 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
26502 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
26503 sysdeps/unix/bsd/bsd4.4/syscalls.list.
26504 (fchflags): Likewise.
26505 (revoke): Likewise.
26506 (setlogin): Likewise.
26507 (sigaltstack): Likewise.
26509 (sigblock): Remove.
26510 (sigsetmask): Likewise.
26512 (waitpid): Likewise.
26513 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
26514 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
26516 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
26517 * sysdeps/unix/bsd/Makefile: ... here.
26518 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
26519 * sysdeps/unix/bsd/Versions: ... here.
26520 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
26521 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
26522 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
26523 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
26524 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
26525 * sysdeps/unix/bsd/sigblock.c: ... here.
26526 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
26527 * sysdeps/unix/bsd/sigsetmask.c: ... here.
26528 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
26529 * sysdeps/unix/bsd/sigvec.c: ... here.
26530 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
26531 * sysdeps/unix/bsd/tcdrain.c: ... here.
26532 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
26533 * sysdeps/unix/bsd/tcgetattr.c: ... here.
26534 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
26535 * sysdeps/unix/bsd/tcsetattr.c: ... here.
26536 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
26537 * sysdeps/unix/bsd/wait.c: ... here.
26538 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
26539 * sysdeps/unix/bsd/wait3.c: ... here.
26540 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
26541 * sysdeps/unix/bsd/waitpid.c: ... here.
26543 2013-12-21 Joseph Myers <joseph@codesourcery.com>
26546 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
26547 round-to-nearest for [!USE_AS_EXPM1L].
26548 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
26549 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
26550 more tests of exp and exp10. Expect some exp10 tests to miss
26551 exceptions or fail in directed rounding modes.
26552 * math/auto-libm-test-out: Regenerated.
26553 * math/libm-test.inc (exp10_tonearest_test_data): New array.
26554 (exp10_test_tonearest): New function.
26555 (exp10_towardzero_test_data): New array.
26556 (exp10_test_towardzero): New function.
26557 (exp10_downward_test_data): New array.
26558 (exp10_test_downward): New function.
26559 (exp10_upward_test_data): New array.
26560 (exp10_test_upward): New function.
26561 (main): Call the new functions.
26562 * sysdeps/i386/fpu/libm-test-ulps: Update.
26563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26565 2013-12-20 Joseph Myers <joseph@codesourcery.com>
26567 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26568 asinh, atan, atan2, atanh, cbrt, cos and cosh.
26569 * math/auto-libm-test-out: Regenerated.
26570 * math/libm-test.inc (acosh_test_data): Add more tests.
26571 (atanh_test_data): Likewise.
26572 (ceil_test_data): Likewise.
26573 (copysign_test_data): Likewise.
26574 * sysdeps/i386/fpu/libm-test-ulps: Update.
26575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26577 * timezone/checktab.awk: Update from tzcode 2013i.
26578 * timezone/private.h: Likewise.
26579 * timezone/scheck.c: Likewise.
26580 * timezone/tzfile.h: Likewise.
26581 * timezone/tzselect.ksh: Likewise.
26582 * timezone/zdump.c: Likewise.
26583 * timezone/zic.c: Likewise.
26585 * math/auto-libm-test-in: Add tests of cpow.
26586 * math/auto-libm-test-out: Regenerated.
26587 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
26588 * math/gen-auto-libm-tests.c (func_calc_method): Add value
26590 (func_calc_desc): Add mpc_cc_c union field.
26591 (test_functions): Add cpow.
26592 (special_fill_2pi): New function.
26593 (special_real_inputs): Add 2pi.
26594 (calc_generic_results): Handle mpc_cc_c.
26595 * sysdeps/i386/fpu/libm-test-ulps: Update.
26596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26598 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
26599 csqrt, ctan and ctanh.
26600 * math/auto-libm-test-out: Regenerated.
26601 * math/libm-test.inc (TEST_COND_x86_64): New macro.
26602 (TEST_COND_x86): Likewise.
26603 (ccos_test_data): Use AUTO_TESTS_c_c.
26604 (ccosh_test_data): Likewise.
26605 (cexp_test_data): Likewise.
26606 (clog_test_data): Likewise.
26607 (csqrt_test_data): Likewise.
26608 (ctan_test_data): Likewise.
26609 (ctan_tonearest_test_data): Likewise.
26610 (ctan_towardzero_test_data): Likewise.
26611 (ctan_downward_test_data): Likewise.
26612 (ctan_upward_test_data): Likewise.
26613 (ctanh_test_data): Likewise.
26614 (ctanh_tonearest_test_data): Likewise.
26615 (ctanh_towardzero_test_data): Likewise.
26616 (ctanh_downward_test_data): Likewise.
26617 (ctanh_upward_test_data): Likewise.
26618 * math/gen-auto-libm-tests.c (func_calc_method): Add value
26620 (func_calc_desc): Add mpc_c_c union field.
26621 (FUNC_mpc_c_c): New macro.
26622 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
26623 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
26625 (special_fill_min_subnorm_p120): New function.
26626 (special_real_inputs): Add min_subnorm_p120.
26627 (calc_generic_results): Handle mpc_c_c.
26628 * sysdeps/i386/fpu/libm-test-ulps: Update.
26629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26631 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26633 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
26634 (do_sin_slow): New functions.
26635 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
26636 (cslow2, csloww1, csloww2): Use the new functions.
26638 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
26639 Use M to change sign of result instead of X. Assume X is
26641 (csloww1): Likewise.
26645 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
26646 arguments A and DA.
26650 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
26652 (sloww1): Don't adjust sign of DX.
26653 (csloww1): Likewise.
26654 (sloww2): Use X directly and don't adjust sign of DX.
26655 (csloww2): Likewise.
26657 2013-12-19 Joseph Myers <joseph@codesourcery.com>
26659 * math/auto-libm-test-in: Add tests of cabs and carg.
26660 * math/auto-libm-test-out: Regenerated.
26661 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
26662 (carg_test_data): Likewise.
26663 * math/gen-auto-libm-tests.c (func_calc_method): Add value
26665 (func_calc_desc): Add mpc_c_f union field.
26666 (test_functions): Add cabs and carg.
26667 (calc_generic_results): Handle mpc_c_f.
26669 * sysdeps/powerpc/powerpc32/libgcc-compat.S
26670 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
26671 as a macro and a compat symbol.
26672 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26673 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26674 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26675 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26676 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
26677 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
26679 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
26681 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
26683 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
26685 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
26687 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
26689 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
26690 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
26693 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26697 2013-12-19 Joseph Myers <joseph@codesourcery.com>
26699 * manual/texinfo.tex: Update to version 2013-11-26.10 with
26700 trailing whitespace removed.
26701 * scripts/config.guess: Update to version 2013-11-29.
26702 * scripts/config.sub: Update to version 2013-10-01.
26704 * math/auto-libm-test-in: Add tests of sincos.
26705 * math/auto-libm-test-out: Regenerated.
26706 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
26707 * math/gen-auto-libm-tests.c (func_calc_method): Add value
26709 (func_calc_desc): Add mpfr_f_11 union field.
26710 (test_functions): Add sincos.
26711 (calc_generic_results): Handle mpfr_f_11.
26712 * sysdeps/i386/fpu/libm-test-ulps: Update.
26713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26715 2013-12-19 Andreas Schwab <schwab@suse.de>
26717 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26719 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26720 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26721 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26723 2013-12-19 Joseph Myers <joseph@codesourcery.com>
26725 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26726 * sysdeps/i386/fpu/libm-test-ulps: Update.
26727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26730 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
26731 round-to-nearest mode when using frndint.
26732 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
26733 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26734 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26736 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
26738 * math/auto-libm-test-out: Regenerated.
26739 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
26740 (TEST_COND_x86): Likewise.
26741 (expm1_tonearest_test_data): New array.
26742 (expm1_test_tonearest): New function.
26743 (expm1_towardzero_test_data): New array.
26744 (expm1_test_towardzero): New function.
26745 (expm1_downward_test_data): New array.
26746 (expm1_test_downward): New function.
26747 (expm1_upward_test_data): New array.
26748 (expm1_test_upward): New function.
26749 (main): Run the new test functions.
26750 * sysdeps/i386/fpu/libm-test-ulps: Update.
26751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26753 * include/features.h: Update comment documenting feature test
26754 macros. Mention _DEFAULT_SOURCE in comment.
26755 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
26756 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
26757 _BSD_SOURCE and _SVID_SOURCE.
26758 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
26759 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
26760 !_SVID_SOURCE]: Likewise.
26761 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26762 (__USE_POSIX_IMPLICITLY): Define.
26763 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26764 (_POSIX_SOURCE): Undefine and redefine.
26765 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26766 (_POSIX_C_SOURCE): Likewise.
26767 * manual/creature.texi (_DEFAULT_SOURCE): Document.
26768 (Feature Test Macros): Update documentation of default features.
26770 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26772 * benchtests/Makefile: Add bench-strtok.
26773 * benchtests/bench-strtok.c: New file: strtok benchtest.
26775 2013-12-19 Allan McRae <allan@archlinux.org>
26777 * manual/install.texi: Suppress menu for plain text output.
26778 * INSTALL: Regenerated.
26780 2013-12-18 Brooks Moses <bmoses@google.com>
26783 * misc/getauxval.c: Include errno.h.
26784 (__getauxval): Set errno to ENOENT if the requested type is not
26786 * misc/sys/auxv.h (getauxval): Document that it may set errno;
26787 don't declare with __attribute_const__.
26788 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
26789 * manual/startup.texi: Document that getauxval sets errno.
26791 2013-12-18 Joseph Myers <joseph@codesourcery.com>
26793 * math/auto-libm-test-in: Add tests of jn and yn.
26794 * math/auto-libm-test-out: Regenerated.
26795 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
26796 (yn_test_data): Likewise.
26797 * math/gen-auto-libm-tests.c (func_calc_method): Add value
26799 (func_calc_desc): Add mpfr_if_f union field.
26800 (FUNC_mpfr_if_f): New macro.
26801 (test_functions): Add jn and yn.
26802 (calc_generic_results): Assert type of second input for
26803 mpfr_ff_f. Handle mpfr_if_f.
26804 (output_for_one_input_case): Disable all checking for arguments
26805 fitting floating-point types in case of an integer argument.
26806 * sysdeps/i386/fpu/libm-test-ulps: Update.
26807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26810 Don't expect fegetround reference in libm.so.
26812 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26814 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
26815 $(config-cflags-nofma).
26817 2013-12-18 Joseph Myers <joseph@codesourcery.com>
26819 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
26820 * math/auto-libm-test-out: Regenerated.
26823 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
26824 to determine exponent and adjust argument to have exponent of -1.
26825 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26827 * math/auto-libm-test-out: Regenerated.
26828 * sysdeps/i386/fpu/libm-test-ulps: Update.
26829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26831 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
26833 * manual/probes.texi: Remove cases when per-thread arenas are
26836 2013-12-18 Andreas Schwab <schwab@suse.de>
26838 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
26839 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
26840 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
26841 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
26842 * sysdeps/i386/i686/multiarch/Makefile: Update.
26843 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
26845 2013-12-17 Joseph Myers <joseph@codesourcery.com>
26847 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
26848 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
26850 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
26853 Support TZ transition times < 00:00:00.
26854 This is needed for version-3 tz-format files; it supports time
26855 stamps past 2037 for America/Godthab (the only entry in the tz
26856 database for which this change is relevant).
26857 * manual/time.texi (TZ Variable): Document transition times
26858 from -167:59:59 through -00:00:01.
26859 * time/tzset.c (tz_rule): Time of day is now signed.
26860 (__tzset_parse_tz): Parse negative time of day.
26862 Document TZ transition times >= 25:00:00.
26863 * manual/time.texi (TZ Variable): Document transition times from
26864 25:00:00 through 167:59:59. These are already supported, and this
26865 support will help with version-3 tz-format files.
26867 * manual/time.texi (TZ Variable): Modernize North America example
26868 to reflect current (i.e., 2007-and-later) daylight saving rules.
26870 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
26872 2013-12-17 Joseph Myers <joseph@codesourcery.com>
26874 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
26875 * sysdeps/unix/bsd/bits/stat.h: Likewise.
26876 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
26877 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26878 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
26879 * sysdeps/unix/bsd/bsdstat.h: Likewise.
26880 * sysdeps/unix/bsd/clock.c: Likewise.
26881 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
26882 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
26883 * sysdeps/unix/bsd/init-posix.c: Likewise.
26884 * sysdeps/unix/bsd/poll.c: Likewise.
26885 * sysdeps/unix/bsd/ptsname.c: Likewise.
26886 * sysdeps/unix/bsd/seekdir.c: Likewise.
26887 * sysdeps/unix/bsd/setegid.c: Likewise.
26888 * sysdeps/unix/bsd/seteuid.c: Likewise.
26889 * sysdeps/unix/bsd/setgid.c: Likewise.
26890 * sysdeps/unix/bsd/setrgid.c: Likewise.
26891 * sysdeps/unix/bsd/setruid.c: Likewise.
26892 * sysdeps/unix/bsd/setsid.c: Likewise.
26893 * sysdeps/unix/bsd/setuid.c: Likewise.
26894 * sysdeps/unix/bsd/sigaction.c: Likewise.
26895 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
26896 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
26897 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
26898 * sysdeps/unix/bsd/telldir.c: Likewise.
26899 * sysdeps/unix/bsd/times.c: Likewise.
26900 * sysdeps/unix/bsd/usleep.c: Likewise.
26902 * misc/Makefile (install-lib): Remove libbsd-compat.a.
26903 ($(objpfx)libbsd-compat.a): Remove rule.
26905 * include/features.h (__FAVOR_BSD): Do not define.
26906 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
26907 features conflicting with POSIX.
26908 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
26909 (_BSD_SOURCE): Remove description of not being a subset of other
26910 feature test macros.
26911 * manual/job.texi (getpgrp): Do not document BSD version.
26912 (getpgid): Do not document by reference to BSD getpgrp.
26913 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
26914 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
26915 * signal/signal.h [__FAVOR_BSD]: Likewise.
26916 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
26917 instead of making contents conditional on [__FAVOR_BSD].
26918 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
26920 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26924 2013-12-17 Joseph Myers <joseph@codesourcery.com>
26927 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
26928 values below 2**-450, not 2**-500.
26929 * math/auto-libm-test-in: Don't allow spurious underflow from
26931 * math/auto-libm-test-out: Regenerated.
26935 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
26936 values of ha and hb and sort them after adjusting subnormal
26938 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26940 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
26941 values of ea and eb and sort them after adjusting subnormal
26943 * math/auto-libm-test-in: Do not expect some hypot tests of
26944 subnormals to fail. Add more hypot tests.
26945 * math/auto-libm-test-out: Regenerated.
26947 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26950 * sysdeps/sh/s_fma.c: New file.
26951 * sysdeps/sh/s_fmaf.c: New file.
26952 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
26954 * sysdeps/sh/Implies: Add sh/soft-fp.
26956 2013-12-16 Roland McGrath <roland@hack.frob.com>
26958 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
26959 level of indirection to members `objname', `errstring', `malloced'.
26960 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
26961 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
26962 it as the __longjmp argument (just pass 1 instead).
26963 (_dl_catch_error): Initialize C with argument pointers and address of
26964 volatile local ERRCODE rather than copying values out of C at return.
26966 2013-12-16 Joseph Myers <joseph@codesourcery.com>
26968 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
26969 * math/auto-libm-test-out: Regenerated.
26970 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
26971 (hypot_test_data): Likewise.
26972 (pow_test_data): Likewise.
26973 (pow_tonearest_test_data): Likewise.
26974 * math/gen-auto-libm-tests.c (func_calc_method): Add value
26976 (func_calc_desc): Add mpfr_ff_f union field.
26977 (FUNC_mpfr_ff_f): New macro.
26978 (test_functions): Add atan2, hypot and pow.
26979 (special_fill_min): New function.
26980 (special_fill_minus_min): Likewise.
26981 (special_fill_min_subnorm): Likewise.
26982 (special_fill_minus_min_subnorm): Likewise.
26983 (special_real_inputs): Add min, -min, min_subnorm and
26985 (calc_generic_results): Handle mpfr_ff_f.
26986 * sysdeps/i386/fpu/libm-test-ulps: Update.
26987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26989 2013-12-16 Will Newton <will.newton@linaro.org>
26991 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
26992 (Aligned Memory Blocks): Add documentation for aligned_alloc
26993 and suggest it as an alternative to posix_memalign.
26994 (Hooks for Malloc): Document __memalign_hook is also called
26995 for aligned_alloc. (Summary of Malloc): Add summary for
26996 aligned alloc. Document __memalign_hook is also called
26999 2013-12-16 Will Newton <will.newton@linaro.org>
27001 * manual/memory.texi (Malloc Examples): Clarify default
27002 alignment documentation. Suggest posix_memalign rather
27003 than memalign or valloc.
27004 (Aligned Memory Blocks): Remove suggestion to use memalign
27005 or valloc. Remove obsolete comment about BSD.
27006 Document memalign errno values and mark the function obsolete.
27007 Document posix_memalign returned error codes. Mark valloc
27008 as obsolete. (Hooks for Malloc): __memalign_hook is also
27009 called for posix_memalign and valloc.
27010 (Summary of Malloc): Add posix_memalign to function summary.
27011 __memalign_hook is also called for posix_memalign and valloc.
27013 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27015 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
27019 (sloww): Use mynumber union. Expand ternary operator into
27020 if-else statements.
27021 (cslow): use mynumber union.
27023 2013-12-16 Allan McRae <allan@archlinux.org>
27025 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
27026 * configure: Regenerated.
27028 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
27031 * configure.ac: Added --enable-maintainer-mode. Check for
27032 autoconf when enabled.
27033 * configure: Regenerated.
27035 * nscd/nscd.service: New file.
27036 * nscd/nscd.tmpfiles: New file.
27038 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
27041 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
27042 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
27043 * sysdeps/x86_64/multiarch/strstr.c: ... here.
27044 (strstr): Add __strstr_sse2_unaligned ifunc.
27045 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
27046 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
27047 (strcasestr): Remove __strcasestr_sse42 ifunc.
27048 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
27049 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27050 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27052 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27054 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
27055 * sysdeps/sh/bits/fenv.h: ... here.
27056 * sysdeps/sh/sh4/fpu/bits: Remove directory.
27058 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27060 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
27062 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
27063 hypotf multiarch implementations.
27064 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
27065 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
27066 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
27067 multiarch hypot for PPC64.
27068 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
27069 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
27070 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
27071 multiarch hypotf for PPC64.
27073 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
27074 modff multiarch implementations.
27075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
27076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
27077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
27078 multiarch modf for PPC64.
27079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
27080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
27081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
27082 multiarch modff for PPC64.
27084 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
27085 and logl multiarch implementations.
27086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
27087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
27088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
27089 multiarch logb for PPC64.
27090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
27091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
27092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
27093 multiarch logb for PPC64.
27094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
27095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
27096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
27097 multiarch logb for PPC64.
27099 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
27100 isinff multiarch implementation.
27101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
27103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
27104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
27105 multiarch isinf for PPC64.
27106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
27108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
27109 multiarch isinff for PPC64.
27111 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
27112 finitef multiarch implementation.
27113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
27115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
27116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
27117 multiarch finite for PPC64.
27118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
27120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
27121 multiarch finitef for PPC64.
27123 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
27124 lrint multiarch implementation.
27125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
27127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
27128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
27129 multiarch llrint for PPC64.
27130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
27131 multiarch lrint for PPC64.
27133 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
27134 copysignf multiarch implementation.
27135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
27137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
27139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
27140 multiarch copysign for PPC64.
27141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
27142 multiarch copysignf for PPC64.
27144 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
27145 multiarch implementation.
27146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
27148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
27150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
27152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
27154 multiarch llround for PPC64.
27155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
27156 multiarch trunc for PPC64.
27157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
27158 multiarch truncf for PPC64.
27160 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
27161 multiarch implementation.
27162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
27164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
27166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
27168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
27170 multiarch llround for PPC64.
27171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
27172 multiarch round for PPC64.
27173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
27174 multiarch roundf for PPC64.
27176 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
27177 multiarch implementation.
27178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
27180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
27182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
27184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
27186 multiarch llround for PPC64.
27187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
27188 multiarch floor for PPC64.
27189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
27190 multiarch floorf for PPC64.
27192 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
27193 multiarch implementation.
27194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
27196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
27198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
27200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
27202 multiarch llround for PPC64.
27203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
27204 multiarch ceil for PPC64.
27205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
27206 multiarch ceilf for PPC64.
27208 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
27209 multiarch implementation.
27210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
27212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
27214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
27216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
27217 multiarch llround for PPC64.
27218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
27219 multiarch lround for PPC64.
27221 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
27222 multiarch implementation.
27223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
27224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
27225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
27227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
27228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
27229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
27230 multiarch isnan for PPC64.
27231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
27232 multiarch isnanf for PPC64.
27234 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
27235 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
27236 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
27237 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
27238 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
27239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
27241 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
27242 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27243 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27244 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27246 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
27247 multiarch implementations.
27248 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27249 (__libc_ifunc_impl_list): Likewise.
27250 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
27251 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
27252 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
27253 multiarch stpcpy for PPC64.
27255 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
27256 multiarch implementations.
27257 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27258 (__libc_ifunc_impl_list): Likewise.
27259 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
27260 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
27261 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
27262 multiarch strcpy for PPC64.
27264 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
27265 redefine function name.
27266 (_wordcopy_fwd_dest_aligned): Likewise.
27267 (_wordcopy_bwd_aligned): Likewise.
27268 (_wordcopy_bwd_dest_aligned): Likewise.
27269 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
27270 multiarch implementations.
27271 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27272 (__libc_ifunc_impl_list): Likewise.
27273 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
27274 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
27275 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
27276 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
27277 multiarch wcscpy for PPC64.
27279 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
27280 multiarch implementations.
27281 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27282 (__libc_ifunc_impl_list): Likewise.
27283 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
27284 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
27285 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
27286 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
27287 multiarch wcscpy for PPC64.
27289 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
27290 multiarch implementations.
27291 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27292 (__libc_ifunc_impl_list): Likewise.
27293 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
27294 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
27295 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
27296 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
27297 multiarch wcsrchr for PPC64.
27299 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
27300 multiarch implementations.
27301 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27302 (__libc_ifunc_impl_list): Likewise.
27303 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
27304 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
27305 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
27306 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
27307 multiarch wcschr for PPC64.
27309 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
27310 multiarch implementations.
27311 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27312 (__libc_ifunc_impl_list): Likewise.
27313 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
27314 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
27315 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
27316 multiarch strchrnul for PPC64.
27318 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
27320 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27321 (__libc_ifunc_impl_list): Likewise.
27322 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
27323 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
27324 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
27325 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
27328 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
27330 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27331 (__libc_ifunc_impl_list): Likewise.
27332 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
27333 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
27334 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
27335 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
27338 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
27339 multiarch implementations.
27340 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27341 (__libc_ifunc_impl_list): Likewise.
27342 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
27343 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
27344 strncasecmp for PPC64.
27345 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
27346 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
27347 multiarch strncasecmp_l for PPC64.
27349 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
27350 multiarch implementations.
27351 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27352 (__libc_ifunc_impl_list): Likewise.
27353 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
27354 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
27355 multiarch strcasecmp for PPC64.
27356 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
27358 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
27359 multiarch strcasecmp_l for PPC64.
27361 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
27363 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27364 (__libc_ifunc_impl_list): Likewise.
27365 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
27366 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
27367 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
27370 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
27372 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27373 (__libc_ifunc_impl_list): Likewise.
27374 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
27375 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
27376 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
27379 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
27381 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27382 (__libc_ifunc_impl_list): Likewise.
27383 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
27384 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
27385 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
27386 rawmemrchr for PPC64.
27388 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
27390 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27391 (__libc_ifunc_impl_list): Likewise.
27392 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
27393 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
27394 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
27397 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
27399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27400 (__libc_ifunc_impl_list): Likewise.
27401 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
27402 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
27403 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
27406 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
27408 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27409 (__libc_ifunc_impl_list): Likewise.
27410 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
27411 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
27412 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
27415 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
27416 avoid cretion of __bzero symbol.
27417 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
27419 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
27421 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
27423 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
27424 multiarch implementations.
27425 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27426 (__libc_ifunc_impl_list): Likewise.
27427 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
27428 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
27429 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
27430 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
27432 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
27433 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
27434 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
27435 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
27436 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
27438 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
27440 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
27441 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
27443 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27444 (__libc_ifunc_impl_list): Likewise.
27445 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
27446 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
27447 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
27448 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
27451 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
27452 multiarch for POWER/PPC64.
27453 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
27454 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
27455 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
27456 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
27457 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
27458 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
27459 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
27460 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
27461 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
27464 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
27465 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
27466 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
27467 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
27468 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
27469 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
27470 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
27471 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
27472 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
27473 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
27474 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
27475 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
27476 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
27477 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
27478 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
27479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
27480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
27481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
27482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
27483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
27484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
27485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
27487 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27489 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
27491 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27493 * benchtests/Makefile (bench): Add exp2 and log2.
27494 (LDLIBS-bench-exp2): Add -lm.
27495 (LDLIBS-bench-log2): Likewise.
27496 * benchtests/exp2-inputs: New inputs file.
27497 * benchtests/log2-inputs: New inputs file.
27498 * benchtests/log-inputs: Add new inputs.
27499 * benchtests/tan-inputs: Likewise.
27501 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27503 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
27505 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
27506 (csloww2): ... from here.
27508 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
27509 instead of structures.
27510 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
27511 (POLYNOMIAL): Likewise.
27512 (TAYLOR_SLOW): Likewise.
27518 (sloww1); Likewise.
27519 (sloww2): Likewise.
27520 (bsloww1): Likewise.
27521 (bsloww2): Likewise.
27522 (cslow2): Likewise.
27523 (csloww): Likewise.
27524 (csloww1): Likewise.
27525 (csloww2): Likewise.
27527 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
27529 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
27530 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
27531 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
27532 * malloc/hooks.c (realloc_check): Likewise.
27534 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
27535 * malloc/arena.c: Remove PER_THREAD conditional.
27536 [!PER_THREAD]: Remove code.
27537 (ptmalloc_unlock_all2): Likewise.
27538 (ptmalloc_init): Likewise.
27539 (_int_new_arena): Likewise.
27540 (arena_get2): Likewise.
27541 * malloc/hooks.c (__malloc_get_state): Likewise.
27542 (__malloc_set_state): Likewise.
27543 * malloc/malloc.c: Likewise.
27544 (struct malloc_state): Likewise.
27545 (struct malloc_par): Likewise.
27546 (__libc_realloc): Likewise.
27547 (__libc_mallopt): Likewise.
27549 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27551 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
27553 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
27555 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
27556 macro to a function. Check for zero perturb_byte.
27557 (_int_malloc, _int_free): Remove zero perturb_byte checks.
27559 * malloc/malloc.c: (force_reg): Remove.
27560 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
27561 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
27562 force_reg by atomic_forced_read.
27563 * malloc/arena.c (ptmalloc_init): Likewise.
27564 * malloc/hooks.c (top_check): Likewise.
27566 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27570 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
27572 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27574 2013-12-08 Joseph Myers <joseph@codesourcery.com>
27576 * math/auto-libm-test-in: Add tests of lgamma.
27577 * math/auto-libm-test-out: Regenerated.
27578 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
27579 (M_LOG_2_SQRT_PIl): Likewise.
27580 (lgamma_test_data): Use AUTO_TESTS_f_f1.
27581 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27583 (func_calc_desc): Add mpfr_f_f1 union field.
27584 (ARGS1): New macro.
27592 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
27593 (test_functions): Add lgamma.
27594 (calc_generic_results): Handle mpfr_f_f1.
27595 * sysdeps/i386/fpu/libm-test-ulps: Update.
27596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27598 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27600 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
27601 __mpn_add_n for PowerPC64/POWER7.
27602 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
27603 __mpn_sub_n for PowerPC64/POWER7.
27605 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
27606 __mpn_addmul_1 for PowerPC64.
27607 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
27608 __mpn_submul_1 for PowerPC64.
27609 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
27611 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
27614 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
27617 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
27619 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27621 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
27623 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
27624 add multiarch folders.
27625 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
27626 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
27627 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
27628 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
27629 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
27630 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
27631 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
27632 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
27633 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
27634 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
27635 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
27636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
27637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
27639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
27640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
27641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
27643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27644 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
27645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
27647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
27649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
27650 multiarch __ieee754_hypot for PowerPC32.
27651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
27653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
27655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
27656 multiarch __ieee754_hypotf for PowerPC32.
27658 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
27659 long_double_symbol only if __logbl is defined.
27660 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
27661 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
27662 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
27663 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
27664 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27665 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
27666 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
27667 path for implementation.
27668 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
27669 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
27670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
27671 logb, and logbl multiarch implementations for PowerPC32.
27672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
27674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
27676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
27677 multiarch logb for PowerPC32.
27678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
27680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
27682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
27683 multiarch logbf for PowerPC32.
27684 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
27685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
27687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
27688 multiarch logbl implementation for PowerPC32.
27690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
27691 and modff multiarch implementations.
27692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
27694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
27696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
27697 multiarch modf for PowerPC32.
27698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
27700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
27702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
27703 multiarch modff for PowerPC32.
27705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
27706 and lrintf multiarch implementations.
27707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
27709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
27711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
27712 multiarch lrint for PowerPC32.
27713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27714 file: multiarch lrintf for PowerPC32.
27716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27717 and lroundf multiarch implementations.
27718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27725 multiarch lround for PowerPC32.
27726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27727 file: multiarch lroundf for PowerPC32.
27729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27730 copysign and copysignf multiarch implementations.
27731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
27733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
27735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
27736 file: multiarch copysign for PowerPC32.
27737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
27738 file: multiarch copysignf for PowerPC32.
27740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
27741 and truncf multiarch implementations.
27742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
27744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
27746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
27747 multiarch trunc for PowerPC32.
27748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
27750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
27752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
27753 multiarch truncf for PowerPC32.
27755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
27756 and roundf multiarch implementations.
27757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
27759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
27761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27762 multiarch round for PowerPC32.
27763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
27765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
27767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
27768 multiarch roundf for PowerPC32.
27770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
27771 and floorf multiarch implementations.
27772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
27774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
27776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
27777 multiarch floor for PowerPC32.
27778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
27780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
27782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
27783 multiarch floorf for PowerPC32.
27785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
27786 and ceilf multiarch implementations.
27787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
27789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
27791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
27792 multiarch ceil for PowerPC32.
27793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
27795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
27797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
27798 multiarch ceilf for PowerPC32.
27800 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
27802 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
27803 FINITEF is defined.
27804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
27805 and finitef multiarch implementations.
27806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
27808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
27810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
27811 multiarch finite for PowerPC32.
27812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
27814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
27815 file: multiarch finitef for PowerPC32.
27817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
27818 and isinff multiarch implementations.
27819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
27821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
27823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
27824 multiarch isinf for PowerPC32.
27825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
27827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
27828 multiarch isinff for PowerPC32.
27830 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
27831 alias when __isnan is defined.
27832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
27833 and isnanf multiarch implementations.
27834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
27836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
27838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
27840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
27842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
27843 multiarch isnan for PowerPC32.
27844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
27846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
27848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
27849 multiarch isnanf for PowerPC32.
27851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
27852 and sqrtf multiarch implementations.
27853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
27855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
27857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
27858 multiarch sqrt for PowerPC32.
27859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
27861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
27863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
27864 multiarch sqrtf for PowerPC32.
27866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
27867 and llroundf multiarch implementations.
27868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
27870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
27872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
27874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
27875 file: multiarch llround for PowerPC32.
27876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
27877 file: multiarch llroundf for PowerPC32.
27879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
27880 multiarch PowerPC32 fpu implementations.
27881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
27883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
27885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
27886 multiarch llrint for PowerPC32.
27887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
27889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
27891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
27894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
27896 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
27898 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
27900 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
27902 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
27903 multiarch wordcopy for PPC32.
27904 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27906 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27907 (__libc_ifunc_impl_list): Likewise.
27908 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
27909 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
27910 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
27911 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
27912 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
27913 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
27915 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
27916 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
27918 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
27920 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
27922 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
27923 multiarch wcscpy for PPC32.
27924 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27926 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27927 (__libc_ifunc_impl_list): Likewise.
27928 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27929 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27930 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
27931 sysdeps/powerpc/power6/wcscpy.c.
27933 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
27934 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
27936 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
27938 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
27940 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
27941 multiarch wcsrchr for PPC32.
27942 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27944 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27945 (__libc_ifunc_impl_list): Likewise.
27946 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27947 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27948 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
27949 sysdeps/powerpc/power6/wcsrchr.c.
27951 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
27953 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
27955 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
27956 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
27957 multiarch wcschr for PPc32.
27958 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27960 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27961 (__libc_ifunc_impl_list): Likewise.
27962 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
27963 * sysdeps/powerpc/power6/wcschr.c: ... to here.
27964 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
27965 sysdeps/powerpc/power6/wcschr.c.
27967 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
27968 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
27970 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
27971 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
27972 file: multiarch strchr for PPC32.
27973 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
27975 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27976 (__libc_ifunc_impl_list): Likewise.
27978 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
27980 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
27982 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
27984 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
27985 multiarch strchrnul for PPC32.
27986 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
27988 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27989 (__libc_ifunc_impl_list): Likewise.
27991 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
27993 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
27994 multiarch strncasecmp for PPC32.
27995 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
27997 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
27998 multiarch strncasecmp_l for PPC32.
27999 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
28000 strncasecmp multiarch objects.
28001 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28002 (__libc_ifunc_impl_list): Likewise.
28004 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
28006 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
28007 multiarch strncasecmp for PPC32.
28008 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28010 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
28011 multiarch strcasecmp_l for PPC32.
28012 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
28014 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28015 (__libc_ifunc_impl_list): Likewise.
28017 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
28019 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
28021 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
28022 multiarch strncmp for PPC32.
28023 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
28025 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28026 (__libc_ifunc_impl_list): Likewise.
28028 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
28029 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
28031 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
28032 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
28033 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
28035 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28036 (__libc_ifunc_impl_list): Likewise.
28038 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
28040 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
28042 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
28043 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
28045 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28046 (__libc_ifunc_impl_list): Likewise.
28048 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
28050 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
28052 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
28053 multiarch rawmemchr for PPC32.
28054 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
28056 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28057 (__libc_ifunc_impl_list): Likewise.
28059 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
28061 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
28063 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
28064 file: memrchr multiarch for PPC32.
28065 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
28067 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28068 (__libc_ifunc_impl_list): Likewise.
28070 * string/memchr.c (__memchr): Using macro to redefine symbol name.
28071 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
28073 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
28074 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
28075 multiarch memchr for PPC32.
28076 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
28078 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28079 (__libc_ifunc_impl_list): Likewise.
28081 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
28082 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
28084 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
28086 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
28087 file: multiarch mempcpy for PPC32.
28088 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
28090 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28091 (__libc_ifunc_impl_list): Likewise.
28093 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
28094 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
28095 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
28096 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
28097 multiarch bzero for PPC32.
28098 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
28100 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
28102 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
28103 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
28104 file: multiarch memset for PPC32.
28105 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
28106 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
28107 memset multiarch objects.
28108 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28109 (__libc_ifunc_impl_list): Likewise.
28111 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
28113 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
28114 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
28116 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
28117 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
28119 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28120 (__libc_ifunc_impl_list): Likewise.
28122 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
28123 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
28124 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
28126 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
28128 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
28130 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
28131 multiarch memcpy for PPC32.
28132 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
28134 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28135 (__libc_ifunc_impl_list): Likewise.
28137 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
28138 support multiarch for POWER/PPC32.
28139 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
28141 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
28143 Implies file to make multiarch folder appers before the fpu and
28144 default folder for power4 configuration.
28146 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28148 * scripts/bench.pl: Append volatile keyword to type.
28150 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28152 * sysdeps/sh/sotruss-lib.c: New file.
28153 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
28155 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28159 2013-12-05 Joseph Myers <joseph@codesourcery.com>
28162 * math/w_tgamma.c: Include <errno.h>.
28163 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
28164 * math/w_tgammaf.c: Include <errno.h>.
28165 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
28166 * math/w_tgammal.c: Include <errno.h>.
28167 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
28168 * math/auto-libm-test-in: Do not allow missing errno on tgamma
28169 underflow. Add more tgamma tests.
28170 * math/auto-libm-test-out: Regenerated.
28171 * sysdeps/i386/fpu/libm-test-ulps: Update.
28172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28174 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
28175 sin, sinh, tan, tanh, tgamma, y0 and y1.
28176 * math/auto-libm-test-out: Regenerated.
28177 * math/libm-test.inc (TEST_COND_x86_64): New macro.
28178 (TEST_COND_x86): Likewise.
28179 (M_E2l): Remove macro.
28181 (M_2_SQRT_PIl): Likewise.
28182 (M_SQRT_PIl): Likewise.
28183 (M_1_DIV_El): Likewise.
28184 (log_test_data): Use AUTO_TESTS_f_f.
28185 (log10_test_data): Likewise.
28186 (log1p_test_data): Likewise.
28187 (log2_test_data): Likewise.
28188 (sin_test_data): Likewise.
28189 (sin_tonearest_test_data): Likewise.
28190 (sin_towardzero_test_data): Likewise.
28191 (sin_downward_test_data): Likewise.
28192 (sin_upward_test_data): Likewise.
28193 (sinh_test_data): Likewise.
28194 (sinh_tonearest_test_data): Likewise.
28195 (sinh_towardzero_test_data): Likewise.
28196 (sinh_downward_test_data): Likewise.
28197 (sinh_upward_test_data): Likewise.
28198 (tan_test_data): Likewise.
28199 (tan_tonearest_test_data): Likewise.
28200 (tan_towardzero_test_data): Likewise.
28201 (tan_downward_test_data): Likewise.
28202 (tan_upward_test_data): Likewise.
28203 (tanh_test_data): Likewise.
28204 (tgamma_test_data): Likewise.
28205 (y0_test_data): Likewise.
28206 (y1_test_data): Likewise.
28207 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
28208 (special_real_inputs): Add pi/4.
28209 * sysdeps/i386/fpu/libm-test-ulps: Update.
28210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28212 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28214 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
28215 "longjmp_target" static probes.
28216 (__longjmp): Rename to __longjmp_symbol.
28217 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28218 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
28219 on which longjmp to generate.
28220 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28221 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
28223 (__sigsetjmp): Rename to __sigsetjmp_symbol.
28224 (__sigjmp_save): Rename to __sigjmp_save_symbol.
28225 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28226 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
28227 and __sigjmp_save_symbol based on which sigsetjmp to generated.
28228 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
28229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
28230 __longjmp_symbol based on which __longjmp to generate.
28231 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
28233 (setjmp): Rename to setjmp_symbol.
28234 (__sigsetjmp): Rename to __sigsetjmp_symbol.
28235 (_setjmp): Rename to _setjmp_symbol.
28236 (__sigsetjmp): Rename to __sigsetjmp_symbol.
28237 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
28238 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
28239 which setjmp to generate.
28240 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
28241 "longjmp_target" static probes.
28243 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28245 * benchtests/README: Add note about output arguments.
28246 * benchtests/bench-sincos.c: Remove file.
28247 * benchtests/sincos-inputs: New file.
28248 * scripts/bench.pl: Identify output arguments and define
28249 static variables for them.
28251 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
28254 * Makefile (INSTALL): Add install-plain.texi as the primary
28256 * manual/install-plain.texi: New file.
28257 * manual/install.texi: Include node directive only for
28258 non-plaintext output.
28260 2013-12-04 Joseph Myers <joseph@codesourcery.com>
28262 * stdlib/longlong.h: Update from GCC.
28266 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
28267 * math/w_j0f.c (y0f): Likewise.
28268 * math/w_j0l.c (__y0l): Likewise.
28269 * math/w_j1.c (y1): Likewise.
28270 * math/w_j1f.c (y1f): Likewise.
28271 * math/w_j1l.c (__y1l): Likewise
28272 * math/w_jn.c (yn): Likewise.
28273 * math/w_jnf.c (ynf): Likewise.
28274 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
28275 Bessel function pole errors in _POSIX_ mode. Use NAN as return
28276 value for Bessel function domain errors outside _SVID_ mode.
28277 Adjust sign of return value for yn (negative integer, 0).
28278 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
28279 by zero in return for negative x and set sign appropriately for
28281 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
28282 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28283 * math/libm-test.inc (y0_test_data): Add more tests and adjust
28284 expectations in error cases.
28285 (y1_test_data): Likewise.
28286 (yn_test_data): Likewise.
28287 * sysdeps/i386/fpu/libm-test-ulps: Update.
28288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28290 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
28292 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
28293 "64" to "64-v1". Add "64-v2".
28294 (abi-64-options): Rename to ...
28295 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
28296 (abi-64-condition): Rename to ...
28297 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
28298 (abi-64-ld-soname): Rename to ...
28299 (abi-64-v1-ld-soname): ... this.
28300 (abi-64-v2-options): Define.
28301 (abi-64-v2-condition): Likewise.
28302 (abi-64-v2-ld-soname): Likewise.
28303 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
28304 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
28305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
28306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
28307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
28309 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
28310 Alan Modra <amodra@gmail.com>
28312 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
28313 New versions for use with the ELFv2 ABI.
28314 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
28315 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
28317 (struct La_ppc64v2_retval): Likewise.
28318 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
28319 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
28320 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
28321 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
28322 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
28323 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28324 Do not save or restore CR.
28325 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
28326 (_dl_profile_resolve): Do no save or restore CR. Support extended
28327 return values for ELFv2 ABI. Fix location of FPR return registers.
28328 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
28329 updated values for _CALL_ELF == 2.
28330 (La_regs, La_retval, int_retval): Likewise.
28332 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
28334 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
28335 (FRAME_MIN_SIZE_PARM): Likewise.
28336 (FRAME_BACKCHAIN): Likewise.
28337 (FRAME_CR_SAVE): Likewise.
28338 (FRAME_LR_SAVE): Likewise.
28339 (FRAME_TOC_SAVE): Likewise.
28340 (FRAME_PARM_SAVE): Likewise.
28341 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
28342 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
28343 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28344 (call_mcount_parm_offset): New macro.
28345 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
28346 (PROF): Use symbolic stack frame offsets.
28347 (TAIL_CALL_SYSCALL_ERROR): Likewise.
28348 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
28349 Redefine in terms of FRAME_MIN_SIZE.
28350 (_dl_runtime_resolve): Use symbolic stack frame offsets.
28351 (_dl_profile_resolve): Likewise. Update comment.
28352 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
28353 symbols stack frame offsets.
28354 (__sigsetjmp): Likewise.
28355 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
28356 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
28357 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
28358 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
28360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
28361 (FRAME_BACKCHAIN): Remove.
28362 (FRAME_CR_SAVE): Likewise.
28363 (FRAME_LR_SAVE): Likewise.
28364 (FRAME_COMPILER_DW): Likewise.
28365 (FRAME_LINKER_DW): Likewise.
28366 (FRAME_TOC_SAVE): Likewise.
28367 (FRAME_PARM_SAVE): Likewise.
28368 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
28369 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
28370 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
28372 (CHECK_SP): Use symbolic stack frame offsets.
28373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
28374 zone" instead of caller's parameter save area for temp storage.
28375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28376 Likewise. Also, use symbolic stack frame offsets.
28377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
28378 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
28379 our own stack frame instead of the caller's.
28380 (__socket): Use symbolic stack frame offsets.
28382 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
28383 Alan Modra <amodra@gmail.com>
28385 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
28387 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
28388 (PPC64_LOCAL_ENTRY_OFFSET): Define.
28389 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
28391 (elf_machine_fixup_plt): Call it.
28392 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
28394 (elf_machine_rela): Update call to elf_machine_plt_conflict.
28395 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28396 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
28397 r2 before calling target.
28399 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
28400 Alan Modra <amodra@gmail.com>
28402 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
28403 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
28404 versions of macros to support ELFv2 ABI.
28405 (LOCALENTRY): New macro.
28406 (ENTRY, EALIGN): Use it.
28407 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
28408 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
28409 fall through into ENTRY entry point.
28410 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
28411 Only define if _CALL_ELF != 2.
28413 (elf_machine_matches_host): Verify ABI version matches.
28414 (RTLD_START): Use LOCALENTRY.
28415 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
28416 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
28417 (PLT_ENTRY_WORDS): New macro.
28418 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
28419 (elf_machine_runtime_setup): Support ELFv2 ABI.
28420 (elf_machine_fixup_plt): Likewise.
28421 (elf_machine_plt_conflict): Likewise.
28422 (resolve_ifunc): Likewise.
28423 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
28424 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
28427 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
28428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28429 (makecontext): Support ELFv2 ABI.
28430 * elf/elf.h (EF_PPC64_ABI): Define.
28432 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
28434 * sysdeps/powerpc/powerpc64/sysdep.h
28435 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
28436 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
28437 (ENTRY) [ASSEMBLER]: ... but instead here ...
28438 (EALIGN) [ASSEMBLER]: ... and here.
28439 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
28440 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
28441 (ENTRY_2) [!ASSEMBLER]: Use it.
28442 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
28443 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
28444 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28445 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
28446 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
28447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
28448 Use PPC64_LOAD_FUNCPTR.
28450 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
28452 2013-12-04 Alan Modra <amodra@gmail.com>
28454 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
28455 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
28456 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
28457 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
28459 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
28460 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
28461 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
28462 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
28463 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
28464 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
28466 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
28468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28469 (__makecontext): Fix incorrect CFI when backtracing out of
28470 context created via makecontext.
28471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
28472 (__setcontext): Fix incorrect CFI during switch to new context.
28473 (__novec_setcontext): Likewise.
28475 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
28478 * time/strptime_l.c (__strptime_internal): Allow modifiers
28480 * time/tst-strptime.c (day_tests): Add testcase.
28482 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28484 * scripts/bench.pl: Skip over blank lines.
28486 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
28489 * manual/time.texi (Calendar Time): Clarify what timezone functions
28492 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28496 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
28498 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
28500 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28501 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28502 * debug/memset_chk.c (__memset_chk): Likewise.
28503 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
28504 * debug/strncpy_chk.c: Likewise.
28506 2013-12-03 Joseph Myers <joseph@codesourcery.com>
28510 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
28511 (__ieee754_exp): For possibly underflowing results, check size of
28512 result and force underflow exception if required.
28513 * math/auto-libm-test-in: Add more tests of exp.
28514 * math/auto-libm-test-out: Regenerated.
28515 * sysdeps/i386/fpu/libm-test-ulps: Update.
28516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28519 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
28520 * math/w_exp2f.c (__exp2f): Likewise.
28521 * math/w_exp2l.c (__exp2l): Likewise.
28522 * math/auto-libm-test-in: Do not allow missing errno on exp2
28524 * math/auto-libm-test-out: Regenerated.
28526 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
28529 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
28530 handle filename validation.
28531 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
28534 2013-12-03 Joseph Myers <joseph@codesourcery.com>
28537 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
28538 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
28539 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
28541 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
28542 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
28543 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28544 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
28545 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28546 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
28547 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28548 * math/auto-libm-test-in: Don't allow missing errno from erfc.
28549 Add more erfc tests.
28550 * math/auto-libm-test-out: Regenerated.
28551 * sysdeps/i386/fpu/libm-test-ulps: Update.
28552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28554 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
28555 exp2, expm1, j0 and j1.
28556 * math/auto-libm-test-out: Regenerated.
28557 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
28558 (erfc_test_data): Likewise.
28559 (exp_test_data): Likewise.
28560 (exp_tonearest_test_data): Likewise.
28561 (exp_towardzero_test_data): Likewise.
28562 (exp_downward_test_data): Likewise.
28563 (exp_upward_test_data): Likewise.
28564 (exp10_test_data): Likewise.
28565 (exp2_test_data): Likewise.
28566 (expm1_test_data): Likewise.
28567 (j0_test_data): Likewise.
28568 (j1_test_data): Likewise.
28569 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
28570 (input_flag_type): Add flag_xfail_rounding.
28571 (input_flags): Add xfail-rounding.
28572 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
28573 (output_for_one_input_case): Handle flag_xfail_rounding.
28574 * sysdeps/i386/fpu/libm-test-ulps: Update.
28575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28577 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
28580 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
28583 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
28586 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
28587 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
28588 (STAP_PROBE0): New macro.
28589 (STAP_PROBE1): Likewise.
28590 (STAP_PROBE2): Likewise.
28591 (STAP_PROBE3): Likewise.
28592 (STAP_PROBE4): Likewise.
28594 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
28596 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
28598 2013-12-02 Steve Ellcey <sellcey@mips.com>
28600 * benchtests/Makefile (bench): Add sqrt.
28601 (LDLIBS-bench-sqrt): New.
28602 * benchtests/sqrt-input: New.
28604 2013-12-02 Pavel Simerda <psimerda@redhat.com>
28606 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
28607 (GAIH_EAI): Likewise.
28608 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
28609 (gaih_inet): Likewise.
28610 (getaddrinfo): Don't use GAIH_EAI.
28612 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
28613 (struct gaih): Remove definition.
28615 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28617 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
28618 Use HERRNOP directly.
28620 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28624 2013-11-30 Joseph Myers <joseph@codesourcery.com>
28626 * math/gen-auto-libm-tests.c (test_functions): Add more
28627 single-argument functions.
28628 (special_fill_pi_2): New function.
28629 (special_fill_minus_pi_2): Likewise.
28630 (special_fill_pi_6): Likewise.
28631 (special_fill_minus_pi_6): Likewise.
28632 (special_fill_pi_3): Likewise.
28633 (special_fill_2pi_3): Likewise.
28634 (special_fill_e): Likewise.
28635 (special_fill_1_e): Likewise.
28636 (special_fill_e_minus_1): Likewise.
28637 (special_real_inputs): Add more special inputs.
28638 (output_for_one_input_case): Do not require ERANGE on underflow to
28639 zero if round-to-nearest result does not underflow to zero, unless
28640 exact results required.
28641 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
28642 atan, atanh, cbrt, cos and cosh.
28643 * math/auto-libm-test-out: Regenerated.
28644 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
28645 (acos_tonearest_test_data): Likewise.
28646 (acos_towardzero_test_data): Likewise.
28647 (acos_downward_test_data): Likewise.
28648 (acos_upward_test_data): Likewise.
28649 (acosh_test_data): Likewise.
28650 (asin_test_data): Likewise.
28651 (asin_tonearest_test_data): Likewise.
28652 (asin_towardzero_test_data): Likewise.
28653 (asin_upward_test_data): Likewise.
28654 (asinh_test_data): Likewise.
28655 (atan_test_data): Likewise.
28656 (atanh_test_data): Likewise.
28657 (cbrt_test_data): Likewise.
28658 (cos_test_data): Likewise.
28659 (cos_tonearest_test_data): Likewise.
28660 (cos_towardzero_test_data): Likewise.
28661 (cos_downward_test_data): Likewise.
28662 (cos_upward_test_data): Likewise.
28663 (cosh_test_data): Likewise.
28664 (cosh_tonearest_test_data): Likewise.
28665 (cosh_towardzero_test_data): Likewise.
28666 (cosh_downward_test_data): Likewise.
28667 (cosh_upward_test_data): Likewise.
28668 * sysdeps/i386/fpu/libm-test-ulps: Update.
28669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28671 2013-11-29 Joseph Myers <joseph@codesourcery.com>
28674 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
28675 * math/w_exp10f.c (__exp10f): Likewise.
28676 * math/w_exp10l.c (__exp10l): Likewise.
28677 * math/libm-test.inc (exp10_test_data): Add more tests and expect
28678 errno settings in existing tests.
28681 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
28682 precision control set to double precision.
28683 * sysdeps/i386/fpu/w_sqrt.c: New file.
28684 * math/auto-libm-test-in: Add more tests.
28685 * math/auto-libm-test-out: Update.
28687 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
28688 (sqrt_test_tonearest): New function.
28689 (sqrt_towardzero_test_data): New variable.
28690 (sqrt_test_towardzero): New function.
28691 (sqrt_downward_test_data): New variable.
28692 (sqrt_test_downward): New function.
28693 (sqrt_upward_test_data): New variable.
28694 (sqrt_test_upward): New function.
28695 (main): Call the new functions.
28697 * math/gen-auto-libm-tests.c: New file.
28698 * math/auto-libm-test-in: Likewise.
28699 * math/auto-libm-test-out: New generated file.
28700 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
28702 (%beautify): Add generated representations of zero.
28703 (top level): Set $auto_input and call parse_auto_input.
28704 (beautify): Remove trailing "f" from hex float constants.
28705 (parse_args): Handle XFAIL_TEST.
28706 (convert_condition): New function.
28707 (or_value): Likewise.
28708 (or_cond_value): Likewise.
28709 (generate_testfile): Handle AUTO_TESTS_* lines.
28710 (parse_auto_input): New function.
28711 * math/libm-test.inc (XFAIL_TEST): New macro.
28712 (ERRNO_UNCHANGED): Update value.
28713 (ERRNO_EDOM): Likewise.
28714 (ERRNO_ERANGE): Likewise.
28715 (IGNORE_RESULT): Likewise.
28716 (TEST_COND_flt_32): New macro.
28717 (TEST_COND_dbl_64): Likewise.
28718 (TEST_COND_ldbl_96_intel): Likewise.
28719 (TEST_COND_ldbl_96_m68k): Likewise.
28720 (TEST_COND_ldbl_128): Likewise.
28721 (TEST_COND_ldbl_128ibm): Likewise.
28722 (TEST_COND_long32): Likewise.
28723 (TEST_COND_long64): Likewise.
28724 (TEST_COND_before_rounding): Likewise.
28725 (TEST_COND_after_rounding): Likewise.
28726 (enable_test): Handle XFAIL_TEST flag.
28727 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28728 with finite results.
28729 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28730 auto-libm-test-out.
28732 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28733 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28736 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
28737 __tls_get_addr_internal instead of __tls_get_offset in order to
28738 avoid GOT pointer dependency. Make rtld export
28739 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
28740 __tls_get_addr since we are a __tls_get_offset platform.
28741 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
28742 GOT pointer being set up before.
28743 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
28745 2013-11-28 Joseph Myers <joseph@codesourcery.com>
28747 * manual/math.texi (Errors in Math Functions): Document accuracy
28751 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
28752 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
28753 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28754 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28755 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28756 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28757 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28758 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28759 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28760 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28761 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28762 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28763 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28764 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28765 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28766 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28768 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
28769 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
28770 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
28771 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
28772 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
28774 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
28776 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
28778 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
28779 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
28780 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
28781 atomic-feupdateenv and flt-rounds.
28782 * sysdeps/powerpc/nofpu/Versions (libc): Add
28783 __atomic_feholdexcept, __atomic_feclearexcept,
28784 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
28785 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
28786 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
28787 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
28788 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
28790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28793 * manual/arith.texi (FP Exceptions): Document that exceptions may
28794 not be raised when matherr is used.
28795 (Math Error Reporting): Document overflow in directed rounding
28796 modes. Document that errno may not be set when finite values are
28797 returned on overflow. Document intent to set errno on underflow
28798 only for underflow to zero.
28801 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
28802 round-to-nearest then adjust result for other rounding modes.
28803 * include/fenv.h (fegetround): Use libm_hidden_proto.
28804 * math/fegetround.c (fegetround): Use libm_hidden_def.
28805 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28806 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28807 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28808 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28810 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
28811 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28812 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28813 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
28815 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28818 * nss/Versions (libnss_files): Add
28819 _nss_files_gethostbyname3_r.
28820 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
28822 (HOST_DB_LOOKUP): Remove macro.
28823 (_nss_files_gethostbyname_r): Implement function without the
28824 HOST_DB_LOOKUP macro.
28825 (_nss_files_gethostbyname2_r): Likewise.
28827 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
28829 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
28831 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
28833 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
28834 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
28837 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28839 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
28840 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
28841 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28842 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28843 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
28844 __fe_nomask_env_priv and attribute_hidden.
28845 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
28846 (libc_feupdateenv_test_ppc): Likewise.
28847 (libc_feresetround_ppc): Likewise.
28848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28849 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
28850 compat_symbol macro.
28851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28852 (__fe_nomask_env): Likewise.
28853 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
28855 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
28857 * string/Makefile: Remove ifunc tests.
28858 * string/test-string.h: Define TEST_IFUNC.
28859 * string/test-bcopy-ifunc.c: Remove.
28860 * string/test-bzero-ifunc.c: Likewise.
28861 * string/test-memccpy-ifunc.c: Likewise.
28862 * string/test-memchr-ifunc.c: Likewise.
28863 * string/test-memcmp-ifunc.c: Likewise.
28864 * string/test-memcpy-ifunc.c: Likewise.
28865 * string/test-memmem-ifunc.c: Likewise.
28866 * string/test-memmove-ifunc.c: Likewise.
28867 * string/test-mempcpy-ifunc.c: Likewise.
28868 * string/test-memrchr-ifunc.c: Likewise.
28869 * string/test-memset-ifunc.c: Likewise.
28870 * string/test-rawmemchr-ifunc.c: Likewise.
28871 * string/test-stpcpy-ifunc.c: Likewise.
28872 * string/test-stpncpy-ifunc.c: Likewise.
28873 * string/test-strcasecmp-ifunc.c: Likewise.
28874 * string/test-strcasestr-ifunc.c: Likewise.
28875 * string/test-strcat-ifunc.c: Likewise.
28876 * string/test-strchr-ifunc.c: Likewise.
28877 * string/test-strchrnul-ifunc.c: Likewise.
28878 * string/test-strcmp-ifunc.c: Likewise.
28879 * string/test-strcpy-ifunc.c: Likewise.
28880 * string/test-strcspn-ifunc.c: Likewise.
28881 * string/test-strlen-ifunc.c: Likewise.
28882 * string/test-strncasecmp-ifunc.c: Likewise.
28883 * string/test-strncat-ifunc.c: Likewise.
28884 * string/test-strncmp-ifunc.c: Likewise.
28885 * string/test-strncpy-ifunc.c: Likewise.
28886 * string/test-strnlen-ifunc.c: Likewise.
28887 * string/test-strpbrk-ifunc.c: Likewise.
28888 * string/test-strrchr-ifunc.c: Likewise.
28889 * string/test-strspn-ifunc.c: Likewise.
28890 * string/test-strstr-ifunc.c: Likewise.
28892 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
28894 * benchtests/Makefile: Remove ifunc tests.
28895 * benchtests/bench-string.h: Define TEST_IFUNC.
28896 * benchtests/bench-bcopy-ifunc.c: Remove.
28897 * benchtests/bench-bzero-ifunc.c: Likewise.
28898 * benchtests/bench-memccpy-ifunc.c: Likewise.
28899 * benchtests/bench-memchr-ifunc.c: Likewise.
28900 * benchtests/bench-memcmp-ifunc.c: Likewise.
28901 * benchtests/bench-memcpy-ifunc.c: Likewise.
28902 * benchtests/bench-memmem-ifunc.c: Likewise.
28903 * benchtests/bench-memmove-ifunc.c: Likewise.
28904 * benchtests/bench-mempcpy-ifunc.c: Likewise.
28905 * benchtests/bench-memrchr-ifunc.c: Likewise.
28906 * benchtests/bench-memset-ifunc.c: Likewise.
28907 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
28908 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
28909 * benchtests/bench-stpcpy-ifunc.c: Likewise.
28910 * benchtests/bench-stpncpy-ifunc.c: Likewise.
28911 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
28912 * benchtests/bench-strcasestr-ifunc.c: Likewise.
28913 * benchtests/bench-strcat-ifunc.c: Likewise.
28914 * benchtests/bench-strchr-ifunc.c: Likewise.
28915 * benchtests/bench-strchrnul-ifunc.c: Likewise.
28916 * benchtests/bench-strcmp-ifunc.c: Likewise.
28917 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
28918 * benchtests/bench-strcpy-ifunc.c: Likewise.
28919 * benchtests/bench-strcspn-ifunc.c: Likewise.
28920 * benchtests/bench-strlen-ifunc.c: Likewise.
28921 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
28922 * benchtests/bench-strncat-ifunc.c: Likewise.
28923 * benchtests/bench-strncmp-ifunc.c: Likewise.
28924 * benchtests/bench-strncpy-ifunc.c: Likewise.
28925 * benchtests/bench-strnlen-ifunc.c: Likewise.
28926 * benchtests/bench-strpbrk-ifunc.c: Likewise.
28927 * benchtests/bench-strrchr-ifunc.c: Likewise.
28928 * benchtests/bench-strsep-ifunc.c: Likewise.
28929 * benchtests/bench-strspn-ifunc.c: Likewise.
28930 * benchtests/bench-strstr-ifunc.c: Likewise.
28932 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
28934 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
28936 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
28938 * resolv/netdb.h: Use __glibc_reserved instead __unused.
28939 * rt/aio.h: Likewise.
28940 * sysdeps/gnu/bits/utmp.h: Likewise.
28941 * sysdeps/gnu/bits/utmpx.h: Likewise.
28942 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28943 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
28944 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
28945 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
28946 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
28947 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
28948 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
28949 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
28950 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
28951 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
28952 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
28953 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
28954 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
28955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
28956 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28957 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
28958 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
28959 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
28960 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
28961 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
28962 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
28963 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
28964 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
28965 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28966 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
28967 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28968 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
28969 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
28970 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
28971 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
28972 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
28973 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
28974 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
28975 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28976 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
28977 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
28978 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
28979 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
28980 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
28981 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
28982 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
28983 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28985 2013-11-25 Carlos O'Donell <carlos@redhat.com>
28988 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
28989 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
28991 2013-11-25 Joseph Myers <joseph@codesourcery.com>
28993 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
28994 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28997 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28999 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
29000 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
29001 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
29002 (__fesetround): Remove define.
29003 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
29004 rounding and exceptions handling.
29005 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
29006 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
29007 (__fe_nomask_env): Likewise.
29008 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
29009 __fegetround instead of fegetround.
29010 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
29011 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
29013 2013-11-21 Roland McGrath <roland@hack.frob.com>
29015 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
29018 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
29020 2013-11-21 Meador Inge <meadori@codesourcery.com>
29023 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
29024 (encrypt_r): Likewise.
29025 * malloc/obstack.h (obstack_free): Likewise.
29026 * posix/unistd.h (encrypt): Likewise.
29028 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
29030 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
29031 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
29032 DL_CALL_DT_FINI() that call the functions directly.
29033 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
29034 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
29035 * elf/dl-fini.c: Likewise.
29037 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
29039 * malloc/hooks.c (memalign_check): Add alignment rounding.
29040 * malloc/malloc.c (_mid_memalign): New function.
29041 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
29042 Implement by calling _mid_memalign.
29043 * manual/probes.texi (Memory Allocation Probes): Remove
29044 memory_valloc_retry and memory_pvalloc_retry.
29046 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29048 * locale/programs/locarchive.c (open_archive): Add const
29049 qualifier to ARCHIVEFNAME and copy default fname to
29053 * libio/tst-widetext.input: Rename Oriya to Odia.
29054 * locale/iso-639.def: Likewise.
29056 * manual/probes.texi (Mathematical Function Probes): Add
29057 documentation for sin, cos, asin and acos probes.
29058 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
29059 (__sin32): Add slowasin probe.
29060 (__cos32): Add slowacos probe.
29061 (__mpsin): Add slowsin probe.
29062 (__mpcos): Add slowcos probe.
29064 2013-11-19 Joseph Myers <joseph@codesourcery.com>
29067 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
29068 thread-local __sim_exceptions_thread and global
29069 __sim_exceptions_global.
29070 (__sim_disabled_exceptions): Change to thread-local
29071 __sim_disabled_exceptions_thread and global
29072 __sim_disabled_exceptions_global.
29073 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29074 and global __sim_round_mode_global.
29075 (__simulate_exceptions): Use thread-local floating-point state and
29076 set global state from it as needed.
29077 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
29078 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
29079 __sim_round_mode_thread.
29080 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
29081 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
29082 and global __sim_exceptions_global.
29083 (__sim_disabled_exceptions): Change to thread-local
29084 __sim_disabled_exceptions_thread and global
29085 __sim_disabled_exceptions_global.
29086 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29087 and global __sim_round_mode_global.
29088 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
29089 (SIM_SET_GLOBAL): Likewise.
29090 * sysdeps/powerpc/soft-fp/sfp-machine.h
29091 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
29092 __sim_round_mode_thread.
29093 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
29094 __sim_disabled_exceptions_thread.
29095 (__sim_exceptions): Change to __sim_exceptions_thread.
29096 (__sim_disabled_exceptions): Change to
29097 __sim_disabled_exceptions_thread.
29098 (__sim_round_mode): Change to __sim_round_mode_thread.
29099 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
29100 thread-local floating-point state and set global state from it as
29102 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
29103 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
29104 (__sim_disabled_exceptions): Remove extern declaration.
29105 (feenableexcept): Use thread-local floating-point state and set
29106 global state from it as needed.
29107 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
29108 extern declaration.
29109 (__sim_disabled_exceptions): Likewise.
29110 (__sim_round_mode): Likewise.
29111 (__fegetenv): Use thread-local floating-point state.
29112 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
29113 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29114 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
29115 floating-point state and set global state from it as needed.
29116 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
29117 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29118 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
29120 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
29121 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
29123 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
29124 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
29125 Use __sim_round_mode_thread.
29126 * math/test-fenv-tls.c: New file.
29127 * math/Makefile (tests): Add test-fenv-tls.
29128 ($(objpfx)test-fenv-tls): Depend on
29129 $(common-objpfx)nptl/libpthread.so.
29131 2013-11-19 Andreas Schwab <schwab@suse.de>
29133 * locale/programs/locale.c (show_info): Decode wordarray elements.
29134 * locale/categories.def (LC_MONETARY): Add element for
29135 _NL_MONETARY_CRNCYSTR.
29136 * locale/C-monetary.c (conversion_rate): New variable.
29137 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
29140 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
29142 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
29143 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
29145 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29147 * elf/Makefile (tst-auxv): New test.
29148 * elf/tst-auxv.c: New
29149 * elf/rtld.c (dl_main): Adjust AT_EXECFN
29151 2013-11-18 Joseph Myers <joseph@codesourcery.com>
29153 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
29154 (hidden_proto): Caller changed.
29155 (hidden_tls_proto): New macro.
29156 (libc_hidden_tls_proto): Likewise.
29157 (rtld_hidden_tls_proto): Likewise.
29158 (libm_hidden_tls_proto): Likewise.
29159 (libresolv_hidden_tls_proto): Likewise.
29160 (librt_hidden_tls_proto): Likewise.
29161 (libdl_hidden_tls_proto): Likewise.
29162 (libnss_files_hidden_tls_proto): Likewise.
29163 (libnsl_hidden_tls_proto): Likewise.
29164 (libnss_nisplus_hidden_tls_proto): Likewise.
29165 (libutil_hidden_tls_proto): Likewise.
29167 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
29170 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
29171 (decompose_rpath): Defer expansion to fillin_rpath.
29172 (_dl_init_paths): Pass linkmap to fillin_rpath.
29174 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29176 * benchtests/Makefile: Add strsep.
29177 * benchtests/bench-strsep.c: New file: strsep benchtest.
29178 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
29180 2013-11-18 Andreas Schwab <schwab@suse.de>
29182 * locale/programs/locale.c (show_info) [case byte]: Check for
29183 '\377' instead of '\177'.
29184 * locale/C-monetary.c (not_available): Always use "\377".
29185 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
29186 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
29187 detect unavailable sign_posn locale elements.
29188 * locale/localeconv.c (__localeconv): For grouping and
29189 mon_grouping handle "\177" and "\377" like no grouping.
29190 (INT_ELEM): New macro. Use it to set all numeric members.
29191 * locale/programs/ld-monetary.c (monetary_read)
29192 <tok_mon_grouping>: Normalize single -1 to the empty string.
29193 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
29196 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
29199 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
29200 when we match (nil).
29201 * stdio-common/tst-sscanf.c (struct test): Add testcase.
29203 2013-11-16 Joseph Myers <joseph@codesourcery.com>
29205 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
29206 (NO_TEST_INLINE): Update value.
29207 (ERRNO_UNCHANGED): Likewise.
29208 (ERRNO_EDOM): Likewise.
29209 (ERRNO_ERANGE): Likewise.
29210 (IGNORE_RESULT): Likewise.
29211 (check_float_internal): Check signs of NaN results if
29212 TEST_NAN_SIGN used.
29213 (check_complex): Pass TEST_NAN_SIGN flag through to second
29214 check_float_internal call.
29215 (copysign_test_data): Add tests with quiet NaNs as second
29216 argument. Use TEST_NAN_SIGN.
29217 (fabs_test_data): Add test of negative quiet NaN argument. Use
29219 (signbit_test_data): Add tests of quiet NaN argument.
29220 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
29222 * math/gen-libm-test.pl (show_exceptions): Take extra argument
29224 (parse_args): Handle function results specified as IGNORE.
29225 * math/libm-test.inc (IGNORE_RESULT): New macro.
29226 (check_float_internal): Do not check numerical result if flag
29228 (check_complex): Pass through IGNORE_RESULT to second
29229 check_float_internal call.
29230 (check_int): Do not check numerical result if flag IGNORE_RESULT
29232 (check_long): Likewise.
29233 (check_bool): Likewise.
29234 (check_longlong): Likewise.
29235 (lrint_test_data): Add tests of infinite and NaN arguments.
29236 (lrint_tonearest_test_data): Likewise.
29237 (lrint_towardzero_test_data): Likewise.
29238 (lrint_downward_test_data): Likewise.
29239 (lrint_upward_test_data): Likewise.
29240 (llrint_test_data): Likewise.
29241 (llrint_tonearest_test_data): Likewise.
29242 (llrint_towardzero_test_data): Likewise.
29243 (llrint_downward_test_data): Likewise.
29244 (llrint_upward_test_data): Likewise.
29245 (lround_test_data): Likewise.
29246 (llround_test_data): Likewise.
29248 * math/libm-test.inc (NO_TEST_INLINE): New macro.
29249 (ERRNO_UNCHANGED): Update value.
29250 (ERRNO_EDOM): Likewise.
29251 (ERRNO_ERANGE): Likewise.
29252 (NO_TEST_INLINE_FLOAT): New macro.
29253 (NO_TEST_INLINE_DOUBLE): Likewise.
29254 (enable_test): New function.
29255 (RUN_TEST_f_f): Check enable_test before running test.
29256 (RUN_TEST_2_f): Likewise.
29257 (RUN_TEST_fff_f): Likewise.
29258 (RUN_TEST_c_f): Likewise.
29259 (RUN_TEST_f_f1): Likewise.
29260 (RUN_TEST_fF_f1): Likewise.
29261 (RUN_TEST_fI_f1): Likewise.
29262 (RUN_TEST_ffI_f1): Likewise.
29263 (RUN_TEST_c_c): Likewise.
29264 (RUN_TEST_cc_c): Likewise.
29265 (RUN_TEST_f_i): Likewise.
29266 (RUN_TEST_f_i_tg): Likewise.
29267 (RUN_TEST_ff_i_tg): Likewise.
29268 (RUN_TEST_f_b): Likewise.
29269 (RUN_TEST_f_b_tg): Likewise.
29270 (RUN_TEST_f_l): Likewise.
29271 (RUN_TEST_f_L): Likewise.
29272 (RUN_TEST_fFF_11): Likewise.
29273 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
29275 (cosh_test_data): Likewise.
29276 (exp_test_data): Likewise.
29277 (expm1_test_data): Likewise.
29278 (hypot_test_data): Likewise.
29279 (pow_test_data): Likewise.
29280 (sinh_test_data): Likewise.
29281 (tanh_test_data): Likewise.
29282 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
29285 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
29286 tests with quiet NaN input and output.
29287 (acosh_test_data): Likewise.
29288 (asin_test_data): Likewise.
29289 (asinh_test_data): Likewise.
29290 (atan_test_data): Likewise.
29291 (atanh_test_data): Likewise.
29292 (atan2_test_data): Likewise.
29293 (cbrt_test_data): Likewise.
29294 (cos_test_data): Likewise.
29295 (cosh_test_data): Likewise.
29296 (erf_test_data): Likewise.
29297 (erfc_test_data): Likewise.
29298 (exp_test_data): Likewise.
29299 (exp10_test_data): Likewise.
29300 (exp2_test_data): Likewise.
29301 (expm1_test_data): Likewise.
29302 (hypot_test_data): Likewise.
29303 (j0_test_data): Likewise.
29304 (j1_test_data): Likewise.
29305 (jn_test_data): Likewise.
29306 (lgamma_test_data): Likewise.
29307 (log_test_data): Likewise.
29308 (log10_test_data): Likewise.
29309 (log1p_test_data): Likewise.
29310 (log2_test_data): Likewise.
29311 (pow_test_data): Likewise.
29312 (scalb_test_data): Likewise.
29313 (sin_test_data): Likewise.
29314 (sincos_test_data): Likewise.
29315 (sinh_test_data): Likewise.
29316 (tan_test_data): Likewise.
29317 (tanh_test_data): Likewise.
29318 (tgamma_test_data): Likewise.
29319 (y0_test_data): Likewise.
29320 (y1_test_data): Likewise.
29321 (yn_test_data): Likewise.
29324 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
29325 argument being NaN and avoid computations with second argument in
29327 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29328 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29329 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29331 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
29333 * locale/iso-639.def: Add Chitwani Tharu (the).
29335 2013-11-14 Andreas Schwab <schwab@suse.de>
29337 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
29338 word instead of empty string.
29340 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29343 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
29344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29345 (__fe_nomask_env): Likewise.
29347 2013-11-13 Steve Ellcey <sellcey@mips.com>
29349 * benchtests/bench-timing.h: Include time.h.
29351 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
29354 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
29356 * sysdeps/unix/sysv/linux/configure: Regenerated.
29358 2013-11-13 Joseph Myers <joseph@codesourcery.com>
29361 * stdlib/strtod_l.c (round_and_return): Do not consider
29362 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
29363 exponent one less than half the least subnormal exponent.
29364 * stdlib/test-strtod-round-data: Add more tests.
29365 * stdlib/tst-strtod-round.c (tests): Regenerated.
29367 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29370 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
29371 (__fe_mask_env): Likewise.
29372 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
29373 libm_hidden_proto and add function prototype.
29374 (__fe_mask_env): Add function prototype.
29375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29376 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
29377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29378 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
29379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29380 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
29382 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29384 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
29385 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
29387 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29389 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
29390 of htab_find_slot().
29392 2013-11-11 David S. Miller <davem@davemloft.net>
29395 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
29396 symbol in the non-vis3 case in static builds.
29397 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
29398 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
29399 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
29400 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
29402 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
29405 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
29408 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29410 * benchtests/Makefile: Add bench-strtod.
29411 * benchtests/bench-strtod.c: New file: strtod benchtest
29413 2013-11-11 Andreas Schwab <schwab@suse.de>
29416 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
29417 terminating NUL in key length.
29419 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29421 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29422 Add artificial ODP entry for vDSO symbol for PPC64.
29423 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
29424 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
29426 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
29429 * nss/getent.c (services_keys): Recognize services starting with digit.
29431 2013-11-06 David S. Miller <davem@davemloft.net>
29434 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
29435 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
29437 2013-11-06 Will Newton <will.newton@linaro.org>
29439 * manual/memory.texi (Malloc Examples): Remove register
29440 keyword from examples.
29442 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
29444 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
29446 2013-11-04 Joseph Myers <joseph@codesourcery.com>
29449 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
29450 depending on [__GCC_IEC_559 > 0].
29451 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
29452 depending on [__GCC_IEC_559_COMPLEX > 0].
29454 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
29456 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
29459 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
29461 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
29463 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
29466 * malloc/malloc (malloc_info): Do not handle first bin as
29469 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
29471 * locale/iso-639.def: Add Central Nahuatl (nhn).
29473 2013-11-01 Bruno Haible <bruno@clisp.org>
29476 * manual/math.texi (BSD Random): Specify range upper bound as
29479 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
29481 * locale/iso-639.def: Add Meadow Mari (mhr).
29483 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
29485 [BZ #14752], [BZ #15763]
29486 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
29488 * rt/tst_shm.c: Add test for escaping directory.
29490 2013-10-31 Andreas Schwab <schwab@suse.de>
29493 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
29494 followed by 'x' as part of digit sequence.
29495 * stdio-common/tst-sscanf.c (double_tests2): New tests.
29497 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
29500 * configure.ac: allow GNU Make 4.0 and greater.
29501 * configure: Regenerated.
29503 2013-10-30 Will Newton <will.newton@linaro.org>
29506 * malloc/hooks.c (memalign_check): Limit alignment to the
29507 maximum representable power of two.
29508 * malloc/malloc.c (__libc_memalign): Likewise.
29509 * malloc/tst-memalign.c (do_test): Add test for very
29510 large alignment values.
29511 * malloc/tst-posix_memalign.c (do_test): Likewise.
29513 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
29516 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
29517 (munmap_chunk): Likewise.
29518 (mremap_chunk): Likewise.
29520 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
29523 * stdlib/div.c (div): Remove obsolete code.
29524 * stdlib/ldiv.c (ldiv): Likewise.
29525 * stdlib/lldiv.c (lldiv): Likewise.
29527 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29530 * nss/nss_files/files-XXX.c (get_contents_ret): New
29532 (get_contents): New function.
29533 (internal_getent): Use it. Expand size of LINEBUFLEN.
29535 2013-10-30 Mike Frysinger <vapier@gentoo.org>
29537 * configure.in: Moved to ...
29538 * configure.ac: ... here. Change reference to configure.in
29540 * sysdeps/arm/preconfigure.ac: ... here.
29541 configure.in to configure.ac.
29542 * sysdeps/gnu/configure.in: Moved to ...
29543 * sysdeps/gnu/configure.ac: ... here.
29544 * sysdeps/i386/configure.in: Moved to ...
29545 * sysdeps/i386/configure.ac: ... here.
29546 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
29547 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
29548 * sysdeps/mach/configure.in: Moved to ...
29549 * sysdeps/mach/configure.ac: ... here.
29550 * sysdeps/mach/hurd/configure.in: Moved to ...
29551 * sysdeps/mach/hurd/configure.ac: ... here.
29552 * sysdeps/powerpc/configure.in: Moved to ...
29553 * sysdeps/powerpc/configure.ac: ... here.
29554 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
29555 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
29556 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
29557 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
29558 * sysdeps/s390/s390-32/configure.in: Moved to ...
29559 * sysdeps/s390/s390-32/configure.ac: ... here.
29560 * sysdeps/s390/s390-64/configure.in: Moved to ...
29561 * sysdeps/s390/s390-64/configure.ac: ... here.
29562 * sysdeps/sh/configure.in: Moved to ...
29563 * sysdeps/sh/configure.ac: ... here.
29564 * sysdeps/sparc/configure.in: Moved to ...
29565 * sysdeps/sparc/configure.ac: ... here.
29566 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
29567 * sysdeps/unix/sysv/linux/configure.ac: ... here.
29568 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
29569 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
29570 * sysdeps/x86_64/configure.in: Moved to ...
29571 * sysdeps/x86_64/configure.ac: ... here.
29572 * sysdeps/x86_64/preconfigure.in: Moved to ...
29573 * sysdeps/x86_64/preconfigure.ac: ... here.
29574 * aclocal.m4: Change reference to configure.in to configure.ac.
29575 * config.h.in: Likewise.
29576 * manual/install.texi: Likewise.
29577 * manual/maint.texi: Likewise.
29578 * Makefile: Likewise.
29579 * malloc/Makefile: Likewise.
29580 * nscd/Makefile: Likewise.
29581 * Makeconfig: Change reference to configure.in and
29582 preconfigure.in to configure.ac and preconfigure.ac
29584 * INSTALL: Regenerated.
29585 * configure: Likewise.
29586 * sysdeps/gnu/configure: Likewise.
29587 * sysdeps/i386/configure: Likewise.
29588 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
29589 * sysdeps/mach/configure: Likewise.
29590 * sysdeps/mach/hurd/configure: Likewise.
29591 * sysdeps/powerpc/configure: Likewise.
29592 * sysdeps/powerpc/powerpc32/configure: Likewise.
29593 * sysdeps/powerpc/powerpc64/configure: Likewise.
29594 * sysdeps/s390/s390-32/configure: Likewise.
29595 * sysdeps/s390/s390-64/configure: Likewise.
29596 * sysdeps/sh/configure: Likewise.
29597 * sysdeps/sparc/configure: Likewise.
29598 * sysdeps/unix/sysv/linux/configure: Likewise.
29599 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
29600 * sysdeps/x86_64/configure: Likewise.
29601 * sysdeps/x86_64/preconfigure: Likewise.
29603 2013-10-29 Andreas Schwab <schwab@suse.de>
29605 * stdio-common/Makefile (tst-swscanf-ENV): Define.
29607 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29609 * benchtests/pow-inputs: Add new inputs.
29611 * benchtests/exp-inputs: Add new inputs.
29613 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
29614 conditional check for return value.
29615 (__cos32): Likewise.
29617 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29619 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
29620 to provide a boost for large inputs with word alignment.
29621 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
29622 implementation based on optimized PPC64 strcpy.
29623 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
29624 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
29625 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
29626 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
29628 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
29631 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
29633 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
29636 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
29637 * time/tst-strptime.c (day_tests): Add testcase.
29639 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
29642 * manual/pattern.texi: Acknowledge that fnmatch can fail.
29644 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
29647 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
29648 MAP_FAILED on error.
29650 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29653 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
29654 heap for large requests.
29656 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
29659 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
29660 result if the result has no associated interface.
29661 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
29662 interface for all 127.X.Y.Z addresses.
29664 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
29666 * locale/iso-639.def: Add Ligurian (lij)
29668 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
29671 * sunrpc/rpc_main.c: Document rpcgen -5.
29673 2013-10-19 Michael Stahl <mstahl@redhat.com>
29675 * elf/rtld.c (do_preload): Print the reason why preloading failed.
29677 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
29680 * posix/glob.c: Match only directories when trailing slash is present.
29681 * posix/tst-gnuglob.c (my_opendir): Do not open files.
29682 (main): Add testcase.
29684 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
29687 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
29689 2013-10-18 Carlos O'Donell <carlos@redhat.com>
29691 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29692 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
29693 AUTH_DES and cindex for FIPS 140-2.
29694 (DES Encryption): Add cindex FIPS 46-3.
29696 * locale/locarchive.h (struct locarhandle): Add fname.
29697 * locale/programs/localedef.c (main): Pass ARGV[remaining]
29698 if an optional argument was specified to --list-archive,
29700 * locale/programs/locarchive.c (show_archive_content): Take new
29701 argument fname and pass it via ah.fname to open_archive.
29702 * locale/programs/localedef.h: Update decl.
29703 (open_archive): If AH->fname is non-null, open that file
29704 rather than the default file name, and don't ignore ENOENT.
29705 (create_archive): Set AH.fname to NULL.
29706 (delete_locales_from_archive): Likewise.
29707 (add_locales_to_archive): Likewise.
29708 * locale/programs/locfile.c (write_all_categories): Likewise.
29710 2013-10-18 Joseph Myers <joseph@codesourcery.com>
29711 Aldy Hernandez <aldyh@redhat.com>
29713 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29714 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29715 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29716 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29717 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29718 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29719 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29720 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29721 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29722 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29723 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29724 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29725 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29726 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29727 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29729 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29731 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
29733 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
29735 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
29736 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
29738 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
29739 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
29740 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
29741 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
29743 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
29744 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
29745 * sysdeps/powerpc/preconfigure: Likewise.
29746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
29748 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
29749 Replace contents of file by #include of <fenv_libc.h>.
29750 * sysdeps/powerpc/soft-fp/sfp-machine.h
29751 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
29753 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
29754 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
29755 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
29756 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
29757 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
29758 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
29759 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
29760 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
29761 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
29762 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
29763 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
29764 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
29765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29766 Allow copysignl PLT reference to be missing.
29768 2013-10-18 Richard Sandiford <richard@codesourcery.com>
29769 Joseph Myers <joseph@codesourcery.com
29772 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
29774 (add_to_tablewc): Assert sequence of wide characters is nonempty.
29776 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29778 * elf/tst-tls-dlinfo.c: Don't include tls.h.
29779 * elf/tst-tls1.c: Likewise.
29780 * elf/tst-tls10.h: Likewise.
29781 * elf/tst-tls14.c: Likewise.
29782 * elf/tst-tls2.c: Likewise.
29783 * elf/tst-tls3.c: Likewise.
29784 * elf/tst-tls4.c: Likewise.
29785 * elf/tst-tls5.c: Likewise.
29786 * elf/tst-tls6.c: Likewise.
29787 * elf/tst-tls7.c: Likewise.
29788 * elf/tst-tls8.c: Likewise.
29789 * elf/tst-tls9.c: Likewise.
29790 * elf/tst-tlsmod1.c: Likewise.
29791 * elf/tst-tlsmod13.c: Likewise.
29792 * elf/tst-tlsmod13a.c: Likewise.
29793 * elf/tst-tlsmod14a.c: Likewise.
29794 * elf/tst-tlsmod16a.c: Likewise.
29795 * elf/tst-tlsmod16b.c: Likewise.
29796 * elf/tst-tlsmod2.c: Likewise.
29797 * elf/tst-tlsmod3.c: Likewise.
29798 * elf/tst-tlsmod4.c: Likewise.
29799 * elf/tst-tlsmod5.c: Likewise.
29800 * elf/tst-tlsmod6.c: Likewise.
29802 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
29805 * malloc/malloc.c: remove checks for statistics.
29807 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
29810 * inet/inet_net.c (inet_network): Detect additional invalid strings.
29811 * inet/tst-network.c: Add testcase.
29813 2013-10-17 Andreas Schwab <schwab@suse.de>
29816 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
29817 to determine canonical name.
29819 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
29821 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
29822 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
29823 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29824 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29825 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29826 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29827 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29828 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29829 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29830 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29831 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29832 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29833 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29834 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29835 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29836 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29837 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29838 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29839 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29840 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29841 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29842 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29843 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29844 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
29845 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
29846 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29847 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29848 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
29849 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29850 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
29851 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29852 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29853 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29854 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29855 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29856 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29857 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29858 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29859 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29860 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29861 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29862 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29863 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29864 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29865 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29866 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29867 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29868 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29869 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29870 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29871 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29872 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29873 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29874 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29875 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29876 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29877 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29878 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29880 2013-10-17 Joseph Myers <joseph@codesourcery.com>
29883 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
29884 make result into a quiet NaN.
29886 2013-10-16 Joseph Myers <joseph@codesourcery.com>
29888 * soft-fp/adddf3.c: Fix horizontal whitespace.
29889 * soft-fp/addsf3.c: Likewise.
29890 * soft-fp/addtf3.c: Likewise.
29891 * soft-fp/divdf3.c: Likewise.
29892 * soft-fp/divsf3.c: Likewise.
29893 * soft-fp/divtf3.c: Likewise.
29894 * soft-fp/double.h: Likewise.
29895 * soft-fp/eqdf2.c: Likewise.
29896 * soft-fp/eqsf2.c: Likewise.
29897 * soft-fp/eqtf2.c: Likewise.
29898 * soft-fp/extenddftf2.c: Likewise.
29899 * soft-fp/extended.h: Likewise.
29900 * soft-fp/extendsfdf2.c: Likewise.
29901 * soft-fp/extendsftf2.c: Likewise.
29902 * soft-fp/extendxftf2.c: Likewise.
29903 * soft-fp/fixdfdi.c: Likewise.
29904 * soft-fp/fixdfsi.c: Likewise.
29905 * soft-fp/fixdfti.c: Likewise.
29906 * soft-fp/fixsfdi.c: Likewise.
29907 * soft-fp/fixsfsi.c: Likewise.
29908 * soft-fp/fixsfti.c: Likewise.
29909 * soft-fp/fixtfdi.c: Likewise.
29910 * soft-fp/fixtfsi.c: Likewise.
29911 * soft-fp/fixtfti.c: Likewise.
29912 * soft-fp/fixunsdfdi.c: Likewise.
29913 * soft-fp/fixunsdfsi.c: Likewise.
29914 * soft-fp/fixunsdfti.c: Likewise.
29915 * soft-fp/fixunssfdi.c: Likewise.
29916 * soft-fp/fixunssfsi.c: Likewise.
29917 * soft-fp/fixunssfti.c: Likewise.
29918 * soft-fp/fixunstfdi.c: Likewise.
29919 * soft-fp/fixunstfsi.c: Likewise.
29920 * soft-fp/fixunstfti.c: Likewise.
29921 * soft-fp/floatdidf.c: Likewise.
29922 * soft-fp/floatdisf.c: Likewise.
29923 * soft-fp/floatditf.c: Likewise.
29924 * soft-fp/floatsidf.c: Likewise.
29925 * soft-fp/floatsisf.c: Likewise.
29926 * soft-fp/floatsitf.c: Likewise.
29927 * soft-fp/floattidf.c: Likewise.
29928 * soft-fp/floattisf.c: Likewise.
29929 * soft-fp/floattitf.c: Likewise.
29930 * soft-fp/floatundidf.c: Likewise.
29931 * soft-fp/floatundisf.c: Likewise.
29932 * soft-fp/floatunditf.c: Likewise.
29933 * soft-fp/floatunsidf.c: Likewise.
29934 * soft-fp/floatunsisf.c: Likewise.
29935 * soft-fp/floatunsitf.c: Likewise.
29936 * soft-fp/floatuntidf.c: Likewise.
29937 * soft-fp/floatuntisf.c: Likewise.
29938 * soft-fp/floatuntitf.c: Likewise.
29939 * soft-fp/fmadf4.c: Likewise.
29940 * soft-fp/fmasf4.c: Likewise.
29941 * soft-fp/fmatf4.c: Likewise.
29942 * soft-fp/gedf2.c: Likewise.
29943 * soft-fp/gesf2.c: Likewise.
29944 * soft-fp/getf2.c: Likewise.
29945 * soft-fp/ledf2.c: Likewise.
29946 * soft-fp/lesf2.c: Likewise.
29947 * soft-fp/letf2.c: Likewise.
29948 * soft-fp/muldf3.c: Likewise.
29949 * soft-fp/mulsf3.c: Likewise.
29950 * soft-fp/multf3.c: Likewise.
29951 * soft-fp/negdf2.c: Likewise.
29952 * soft-fp/negsf2.c: Likewise.
29953 * soft-fp/negtf2.c: Likewise.
29954 * soft-fp/op-1.h: Likewise.
29955 * soft-fp/op-2.h: Likewise.
29956 * soft-fp/op-4.h: Likewise.
29957 * soft-fp/op-8.h: Likewise.
29958 * soft-fp/op-common.h: Likewise.
29959 * soft-fp/quad.h: Likewise.
29960 * soft-fp/single.h: Likewise.
29961 * soft-fp/soft-fp.h: Likewise.
29962 * soft-fp/sqrtdf2.c: Likewise.
29963 * soft-fp/sqrtsf2.c: Likewise.
29964 * soft-fp/sqrttf2.c: Likewise.
29965 * soft-fp/subdf3.c: Likewise.
29966 * soft-fp/subsf3.c: Likewise.
29967 * soft-fp/subtf3.c: Likewise.
29968 * soft-fp/truncdfsf2.c: Likewise.
29969 * soft-fp/trunctfdf2.c: Likewise.
29970 * soft-fp/trunctfsf2.c: Likewise.
29971 * soft-fp/trunctfxf2.c: Likewise.
29972 * soft-fp/unorddf2.c: Likewise.
29973 * soft-fp/unordsf2.c: Likewise.
29974 * soft-fp/unordtf2.c: Likewise.
29976 2013-10-15 Joseph Myers <joseph@codesourcery.com>
29978 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
29979 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
29981 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
29983 * elf/dl-libc.c: Clear initfini list after freeing.
29985 2013-10-14 Joseph Myers <joseph@codesourcery.com>
29987 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
29988 * soft-fp/addsf3.c: Likewise.
29989 * soft-fp/addtf3.c: Likewise.
29990 * soft-fp/divdf3.c: Likewise.
29991 * soft-fp/divsf3.c: Likewise.
29992 * soft-fp/divtf3.c: Likewise.
29993 * soft-fp/double.h: Likewise.
29994 * soft-fp/eqdf2.c: Likewise.
29995 * soft-fp/eqsf2.c: Likewise.
29996 * soft-fp/eqtf2.c: Likewise.
29997 * soft-fp/extenddftf2.c: Likewise.
29998 * soft-fp/extended.h: Likewise.
29999 * soft-fp/extendsfdf2.c: Likewise.
30000 * soft-fp/extendsftf2.c: Likewise.
30001 * soft-fp/extendxftf2.c: Likewise.
30002 * soft-fp/fixdfdi.c: Likewise.
30003 * soft-fp/fixdfsi.c: Likewise.
30004 * soft-fp/fixdfti.c: Likewise.
30005 * soft-fp/fixsfdi.c: Likewise.
30006 * soft-fp/fixsfsi.c: Likewise.
30007 * soft-fp/fixsfti.c: Likewise.
30008 * soft-fp/fixtfdi.c: Likewise.
30009 * soft-fp/fixtfsi.c: Likewise.
30010 * soft-fp/fixtfti.c: Likewise.
30011 * soft-fp/fixunsdfdi.c: Likewise.
30012 * soft-fp/fixunsdfsi.c: Likewise.
30013 * soft-fp/fixunsdfti.c: Likewise.
30014 * soft-fp/fixunssfdi.c: Likewise.
30015 * soft-fp/fixunssfsi.c: Likewise.
30016 * soft-fp/fixunssfti.c: Likewise.
30017 * soft-fp/fixunstfdi.c: Likewise.
30018 * soft-fp/fixunstfsi.c: Likewise.
30019 * soft-fp/fixunstfti.c: Likewise.
30020 * soft-fp/floatdidf.c: Likewise.
30021 * soft-fp/floatdisf.c: Likewise.
30022 * soft-fp/floatditf.c: Likewise.
30023 * soft-fp/floatsidf.c: Likewise.
30024 * soft-fp/floatsisf.c: Likewise.
30025 * soft-fp/floatsitf.c: Likewise.
30026 * soft-fp/floattidf.c: Likewise.
30027 * soft-fp/floattisf.c: Likewise.
30028 * soft-fp/floattitf.c: Likewise.
30029 * soft-fp/floatundidf.c: Likewise.
30030 * soft-fp/floatundisf.c: Likewise.
30031 * soft-fp/floatunsidf.c: Likewise.
30032 * soft-fp/floatunsisf.c: Likewise.
30033 * soft-fp/floatuntidf.c: Likewise.
30034 * soft-fp/floatuntisf.c: Likewise.
30035 * soft-fp/floatuntitf.c: Likewise.
30036 * soft-fp/fmadf4.c: Likewise.
30037 * soft-fp/fmasf4.c: Likewise.
30038 * soft-fp/fmatf4.c: Likewise.
30039 * soft-fp/gedf2.c: Likewise.
30040 * soft-fp/gesf2.c: Likewise.
30041 * soft-fp/getf2.c: Likewise.
30042 * soft-fp/ledf2.c: Likewise.
30043 * soft-fp/lesf2.c: Likewise.
30044 * soft-fp/letf2.c: Likewise.
30045 * soft-fp/muldf3.c: Likewise.
30046 * soft-fp/mulsf3.c: Likewise.
30047 * soft-fp/multf3.c: Likewise.
30048 * soft-fp/negdf2.c: Likewise.
30049 * soft-fp/negsf2.c: Likewise.
30050 * soft-fp/negtf2.c: Likewise.
30051 * soft-fp/op-1.h: Likewise.
30052 * soft-fp/op-2.h: Likewise.
30053 * soft-fp/op-4.h: Likewise.
30054 * soft-fp/op-8.h: Likewise.
30055 * soft-fp/op-common.h: Likewise.
30056 * soft-fp/quad.h: Likewise.
30057 * soft-fp/single.h: Likewise.
30058 * soft-fp/soft-fp.h: Likewise.
30059 * soft-fp/sqrtdf2.c: Likewise.
30060 * soft-fp/sqrtsf2.c: Likewise.
30061 * soft-fp/sqrttf2.c: Likewise.
30062 * soft-fp/subdf3.c: Likewise.
30063 * soft-fp/subsf3.c: Likewise.
30064 * soft-fp/subtf3.c: Likewise.
30065 * soft-fp/truncdfsf2.c: Likewise.
30066 * soft-fp/trunctfdf2.c: Likewise.
30067 * soft-fp/trunctfsf2.c: Likewise.
30068 * soft-fp/trunctfxf2.c: Likewise.
30069 * soft-fp/unorddf2.c: Likewise.
30070 * soft-fp/unordsf2.c: Likewise.
30071 * soft-fp/unordtf2.c: Likewise.
30073 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
30076 * misc/error.c (error_tail): Fix possible buffer overflow.
30078 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
30081 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
30084 2013-10-14 P. J. McDermott <pj@pehjota.net>
30087 * elf/ldd.bash.in (try_trace): New function. Delete previous code
30088 testing pipefail option.
30090 2013-10-12 Joseph Myers <joseph@codesourcery.com>
30092 * soft-fp/double.h: Indent preprocessor directives inside #if.
30093 * soft-fp/extended.h: Likewise.
30094 * soft-fp/op-2.h: Likewise.
30095 * soft-fp/op-4.h: Likewise.
30096 * soft-fp/op-common.h: Likewise.
30097 * soft-fp/quad.h: Likewise.
30098 * soft-fp/single.h: Likewise.
30099 * soft-fp/soft-fp.h: Likewise.
30101 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
30103 * iconv/iconv_prog.c: Fix typos.
30104 * stdio-common/psiginfo-data.h: Likewise.
30106 2013-10-12 Reuben Thomas <rrt@sc3d.org>
30109 * locale/setlocale.c: Fix typo.
30111 2013-10-12 Joseph Myers <joseph@codesourcery.com>
30114 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
30115 signaling NaN arguments.
30116 * soft-fp/unordsf2.c (__unordsf2): Likewise.
30117 * soft-fp/unordtf2.c (__unordtf2): Likewise.
30120 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
30121 unordered operands.
30122 * soft-fp/gesf2.c (__gesf2): Likewise.
30123 * soft-fp/getf2.c (__getf2): Likewise.
30124 * soft-fp/ledf2.c (__ledf2): Likewise.
30125 * soft-fp/lesf2.c (__lesf2): Likewise.
30126 * soft-fp/letf2.c (__letf2): Likewise.
30128 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
30129 * soft-fp/eqsf2.c (__eqsf2): Likewise.
30130 * soft-fp/eqtf2.c (__eqtf2): Likewise.
30131 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
30132 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
30133 * soft-fp/fixdfti.c (__fixdfti): Likewise.
30134 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
30135 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
30136 * soft-fp/fixsfti.c (__fixsfti): Likewise.
30137 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
30138 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
30139 * soft-fp/fixtfti.c (__fixtfti): Likewise.
30140 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
30141 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
30142 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
30143 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
30144 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
30145 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
30146 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
30147 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
30148 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
30149 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
30150 * soft-fp/floatdisf.c (__floatdisf): Likewise.
30151 * soft-fp/floatsisf.c (__floatsisf): Likewise.
30152 * soft-fp/floattidf.c (__floattidf): Likewise.
30153 * soft-fp/floattisf.c (__floattisf): Likewise.
30154 * soft-fp/floattitf.c (__floattitf): Likewise.
30155 * soft-fp/floatundidf.c (__floatundidf): Likewise.
30156 * soft-fp/floatundisf.c (__floatundisf): Likewise.
30157 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
30158 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
30159 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
30160 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
30161 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
30162 * soft-fp/gesf2.c (__gesf2): Likewise.
30163 * soft-fp/getf2.c (__getf2): Likewise.
30164 * soft-fp/ledf2.c (__ledf2): Likewise.
30165 * soft-fp/lesf2.c (__lesf2): Likewise.
30166 * soft-fp/letf2.c (__letf2): Likewise.
30168 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
30169 Undefine and redefine.
30170 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
30171 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
30172 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
30173 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
30174 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30175 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
30176 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30177 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
30178 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30179 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
30180 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30181 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
30182 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30183 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
30184 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
30187 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
30188 without decrementing exponent if mantissa >= that for the
30189 denominator, not >.
30190 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
30191 denominator, not >. Decrement exponent in < case instead of
30192 incrementing in >= case.
30193 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
30194 without decrementing exponent if mantissa >= that for the
30195 denominator, not >.
30197 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
30198 computing saturated result for unsigned overflow.
30200 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30201 Jeff Law <law@redhat.com>
30203 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
30204 (atan2Mp): Add systemtap probe marker.
30205 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
30206 (__ieee754_log): Add systemtap probe marker.
30207 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
30208 (atanMp): Add systemtap probe marker.
30209 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
30210 (tanMp): Add systemtap probe marker.
30211 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
30212 (__slowexp): Add systemtap probe marker.
30213 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
30214 (__slowpow): Add systemtap probe marker.
30215 * manual/probes.texi: Document probes.
30217 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
30220 * libio/fileops.c (_IO_new_file_write): Return count of bytes
30222 (_IO_new_file_xsputn): Don't return EOF if nothing has been
30224 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
30225 written to buffer but not flushed.
30226 * libio/iofwrite_u.c: Likewise.
30227 * libio/iopadn.c: Return bytes returned even if EOF was
30229 * libio/iowpadn.c: Likewise.
30230 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
30231 if _IO_padn does not write the whole buffer.
30232 [!COMPILE_WPRINTF] (PAD): Likewise.
30234 2013-10-10 David S. Miller <davem@davemloft.net>
30236 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
30239 2013-10-10 Joseph Myers <joseph@codesourcery.com>
30241 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
30242 instead of FSF address.
30243 * soft-fp/fixdfti.c: Likewise.
30244 * soft-fp/fixsfti.c: Likewise.
30245 * soft-fp/fixtfti.c: Likewise.
30246 * soft-fp/fixunsdfti.c: Likewise.
30247 * soft-fp/fixunssfti.c: Likewise.
30248 * soft-fp/fixunstfti.c: Likewise.
30249 * soft-fp/floattidf.c: Likewise.
30250 * soft-fp/floattisf.c: Likewise.
30251 * soft-fp/floattitf.c: Likewise.
30252 * soft-fp/floatuntidf.c: Likewise.
30253 * soft-fp/floatuntisf.c: Likewise.
30254 * soft-fp/floatuntitf.c: Likewise.
30255 * soft-fp/trunctfxf2.c: Likewise.
30257 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
30258 * soft-fp/fixdfti.c: Likewise.
30259 * soft-fp/fixsfti.c: Likewise.
30260 * soft-fp/fixtfti.c: Likewise.
30261 * soft-fp/fixunsdfti.c: Likewise.
30262 * soft-fp/fixunssfti.c: Likewise.
30263 * soft-fp/fixunstfti.c: Likewise.
30264 * soft-fp/floattidf.c: Likewise.
30265 * soft-fp/floattisf.c: Likewise.
30266 * soft-fp/floattitf.c: Likewise.
30267 * soft-fp/floatuntidf.c: Likewise.
30268 * soft-fp/floatuntisf.c: Likewise.
30269 * soft-fp/floatuntitf.c: Likewise.
30270 * soft-fp/trunctfxf2.c: Likewise.
30272 2013-10-10 David S. Miller <davem@davemloft.net>
30274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30276 2013-10-10 Joseph Myers <joseph@codsourcery.com>
30278 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
30279 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
30280 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
30281 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
30282 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
30283 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
30284 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
30286 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
30287 for NaNs before doing comparisons on argument.
30288 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
30291 2013-10-10 Will Newton <will.newton@linaro.org>
30293 * malloc/hooks.c (memalign_check): Ensure the value of bytes
30294 passed to _int_memalign does not overflow.
30296 2013-10-10 Torvald Riegel <triegel@redhat.com>
30298 * scripts/bench.pl: Add include-sources directive.
30299 * benchtests/README: Update documentation.
30301 2013-10-10 Joseph Myers <joseph@codesourcery.com>
30303 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
30304 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
30305 instead of FP_INIT_ROUNDMODE.
30306 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
30307 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
30310 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
30311 copy class of input value.
30312 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
30313 not handle exceptions.
30314 * soft-fp/negsf2.c (__negsf2): Likewise.
30315 * soft-fp/negtf2.c (__negtf2): Likewise.
30316 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
30318 2013-10-09 Joseph Myers <joseph@codesourcery.com>
30320 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
30321 semicolon. From Linux kernel.
30323 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
30325 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
30327 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
30330 * manual/socket.texi: Added statement about buffer
30331 for gethostbyname2_r.
30333 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
30335 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
30336 Use .p2align directive instead, throughout.
30337 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30338 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30339 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
30340 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30341 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30342 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
30343 * sysdeps/x86_64/strchr.S: Likewise.
30344 * sysdeps/x86_64/strrchr.S: Likewise.
30346 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30348 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
30350 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
30352 * sysdeps/generic/math_private.h (__mpsin1): Remove
30354 (__mpcos1): Likewise.
30355 (__mpsin): New argument __range_reduce.
30356 (__mpcos): Likewise.
30357 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30358 (slow): Use __mpsin and __mpcos.
30362 (sloww1): Likewise.
30363 (sloww2): Likewise.
30364 (bsloww): Likewise.
30365 (bsloww1): Likewise.
30366 (bsloww2): Likewise.
30367 (cslow2): Likewise.
30368 (csloww): Likewise.
30369 (csloww1): Likewise.
30370 (csloww2): Likewise.
30371 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
30372 range_reduce. Merge in __mpsin1.
30373 (__mpcos): Likewise.
30374 (__mpsin1): Remove.
30375 (__mpcos1): Likewise.
30377 2013-10-07 Joseph Myers <joseph@codesourcery.com>
30379 * locale/loadlocale.c (_nl_intern_locale_data): Use
30381 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
30382 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
30383 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
30384 obstack data is appropriately aligned.
30385 (obstack_int32_grow_fast): Likewise.
30386 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
30387 * locale/programs/locfile.c (add_locale_uint32): Likewise.
30388 (add_locale_uint32_array): Likewise.
30390 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30392 * benchtests/Makefile: Remove ARGLIST and RET variables.
30393 ($(objpfx)bench-%.c): Pass only function name to the script.
30394 * benchtests/README: Update documentation.
30395 * benchtests/acos-inputs: Add new directives.
30396 * benchtests/acosh-inputs: Likewise.
30397 * benchtests/asin-inputs: Likewise.
30398 * benchtests/asinh-inputs: Likewise.
30399 * benchtests/atan-inputs: Likewise.
30400 * benchtests/atanh-inputs: Likewise.
30401 * benchtests/cos-inputs: Likewise.
30402 * benchtests/cosh-inputs: Likewise.
30403 * benchtests/exp-inputs: Likewise.
30404 * benchtests/log-inputs: Likewise.
30405 * benchtests/pow-inputs: Likewise.
30406 * benchtests/rint-inputs: Likewise.
30407 * benchtests/sin-inputs: Likewise.
30408 * benchtests/sinh-inputs: Likewise.
30409 * benchtests/tan-inputs: Likewise.
30410 * benchtests/tanh-inputs: Likewise.
30411 * scripts/bench.pl: Add support for new directives.
30413 2013-10-07 Alan Modra <amodra@gmail.com>
30415 * README: Fix careless merge.
30417 2013-10-05 Alan Modra <amodra@gmail.com>
30419 * NEWS: Mention powerpc64le support and bugs fixed.
30420 * README: Both big-endian and little-endian powerpc64 supported.
30422 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
30424 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
30425 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
30426 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
30427 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
30429 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
30431 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
30434 2013-10-04 Joseph Myers <joseph@codesourcery.com>
30436 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
30437 Move -mhard-float appending from
30438 ports/sysdeps/powerpc/powerpc32/Makefile.
30439 [$(with-fp) = yes] (ASFLAGS): Likewise.
30440 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
30441 * sysdeps/powerpc/nofpu: Move directory from
30442 ports/sysdeps/powerpc/nofpu.
30443 * sysdeps/powerpc/soft-fp: Move directory from
30444 ports/sysdeps/powerpc/soft-fp.
30445 * sysdeps/powerpc/powerpc32/405: Move directory from
30446 ports/sysdeps/powerpc/powerpc32/405.
30447 * sysdeps/powerpc/powerpc32/440: Move directory from
30448 ports/sysdeps/powerpc/powerpc32/440.
30449 * sysdeps/powerpc/powerpc32/464: Move directory from
30450 ports/sysdeps/powerpc/powerpc32/464.
30451 * sysdeps/powerpc/powerpc32/476: Move directory from
30452 ports/sysdeps/powerpc/powerpc32/476.
30453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
30454 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
30455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
30456 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
30457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
30458 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
30459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
30460 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
30461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
30462 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
30463 * README: Update for powerpc-*-linux-gnu software floating point
30466 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
30467 case to powerpc/powerpc32*.
30468 * sysdeps/unix/sysv/linux/configure: Regenerated.
30470 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
30471 (_FPU_MASK_OM): Define as 0x04.
30472 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
30473 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
30475 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
30477 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
30479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
30480 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
30483 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
30486 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
30487 and setcontext_e500.
30489 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
30491 * locale/iso-3166.def: Update iso-1366.def and related occurrences
30493 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30495 * manual/threads.texi (Default Thread Attributes): Fix typo.
30497 2013-10-04 Will Newton <will.newton@linaro.org>
30499 * malloc/Makefile: Add tst-memalign.
30500 * malloc/tst-memalign.c: New file.
30502 * malloc/tst-posix_memalign.c: Add comments.
30503 (do_test): Add comments and call free on all potentially
30504 allocated pointers. Add space after cast.
30506 * malloc/tst-pvalloc.c: Add comments.
30507 (do_test): Add comments and call free on all potentially
30508 allocated pointers. Remove duplicate check for NULL pointer.
30509 Add space after cast.
30511 * malloc/tst-valloc.c: Add comments.
30512 (do_test): Add comments and call free on all potentially
30513 allocated pointers. Remove duplicate check for NULL pointer.
30514 Add space after cast.
30516 2013-10-04 Alan Modra <amodra@gmail.com>
30518 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30519 Use stdint types in rather than __attribute__((mode())).
30520 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30522 2013-10-04 Alan Modra <amodra@gmail.com>
30524 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30525 Correct handling of unaligned relocs for little-endian.
30526 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30528 2013-10-04 Alan Modra <amodra@gmail.com>
30530 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
30531 * configure: Regenerate.
30532 * nptl/shlib-versions: Powerpc*le starts at 2.18.
30533 * shlib-versions: Likewise.
30535 2013-10-04 Alan Modra <amodra@gmail.com>
30537 * string/tester.c (test_memrchr): Increment reported test cycle.
30539 2013-10-04 Alan Modra <amodra@gmail.com>
30541 * string/test-memcpy.c (do_one_test): When reporting errors, print
30542 string address and don't overrun end of string.
30544 2013-10-04 Alan Modra <amodra@gmail.com>
30546 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
30547 insrdi. Make better use of reg selection to speed exit slightly.
30548 Schedule entry path a little better. Remove useless "are we done"
30549 checks on entry to main loop. Handle wrapping around zero address.
30550 Correct main loop count. Handle single left-over word from main
30551 loop inline rather than by using loop_small. Remove extra word
30552 case in loop_small caused by wrong loop count. Add little-endian
30554 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30555 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
30557 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30558 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
30559 support. Avoid rlwimi.
30560 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
30562 2013-10-04 Alan Modra <amodra@gmail.com>
30564 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
30565 insrdi. Formatting.
30566 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
30567 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30568 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30569 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30570 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30571 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
30573 2013-10-04 Alan Modra <amodra@gmail.com>
30575 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
30576 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30577 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30578 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
30579 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30580 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30581 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30582 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30583 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
30584 use of regs. Use power7 mtocrf. Tidy function tails.
30586 2013-10-04 Alan Modra <amodra@gmail.com>
30588 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
30589 Formatting. Consistently use rXXX register defines or rN defines.
30590 Use early exit labels that avoid restoring unused non-volatile regs.
30591 Make cr field use more consistent with rWORDn compares. Rename
30592 regs used as shift registers for unaligned loop, using rN defines
30593 for short lifetime/multiple use regs.
30594 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30595 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
30596 addi 1,1,64 to pop stack frame. Simplify return value code.
30597 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30599 2013-10-04 Alan Modra <amodra@gmail.com>
30601 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
30602 support. Correct typos, formatting. Optimize tail. Use insrdi
30603 rather than rlwimi.
30604 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
30605 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
30606 little-endian support. Correct typos.
30607 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
30608 rather than rlwimi.
30609 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
30610 in loop and entry code to keep "and." results.
30611 (strchr): Add little-endian support. Comment. Move cntlzd
30613 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
30615 2013-10-04 Alan Modra <amodra@gmail.com>
30617 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
30618 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
30619 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30620 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
30622 2013-10-04 Alan Modra <amodra@gmail.com>
30624 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
30625 (rTMP): Define as r11.
30626 (strcmp): Add little-endian support. Optimise tail.
30627 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
30628 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30629 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30630 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30631 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30632 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30633 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30635 2013-10-04 Alan Modra <amodra@gmail.com>
30637 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
30638 little-endian support. Remove unnecessary "are we done" tests.
30639 Handle "s" wrapping around zero and extremely large "size".
30640 Correct main loop count. Handle single left-over word from main
30641 loop inline rather than by using small_loop. Correct comments.
30642 Delete "zero" tail, use "end_max" instead.
30643 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
30645 2013-10-04 Alan Modra <amodra@gmail.com>
30647 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
30648 support. Don't branch over align.
30649 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
30650 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
30651 support. Rearrange tmp reg use to suit. Comment.
30652 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
30654 2013-10-04 Alan Modra <amodra@gmail.com>
30656 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
30658 2013-10-04 Alan Modra <amodra@gmail.com>
30660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
30661 conditional form of branch and link when obtaining pc.
30662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30664 2013-10-04 Alan Modra <amodra@gmail.com>
30666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
30668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
30669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
30671 2013-10-04 Alan Modra <amodra@gmail.com>
30673 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
30674 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
30675 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30676 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
30677 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30678 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30679 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
30680 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30681 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30682 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
30684 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
30685 Alistair Popple <alistair@ozlabs.au.ibm.com>
30686 Alan Modra <amodra@gmail.com>
30689 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
30690 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
30691 _dl_hwcap access for little-endian.
30692 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
30693 destroy vmx regs when saving unaligned.
30694 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
30695 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
30696 destroy vmx regs when saving unaligned.
30698 2013-10-04 Alan Modra <amodra@gmail.com>
30700 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
30701 Don't use a union to pack hi/low value.
30703 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
30705 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
30707 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30708 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
30709 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30710 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30711 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30713 2013-10-04 Alan Modra <amodra@gmail.com>
30715 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30716 constants to usual value for .cst8 section, and remove redundant
30718 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30719 constant for 0x1p52. Load little-endian words of double from
30720 correct stack offsets.
30722 2013-10-04 Alan Modra <amodra@gmail.com>
30724 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30725 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30726 words of double from correct stack offsets.
30727 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30728 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30729 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30730 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30731 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30732 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30733 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30734 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30735 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30736 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30737 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30738 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30739 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30740 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30741 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30742 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
30743 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30745 2013-10-04 Alan Modra <amodra@gmail.com>
30747 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
30748 64-bit int/double union.
30749 (_FPU_SETCW): Likewise.
30750 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30751 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
30753 2013-10-04 Alan Modra <amodra@gmail.com>
30755 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
30756 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
30758 2013-10-04 Alan Modra <amodra@gmail.com>
30760 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
30761 use vector int constants.
30762 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
30764 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
30766 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
30767 array with long long.
30768 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
30769 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
30770 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
30771 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
30772 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
30773 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
30774 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
30775 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
30776 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
30777 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
30778 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
30779 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
30780 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
30782 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
30784 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
30785 (__signbit): Likewise. Correct for little-endian.
30786 (__signbitl): Call __signbit.
30787 (lrint): Correct for little-endian.
30788 (lrintf): Call lrint.
30790 2013-10-04 Alan Modra <amodra@gmail.com>
30792 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
30793 union 32-bit int array member with 64-bit int array.
30794 (t515, tm256): Double rather than long double.
30795 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
30797 2013-10-04 Alan Modra <amodra@gmail.com>
30799 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
30801 (IEEE854_LONG_DOUBLE_BIAS): Delete.
30802 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
30803 version of math_ldbl.h.
30805 2013-10-04 Alan Modra <amodra@gmail.com>
30807 [BZ #15734], [BZ #15735]
30808 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
30809 all uses of ieee875 long double macros and unions. Simplify test
30810 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
30811 ldbl_extract_mantissa value for ix,iy exponents. Properly
30812 normalize after ldbl_extract_mantissa, and don't add hidden bit
30813 already handled. Don't treat low word of ieee854 mantissa like
30814 low word of IBM long double and mask off bit when testing for
30816 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
30817 all uses of ieee875 long double macros and unions. Simplify tests
30818 for 0.0L and inf. Correct double adjustment of k. Delete dead code
30819 adjusting ha,hb. Simplify code setting kld. Delete two600 and
30820 two1022, instead use their values. Recognise that tests for large
30821 "a" and small "b" are mutually exclusive. Rename vars. Comment.
30822 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
30823 Rewrite all uses of ieee875 long double macros and unions. Simplify
30824 test for 0.0L and nan. Correct negation.
30825 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
30826 ieee875 long double macros and unions. Correct output for large
30827 magnitude x. Correct absolute value calculation.
30828 (__erfcl): Likewise.
30829 * math/libm-test.inc: Add tests for errors discovered in IBM long
30830 double versions of fmodl, remainderl, erfl and erfcl.
30832 2013-10-04 Alan Modra <amodra@gmail.com>
30834 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
30835 all uses of ieee854 long double macros and unions. Simplify tests
30836 for long doubles that are fully specified by the high double.
30837 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30839 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
30840 Remove dead code too.
30841 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30842 (__ieee754_ynl): Likewise.
30843 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30844 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
30845 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30846 Remove dead code too.
30847 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30848 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
30849 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
30850 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
30852 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
30854 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
30855 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30856 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
30857 Comment on variable precision.
30858 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
30859 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30861 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30862 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30863 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30864 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30865 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
30867 2013-10-04 Alan Modra <amodra@gmail.com>
30869 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
30870 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
30871 all uses of ieee854 long double macros and unions.
30872 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
30873 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30874 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
30875 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
30876 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30877 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30879 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
30880 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30881 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
30882 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30883 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30884 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30885 Simplify sign and nan test too.
30886 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
30887 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30888 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
30889 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30891 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30892 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
30894 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30895 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30896 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
30897 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
30898 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
30899 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
30901 2013-10-04 Alan Modra <amodra@gmail.com>
30903 * stdio-common/printf_size.c (__printf_size): Don't use
30904 union ieee854_long_double in fpnum union.
30905 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
30906 signbit macro to retrieve sign from long double.
30907 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
30908 retrieve sign from long double.
30909 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
30910 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
30911 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
30912 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30913 * math/test-misc.c (main): Don't use union ieee854_long_double.
30915 2013-10-04 Alan Modra <amodra@gmail.com>
30918 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
30919 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
30920 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
30921 calculation. Remove unnecessary test for denormal exponent.
30922 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
30923 Correct handling of denormals. Avoid undefined shift behaviour.
30924 Correct normalisation of low mantissa when low double is denormal.
30925 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
30926 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
30927 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
30928 Correct normalisation of low mantissa. Test for overflow of high
30929 mantissa and normalise.
30930 (ldbl_nearbyint): Use more readable constant for two52.
30931 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
30932 (__mpn_construct_long_double): Fix test for overflow of high
30933 mantissa and correct normalisation. Avoid undefined shift.
30935 2013-10-04 Alan Modra <amodra@gmail.com>
30937 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30938 (union ibm_extended_long_double): Define as an array of ieee754_double.
30939 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
30940 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
30941 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
30942 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30943 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30944 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
30945 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30946 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30947 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30948 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
30949 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30951 2013-10-03 Joseph Myers <joseph@codesourcery.com>
30953 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
30954 page size instead of calling getpagesize.
30956 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
30957 (LOCFILE_ALIGN_MASK): Likewise.
30958 (LOCFILE_ALIGN_UP): Likewise.
30959 (LOCFILE_ALIGNED_P): Likewise.
30960 * locale/programs/ld-collate.c (collate_output): Use the new
30961 macros instead of __alignof__ (int32_t).
30962 * locale/weight.h (findidx): Likewise.
30964 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
30967 * manual/string.texi: Fix strncat and wcsncat.
30969 2013-10-03 Brooks Moses <bmoses@google.com>
30972 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
30973 * Makerules: ...here, and adjust associated comments.
30975 2013-10-02 Will Newton <will.newton@linaro.org>
30977 * malloc/Makefile: Add tst-pvalloc.
30978 * malloc/tst-pvalloc.c: New file.
30980 2013-10-02 Will Newton <will.newton@linaro.org>
30982 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
30983 improve test coverage.
30985 2013-10-02 Will Newton <will.newton@linaro.org>
30987 * malloc/Makefile: Add tst-posix_memalign.
30988 * malloc/tst-posix_memalign.c: New file.
30990 2013-10-01 Eric Blake <eblake@redhat.com>
30992 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
30993 Use __THROWNL rather than __THROW on static functions.
30995 2013-09-30 Petr Machata <pmachata@redhat.com>
30997 * elf/elf.h (R_AARCH64_ABS16): New macro.
30998 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
30999 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
31000 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
31001 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
31002 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
31003 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
31004 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
31005 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
31006 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
31007 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
31008 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
31009 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
31010 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
31011 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
31012 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
31013 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
31014 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
31015 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
31016 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
31017 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
31018 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
31019 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
31020 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
31021 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
31022 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
31023 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
31024 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
31025 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
31026 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
31027 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
31028 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
31029 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
31030 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
31031 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
31032 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
31033 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
31034 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
31035 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
31036 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
31037 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
31038 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
31039 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
31040 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
31041 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
31042 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
31043 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
31044 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
31045 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
31046 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
31047 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
31048 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
31049 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
31050 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
31051 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
31052 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
31053 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
31054 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
31055 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
31056 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
31057 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
31058 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
31059 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
31060 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
31061 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
31062 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
31063 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
31064 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
31065 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
31066 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
31067 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
31068 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
31069 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
31070 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
31071 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
31072 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
31073 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
31074 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
31075 (R_AARCH64_TLSDESC_LDR): Likewise.
31076 (R_AARCH64_TLSDESC_ADD): Likewise.
31077 (R_AARCH64_TLSDESC_CALL): Likewise.
31079 2013-09-30 Andreas Schwab <schwab@suse.de>
31082 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
31083 the nss database lookup.
31084 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31085 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31087 2013-09-28 Mike Frysinger <vapier@gentoo.org>
31089 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
31091 2013-09-28 P. J. McDermott <pj@pehjota.net>
31093 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
31094 ${Bash-specific parameter/pattern/string} parameter expansion.
31095 * sysdeps/unix/make-syscalls.sh: Likewise.
31097 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31099 * sysdeps/sh/stackguard-macros.h: New file.
31101 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
31103 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
31104 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
31105 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
31106 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
31107 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31108 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
31110 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31112 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
31113 Fix thread ID register.
31115 2013-09-25 Joseph Myers <joseph@codesourcery.com>
31117 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
31118 [POSIX || UNIX98]: Require rather than permitting all symbols from
31120 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
31121 element of struct sched_param.
31122 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
31123 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
31124 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
31125 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
31128 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
31130 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
31131 argument calculation.
31133 2013-09-24 Joseph Myers <joseph@codesourcery.com>
31135 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
31137 [POSIX] (pthread_attr_t): Do not require type.
31138 [POSIX] (pthread_cond_t): Likewise.
31139 [POSIX] (pthread_condattr_t): Likewise.
31140 [POSIX] (pthread_key_t): Likewise.
31141 [POSIX] (pthread_mutex_t): Likewise.
31142 [POSIX] (pthread_mutexattr_t): Likewise.
31143 [POSIX] (pthread_once_t): Likewise.
31144 [POSIX] (pthread_t): Likewise.
31145 [POSIX-based standards] (pthread_atfork): Expect function.
31147 2013-09-24 Joseph Myers <joseph@codesourcery.com>
31148 Richard Sandiford <richard@codesourcery.com>
31150 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
31151 (swap_endianness_p): New extern variable.
31152 (set_big_endian): New inline function.
31153 (maybe_swap_uint32): Likewise.
31154 (maybe_swap_uint32_array): Likewise.
31155 (maybe_swap_uint32_obstack): Likewise.
31156 * locale/programs/locfile.c: Include <stdbool.h>.
31157 (swap_endianness_p): New variable.
31158 (add_locale_uint32): Call maybe_swap_uint32.
31159 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
31160 (write_locale_data): Call maybe_swap_uint32_array.
31161 * locale/programs/ld-collate.c (obstack_int32_grow): Call
31163 (obstack_int32_grow_fast): Likewise.
31164 (output_weightwc): Call maybe_swap_uint32_obstack.
31165 (collate_output): Likewise.
31166 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
31167 (OPT_LITTLE_ENDIAN): Likewise.
31168 (options): Add --little-endian and --big-endian options.
31169 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
31170 * locale/programs/locarchive.c: Include "locfile.h".
31174 (create_archive): Use the new macros to access fields of
31175 structures directly mapped from or written to locale archives.
31176 (oldlocrecentcmp): Likewise.
31177 (enlarge_archive): Likewise.
31178 (insert_name): Likewise.
31179 (add_alias): Likewise.
31180 (add_locale): Likewise.
31181 (delete_locales_from_archive): Likewise.
31182 (show_archive_content): Likewise.
31183 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
31186 2013-09-24 Roland McGrath <roland@hack.frob.com>
31188 * manual/freemanuals.texi: Updated from (newly) canonical copy at
31189 http://www.gnu.org/doc/freemanuals.texi.
31190 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
31192 2013-09-24 Will Newton <will.newton@linaro.org>
31194 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
31197 2013-09-23 Joseph Myers <joseph@codesourcery.com>
31199 * locale/hashval.h (compute_hashval): Interpret bytes of key as
31202 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
31204 * manual/threads.texi (POSIX Threads): Fix a typo.
31206 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
31209 * string/tst-strcoll-overflow.c: New test case.
31210 * string/Makefile (xtests): Add tst-strcoll-overflow.
31211 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
31212 cache if string sizes may cause integer overflow.
31215 * string/strcoll_l.c (coll_seq): New members rule, idx,
31216 save_idx and back_us.
31217 (get_next_seq_nocache): New function.
31218 (do_compare_nocache): New function.
31219 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
31222 2013-09-23 Carlos O'Donell <carlos@redhat.com>
31225 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
31226 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
31227 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
31230 * elf/Makefile (tests): Add tst-ptrguard1.
31231 (tests-static): Add tst-ptrguard1-static.
31232 (tst-ptrguard1-ARGS): Define.
31233 (tst-ptrguard1-static-ARGS): Define.
31234 * elf/tst-ptrguard1.c: New file.
31235 * elf/tst-ptrguard1-static.c: New file.
31236 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
31237 * sysdeps/i386/stackguard-macros.h: Likewise.
31238 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31239 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31240 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31241 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31242 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31243 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31245 2013-09-23 Hector Marco <hecmargi@upv.es>
31246 Ismael Ripoll <iripoll@disca.upv.es>
31247 Carlos O'Donell <carlos@redhat.com>
31250 * sysdeps/generic/stackguard-macros.h: Define
31251 __pointer_chk_guard_local and POINTER_CHK_GUARD.
31252 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
31253 Define __pointer_chk_guard_local.
31254 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
31255 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
31257 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
31260 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
31262 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
31264 * include/string.h (__ffs): Declare as hidden.
31265 * string/ffs.c (__ffs): Define as hidden.
31266 * sysdeps/i386/ffs.c (__ffs): Likewise.
31267 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
31268 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
31269 * sysdeps/s390/ffs.c (__ffs): Likewise.
31270 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
31272 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
31274 * NEWS: Mention malloc probes.
31276 * malloc/arena.c (new_heap): New memory_heap_new probe.
31277 (grow_heap): New memory_heap_more probe.
31278 (shrink_heap): New memory_heap_less probe.
31279 (heap_trim): New memory_heap_free probe.
31280 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
31281 (systrim): New memory_sbrk_less probe.
31282 * manual/probes.texi: Document them.
31284 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
31285 * manual/probes.texi: Document it.
31287 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
31288 (__libc_realloc): Add memory_realloc_retry probe.
31289 (__libc_memalign): Add memory_memalign_retry probe.
31290 (__libc_valloc): Add memory_valloc_retry probe.
31291 (__libc_pvalloc): Add memory_pvalloc_retry probe.
31292 (__libc_calloc): Add memory_calloc_retry probe.
31293 * manual/probes.texi: Document them.
31295 * malloc/arena.c (get_free_list): Add probe
31296 memory_arena_reuse_free_list.
31297 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
31298 and memory_arena_reuse.
31299 (arena_get2) [!PER_THREAD]: Likewise.
31300 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
31301 memory_arena_reuse_realloc.
31302 * manual/probes.texi: Document them.
31304 * malloc/malloc.c (__libc_free): Add
31305 memory_mallopt_free_dyn_thresholds probe.
31306 (__libc_mallopt): Add multiple memory_mallopt probes.
31307 * manual/probes.texi: Document them.
31309 * malloc/malloc.c: Include stap-probe.h.
31310 (__libc_mallopt): Add memory_mallopt probe.
31311 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
31312 * manual/probes.texi: New.
31313 * manual/Makefile (chapters): Add probes.
31314 * manual/threads.texi: Set next node.
31316 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
31318 [BZ #15963, #13985]
31319 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
31320 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
31321 Add `Chinese' to `nan' entry name.
31323 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31325 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
31326 (POLYNOMIAL): Likewise.
31327 (TAYLOR_SINCOS): Likewise.
31328 (TAYLOR_SLOW): Likewise.
31329 (__sin): Use TAYLOR_SINCOS.
31331 (slow): Use TAYLOR_SLOW.
31333 (bsloww): Likewise.
31334 (csloww): Likewise.
31336 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31338 * stdlib/strtod_l.c: Fix buffer overrun.
31340 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31342 * benchtests/Makefile (bench): Add sincos.
31343 * benchtests/bench-sincos.c: New file.
31345 * math/libm-test.inc (cos_test_data): New test inputs.
31346 (sin_test_data): Likewise.
31348 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
31354 (sloww1): Likewise.
31355 (sloww2): Likewise.
31356 (bsloww1): Likewise.
31357 (bsloww2): Likewise.
31358 (cslow2): Likewise.
31359 (csloww1): Likewise.
31360 (csloww2): Likewise.
31362 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
31367 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
31371 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
31373 * config.h.in (HAVE_MIPS_NAN2008): New macro.
31374 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
31375 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
31376 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
31377 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
31378 * elf/cache.c (print_entry): Handle the new cache flags.
31380 2013-09-18 Joseph Myers <joseph@codesourcery.com>
31381 Aldy Hernandez <aldyh@redhat.com>
31383 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
31384 Change condition to [_SOFT_FLOAT].
31385 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
31386 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
31387 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
31388 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
31389 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
31390 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
31391 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
31392 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
31393 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
31394 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
31395 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
31396 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
31397 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
31398 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
31399 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
31400 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
31403 2013-09-18 Joseph Myers <joseph@codesourcery.com>
31405 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
31406 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31407 (__longjmp): Use LOAD_GP to load saved GPRs.
31408 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
31409 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31410 (__sigsetjmp): Use SAVE_GP to save GPRs.
31412 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
31413 Do not append -msoft-float.
31414 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
31416 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31418 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
31420 2013-09-17 Joseph Myers <joseph@codesourcery.com>
31423 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
31424 (_FPU_GETCW): Use initial "__" on variable and field names but not
31425 on macro parameter name.
31426 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
31427 parentheses around reference to macro parameter.
31429 2013-09-13 Richard Sandiford <richard@codesourcery.com>
31431 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
31433 (ctype_startup): Use uint32_t in cast and sizeof for
31436 2013-09-11 Jia Liu <proljc@gmail.com>
31438 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
31440 [__FreeBSD__]: Likewise.
31442 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
31444 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31445 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
31446 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
31447 (strchr): Remove __strchr_sse42 ifunc selection.
31448 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
31449 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
31451 2013-09-11 Will Newton <will.newton@linaro.org>
31453 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
31454 parameter to RES. Remove hardcoded 1000 value.
31455 * benchtests/bench-skeleton.c (main): Pass RES parameter
31456 to TIMING_INIT and multiply result by 1000.
31458 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31462 2013-09-11 Andreas Schwab <schwab@suse.de>
31464 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
31466 (O_TMPFILE) [__USE_GNU]: Define.
31467 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
31470 2013-09-11 Will Newton <will.newton@linaro.org>
31473 * malloc/malloc.c (__libc_memalign): Check the value of bytes
31476 2013-09-11 Will Newton <will.newton@linaro.org>
31479 * malloc/malloc.c (__libc_valloc): Check the value of bytes
31482 2013-09-11 Will Newton <will.newton@linaro.org>
31485 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
31488 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
31490 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
31491 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31492 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31493 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31494 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31496 2013-09-10 Allan McRae <allan@archlinux.org>
31499 * manual/arith.texi (Parsing of Floats): Clarify
31503 * manual/install.texi (Running make install): Mention
31505 * INSTALL: Regenerated.
31507 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
31509 * csu/init-first.c (_init): Remove the !SHARED condition around
31510 FPU control word initialization.
31511 * elf/dl-support.c (_dl_fpu_control): New variable.
31512 (_dl_aux_init) <AT_FPUCW>: Initialize it.
31513 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
31514 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
31515 * math/test-fpucw-static.c: New file.
31516 * math/test-fpucw-ieee.c: New file.
31517 * math/test-fpucw-ieee-static.c: New file.
31518 * math/Makefile (tests): Add `test-fpucw-ieee' and
31520 (tests-static): New variable.
31521 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
31523 [($(build-shared),yes)]
31524 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31526 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
31529 2013-09-09 Allan McRae <allan@archlinux.org>
31532 * manual/string.texi (Collation Functions): Fix typo in
31534 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
31537 * stdlib/isomac.c (get_null_defines): Fix memory leak.
31540 * libio/memstream.c (open_memstream): Fix memory leak.
31541 * libio/wmemstream.c (open_wmemstream): Likewise.
31544 * nscd/netgroupcache.c: Fix nesting of ifdefs.
31546 2013-09-09 Will Newton <will.newton@linaro.org>
31548 * malloc/Makefile: Add tst-realloc to tests.
31549 * malloc/tst-realloc.c: New file.
31551 2013-09-09 Allan McRae <allan@archlinux.org>
31554 * COPYING: Update from GNU website to fix FSF address.
31555 * COPYING.LIB: Likewise.
31557 2013-09-06 David S. Miller <davem@davemloft.net>
31559 * po/zh_TW.po: Update Chinese (traditional) translation from
31560 translation project.
31562 2013-09-06 Richard Sandiford <richard@codesourcery.com>
31563 Joseph Myers <joseph@codesourcery.com>
31565 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
31567 (obstack_chunk_alloc): New macro.
31568 (obstack_chunk_free): Likewise.
31569 (record_offset): New function.
31570 (init_locale_data): Likewise.
31571 (align_locale_data): Likewise.
31572 (add_locale_empty): Likewise.
31573 (add_locale_raw_data): Likewise.
31574 (add_locale_raw_obstack): Likewise.
31575 (add_locale_string): Likewise.
31576 (add_locale_wstring): Likewise.
31577 (add_locale_uint32): Likewise.
31578 (add_locale_uint32_array): Likewise.
31579 (add_locale_char): Likewise.
31580 (start_locale_structure): Likewise.
31581 (end_locale_structure): Likewise.
31582 (start_locale_prelude): Likewise.
31583 (end_locale_prelude): Likewise.
31584 (write_locale_data): Take locale_file structure rather than an
31586 * locale/programs/locfile.h: Include "obstack.h".
31587 (struct locale_file): Change to store locale file contents instead
31589 (init_locale_data): New prototype.
31590 (align_locale_data): Likewise.
31591 (add_locale_empty): Likewise.
31592 (add_locale_raw_data): Likewise.
31593 (add_locale_raw_obstack): Likewise.
31594 (add_locale_string): Likewise.
31595 (add_locale_wstring): Likewise.
31596 (add_locale_uint32): Likewise.
31597 (add_locale_uint32_array): Likewise.
31598 (add_locale_char): Likewise.
31599 (start_locale_structure): Likewise.
31600 (end_locale_structure): Likewise.
31601 (start_locale_prelude): Likewise.
31602 (end_locale_prelude): Likewise.
31603 (write_locale_data): Update prototype.
31604 * locale/programs/3level.h (struct TABLE): Remove result field.
31605 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
31606 Use new locale_file interface.
31607 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
31608 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
31609 * locale/programs/ld-address.c (address_output): Use new
31610 locale_file interface.
31611 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
31613 (collate_finish): Don't call collseq_table_finalize.
31614 (collate_output): Use new locale_file interface.
31615 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
31617 (NO_FINALIZE): Change to NO_ADD_LOCALE.
31618 (TABLE): Move defines earlier in file.
31619 (ELEMENT): Likewise.
31620 (DEFAULT): Likewise.
31621 (wctrans_table_add): Move macro and inline function earlier in
31623 (struct wctype_table): Move type earlier in file.
31624 (add_locale_wctype_table): New static prototype.
31625 (struct locale_ctype_t): Use logical types instead of struct iovec
31626 pointers for members.
31627 (ctype_output): Use new locale_file interface.
31628 (wctype_table_finalize): Change to add_locale_wctype_table. Use
31629 new locale_file interface.
31630 (allocate_arrays): Update for use of new locale_file interface.
31631 * locale/programs/ld-identification.c (identification_output): Use
31632 new locale_file interface.
31633 * locale/programs/ld-measurement.c (measurement_output): Likewise.
31634 * locale/programs/ld-messages.c (messages_output): Likewise.
31635 * locale/programs/ld-monetary.c (monetary_output): Likewise.
31636 * locale/programs/ld-name.c (name_output): Likewise.
31637 * locale/programs/ld-numeric.c (numeric_output): Likewise.
31638 * locale/programs/ld-paper.c (paper_output): Likewise.
31639 * locale/programs/ld-telephone.c (telephone_output): Likewise.
31640 * locale/programs/ld-time.c (time_output): Likewise.
31642 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31644 * benchtests/Makefile: Add memrchr benchmark.
31645 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
31646 benchmark as memrchr.
31647 * benchtests/bench-memrchr-ifunc.c: New file.
31648 * benchtests/bench-memrchr.c: New file.
31650 2013-09-06 Will Newton <will.newton@linaro.org>
31652 * benchtests/Makefile (string-bench): Add memcpy.
31654 2013-09-05 Carlos O'Donell <carlos@redhat.com>
31655 Cong Wang <amwang@redhat.com>
31658 * sysdeps/unix/sysv/linux/bits/in.h
31659 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
31660 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
31661 before __USE_KERNEL_IPV6_DEFS uses.
31662 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
31664 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
31665 sockaddr_in6, or ipv6_mreq.
31667 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31669 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
31670 memory access for final bytes in some large inputs.
31671 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
31673 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31675 * string/test-memrchr.c: New file.
31676 * string/test-memrchr-ifunc.c: New file.
31677 * string/Makefile: Add new memrchr testcase.
31679 2013-09-05 Mike Frysinger <vapier@gentoo.org>
31681 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
31682 fanotify_init returns EPERM.
31684 2013-09-04 Joseph Myers <joseph@codesourcery.com>
31686 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
31688 (top level): Treat second token from macro or constant entries for
31689 allowed headers as allowed.
31690 * include/complex.h: Condition internal declarations on
31692 * include/fenv.h: Condition include of <stdbool.h> and internal
31693 declarations on [!_ISOMAC].
31695 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
31698 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
31700 2013-09-04 Joseph Myers <joseph@codesourcery.com>
31702 * configure.in (--enable-versioning): Remove configure option.
31703 (libc_cv_asm_symver_directive): Remove configure test.
31704 (libc_cv_ld_version_script_option): Likewise.
31705 (VERSIONING): Remove variable and AC_SUBST.
31706 (DO_VERSIONING): Remove AC_DEFINE.
31707 * configure: Regenerated.
31708 * config.h.in (DO_VERSIONING): Remove macro.
31709 * Makerules [$(versioning) = yes]: Change conditionals to
31710 [$(build-shared) = yes].
31711 * config.make.in (versioning): Remove variable.
31712 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31713 [$(build-shared) = yes].
31714 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31715 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31716 * elf/Makefile [$(versioning) = yes]: Change conditionals to
31717 [$(build-shared) = yes].
31718 * extra-lib.mk [$(versioning) = yes]: Likewise.
31719 * hurd/Makefile [$(versioning) = yes]: Likewise.
31720 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31722 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31724 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31725 [SHARED && !NO_HIDDEN].
31726 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31728 [SHARED && DO_VERSIONING]: Likewise..
31729 * libio/Makefile [$(versioning) = yes]: Change conditionals to
31730 [$(build-shared) = yes].
31731 * manual/install.texi (--disable-versioning): Remove
31733 * INSTALL: Regenerated.
31734 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
31736 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
31737 [$(build-shared) = yes].
31738 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
31739 * sysdeps/i386/i686/multiarch/strstr-c.c
31740 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31741 [SHARED && !NO_HIDDEN].
31742 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
31743 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
31744 * sysdeps/powerpc/powerpc32/dl-machine.c
31745 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
31746 * sysdeps/powerpc/powerpc32/sysdep.h
31747 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
31748 to [SHARED && PIC && !NO_HIDDEN].
31749 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
31750 conditional to [SHARED].
31752 2013-09-04 Will Newton <will.newton@linaro.org>
31754 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
31755 * benchtests/bench-string.h: Include bench-timing.h instead
31756 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
31757 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
31758 call to HP_TIMING_DIFF_INIT.
31759 * benchtests/bench-memccpy.c: Use bench-timing.h macros
31760 instead of hp-timing.h macros.
31761 * benchtests/bench-memchr.c: Likewise.
31762 * benchtests/bench-memcmp.c: Likewise.
31763 * benchtests/bench-memcpy.c: Likewise.
31764 * benchtests/bench-memmem.c: Likewise.
31765 * benchtests/bench-memmove.c: Likewise.
31766 * benchtests/bench-memset.c: Likewise.
31767 * benchtests/bench-rawmemchr.c: Likewise.
31768 * benchtests/bench-strcasecmp.c: Likewise.
31769 * benchtests/bench-strcasestr.c: Likewise.
31770 * benchtests/bench-strcat.c: Likewise.
31771 * benchtests/bench-strchr.c: Likewise.
31772 * benchtests/bench-strcmp.c: Likewise.
31773 * benchtests/bench-strcpy.c: Likewise.
31774 * benchtests/bench-strcpy_chk.c: Likewise.
31775 * benchtests/bench-strlen.c: Likewise.
31776 * benchtests/bench-strncasecmp.c: Likewise.
31777 * benchtests/bench-strncat.c: Likewise.
31778 * benchtests/bench-strncmp.c: Likewise.
31779 * benchtests/bench-strncpy.c: Likewise.
31780 * benchtests/bench-strnlen.c: Likewise.
31781 * benchtests/bench-strpbrk.c: Likewise.
31782 * benchtests/bench-strrchr.c: Likewise.
31783 * benchtests/bench-strspn.c: Likewise.
31784 * benchtests/bench-strstr.c: Likewise.
31786 2013-09-04 Will Newton <will.newton@linaro.org>
31788 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
31790 2013-09-03 Joseph Myers <joseph@codesourcery.com>
31793 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31794 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
31795 * math/libm-test.inc (lgamma_test_data): Add more tests.
31796 * sysdeps/i386/fpu/libm-test-ulps: Update.
31797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31799 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
31801 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
31802 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31804 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31805 Add strcmp-sse2-unaligned
31806 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
31808 2013-09-02 Mike Frysinger <vapier@gentoo.org>
31810 * Versions.def (libc): Add GLIBC_2.19.
31812 2013-09-02 Mike Frysinger <vapier@gentoo.org>
31814 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
31815 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
31817 2013-09-02 Joseph Myers <joseph@codesourcery.com>
31820 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
31821 intermediate calculations in recurrence.
31822 (__ieee754_ynf): Likewise.
31823 * math/libm-test.inc (jn_test_data): Do not allow spurious
31824 underflow exception. Add more tests.
31825 (yn_test_data): Add more tests.
31826 * sysdeps/i386/fpu/libm-test-ulps: Update.
31827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31829 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
31831 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
31833 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
31835 * csu/init-first.c: Fix then/than typos.
31836 * locale/programs/ld-collate.c: Likewise.
31837 * locale/programs/linereader.h: Likewise.
31838 * manual/charset.texi: Likewise.
31839 * manual/filesys.texi: Likewise.
31840 * manual/stdio.texi: Likewise.
31841 * manual/string.texi: Likewise.
31842 * stdlib/fmtmsg.c: Likewise.
31843 * sysdeps/i386/stpncpy.S: Likewise.
31844 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31845 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31846 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31847 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31849 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
31851 * elf/dl-open.c: Fix typos.
31852 * iconvdata/gbbig5.c: Likewise.
31853 * iconvdata/iso-2022-jp.c: Likewise.
31854 * iconv/gconv_int.h: Likewise.
31855 * iconv/loop.c: Likewise.
31856 * nis/rpcsvc/nis.h: Likewise.
31857 * resolv/ns_name.c: Likewise.
31858 * stdio-common/vfscanf.c: Likewise.
31859 * streams/stropts.h: Likewise.
31860 * sunrpc/rpc_thread.c: Likewise.
31861 * sysdeps/i386/strpbrk.S: Likewise.
31862 * sysdeps/ieee754/k_standard.c: Likewise.
31863 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31864 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31865 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
31866 * sysdeps/mach/hurd/profil.c: Likewise.
31867 * sysdeps/s390/dl-procinfo.h: Likewise.
31868 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
31869 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31870 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
31871 * sysdeps/x86_64/dl-trampoline.S: Likewise.
31872 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31874 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
31876 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
31877 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
31879 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
31881 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
31882 aix specific files.
31883 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
31884 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
31885 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
31886 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
31887 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
31888 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
31889 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
31890 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
31892 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
31893 Roland McGrath <roland@hack.frob.com>
31895 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
31896 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
31898 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
31900 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
31901 __executable_start symbol instead of _start.
31903 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
31905 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
31906 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
31908 * sysdeps/gnu/ldsodefs.h: ... this new file.
31910 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
31911 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
31912 instead of ELFOSABI_LINUX.
31914 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
31915 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
31916 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
31917 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
31919 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
31920 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
31921 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
31923 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31924 (ibm_extended_long_double): Add ieee_nan member.
31925 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
31926 (do_test): New function.
31928 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
31930 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
31931 functions, renamed from truncdfsf_test, trunctfsf_test,
31933 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
31935 (do_test): Run all these.
31937 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
31939 * argp/argp-help.c: Fix typos.
31940 * argp/argp-parse.c: Likewise.
31941 * debug/backtracesyms.c: Likewise.
31942 * elf/elf.h: Likewise.
31943 * malloc/malloc.c: Likewise.
31944 * nis/nis_print.c: Likewise.
31945 * resolv/res_comp.c: Likewise.
31946 * stdlib/stdlib.h: Likewise.
31947 * sunrpc/clnt_tcp.c: Likewise.
31948 * sunrpc/clnt_udp.c: Likewise.
31949 * sunrpc/clnt_unix.c: Likewise.
31950 * sysdeps/unix/bsd/ptsname.c: Likewise.
31951 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31952 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
31953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
31955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
31957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31959 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31961 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31963 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
31964 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31966 2013-08-27 Mike Frysinger <vapier@gentoo.org>
31969 * dlfcn/Makefile (tests): Add bug-dl-leaf.
31970 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
31971 ($(objpfx)bug-dl-leaf): New rule.
31972 ($(objpfx)bug-dl-leaf.so): Likewise.
31973 ($(objpfx)bug-dl-leaf.out): Likewise.
31974 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
31975 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
31976 * dlfcn/bug-dl-leaf.c: New test.
31977 * dlfcn/bug-dl-leaf-lib.c: Likewise.
31978 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
31979 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
31980 (dlclose): Likewise.
31981 (dlmopen): Likewise.
31983 2013-08-27 Roland McGrath <roland@hack.frob.com>
31985 * include/netdb.h [!_ISOMAC]:
31986 Don't include <tls.h>.
31987 (h_errno, __libc_h_errno): Move declaration and macros out of
31990 * include/resolv.h [_RESOLV_H_]:
31991 Don't include <tls.h>.
31992 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
31993 * resolv/res_libc.c: Don't include <tls.h>.
31994 (_res): Use __attribute__ ((nocommon)) in place of
31995 __attribute__ ((section (".bss"))).
31997 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
31998 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
32000 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
32002 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
32003 only under [SIOCGIFCONF && SIOCGIFNETMASK].
32005 * resolv/res_mkquery.c: Include <sys/time.h>.
32007 * inet/ifreq.c: Moved to ...
32008 * sysdeps/unix/ifreq.c: ... here.
32009 * inet/ifreq.c: New file, true stub version.
32011 * socket/sa_len.c: New file.
32012 * socket/Makefile (aux): Add it.
32013 * sysdeps/unix/sysv/linux/Makefile
32014 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
32015 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
32016 and #include <socket/sa_len.c>.
32017 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
32018 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
32020 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
32021 * bits/socket.h: ... here.
32023 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
32024 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
32025 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
32027 2013-08-27 Andreas Schwab <schwab@suse.de>
32030 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
32031 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
32032 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
32033 * string/test-strcasecmp.c (test_main): Run tests in several
32035 * string/test-strncasecmp.c (test_main): Likewise.
32037 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
32038 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
32039 to __strcasecmp_nonascii and __strncasecmp_nonascii.
32040 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
32041 (__strncasecmp_ssse3) [PIC]: Likewise.
32043 2013-08-26 Roland McGrath <roland@hack.frob.com>
32045 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
32047 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
32048 instead of explicitly declaring xdecrypt.
32049 * nis/nss_nis/nis-publickey.c: Likewise.
32051 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32054 * nscd/aicache.c: Include res_hconf.h.
32055 (addhstaiX): Initialize res_hconf.
32057 2013-08-26 Andreas Schwab <schwab@suse.de>
32059 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
32060 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
32062 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32064 * nscd/aicache.c (addhstaiX): Fix indentation.
32066 2013-08-25 Mike Frysinger <vapier@gentoo.org>
32068 * configure.ac: Quote $build_pt_chown test.
32069 * configure: Regenerated.
32071 2013-08-23 Joseph Myers <joseph@codesourcery.com>
32074 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
32075 * math/s_cexpf.c (__cexpf): Likewise.
32076 * math/s_cexpl.c (__cexpl): Likewise.
32077 * math/libm-test.inc (cexp_test_data): Correct expected return
32078 value for NaN + i0. Add another test.
32080 2013-08-22 David S. Miller <davem@davemloft.net>
32082 * po/ca.po: Update Catalan translation from translation project.
32083 * po/uk.po: Add Ukrainian translations from translation project.
32085 2013-08-21 Joseph Myers <joseph@codesourcery.com>
32088 * math/s_fdim.c (__fdim): Check for infinite arguments if result
32089 is infinite, not alongside NaN test.
32090 * math/s_fdimf.c (__fdimf): Likewise.
32091 * math/s_fdiml.c (__fdiml): Likewise.
32092 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
32093 errno is unchanged.
32095 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
32097 * argp/argp-help.c: Fix typos.
32098 * crypt/speeds.c: Likewise.
32099 * csu/check_fds.c: Likewise.
32100 * elf/dl-load.c: Likewise.
32101 * elf/dl-open.c: Likewise.
32102 * elf/reldep3.c: Likewise.
32103 * elf/reldep.c: Likewise.
32104 * elf/sprof.c: Likewise.
32105 * iconv/iconv_charmap.c: Likewise.
32106 * iconv/skeleton.c: Likewise.
32107 * iconv/strtab.c: Likewise.
32108 * io/lockf64.c: Likewise.
32109 * libio/libioP.h: Likewise.
32110 * resolv/gai_notify.c: Likewise.
32111 * resolv/ns_name.c: Likewise.
32112 * resolv/ns_samedomain.c: Likewise.
32113 * resolv/res_send.c: Likewise.
32114 * stdlib/random.c: Likewise.
32115 * sunrpc/rpc/xdr.h: Likewise.
32116 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
32117 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32118 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32119 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32120 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32121 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32122 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32123 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32124 * sysdeps/mach/hurd/check_fds.c: Likewise.
32125 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32126 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32127 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32128 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32129 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32130 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32131 * sysdeps/pthread/aio_notify.c: Likewise.
32132 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
32133 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
32134 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
32135 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32136 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
32138 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32140 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
32141 version if bit_Slow_SSE4_2 is set.
32142 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32143 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32145 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32148 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
32149 trampoline stack frame information.
32150 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
32151 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
32152 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
32153 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
32154 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
32155 * sysdeps/unix/sysv/linux/powerpc/init-first.c
32156 (_libc_vdso_platform_setup): Initialize the signal trampolines.
32157 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
32159 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
32160 interrupting a syscall and set with option SA_SIGINFO.
32162 2013-08-20 Joseph Myers <joseph@codesourcery.com>
32165 * math/s_cproj.c (__cproj): Only return an infinity if one part of
32166 argument is infinite.
32167 * math/s_cprojf.c (__cprojf): Likewise.
32168 * math/s_cprojl.c (__cprojl): Likewise.
32169 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
32170 * math/libm-test.inc (cproj_test_data): Add more tests.
32172 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
32174 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
32175 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
32176 size. Use __ffs to determine corresponding shift.
32178 2013-08-20 Joseph Myers <joseph@codesourcery.com>
32179 Roland McGrath <roland@hack.frob.com>
32181 * Makefile (INSTALL): Remove trailing blank lines from output of
32184 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32186 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
32187 Align 32 bit compat elf_greg to 8 bytes.
32189 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
32191 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
32193 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32195 * string/strcoll_l.c (coll_seq): New structure.
32196 (get_next_seq_cached): New function.
32197 (get_next_seq): New function.
32198 (do_compare): New function.
32199 (STRCOLL): Use GNU style definition. Simplify implementation
32200 by using get_next_seq, get_next_seq_cached and do_compare.
32202 2013-08-16 Florian Weimer <fweimer@redhat.com>
32206 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
32208 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
32210 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
32211 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
32212 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
32214 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
32215 GETDENTS_64BIT_ALIGNED.
32216 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32217 * manual/filesys.texi (Reading/Closing Directory): Document
32218 ENAMETOOLONG return value of readdir_r. Recommend readdir more
32220 * manual/conf.texi (Limits for Files): Add portability note to
32221 NAME_MAX, PATH_MAX.
32222 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
32224 2013-08-13 Andreas Schwab <schwab@suse.de>
32227 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
32229 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
32230 LDBL_MAX_EXP >= 16384]: Add tests for it.
32232 2013-08-12 David S. Miller <davem@davemloft.net>
32234 * version.h (RELEASE): Set to "development".
32235 (VERSION): Set to "2.18.90".
32236 * NEWS: Add 2.19 section.
32238 2013-08-03 David S. Miller <davem@davemloft.net>
32240 * po/ko.po: Update Korean translation from translation project.
32242 2013-08-01 David S. Miller <davem@davemloft.net>
32244 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
32245 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
32248 2013-07-30 David S. Miller <davem@davemloft.net>
32250 * po/fr.po: Update French translation from translation project.
32252 2013-07-28 David S. Miller <davem@davemloft.net>
32254 * po/cs.po: Update Czech translation from translation project.
32256 * po/sv.po: Update Swedish translation from translation project.
32258 2013-07-27 David S. Miller <davem@davemloft.net>
32260 * po/eo.po: Update Esperanto translation from translation project.
32262 * po/vi.po: Update Vietnamese translation from translation project.
32264 * po/de.po: Update German translation from translation project.
32266 2013-07-26 David S. Miller <davem@davemloft.net>
32268 * po/bg.po: Update Bulgarian translation from translation project.
32270 * po/nl.po: Update Dutch translation from translation project.
32271 * po/pl.po: Update Polish translation from translation project.
32272 * po/ru.po: Update Russian translation from translation project.
32274 2013-07-24 David S. Miller <davem@davemloft.net>
32276 * po/libc.pot: Update.
32278 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32280 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
32281 variable page size.
32282 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
32283 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
32284 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
32286 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32288 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
32290 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32291 Andreas Schwab <schwab@suse.de>
32292 Roland McGrath <roland@hack.frob.com>
32293 Joseph Myers <joseph@codesourcery.com>
32294 Carlos O'Donell <carlos@redhat.com>
32297 * config.h.in: Define HAVE_PT_CHOWN.
32298 * config.make.in (build-pt-chown): New variable.
32299 * configure.in (--enable-pt_chown): New configure option.
32300 * configure: Regenerate.
32301 * login/Makefile: Include Makeconfig. Build pt_chown only if
32302 build-pt-chown is enabled.
32303 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
32304 pt_chown to fix pty ownership.
32305 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
32307 * manual/install.texi (Configuring and compiling): Mention
32308 --enable-pt_chown. Add @findex for grantpt.
32309 * INSTALL: Regenerate.
32311 2013-07-20 David S. Miller <davem@davemloft.net>
32313 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
32314 difference between 32-bit and 64-bit.
32316 2013-07-15 Carlos O'Donell <carlos@redhat.com>
32319 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
32320 Avoid system header dependency with -ffreestanding.
32321 ($(objpfx)bits/syscall%d): Likewise.
32323 2013-07-13 David S. Miller <davem@davemloft.net>
32325 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
32326 underflows from atanl/atan2l due to bug 15319.
32327 (casinh_test_data): Likewise.
32329 2013-07-07 David S. Miller <davem@davemloft.net>
32331 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32333 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
32335 * sysdeps/i386/fpu/libm-test-ulps: Update.
32336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32338 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32340 * configure.in (--enable-lock-elision): Fix message text.
32341 * INSTALL: Regenerate.
32342 * configure: Regenerate.
32344 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32348 2013-07-03 Andreas Jaeger <aj@suse.de>
32350 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
32352 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
32353 (ptrace_peeksiginfo_args): Add.
32354 (__ptrace_peeksiginfo_flags): Add.
32355 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32356 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32357 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32359 2013-07-03 Allan McRae <allan@archlinux.org>
32361 * sysdeps/i386/fpu/libm-test-ulps: Update.
32363 2013-07-02 David S. Miller <davem@davemloft.net>
32365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32367 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
32369 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32371 2013-07-02 Joseph Myers <joseph@codesourcery.com>
32373 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32376 2013-07-02 Andi Kleen <ak@linux.intel.com>
32378 * config.h.in (ENABLE_LOCK_ELISION): Add.
32379 * configure.in (--enable-lock-elision): Add option.
32380 * manual/install.texi: Document --enable lock elision.
32381 * configure: Regenerate
32382 * INSTALL: Regenerate.
32384 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
32386 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
32387 SSE4.2 strcasecmp for libc.a.
32388 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32390 2013-07-02 Joseph Myers <joseph@codesourcery.com>
32393 * soft-fp/op-common.h (_FP_FMA): New macro.
32394 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
32395 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
32396 (_FP_MUL_MEAT_1_imm): ... here.
32397 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
32398 (_FP_MUL_MEAT_1_wide): ... here.
32399 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
32400 (_FP_MUL_MEAT_1_hard): ... here.
32401 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
32402 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
32403 (_FP_MUL_MEAT_2_wide): ... here.
32404 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
32405 (_FP_MUL_MEAT_2_wide_3mul): ... here.
32406 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
32407 (_FP_MUL_MEAT_2_gmp): ... here.
32408 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
32409 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
32410 (_FP_MUL_MEAT_4_wide): ... here.
32411 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
32412 (_FP_MUL_MEAT_4_gmp): ... here.
32413 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
32414 (_FP_WFRACBITS_DW_S): Likewise.
32415 (_FP_WFRACXBITS_DW_S): Likewise.
32416 (_FP_HIGHBIT_DW_S): Likewise.
32417 (FP_FMA_S): Likewise.
32418 (_FP_FRAC_HIGH_DW_S): Likewise.
32419 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
32420 (_FP_WFRACBITS_DW_D): Likewise.
32421 (_FP_WFRACXBITS_DW_D): Likewise.
32422 (_FP_HIGHBIT_DW_D): Likewise.
32423 (FP_FMA_D): Likewise.
32424 (_FP_FRAC_HIGH_DW_D): Likewise.
32425 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
32426 (_FP_WFRACBITS_DW_E): Likewise.
32427 (_FP_WFRACXBITS_DW_E): Likewise.
32428 (_FP_HIGHBIT_DW_E): Likewise.
32429 (FP_FMA_E): Likewise.
32430 (_FP_FRAC_HIGH_DW_E): Likewise.
32431 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
32432 (_FP_WFRACBITS_DW_Q): Likewise.
32433 (_FP_WFRACXBITS_DW_Q): Likewise.
32434 (_FP_HIGHBIT_DW_Q): Likewise.
32435 (FP_FMA_Q): Likewise.
32436 (_FP_FRAC_HIGH_DW_Q): Likewise.
32437 * soft-fp/fmasf4.c: New file.
32438 * soft-fp/fmadf4.c: Likewise.
32439 * soft-fp/fmatf4.c: Likewise.
32441 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32444 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
32446 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
32448 (index_Slow_SSE4_2): Likewise.
32449 (index_Prefer_PMINUB_for_stringop): Likewise.
32450 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
32451 bit_Slow_SSE4_2 is set.
32452 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32453 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32455 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32457 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
32458 rtld_global._dl_hwcap2.
32459 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
32461 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
32462 POWER8 feature descriptions defined in _dl_hwcap2.
32463 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
32464 string handling for POWER8 feature bits.
32465 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
32466 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
32467 _dl_powerpc_cap_flags.
32468 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
32469 * sysdeps/powerpc/rtld-global-offsets.sym
32470 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
32471 _dl_hwcap2 in the rtld_global_ro structure.
32473 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32475 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
32476 hardware capabilities in support of AT_HWCAP2.
32477 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
32478 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
32480 (_dl_show_auxv): Add support for calling _dl_procinfo to display
32481 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
32482 explicitly the unknown a_type display mechanism is used.
32483 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
32484 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
32486 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
32487 to macro prototype for AT_HWCAP2 support.
32488 * sysdeps/i386/dl-procinfo.h: Likewise.
32489 * sysdeps/s390/dl-procinfo.h: Likewise.
32490 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
32491 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
32492 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
32493 return -1 for unknown a_type display fallback.
32494 * sysdeps/sparc/dl-procinfo.h: Likewise.
32495 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
32496 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
32498 2013-06-28 Joseph Myers <joseph@codesourcery.com>
32500 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
32501 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
32503 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
32506 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
32507 mprotect making __stack_prot writable.
32509 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
32510 Joseph Myers <joseph@codesourcery.com>
32512 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
32513 as being properly aligned.
32515 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
32517 * dlfcn/modstatic5.c: New file.
32518 * dlfcn/tststatic5.c: New file.
32519 * dlfcn/Makefile (tests): Add tststatic5.
32520 (tests-static): Likewise.
32521 (modules-names): Add modstatic5.
32522 (tststatic5-ENV): New variable.
32523 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
32526 * elf/dl-support.c (_dl_main_map): New variable.
32527 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
32528 (_dl_nns, _dl_load_adds): Set to 1.
32529 (_dl_initial_searchlist): Refer to _dl_main_map.
32530 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
32531 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
32532 call to _dl_get_origin.
32533 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
32535 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
32536 * dlfcn/modstatic3.c: New file.
32537 * dlfcn/tststatic3.c: New file.
32538 * dlfcn/tststatic4.c: New file.
32539 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
32540 (tests-static): Likewise.
32541 (modules-names): Add modstatic3.
32542 (tststatic3-ENV, tststatic4-ENV): New variables.
32543 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
32544 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
32546 2013-06-26 Joseph Myers <joseph@codesourcery.com>
32548 * configure.in (CC): Require GCC version 4.4 or later.
32549 * configure: Regenerated.
32550 * manual/install.texi (Tools for Compilation): Update GCC version
32552 * INSTALL: Regenerated.
32554 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32557 * string/test-memcmp.c (check2): New.
32558 (main): Call check2.
32560 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
32562 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
32565 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
32567 (dl_open_worker) [!SHARED]: ... here.
32569 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32571 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
32573 2013-06-25 Richard Henderson <rth@redhat.com>
32575 * locale/programs/locarchive.c: Include <libc-internal.h>
32577 2013-06-25 Joseph Myers <joseph@codesourcery.com>
32579 * manual/texinfo.tex: Update to version 2013-06-21.17, with
32580 trailing whitespace removed.
32582 2013-06-24 Mike Frysinger <vapier@gentoo.org>
32585 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
32586 * locale/programs/locarchive.c: Include libc-mmap.h.
32587 (prepare_address_space): Take two new outputs (the mmap base and len).
32588 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
32590 (create_archive): Declare new mmap base and len values for
32591 prepare_address_space, and store the result in ah.
32592 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
32593 (enlarge_archive): If ah->mmap_base is not NULL, use that and
32594 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32595 Declare new mmap base and len values for
32596 prepare_address_space, and store the result in new_ah.
32597 (open_archive): Declare new mmap base and len values for
32598 prepare_address_space, and store the result in ah.
32599 (close_archive): If ah->mmap_base is not NULL, use that and
32600 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32601 * sysdeps/generic/libc-mmap.h: New file.
32603 2013-06-24 Mike Frysinger <vapier@gentoo.org>
32605 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
32606 (ALIGN_UP): Likewise.
32607 (PTR_ALIGN_DOWN): Likewise.
32608 (PTR_ALIGN_UP): Likewise.
32610 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32612 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
32613 entry mapped to PPC_PLATFORM_POWER8.
32614 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
32616 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
32617 (_dl_string_platform): Add case for exporting platform position for
32619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
32620 search path to sysdeps/powerpc/powerpc32/power8 directory.
32621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
32622 search path to sysdeps/powerpc/powerpc64/power8 directory.
32623 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
32624 power7 directories.
32625 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
32626 power7 directories.
32628 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32630 * INSTALL: Regenerate.
32632 * nscd/connections.c (nscd_init): Fix comment.
32634 2013-06-22 Joseph Myers <joseph@codesourcery.com>
32636 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
32639 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
32640 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
32642 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
32644 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
32646 (DL_DST_REQ_STATIC): Remove macro.
32648 2013-06-21 Joseph Myers <joseph@codesourcery.com>
32651 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
32652 with a shift of 0 bits.
32654 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
32656 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
32659 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32662 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
32664 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32666 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32667 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
32668 accepts -fno-tree-loop-distribute-patterns.
32669 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
32670 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
32672 * string/memset.c (memset): Likewise.
32673 * string/test-memmove.c (simple_memmove): Disable loop transformation
32675 * string/test-memset.c (simple_memset): Likewise.
32676 * benchtests/bench-memmove.c (simple_memmove): Likewise.
32677 * benchtests/bench-memset.c (simple_memset): Likewise.
32678 * configure: Regenerated.
32680 2013-06-20 Joseph Myers <joseph@codesourcery.com>
32682 * math/test-misc.c (main): Ignore fesetround failure when failures
32683 of subsequent rounding tests would be ignored.
32686 * math/fedisblxcpt.c (fedisableexcept): Return 0.
32687 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
32688 * math/fegetenv.c (__fegetenv): Return 0.
32689 * math/fegetexcept.c (fegetexcept): Return 0.
32690 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
32692 * math/feholdexcpt.c (feholdexcept): Return 0.
32693 * math/fesetenv.c (__fesetenv): Return 0.
32694 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32695 argument FE_TONEAREST.
32696 * math/feupdateenv.c (__feupdateenv): Return 0.
32697 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
32699 2013-06-18 Roland McGrath <roland@hack.frob.com>
32701 * elf/rtld-Rules (rtld-compile-command.S): New variable.
32702 (rtld-compile-command.s, rtld-compile-command.c): New variables.
32703 ($(objpfx)rtld-%.os rules): Use them.
32705 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32707 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
32710 2013-06-17 Roland McGrath <roland@hack.frob.com>
32712 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32713 length of target pattern, then descending length of dependency pattern.
32714 * configure.in (AWK): Require gawk 3.1.2 or newer.
32715 * manual/install.texi (Tools for Compilation): Say that we do.
32716 * configure: Regenerated.
32718 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32719 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32720 * scripts/sysd-rules.awk: ... this new script.
32721 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32722 than a glob-style pattern.
32724 2013-06-17 Joseph Myers <joseph@codesourcery.com>
32726 * math/test-misc.c (main): Do not treat incorrectly rounded
32727 conversions as failure unless ROUNDING_TESTS passes.
32729 2013-06-15 Joseph Myers <joseph@codesourcery.com>
32732 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
32733 restore exception state around main square root computation, then
32734 check for inexactness explicitly.
32736 * math/libm-test.inc (fma_test_data): Add another test.
32738 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32740 * manual/threads.texi (Non-POSIX Extensions): New document
32741 node. Document pthread_getattr_default_np and
32742 pthread_setattr_default_np.
32744 * Versions.def (libpthread): Add GLIBC_2.18.
32745 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
32746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32754 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
32756 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32760 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32765 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32767 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32768 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
32770 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32771 H.J. Lu <hjl.tools@gmail.com>
32774 * sysdeps/x86_64/rtld-memset.c: Remove file.
32775 * sysdeps/x86_64/rtld-memset.S: New file.
32777 2013-06-14 Joseph Myers <joseph@codesourcery.com>
32779 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
32780 (test_in_one_mode): Take arguments for whether the rounding mode
32781 is supported for each floating-point type.
32782 (do_test): Pass new arguments to test_in_one_mode using
32785 2013-06-13 Roland McGrath <roland@hack.frob.com>
32787 * posix/tst-waitid.c (do_test): Distinguish different instances of
32788 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
32789 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
32790 before entering the kernel for waitpid.
32792 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32794 * NEWS: Fix note on clock function precision. Text by Roland
32797 2013-06-13 Roland McGrath <roland@hack.frob.com>
32799 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
32800 it into place only when and if the sanity check passes.
32802 2013-06-13 Joseph Myers <joseph@codesourcery.com>
32804 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
32805 output for whether conversion result is exact. Take argument
32806 indicating whether type is IBM long double.
32807 (round_for_all): Change need_exact field to ibm_ld.
32808 * stdlib/tst-strtod-round.c (struct exactness): New type.
32809 (struct test): Change bool ld_ok field to struct exactness exact.
32810 (TEST): Update all definitions for change to field.
32811 (tests): Regenerate array contents.
32812 (test_in_one_mode): Take pointer to new field instead of old ld_ok
32813 field value. Check for IBM long double here.
32814 (do_test): Update calls to test_in_one_mode.
32816 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32819 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
32820 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
32822 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32825 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
32826 generated by the compiler on loop optimizations.
32827 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
32828 general definitions.
32830 2013-06-12 Joseph Myers <joseph@codesourcery.com>
32832 * math/bug-nextafter.c: Include <math-tests.h>.
32833 (main): Only test for exceptions if EXCEPTION_TESTS is true for
32835 * math/bug-nexttoward.c: Include <math-tests.h>.
32836 (main): Only test for exceptions if EXCEPTION_TESTS is true for
32838 * math/test-misc.c: Include <math-tests.h>.
32839 (main): Only test for exceptions if EXCEPTION_TESTS is true for
32842 2013-06-12 Andreas Jaeger <aj@suse.de>
32844 * po/ia.po: Update Interlingua translation from translation
32847 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
32849 * include/fenv.h: Include stdbool.h.
32850 (struct rm_ctx): New structure.
32851 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
32853 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
32854 (SET_RESTORE_ROUNDF): Likewise.
32855 (SET_RESTORE_ROUNDL): Likewise.
32856 (SET_RESTORE_ROUND_NOEX): Likewise.
32857 (SET_RESTORE_ROUND_NOEXF): Likewise.
32858 (SET_RESTORE_ROUND_NOEXL): Likewise.
32859 (SET_RESTORE_ROUND_53BIT): Likewise.
32860 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
32861 (libc_feresetround_noexf_ctx): Likewise.
32862 (libc_feresetround_noexl_ctx): Likewise.
32863 (libc_feholdsetround_53bit_ctx): Likewise.
32864 (libc_feresetround_53bit_ctx): Likewise.
32865 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
32866 (libc_feholdexcept_setround_sse_ctx): New function.
32867 (libc_fesetenv_sse_ctx): Likewise.
32868 (libc_feupdateenv_sse_ctx): Likewise.
32869 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
32870 (libc_feholdexcept_setround_387_ctx): Likewise.
32871 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
32872 (libc_feholdsetround_387_prec_ctx): Likewise.
32873 (libc_feholdsetround_387_ctx): Likewise.
32874 (libc_feholdsetround_387_53bit_ctx): Likewise.
32875 (libc_feholdsetround_sse_ctx): Likewise.
32876 (libc_feresetround_sse_ctx): Likewise.
32877 (libc_feresetround_387_ctx): Likewise.
32878 (libc_feupdateenv_387_ctx): Likewise.
32879 (libc_feholdexcept_setroundf_ctx): Define macro.
32880 (libc_fesetenvf_ctx): Likewise.
32881 (libc_feupdateenvf_ctx): Likewise.
32882 (libc_feholdsetroundf_ctx): Likewise.
32883 (libc_feresetroundf_ctx): Likewise.
32884 (libc_feholdexcept_setround_ctx): Likewise.
32885 (libc_fesetenv_ctx): Likewise.
32886 (libc_feupdateenv_ctx): Likewise.
32887 (libc_feholdsetround_ctx): Likewise.
32888 (libc_feresetround_ctx): Likewise.
32889 (libc_feholdexcept_setroundl_ctx): Likewise.
32890 (libc_feupdateenvl_ctx): Likewise.
32891 (libc_feholdsetroundl_ctx): Likewise.
32892 (libc_feresetroundl_ctx): Likewise.
32893 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
32894 (libc_feresetround_53bit_ctx): Likewise.
32896 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32898 * locale/iso-639.def: Convert to UTF-8.
32900 2013-06-11 Joseph Myers <joseph@codesourcery.com>
32902 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
32903 (EXCEPTION_TESTS_double): Likewise.
32904 (EXCEPTION_TESTS_long_double): Likewise.
32905 (EXCEPTION_TESTS): Likewise.
32906 * math/libm-test.inc (test_exceptions): Only test exceptions if
32907 EXCEPTION_TESTS (FLOAT).
32909 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32911 * benchtests/Makefile (string-bench): Add strcpy_chk and
32913 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
32914 * benchtests/bench-stpcpy_chk.c: New file.
32915 * benchtests/bench-strcpy_chk-ifunc.c: New file.
32916 * benchtests/bench-strcpy_chk.c: New file.
32917 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
32919 (do_test): Likewise.
32921 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32923 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
32924 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
32925 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
32926 with tabs where appropriate.
32927 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
32929 [PPC_PLATFORM_PPC440]: Likewise.
32930 [PPC_PLATFORM_PPC464]: Likewise.
32931 [PPC_PLATFORM_PPC476]: Likewise.
32932 (_dl_string_platform): Add support for detecting ppc405, ppc440,
32933 ppc464, and ppc476 platform strings merging from ports/
32936 2013-06-11 Andreas Schwab <schwab@suse.de>
32939 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
32940 (from_ucs4_idx): Regenerate.
32941 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
32942 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
32943 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
32944 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
32945 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
32946 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
32947 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
32948 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
32949 from FROM_LOOP and TO_LOOP specific macros.
32950 (BODY): Handle combining characters.
32951 * iconvdata/BIG5HKSCS.irreversible: Update.
32952 * iconvdata/BIG5HKSCS.precomposed: New file.
32953 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
32955 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
32957 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32959 * include/sys/time.h: Fix indentation and add copyright header.
32961 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
32962 (do_test): Likewise.
32963 * string/test-memchr.c (do_one_test): Likewise.
32964 (do_test): Likewise.
32965 * string/test-memcmp.c (do_one_test): Likewise.
32966 (do_test): Likewise.
32967 * string/test-memcpy.c (do_one_test): Likewise.
32968 (do_test): Likewise.
32969 * string/test-memmem.c (do_one_test): Likewise.
32970 (do_test): Likewise.
32971 (do_random_tests): Likewise.
32972 * string/test-memmove.c (do_one_test): Likewise.
32973 (do_test): Likewise.
32974 * string/test-memset.c (do_one_test): Likewise.
32975 (do_test): Likewise.
32976 * string/test-rawmemchr.c (do_one_test): Likewise.
32977 (do_test): Likewise.
32978 * string/test-strcasecmp.c (do_one_test): Likewise.
32979 (do_test): Likewise.
32980 * string/test-strcasestr.c (do_one_test): Likewise.
32981 (do_test): Likewise.
32982 * string/test-strcat.c (do_one_test): Likewise.
32983 (do_test): Likewise.
32984 * string/test-strchr.c (do_one_test): Likewise.
32985 (do_test): Likewise.
32986 * string/test-strcmp.c (do_one_test): Likewise.
32987 (do_test): Likewise.
32988 * string/test-strcpy.c (do_one_test): Likewise.
32989 (do_test): Likewise.
32990 * string/test-string.h: Likewise.
32991 (test_init): Likewise.
32992 * string/test-strlen.c (do_one_test): Likewise.
32993 (do_test): Likewise.
32994 * string/test-strncasecmp.c (do_one_test): Likewise.
32995 (do_test): Likewise.
32996 * string/test-strncat.c (do_one_test): Likewise.
32997 (do_test): Likewise.
32998 * string/test-strncmp.c (do_one_test): Likewise.
32999 (do_test_limit): Likewise.
33000 (do_test): Likewise.
33001 * string/test-strncpy.c (do_one_test): Likewise.
33002 (do_test): Likewise.
33003 * string/test-strnlen.c (do_one_test): Likewise.
33004 (do_test): Likewise.
33005 * string/test-strpbrk.c (do_one_test): Likewise.
33006 (do_test): Likewise.
33007 * string/test-strrchr.c (do_one_test): Likewise.
33008 (do_test): Likewise.
33009 * string/test-strspn.c (do_one_test): Likewise.
33010 (do_test): Likewise.
33011 * string/test-strstr.c (do_one_test): Likewise.
33012 (do_test): Likewise.
33014 * benchtests/Makefile (string-bench): Add string benchmarks.
33015 * benchtests/bench-bcopy-ifunc.c: New file.
33016 * benchtests/bench-bcopy.c: New file.
33017 * benchtests/bench-bzero-ifunc.c: New file.
33018 * benchtests/bench-bzero.c: New file.
33019 * benchtests/bench-memccpy-ifunc.c: New file.
33020 * benchtests/bench-memccpy.c: New file.
33021 * benchtests/bench-memchr-ifunc.c: New file.
33022 * benchtests/bench-memchr.c: New file.
33023 * benchtests/bench-memcmp-ifunc.c: New file.
33024 * benchtests/bench-memcmp.c: New file.
33025 * benchtests/bench-memmem-ifunc.c: New file.
33026 * benchtests/bench-memmem.c: New file.
33027 * benchtests/bench-memmove-ifunc.c: New file.
33028 * benchtests/bench-memmove.c: New file.
33029 * benchtests/bench-mempcpy-ifunc.c: New file.
33030 * benchtests/bench-mempcpy.c: New file.
33031 * benchtests/bench-memset-ifunc.c: New file.
33032 * benchtests/bench-memset.c: New file.
33033 * benchtests/bench-rawmemchr-ifunc.c: New file.
33034 * benchtests/bench-rawmemchr.c: New file.
33035 * benchtests/bench-stpcpy-ifunc.c: New file.
33036 * benchtests/bench-stpcpy.c: New file.
33037 * benchtests/bench-stpncpy-ifunc.c: New file.
33038 * benchtests/bench-stpncpy.c: New file.
33039 * benchtests/bench-strcasecmp-ifunc.c: New file.
33040 * benchtests/bench-strcasecmp.c: New file.
33041 * benchtests/bench-strcasestr-ifunc.c: New file.
33042 * benchtests/bench-strcasestr.c: New file.
33043 * benchtests/bench-strcat-ifunc.c: New file.
33044 * benchtests/bench-strcat.c: New file.
33045 * benchtests/bench-strchr-ifunc.c: New file.
33046 * benchtests/bench-strchr.c: New file.
33047 * benchtests/bench-strchrnul-ifunc.c: New file.
33048 * benchtests/bench-strchrnul.c: New file.
33049 * benchtests/bench-strcmp-ifunc.c: New file.
33050 * benchtests/bench-strcmp.c: New file.
33051 * benchtests/bench-strcpy-ifunc.c: New file.
33052 * benchtests/bench-strcpy.c: New file.
33053 * benchtests/bench-strcspn-ifunc.c: New file.
33054 * benchtests/bench-strcspn.c: New file.
33055 * benchtests/bench-strlen-ifunc.c: New file.
33056 * benchtests/bench-strlen.c: New file.
33057 * benchtests/bench-strncasecmp-ifunc.c: New file.
33058 * benchtests/bench-strncasecmp.c: New file.
33059 * benchtests/bench-strncat-ifunc.c: New file.
33060 * benchtests/bench-strncat.c: New file.
33061 * benchtests/bench-strncmp-ifunc.c: New file.
33062 * benchtests/bench-strncmp.c: New file.
33063 * benchtests/bench-strncpy-ifunc.c: New file.
33064 * benchtests/bench-strncpy.c: New file.
33065 * benchtests/bench-strnlen-ifunc.c: New file.
33066 * benchtests/bench-strnlen.c: New file.
33067 * benchtests/bench-strpbrk-ifunc.c: New file.
33068 * benchtests/bench-strpbrk.c: New file.
33069 * benchtests/bench-strrchr-ifunc.c: New file.
33070 * benchtests/bench-strrchr.c: New file.
33071 * benchtests/bench-strspn-ifunc.c: New file.
33072 * benchtests/bench-strspn.c: New file.
33073 * benchtests/bench-strstr-ifunc.c: New file.
33074 * benchtests/bench-strstr.c: New file.
33076 * benchtests/Makefile: Disable parallel execution of targets.
33077 (string-bench): Add memcpy.
33078 (benchset): New variable to store a list of benchmark sets.
33079 (bench-func): Renamed from bench.
33080 (bench-set): New target.
33081 (bench): Depend on bench-func and bench-set.
33082 * benchtests/README: Add section on benchmark sets.
33083 * benchtests/bench-memcpy-ifunc.c: New file.
33084 * benchtests/bench-memcpy.c: New file.
33085 * benchtests/bench-string.h: New file.
33087 2013-06-11 Andreas Schwab <schwab@suse.de>
33090 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
33091 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
33092 values in the triple.
33093 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
33094 terminator in the group key.
33096 2013-06-11 Andreas Jaeger <aj@suse.de>
33098 * po/zh_TW.po: Update Chinese (traditional) translation from
33099 translation project.
33101 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33103 * include/time.h (__clock_gettime): Add libc_hidden_proto.
33104 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
33105 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
33106 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33107 (clock_getcpuclockid): Likewise.
33108 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
33109 Add weak_alias and libc_hidden_def.
33110 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
33111 * rt/clock_gettime.c (clock_gettime): Rename to
33112 __clock_gettime. Add weak_alias and libc_hidden_def.
33113 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
33114 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
33115 __clock_nanosleep. Add weak_alias and libc_hidden_def.
33116 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
33117 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
33119 * rt/clock_settime.c (clock_settime): Rename to
33120 __clock_settime. Add weak_alias and libc_hidden_def.
33121 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
33123 2013-06-10 Joseph Myers <joseph@codesourcery.com>
33125 * mach/err_boot.sub: Remove trailing whitespace.
33126 * mach/err_ipc.sub: Likewise.
33127 * mach/err_mach.sub: Likewise.
33129 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
33130 (ROUNDING_TESTS_double): Likewise.
33131 (ROUNDING_TESTS_long_double): Likewise.
33132 (ROUNDING_TESTS): Likewise.
33133 * math/libm-test.inc: Include <math-tests.h>.
33134 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
33135 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33136 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33137 (IF_ROUND_INIT_FE_UPWARD): Likewise.
33139 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33141 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
33144 2013-06-08 Joseph Myers <joseph@codesourcery.com>
33146 * sysdeps/gnu/errlist.awk: Do not generate space at end of
33147 otherwise empty TRANS lines.
33148 * sysdeps/gnu/errlist.c: Regenerated.
33150 * catgets/gencat.c (error_print): Use (void) in function
33152 * crypt/crypt_util.c (__init_des): Likewise.
33153 * crypt/speeds.c (Stop): Likewise.
33155 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
33156 * inet/ruserpass.c (token): Likewise.
33157 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
33158 * intl/localealias.c (extend_alias_table): Likewise.
33159 * intl/plural-exp.c (init_germanic_plural): Likewise.
33160 * libio/fcloseall.c (__fcloseall): Likewise.
33161 * libio/genops.c (_IO_flush_all): Likewise.
33162 (_IO_flush_all_linebuffered): Likewise.
33163 (_IO_cleanup): Likewise.
33164 (_IO_iter_begin): Likewise.
33165 (_IO_iter_end): Likewise.
33166 (_IO_list_lock): Likewise.
33167 (_IO_list_unlock): Likewise.
33168 (_IO_list_resetlock): Likewise.
33169 * libio/getchar.c (getchar): Likewise.
33170 * libio/getchar_u.c (getchar_unlocked): Likewise.
33171 * libio/getwchar.c (getwchar): Likewise.
33172 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
33173 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
33174 * login/getpt.c (__getpt): Likewise.
33175 * login/tst-utmp.c (main): Likewise.
33176 * malloc/hooks.c (__malloc_check_init): Likewise.
33177 * malloc/malloc.c (__malloc_stats): Likewise.
33178 * malloc/mtrace.c (tr_break): Likewise.
33179 (mtrace): Likewise.
33180 (muntrace): Likewise.
33181 * misc/fstab.c (endfsent): Likewise.
33182 * misc/getclktck.c (__getclktck): Likewise.
33183 * misc/getdtsz.c (__getdtablesize): Likewise.
33184 * misc/gethostid.c (gethostid): Likewise.
33185 * misc/getpagesize.c (__getpagesize): Likewise.
33186 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
33187 (__get_nprocs): Likewise.
33188 (__get_phys_pages): Likewise.
33189 (__get_avphys_pages): Likewise.
33190 * misc/getttyent.c (getttyent): Likewise.
33191 (setttyent): Likewise.
33192 (endttyent): Likewise.
33193 * misc/getusershell.c (getusershell): Likewise.
33194 (endusershell): Likewise.
33195 (setusershell): Likewise.
33196 (initshells): Likewise.
33197 * misc/hsearch.c (__hdestroy): Likewise.
33198 * misc/sync.c (sync): Likewise.
33199 * misc/syslog.c (closelog_internal): Likewise.
33200 (closelog): Likewise.
33201 * misc/ttyslot.c (ttyslot): Likewise.
33202 * misc/vhangup.c (vhangup): Likewise.
33203 * posix/fork.c (__fork): Likewise.
33204 * posix/getegid.c (__getegid): Likewise.
33205 * posix/geteuid.c (__geteuid): Likewise.
33206 * posix/getgid.c (__getgid): Likewise.
33207 * posix/getpid.c (__getpid): Likewise.
33208 * posix/getppid.c (__getppid): Likewise.
33209 * posix/getuid.c (__getuid): Likewise.
33210 * posix/pause.c (pause): Likewise.
33211 * posix/setpgrp.c (setpgrp): Likewise.
33212 * posix/setsid.c (__setsid): Likewise.
33213 * posix/test-vfork.c (noop): Likewise.
33214 * resolv/gethnamaddr.c (_endhtent): Likewise.
33215 (_gethtent): Likewise.
33216 (ht_endhostent): Likewise.
33217 (gethostent): Likewise.
33218 (dns_service): Likewise.
33219 * stdlib/drand48.c (drand48): Likewise.
33220 * stdlib/lrand48.c (lrand48): Likewise.
33221 * stdlib/mrand48.c (mrand48): Likewise.
33222 * stdlib/rand.c (rand): Likewise.
33223 * stdlib/random.c (__random): Likewise.
33224 * stdlib/setenv.c (clearenv): Likewise.
33225 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
33226 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
33227 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
33228 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
33229 (__get_nprocs): Likewise.
33230 (__get_phys_pages): Likewise.
33231 (__get_avphys_pages): Likewise.
33232 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
33233 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
33234 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
33235 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
33236 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
33237 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
33238 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
33239 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
33240 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
33241 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
33242 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
33243 * sysdeps/mach/hurd/sync.c (sync): Likewise.
33244 * sysdeps/posix/clock.c (clock): Likewise.
33245 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
33246 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
33247 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
33248 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33249 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
33250 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33251 (__get_nprocs_conf): Likewise.
33252 (__get_phys_pages): Likewise.
33253 (__get_avphys_pages): Likewise.
33254 * time/clock.c (clock): Likewise.
33255 * time/tzset.c (__tzname_max): Likewise.
33257 2013-06-07 Joseph Myers <joseph@codesourcery.com>
33259 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
33260 (__bswap_32): Do not use "register".
33261 * crypt/crypt.c (_ufc_doit_r): Likewise.
33262 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
33263 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
33264 * gmon/gmon.c (__monstartup): Likewise.
33265 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
33266 * hurd/hurdmalloc.c (more_memory): Likewise.
33267 (malloc): Likewise.
33269 (realloc): Likewise.
33270 (malloc_fork_prepare): Likewise.
33271 (malloc_fork_parent): Likewise.
33272 (malloc_fork_child): Likewise.
33273 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
33274 (_svcauth_des): Likewise.
33275 * inet/inet_lnaof.c (inet_lnaof): Likewise.
33276 * inet/inet_net.c (inet_network): Likewise.
33277 * inet/inet_netof.c (inet_netof): Likewise.
33278 * inet/rcmd.c (__validuser2_sa): Likewise.
33279 * io/fts.c (fts_open): Likewise.
33280 (fts_load): Likewise.
33281 (fts_close): Likewise.
33282 (fts_read): Likewise.
33283 (fts_children): Likewise.
33284 (fts_build): Likewise.
33285 (fts_stat): Likewise.
33286 (fts_sort): Likewise.
33287 (fts_alloc): Likewise.
33288 (fts_lfree): Likewise.
33289 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
33290 (_IO_file_xsgetn): Likewise.
33291 (_IO_file_xsgetn_mmap): Likewise.
33292 * libio/iofopncook.c (_IO_cookie_read): Likewise.
33293 (_IO_cookie_write): Likewise.
33294 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
33295 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
33296 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
33297 * malloc/obstack.c (_obstack_begin): Likewise.
33298 (_obstack_begin_1): Likewise.
33299 (_obstack_newchunk): Likewise.
33300 (_obstack_allocated_p): Likewise.
33301 (obstack_free): Likewise.
33302 (_obstack_memory_used): Likewise.
33303 * misc/getttyent.c (getttynam): Likewise.
33304 (getttyent): Likewise.
33307 * misc/getusershell.c (initshells): Likewise.
33308 * misc/syslog.c (__vsyslog_chk): Likewise.
33309 * misc/ttyslot.c (ttyslot): Likewise.
33310 * nis/nis_hash.c (__nis_hash): Likewise.
33311 * posix/fnmatch_loop.c (FCT): Likewise.
33312 * posix/getconf.c (print_all): Likewise.
33314 * posix/getopt.c (exchange): Likewise.
33315 * posix/glob.c (globfree): Likewise.
33316 (prefix_array): Likewise.
33317 (__glob_pattern_type): Likewise.
33318 * resolv/arpa/nameser.h (NS_GET16): Likewise.
33319 (NS_GET32): Likewise.
33320 (NS_PUT16): Likewise.
33321 (NS_PUT32): Likewise.
33322 * resolv/gethnamaddr.c (getanswer): Likewise.
33323 (gethostbyname2): Likewise.
33324 (gethostbyaddr): Likewise.
33325 (_gethtent): Likewise.
33326 (_gethtbyname2): Likewise.
33327 (_gethtbyaddr): Likewise.
33328 * resolv/ns_print.c (dst_s_get_int16): Likewise.
33329 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33330 * resolv/res_init.c (__res_vinit): Likewise.
33331 (net_mask): Likewise.
33332 * resolv/res_mkquery.c (outchar): Likewise.
33334 * stdio-common/printf_fp.c (outchar): Likewise.
33336 * stdio-common/printf_fphex.c (outchar): Likewise.
33338 * stdio-common/printf_size.c (outchar): Likewise.
33340 * stdio-common/test_rdwr.c (main): Likewise.
33341 * stdio-common/tfformat.c (matches): Likewise.
33342 * stdio-common/vfprintf.c (outchar): Likewise.
33343 (printf_unknown): Likewise.
33344 (buffered_vfprintf): Likewise.
33345 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33346 * stdio-common/xbug.c (AppendToBuffer): Likewise.
33347 (ReadFile): Likewise.
33348 * stdlib/qsort.c (SWAP): Likewise.
33349 (_quicksort): Likewise.
33350 * stdlib/setenv.c (__add_to_environ): Likewise.
33351 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33352 * stdlib/strtol_l.c (__strtol_l): Likewise.
33353 * stdlib/tst-strtod.c (main): Likewise.
33354 * stdlib/tst-strtol.c (main): Likewise.
33355 * stdlib/tst-strtoll.c (main): Likewise.
33356 * string/bits/string2.h (__strcmp_cc): Likewise.
33357 (__strcmp_cg): Likewise.
33358 (__strcspn_c1): Likewise.
33359 (__strcspn_c2): Likewise.
33360 (__strcspn_c3): Likewise.
33361 (__strspn_c1): Likewise.
33362 (__strspn_c2): Likewise.
33363 (__strspn_c3): Likewise.
33364 (__strsep_1c): Likewise.
33365 (__strsep_2c): Likewise.
33366 (__strsep_3c): Likewise.
33367 * string/memccpy.c (__memccpy): Likewise.
33368 * string/stpcpy.c (__stpcpy): Likewise.
33369 * string/strcmp.c (strcmp): Likewise.
33370 * string/strrchr.c (strrchr): Likewise.
33371 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
33373 * sysdeps/mach/hurd/getcwd.c
33374 (_hurd_canonicalize_directory_name_internal): Likewise.
33375 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
33376 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
33377 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
33378 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
33379 Likewise, in both definitions.
33380 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
33382 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
33383 64] (__bswap_64): Likewise.
33384 * time/test_time.c (main): Likewise.
33385 * time/tzfile.c (__tzfile_read): Likewise.
33386 (__tzfile_compute): Likewise.
33387 * time/tzset.c (__tzset_parse_tz): Likewise.
33388 (tzset_internal): Likewise.
33389 (compute_change): Likewise.
33390 * wcsmbs/wcscat.c (__wcscat): Likewise.
33391 * wcsmbs/wcschr.c (wcschr): Likewise.
33392 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
33393 * wcsmbs/wcscspn.c (wcscspn): Likewise.
33394 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
33395 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
33396 * wcsmbs/wcsspn.c (wcsspn): Likewise.
33397 * wcsmbs/wcsstr.c (wcsstr): Likewise.
33398 * wcsmbs/wmemchr.c (wmemchr): Likewise.
33399 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33400 * wcsmbs/wmemset.c (wmemset): Likewise.
33402 2013-06-06 Joseph Myers <joseph@codesourcery.com>
33404 * scripts/config.guess: Update to version 2013-05-16.
33405 * scripts/config.sub: Update to version 2013-04-24.
33406 * scripts/install-sh: Update to version 2011-11-20.07.
33407 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
33408 * scripts/move-if-change: Update to version 2012-01-06 07:23.
33410 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
33412 * debug/fgetws_u_chk.c: Fix leading whitespaces.
33413 * elf/sln.c: Likewise.
33414 * hurd/hurd/ioctl.h: Likewise.
33415 * hurd/hurdmalloc.c: Likewise.
33416 * hurd/xattr.c: Likewise.
33417 * include/shlib-compat.h: Likewise.
33418 * inet/ruserpass.c: Likewise.
33419 * libio/iofgets_u.c: Likewise.
33420 * libio/iofgetws_u.c: Likewise.
33421 * locale/programs/ld-identification.c: Likewise.
33422 * locale/programs/ld-time.c: Likewise.
33423 * mach/msg-destroy.c: Likewise.
33424 * nss/nss_files/files-netgrp.c: Likewise.
33425 * resolv/res_data.c: Likewise.
33426 * soft-fp/op-1.h: Likewise.
33427 * soft-fp/op-2.h: Likewise.
33428 * soft-fp/op-4.h: Likewise.
33429 * soft-fp/op-common.h: Likewise.
33430 * stdio-common/printf_fphex.c: Likewise.
33431 * stdlib/strtod_l.c: Likewise.
33432 * sunrpc/rpc/clnt.h: Likewise.
33433 * sysdeps/generic/framestate.c: Likewise.
33434 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33435 * sysdeps/i386/bsd-setjmp.S: Likewise.
33436 * sysdeps/i386/__longjmp.S: Likewise.
33437 * sysdeps/i386/setjmp.S: Likewise.
33438 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33439 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33440 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33441 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33442 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33443 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33444 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33445 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33446 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33447 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33448 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33449 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33450 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33451 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33452 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33453 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33454 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33455 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
33456 * sysdeps/ieee754/support.c: Likewise.
33457 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33458 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
33459 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
33460 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
33461 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
33462 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
33463 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
33464 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
33465 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
33466 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
33467 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
33468 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
33469 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
33470 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
33471 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
33472 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
33473 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33476 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
33478 * posix/transbug.c: Remove executable mode.
33480 2013-06-05 Joseph Myers <joseph@codesourcery.com>
33482 * crypt/speeds.c: Remove trailing whitespace.
33483 * dlfcn/default.c: Likewise.
33484 * elf/ifuncdep2.c: Likewise.
33485 * elf/ifuncmain1.c: Likewise.
33486 * elf/ifuncmain1vis.c: Likewise.
33487 * elf/testobj.h: Likewise.
33488 * elf/tst-stackguard1.c: Likewise.
33489 * gmon/sys/gmon.h: Likewise.
33490 * hurd/hurdmsg.c: Likewise.
33491 * hurd/new-fd.c: Likewise.
33492 * hurd/ports-get.c: Likewise.
33493 * iconvdata/ibm1008_420.c: Likewise.
33494 * inet/tst-getni1.c: Likewise.
33495 * inet/tst-getni2.c: Likewise.
33496 * libio/ioungetc.c: Likewise.
33497 * libio/wfiledoalloc.c: Likewise.
33498 * manual/libm-err-tab.pl: Likewise.
33499 * math/w_dremf.c: Likewise.
33500 * misc/ftruncate.c: Likewise.
33501 * posix/bug-glob2.c: Likewise.
33502 * posix/tst-pcre.c: Likewise.
33503 * posix/wait4.c: Likewise.
33504 * resolv/README: Likewise.
33505 * resolv/res_debug.h: Likewise.
33506 * resolv/tst-inet_ntop.c: Likewise.
33507 * setjmp/bug269-setjmp.c: Likewise.
33508 * soft-fp/extended.h: Likewise.
33509 * soft-fp/op-1.h: Likewise.
33510 * soft-fp/op-2.h: Likewise.
33511 * soft-fp/op-4.h: Likewise.
33512 * soft-fp/op-8.h: Likewise.
33513 * soft-fp/testit.c: Likewise.
33514 * stdio-common/bug16.c: Likewise.
33515 * stdlib/random.c: Likewise.
33516 * sunrpc/rpcsvc/rquota.x: Likewise.
33517 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
33518 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33519 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33520 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33521 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33522 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33523 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33524 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33525 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33526 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33527 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33528 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33529 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33530 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33531 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33532 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33533 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33534 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33535 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33536 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33537 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33538 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33539 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
33540 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33541 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33542 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33543 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33544 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33545 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33546 * sysdeps/ieee754/s_lib_version.c: Likewise.
33547 * sysdeps/mach/hurd/check_fds.c: Likewise.
33548 * sysdeps/mach/hurd/getsockname.c: Likewise.
33549 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
33550 * sysdeps/mach/hurd/recvfrom.c: Likewise.
33551 * sysdeps/powerpc/bits/link.h: Likewise.
33552 * sysdeps/powerpc/dl-procinfo.c: Likewise.
33553 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
33554 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
33555 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
33556 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33557 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33558 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
33559 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33560 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
33561 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33562 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33563 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33564 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
33565 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33566 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33567 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33568 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33569 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33570 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33571 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33572 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33573 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
33574 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33575 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33576 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
33577 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33578 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33579 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33580 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33581 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33582 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33583 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33584 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33585 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33586 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
33587 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33588 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
33589 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33590 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33591 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
33592 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
33593 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
33594 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
33595 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
33596 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33597 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
33598 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
33599 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33600 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
33601 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
33602 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33603 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33604 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33605 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33606 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
33607 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33608 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33609 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33610 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
33611 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33612 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
33613 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
33614 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
33615 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33616 * sysdeps/powerpc/sysdep.h: Likewise.
33617 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33618 * sysdeps/s390/s390-64/sub_n.S: Likewise.
33619 * sysdeps/sh/dl-trampoline.S: Likewise.
33620 * sysdeps/sh/memset.S: Likewise.
33621 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
33622 * sysdeps/sh/strlen.S: Likewise.
33623 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
33624 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
33625 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
33626 * sysdeps/sparc/sparc32/rem.S: Likewise.
33627 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
33628 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
33629 * sysdeps/sparc/sparc32/strchr.S: Likewise.
33630 * sysdeps/sparc/sparc32/udiv.S: Likewise.
33631 * sysdeps/sparc/sparc32/urem.S: Likewise.
33632 * sysdeps/sparc/sparc64/add_n.S: Likewise.
33633 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33634 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
33635 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
33636 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
33637 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
33638 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33639 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
33640 * sysdeps/unix/bsd/times.c: Likewise.
33641 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
33642 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
33643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33646 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
33647 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33648 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
33649 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
33650 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
33651 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
33652 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33653 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
33654 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33655 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33656 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33657 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33658 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
33659 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
33660 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
33661 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
33662 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
33663 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33664 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
33665 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
33666 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33667 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
33668 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33669 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
33670 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
33671 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
33672 * sysdeps/x86_64/strcspn.S: Likewise.
33674 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33676 * locale/C-translit.h: Revert #include <stdint.h> because this is a
33677 generated file. Regenerate properly from gen-translit.pl.
33678 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
33679 locale/C-translit.h.
33681 2013-06-05 Andreas Schwab <schwab@suse.de>
33684 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
33685 week as 6 instead of -1.
33686 * time/tst-strptime.c (day_tests): Add test case.
33688 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33690 * sysdeps/generic/math_private.h
33691 (libc_feholdexcept_setround_53bit): Replace with
33692 libc_feholdsetround_53bit.
33693 (libc_feupdateenv_53bit): Replace with
33694 libc_feresetround_53bit.
33695 (SET_RESTORE_ROUND_53BIT): Adjust.
33697 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
33699 * string/test-strchrnul.c: Add copyright header.
33701 * posix/tst-getaddrinfo4.c: Increase test timeout.
33703 2013-06-03 Carlos O'Donell <carlos@redhat.com>
33706 * math/libm-test.inc (MAX_EXP): Remove
33708 (ulp): Use MIN_EXP - MANT_DIG.
33709 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
33711 2013-05-31 Carlos O'Donell <carlos@redhat.com>
33713 * po/be.po: Revert last change.
33714 * po/zh_CN.po: Likewise.
33715 * po/header.pot: Likewise.
33717 2013-05-31 Joseph Myers <joseph@codesourcery.com>
33719 * Makefile ($(common-objpfx)linkobj/libc.so): Define
33720 link-libc-deps to empty as target-specific variable.
33721 * Makerules (link-libc-args): New variable.
33722 (libc-for-link): Likewise.
33723 (link-libc-deps): Likewise.
33724 (lib%.so): Depend on $(link-libc-deps). Link with
33726 (build-module): Link with $(link-libc-args).
33727 (build-module-asneeded): Likewise.
33728 (build-module-helper-objlist): Filter out $(link-libc-deps) from
33730 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
33731 target-specific variable.
33732 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
33733 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
33734 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33736 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
33738 ($(objpfx)libpcprofile.so): Likewise.
33739 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
33741 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
33742 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33743 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
33745 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
33746 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
33747 * login/Makefile ($(objpfx)libutil.so): Likewise.
33748 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
33749 * math/Makefile ($(objpfx)libm.so): Likewise.
33750 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
33751 $(objpfx)libnsl.so): Define libc-for-link as target-specific
33752 variable instead of depending directly on libc.
33753 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
33754 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
33756 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
33758 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
33759 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
33760 ($(objpfx)libanl.so): Likewise.
33761 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
33763 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
33765 * sysdeps/i386/fpu/Makefile: Remove file.
33766 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
33767 ($(objpfx)libm.so): Remove dependency on ld.so.
33769 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
33772 * nis/yp_xdr.c (XDRMAXNAME): Define.
33773 (XDRMAXRECORD): Define.
33774 (xdr_domainname): Use XDRMAXNAME.
33775 (xdr_mapname): Likewise.
33776 (xdr_peername): Likewise.
33777 (xdr_keydat): Use XDRMAXRECORD.
33778 (xdr_valdat): Likewise.
33780 2013-05-30 Jeff Law <law@redhat.com>
33783 * manual/errno.texi (ESTALE): Update to account for more than
33784 just NFS file systems.
33785 * sysdeps/gnu/errlist.c: Regenerated.
33787 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33790 * elf/Makefile (tests): Add tst-null-argv.
33791 (modules-names): Add tst-null-argv-lib.
33792 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
33793 (tst-null-argv-ENV): Set environment for tst-null-argv.
33794 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
33795 (RTLD_PROGNAME): New macro.
33796 * elf/tst-null-argv.c: New test case.
33797 * elf/tst-null-argv-lib.c: Library for test case.
33798 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
33799 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
33800 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
33801 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
33802 * elf/dl-init.c (call_init): Likewise.
33803 (_dl_init): Likewise.
33804 * elf/dl-load.c (print_search_path): Likewise.
33805 (_dl_map_object): Likewise.
33806 * elf/dl-lookup.c (do_lookup_x): Likewise.
33807 (add_dependency): Likewise.
33808 (_dl_lookup_symbol_x): Likewise.
33809 (_dl_debug_bindings): Likewise.
33810 * elf/dl-open.c (_dl_show_scope): Likewise.
33811 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33812 * elf/dl-version.c (match_symbol): Likewise.
33813 (_dl_check_map_versions): Likewise.
33814 * elf/rtld.c (dl_main): Likewise.
33815 (print_unresolved): Use RTLD_PROGNAME.
33816 (print_missing_version): Likewise.
33817 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
33818 (elf_machine_rela): Likewise.
33819 * sysdeps/powerpc/powerpc32/dl-machine.c
33820 (__process_machine_rela): Likewise.
33821 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33823 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33825 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33827 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33828 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
33830 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
33832 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33834 2013-05-28 Carlos O'Donell <carlos@redhat.com>
33836 * po/be.po: Add descriptive title.
33837 * po/zh_CN.po: Likewise.
33838 * po/header.pot: Likewise.
33840 2013-05-28 Mike Frysinger <vapier@gentoo.org>
33842 * locale/programs/locarchive.c (create_archive): Inlucde fname in
33844 (enlarge_archive): Likewise.
33846 2013-05-28 Ben North <ben@redfrontdoor.org>
33848 * manual/arith.texi (frexp): It is the magnitude of the return
33849 value which lies in [0.5, 1), not the return value itself.
33851 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33855 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
33857 * stdio-common/bug26.c (main): Correct fscanf template.
33859 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
33860 declare _dl_skip_args.
33862 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
33865 * manual/platform.texi: Add missing @end deftypefun.
33867 2013-05-24 Joseph Myers <joseph@codesourcery.com>
33870 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
33871 bit of mantissa of 2^16382.
33872 * math/libm-test.inc (hypot_test_data): Add more tests.
33874 * math/libm-test.inc: Add drem and pow10 to list of tested
33876 (pow10_test): New function.
33877 (drem_test): Likewise.
33878 (drem_test_tonearest): Likewise.
33879 (drem_test_towardzero): Likewise.
33880 (drem_test_downward): Likewise.
33881 (drem_test_upward): Likewise.
33882 (main): Call the new functions.
33884 * math/libm-test.inc (finite_test_data): Remove.
33885 (finite_test): Run tests from isfinite_test_data.
33886 (gamma_test_data): Remove.
33887 (gamma_test): Run tests from lgamma_test_data.
33888 * sysdeps/i386/fpu/libm-test-ulps: Update.
33889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33891 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33893 * manual/platform.texi: Add PowerPC PPR function set documentation.
33894 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
33897 2013-05-24 Carlos O'Donell <carlos@redhat.com>
33899 * math/libm-test.inc (MAX_EXP): Define.
33901 (ulp): New function.
33902 (check_float_internal): Use ULPDIFF.
33903 (cpow_test): Disable failing test.
33904 (check_ulp): Test ulp() implemetnation.
33905 (main): Call check_ulp before starting tests.
33907 2013-05-24 Joseph Myers <joseph@codesourcery.com>
33909 * math/gen-libm-test.pl (generate_testfile): Do not handle
33910 START_DATA and END_DATA.
33911 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
33913 (acos_tonearest_test_data): Likewise.
33914 (acos_towardzero_test_data): Likewise.
33915 (acos_downward_test_data): Likewise.
33916 (acos_upward_test_data): Likewise.
33917 (acosh_test_data): Likewise.
33918 (asin_test_data): Likewise.
33919 (asin_tonearest_test_data): Likewise.
33920 (asin_towardzero_test_data): Likewise.
33921 (asin_downward_test_data): Likewise.
33922 (asin_upward_test_data): Likewise.
33923 (asinh_test_data): Likewise.
33924 (atan_test_data): Likewise.
33925 (atanh_test_data): Likewise.
33926 (atan2_test_data): Likewise.
33927 (cabs_test_data): Likewise.
33928 (cacos_test_data): Likewise.
33929 (cacosh_test_data): Likewise.
33930 (carg_test_data): Likewise.
33931 (casin_test_data): Likewise.
33932 (casinh_test_data): Likewise.
33933 (catan_test_data): Likewise.
33934 (catanh_test_data): Likewise.
33935 (cbrt_test_data): Likewise.
33936 (ccos_test_data): Likewise.
33937 (ccosh_test_data): Likewise.
33938 (ceil_test_data): Likewise.
33939 (cexp_test_data): Likewise.
33940 (cimag_test_data): Likewise.
33941 (clog_test_data): Likewise.
33942 (clog10_test_data): Likewise.
33943 (conj_test_data): Likewise.
33944 (copysign_test_data): Likewise.
33945 (cos_test_data): Likewise.
33946 (cos_tonearest_test_data): Likewise.
33947 (cos_towardzero_test_data): Likewise.
33948 (cos_downward_test_data): Likewise.
33949 (cos_upward_test_data): Likewise.
33950 (cosh_test_data): Likewise.
33951 (cosh_tonearest_test_data): Likewise.
33952 (cosh_towardzero_test_data): Likewise.
33953 (cosh_downward_test_data): Likewise.
33954 (cosh_upward_test_data): Likewise.
33955 (cpow_test_data): Likewise.
33956 (cproj_test_data): Likewise.
33957 (creal_test_data): Likewise.
33958 (csin_test_data): Likewise.
33959 (csinh_test_data): Likewise.
33960 (csqrt_test_data): Likewise.
33961 (ctan_test_data): Likewise.
33962 (ctan_tonearest_test_data): Likewise.
33963 (ctan_towardzero_test_data): Likewise.
33964 (ctan_downward_test_data): Likewise.
33965 (ctan_upward_test_data): Likewise.
33966 (ctanh_test_data): Likewise.
33967 (ctanh_tonearest_test_data): Likewise.
33968 (ctanh_towardzero_test_data): Likewise.
33969 (ctanh_downward_test_data): Likewise.
33970 (ctanh_upward_test_data): Likewise.
33971 (erf_test_data): Likewise.
33972 (erfc_test_data): Likewise.
33973 (exp_test_data): Likewise.
33974 (exp_tonearest_test_data): Likewise.
33975 (exp_towardzero_test_data): Likewise.
33976 (exp_downward_test_data): Likewise.
33977 (exp_upward_test_data): Likewise.
33978 (exp10_test_data): Likewise.
33979 (exp2_test_data): Likewise.
33980 (expm1_test_data): Likewise.
33981 (fabs_test_data): Likewise.
33982 (fdim_test_data): Likewise.
33983 (finite_test_data): Likewise.
33984 (floor_test_data): Likewise.
33985 (fma_test_data): Likewise.
33986 (fma_towardzero_test_data): Likewise.
33987 (fma_downward_test_data): Likewise.
33988 (fma_upward_test_data): Likewise.
33989 (fmax_test_data): Likewise.
33990 (fmin_test_data): Likewise.
33991 (fmod_test_data): Likewise.
33992 (fpclassify_test_data): Likewise.
33993 (frexp_test_data): Likewise.
33994 (gamma_test_data): Likewise.
33995 (hypot_test_data): Likewise.
33996 (ilogb_test_data): Likewise.
33997 (isfinite_test_data): Likewise.
33998 (isgreater_test_data): Likewise.
33999 (isgreaterequal_test_data): Likewise.
34000 (isinf_test_data): Likewise.
34001 (isless_test_data): Likewise.
34002 (islessequal_test_data): Likewise.
34003 (islessgreater_test_data): Likewise.
34004 (isnan_test_data): Likewise.
34005 (isnormal_test_data): Likewise.
34006 (issignaling_test_data): Likewise.
34007 (isunordered_test_data): Likewise.
34008 (j0_test_data): Likewise.
34009 (j1_test_data): Likewise.
34010 (jn_test_data): Likewise.
34011 (ldexp_test_data): Likewise.
34012 (lgamma_test_data): Likewise.
34013 (lrint_test_data): Likewise.
34014 (lrint_tonearest_test_data): Likewise.
34015 (lrint_towardzero_test_data): Likewise.
34016 (lrint_downward_test_data): Likewise.
34017 (lrint_upward_test_data): Likewise.
34018 (llrint_test_data): Likewise.
34019 (llrint_tonearest_test_data): Likewise.
34020 (llrint_towardzero_test_data): Likewise.
34021 (llrint_downward_test_data): Likewise.
34022 (llrint_upward_test_data): Likewise.
34023 (log_test_data): Likewise.
34024 (log10_test_data): Likewise.
34025 (log1p_test_data): Likewise.
34026 (log2_test_data): Likewise.
34027 (logb_test_data): Likewise.
34028 (logb_downward_test_data): Likewise.
34029 (lround_test_data): Likewise.
34030 (llround_test_data): Likewise.
34031 (modf_test_data): Likewise.
34032 (nearbyint_test_data): Likewise.
34033 (nextafter_test_data): Likewise.
34034 (nexttoward_test_data): Likewise.
34035 (pow_test_data): Likewise.
34036 (pow_tonearest_test_data): Likewise.
34037 (pow_towardzero_test_data): Likewise.
34038 (pow_downward_test_data): Likewise.
34039 (pow_upward_test_data): Likewise.
34040 (remainder_test_data): Likewise.
34041 (remainder_tonearest_test_data): Likewise.
34042 (remainder_towardzero_test_data): Likewise.
34043 (remainder_downward_test_data): Likewise.
34044 (remainder_upward_test_data): Likewise.
34045 (remquo_test_data): Likewise.
34046 (rint_test_data): Likewise.
34047 (rint_tonearest_test_data): Likewise.
34048 (rint_towardzero_test_data): Likewise.
34049 (rint_downward_test_data): Likewise.
34050 (rint_upward_test_data): Likewise.
34051 (round_test_data): Likewise.
34052 (scalb_test_data): Likewise.
34053 (scalbn_test_data): Likewise.
34054 (scalbln_test_data): Likewise.
34055 (signbit_test_data): Likewise.
34056 (sin_test_data): Likewise.
34057 (sin_tonearest_test_data): Likewise.
34058 (sin_towardzero_test_data): Likewise.
34059 (sin_downward_test_data): Likewise.
34060 (sin_upward_test_data): Likewise.
34061 (sincos_test_data): Likewise.
34062 (sinh_test_data): Likewise.
34063 (sinh_tonearest_test_data): Likewise.
34064 (sinh_towardzero_test_data): Likewise.
34065 (sinh_downward_test_data): Likewise.
34066 (sinh_upward_test_data): Likewise.
34067 (sqrt_test_data): Likewise.
34068 (tan_test_data): Likewise.
34069 (tan_tonearest_test_data): Likewise.
34070 (tan_towardzero_test_data): Likewise.
34071 (tan_downward_test_data): Likewise.
34072 (tan_upward_test_data): Likewise.
34073 (tanh_test_data): Likewise.
34074 (tgamma_test_data): Likewise.
34075 (trunc_test_data): Likewise.
34076 (y0_test_data): Likewise.
34077 (y1_test_data): Likewise.
34078 (yn_test_data): Likewise.
34079 (significand_test_data): Likewise.
34081 * math/gen-libm-test.pl (@functions): Remove variable.
34082 (generate_testfile): Don't handle START and END lines.
34083 * math/libm-test.inc (START): New macro.
34085 (END_COMPLEX): Likewise.
34086 (acos_test): Use END macro without arguments.
34087 (acos_test_tonearest): Likewise.
34088 (acos_test_towardzero): Likewise.
34089 (acos_test_downward): Likewise.
34090 (acos_test_upward): Likewise.
34091 (acosh_test): Likewise.
34092 (asin_test): Likewise.
34093 (asin_test_tonearest): Likewise.
34094 (asin_test_towardzero): Likewise.
34095 (asin_test_downward): Likewise.
34096 (asin_test_upward): Likewise.
34097 (asinh_test): Likewise.
34098 (atan_test): Likewise.
34099 (atanh_test): Likewise.
34100 (atan2_test): Likewise.
34101 (cabs_test): Likewise.
34102 (cacos_test): Use END_COMPLEX macro without arguments.
34103 (cacosh_test): Likewise.
34104 (carg_test): Use END macro without arguments.
34105 (casin_test): Use END_COMPLEX macro without arguments.
34106 (casinh_test): Likewise.
34107 (catan_test): Likewise.
34108 (catanh_test): Likewise.
34109 (cbrt_test): Use END macro without arguments.
34110 (ccos_test): Use END_COMPLEX macro without arguments.
34111 (ccosh_test): Likewise.
34112 (ceil_test): Use END macro without arguments.
34113 (cexp_test): Use END_COMPLEX macro without arguments.
34114 (cimag_test): Use END macro without arguments.
34115 (clog_test): Use END_COMPLEX macro without arguments.
34116 (clog10_test): Likewise.
34117 (conj_test): Likewise.
34118 (copysign_test): Use END macro without arguments.
34119 (cos_test): Likewise.
34120 (cos_test_tonearest): Likewise.
34121 (cos_test_towardzero): Likewise.
34122 (cos_test_downward): Likewise.
34123 (cos_test_upward): Likewise.
34124 (cosh_test): Likewise.
34125 (cosh_test_tonearest): Likewise.
34126 (cosh_test_towardzero): Likewise.
34127 (cosh_test_downward): Likewise.
34128 (cosh_test_upward): Likewise.
34129 (cpow_test): Use END_COMPLEX macro without arguments.
34130 (cproj_test): Likewise.
34131 (creal_test): Use END macro without arguments.
34132 (csin_test): Use END_COMPLEX macro without arguments.
34133 (csinh_test): Likewise.
34134 (csqrt_test): Likewise.
34135 (ctan_test): Likewise.
34136 (ctan_test_tonearest): Likewise.
34137 (ctan_test_towardzero): Likewise.
34138 (ctan_test_downward): Likewise.
34139 (ctan_test_upward): Likewise.
34140 (ctanh_test): Likewise.
34141 (ctanh_test_tonearest): Likewise.
34142 (ctanh_test_towardzero): Likewise.
34143 (ctanh_test_downward): Likewise.
34144 (ctanh_test_upward): Likewise.
34145 (erf_test): Use END macro without arguments.
34146 (erfc_test): Likewise.
34147 (exp_test): Likewise.
34148 (exp_test_tonearest): Likewise.
34149 (exp_test_towardzero): Likewise.
34150 (exp_test_downward): Likewise.
34151 (exp_test_upward): Likewise.
34152 (exp10_test): Likewise.
34153 (exp2_test): Likewise.
34154 (expm1_test): Likewise.
34155 (fabs_test): Likewise.
34156 (fdim_test): Likewise.
34157 (finite_test): Likewise.
34158 (floor_test): Likewise.
34159 (fma_test): Likewise.
34160 (fma_test_towardzero): Likewise.
34161 (fma_test_downward): Likewise.
34162 (fma_test_upward): Likewise.
34163 (fmax_test): Likewise.
34164 (fmin_test): Likewise.
34165 (fmod_test): Likewise.
34166 (fpclassify_test): Likewise.
34167 (frexp_test): Likewise.
34168 (gamma_test): Likewise.
34169 (hypot_test): Likewise.
34170 (ilogb_test): Likewise.
34171 (isfinite_test): Likewise.
34172 (isgreater_test): Likewise.
34173 (isgreaterequal_test): Likewise.
34174 (isinf_test): Likewise.
34175 (isless_test): Likewise.
34176 (islessequal_test): Likewise.
34177 (islessgreater_test): Likewise.
34178 (isnan_test): Likewise.
34179 (isnormal_test): Likewise.
34180 (issignaling_test): Likewise.
34181 (isunordered_test): Likewise.
34182 (j0_test): Likewise.
34183 (j1_test): Likewise.
34184 (jn_test): Likewise.
34185 (ldexp_test): Likewise.
34186 (lgamma_test): Likewise.
34187 (lrint_test): Likewise.
34188 (lrint_test_tonearest): Likewise.
34189 (lrint_test_towardzero): Likewise.
34190 (lrint_test_downward): Likewise.
34191 (lrint_test_upward): Likewise.
34192 (llrint_test): Likewise.
34193 (llrint_test_tonearest): Likewise.
34194 (llrint_test_towardzero): Likewise.
34195 (llrint_test_downward): Likewise.
34196 (llrint_test_upward): Likewise.
34197 (log_test): Likewise.
34198 (log10_test): Likewise.
34199 (log1p_test): Likewise.
34200 (log2_test): Likewise.
34201 (logb_test): Likewise.
34202 (logb_test_downward): Likewise.
34203 (lround_test): Likewise.
34204 (llround_test): Likewise.
34205 (modf_test): Likewise.
34206 (nearbyint_test): Likewise.
34207 (nextafter_test): Likewise.
34208 (nexttoward_test): Likewise.
34209 (pow_test): Likewise.
34210 (pow_test_tonearest): Likewise.
34211 (pow_test_towardzero): Likewise.
34212 (pow_test_downward): Likewise.
34213 (pow_test_upward): Likewise.
34214 (remainder_test): Likewise.
34215 (remainder_test_tonearest): Likewise.
34216 (remainder_test_towardzero): Likewise.
34217 (remainder_test_downward): Likewise.
34218 (remainder_test_upward): Likewise.
34219 (remquo_test): Likewise.
34220 (rint_test): Likewise.
34221 (rint_test_tonearest): Likewise.
34222 (rint_test_towardzero): Likewise.
34223 (rint_test_downward): Likewise.
34224 (rint_test_upward): Likewise.
34225 (round_test): Likewise.
34226 (scalb_test): Likewise.
34227 (scalbn_test): Likewise.
34228 (scalbln_test): Likewise.
34229 (signbit_test): Likewise.
34230 (sin_test): Likewise.
34231 (sin_test_tonearest): Likewise.
34232 (sin_test_towardzero): Likewise.
34233 (sin_test_downward): Likewise.
34234 (sin_test_upward): Likewise.
34235 (sincos_test): Likewise.
34236 (sinh_test): Likewise.
34237 (sinh_test_tonearest): Likewise.
34238 (sinh_test_towardzero): Likewise.
34239 (sinh_test_downward): Likewise.
34240 (sinh_test_upward): Likewise.
34241 (sqrt_test): Likewise.
34242 (tan_test): Likewise.
34243 (tan_test_tonearest): Likewise.
34244 (tan_test_towardzero): Likewise.
34245 (tan_test_downward): Likewise.
34246 (tan_test_upward): Likewise.
34247 (tanh_test): Likewise.
34248 (tgamma_test): Likewise.
34249 (trunc_test): Likewise.
34250 (y0_test): Likewise.
34251 (y1_test): Likewise.
34252 (yn_test): Likewise.
34253 (significand_test): Likewise.
34255 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
34258 * libio/genops.c (_IO_no_init): Initialize wide struct info.
34260 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
34263 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
34264 __ppc_mdoio and __ppc_mdoom.
34265 * manual/platform.texi: Document new functions __ppc_yield,
34266 __ppc_mdoio and __ppc_mdoom.
34268 2013-05-22 Carlos O'Donell <carlos@redhat.com>
34270 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
34271 (main): Mention "tls" pseudo-hwcap is legacy.
34272 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
34274 2013-05-22 Joseph Myers <joseph@codesourcery.com>
34276 * math/gen-libm-test.pl (parse_args): Output only string of
34277 arguments as text for test name, not full call or descriptions of
34278 tests for extra outputs.
34279 (generate_testfile): Do not pass function name to parse_args.
34280 Generate this_func variable from START.
34281 * math/libm-test.inc (struct test_f_f_data): Rename test_name
34283 (struct test_ff_f_data): Likewise.
34284 (test_ff_f_data_nexttoward): Likewise.
34285 (struct test_fi_f_data): Likewise.
34286 (struct test_fl_f_data): Likewise.
34287 (struct test_if_f_data): Likewise.
34288 (struct test_fff_f_data): Likewise.
34289 (struct test_c_f_data): Likewise.
34290 (struct test_f_f1_data): Likewise. Remove field extra_name.
34291 (struct test_fF_f1_data): Likewise.
34292 (struct test_ffI_f1_data): Likewise.
34293 (struct test_c_c_data): Rename test_name field to arg_str.
34294 (struct test_cc_c_data): Likewise.
34295 (struct test_f_i_data): Likewise.
34296 (struct test_ff_i_data): Likewise.
34297 (struct test_f_l_data): Likewise.
34298 (struct test_f_L_data): Likewise.
34299 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
34301 (COMMON_TEST_SETUP): New macro.
34302 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
34303 (COMMON_TEST_CLEANUP): Likewise.
34304 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
34305 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
34307 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
34308 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
34310 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
34311 (RUN_TEST_fff_f): Take argument string. Call new setup and
34313 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
34314 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
34316 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
34317 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
34319 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34320 (RUN_TEST_fF_f1): Take argument string. Call new setup and
34322 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34323 (RUN_TEST_fI_f1): Take argument string. Call new setup and
34325 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34326 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
34328 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34329 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
34331 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
34332 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
34334 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
34335 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
34337 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
34338 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
34340 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
34341 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
34343 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
34344 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
34346 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
34347 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
34349 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
34350 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
34352 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
34353 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
34355 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
34356 (RUN_TEST_fFF_11): Take argument string. Call new setup and
34358 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
34360 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
34362 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
34363 to _sifields.sigfault.
34364 (si_addr_lsb): Define new macro.
34365 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34366 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34367 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
34369 2013-05-03 Carlos O'Donell <carlos at redhat.com>
34372 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
34374 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
34376 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
34377 loading the domain.
34379 2013-05-22 Joseph Myers <joseph@codesourcery.com>
34381 * math/gen-libm-test.pl (parse_args): Do not include expected
34382 result in test name.
34383 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
34384 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34385 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34386 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34387 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34390 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34392 * benchtests/Makefile: Sort function entries.
34394 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
34395 tanh, asinh, acosh, atanh.
34396 * benchtests/acos-inputs: New file.
34397 * benchtests/acosh-inputs: New file.
34398 * benchtests/asin-inputs: New file.
34399 * benchtests/asinh-inputs: New file.
34400 * benchtests/atanh-inputs: New file.
34401 * benchtests/cosh-inputs: New file.
34402 * benchtests/log-inputs: New file.
34403 * benchtests/sinh-inputs: New file.
34404 * benchtests/tanh-inputs: New file.
34406 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
34409 * posix/tst-getaddrinfo4.c: New test.
34410 * posix/Makefile (tests): Add it.
34412 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34415 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
34416 when no services were used.
34417 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
34418 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
34420 2013-05-21 Andreas Schwab <schwab@suse.de>
34423 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
34424 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
34426 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
34427 redundant variable declarations and reallocation of buffer when
34428 parsing as IPv6 address. Always set NSS status when called from
34429 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
34430 buffer too small. Correct computation of needed size.
34431 * nss/Makefile (tests): Add test-digits-dots.
34432 * nss/test-digits-dots.c: New test.
34434 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34436 * benchtests/Makefile: Remove instructions for adding
34438 * benchtests/README: New file to explain how to execute and
34439 enhance the benchmark tests.
34441 2013-05-21 Andreas Schwab <schwab@suse.de>
34444 * setjmp/Makefile (tests): Add tst-sigsetjmp.
34445 * setjmp/tst-sigsetjmp.c: New test.
34447 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
34449 * sysdeps/x86_64/memset.S (memset): New implementation.
34450 (__bzero): Likewise.
34451 (__memset_tail): New function.
34453 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
34455 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
34456 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
34457 __memcpy_sse2_unaligned ifunc selection.
34458 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34459 Add memcpy-sse2-unaligned.S.
34460 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34461 Add: __memcpy_sse2_unaligned.
34463 2013-05-19 Joseph Myers <joseph@codesourcery.com>
34466 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34467 math_force_eval before restoring floating-point envrionment.
34468 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
34469 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34471 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
34473 (__nearbyintl): Use math_force_eval before restoring
34474 floating-point environment.
34475 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
34477 * math/gen-libm-test.pl (special_functions): Remove.
34478 (parse_args): Don't handle TEST_extra. Handle functions with no
34480 * math/libm-test.inc (struct test_sincos_data): Replace with
34481 struct test_fFF_11_data.
34482 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
34483 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
34484 (sincos_test_data): Change element type to struct
34485 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
34486 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
34487 RUN_TEST_LOOP_sincos.
34488 * math/README.libm-test: Don't mention special handling of
34489 individual functions.
34490 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
34491 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34492 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34493 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34494 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34497 * math/gen-libm-test.pl (get_variable): Remove function.
34498 (parse_args): Don't show pointer parameters to call in test
34499 names. Use "extra output N" in test names for extra outputs
34500 rather than naming variables.
34502 2013-05-18 Joseph Myers <joseph@codesourcery.com>
34505 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
34506 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
34507 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
34509 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
34511 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
34514 * math/gen-libm-test.pl (@tests): Remove variable.
34515 ($count): Likewise.
34516 (new_test): Remove function.
34517 (show_exceptions): New function.
34518 (special_functions): Use show_exceptions instead of new_test.
34519 (parse_args): Likewise.
34520 (generate_testfile): Pass only function name in generated call to
34521 print_max_error or print_complex_max_error.
34522 (get_ulps): Do not handle complex tests specially.
34523 (output_test): Rename to ...
34524 (get_all_ulps_for_test): ... this. Return a string rather than
34525 printing to a file. Require ulps to be present.
34526 (output_ulps): Generate arrays rather than #defines.
34527 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
34528 (struct ulp_data): New type.
34529 (BUILD_COMPLEX_ULP): Remove macro.
34530 (compare_ulp_data): New function.
34531 (find_ulps): Likewise.
34532 (find_test_ulps): Likewise.
34533 (find_function_ulps): Likewise.
34534 (find_complex_function_ulps): Likewise.
34535 (print_max_error): Determine allowed ulps using
34536 find_function_ulps.
34537 (print_complex_max_error): Determine allowed ulps using
34538 find_complex_function_ulps.
34539 (check_float_internal): Determine max ulps using find_test_ulps.
34540 (check_float): Do not take max_ulp parameter. Update call to
34541 check_float_internal.
34542 (check_complex): Likewise.
34543 (check_int): Do not take max_ulp parameter.
34544 (check_long): Likewise.
34545 (check_bool): Likewise.
34546 (check_longlong): Likewise.
34547 (struct test_f_f_data): Remove max_ulp field.
34548 (struct test_ff_f_data): Likewise.
34549 (struct test_ff_f_data_nexttoward): Likewise.
34550 (struct test_fi_f_data): Likewise.
34551 (struct test_fl_f_data): Likewise.
34552 (struct test_if_f_data): Likewise.
34553 (struct test_fff_f_data): Likewise.
34554 (struct test_c_f_data): Likewise.
34555 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
34556 (struct test_fF_f1_data): Likewise.
34557 (struct test_ffI_f1_data): Likewise.
34558 (struct test_c_c_data): Remove max_ulp field.
34559 (struct test_cc_c_data): Likewise.
34560 (struct test_f_i_data): Likewise.
34561 (struct test_ff_i_data): Likewise.
34562 (struct test_f_l_data): Likewise.
34563 (struct test_f_L_data): Likewise.
34564 (struct test_sincos_data): Likewise.
34565 (RUN_TEST_f_f): Do not handle ulps.
34566 (RUN_TEST_LOOP_f_f): Likewise.
34567 (RUN_TEST_2_f): Likewise.
34568 (RUN_TEST_LOOP_2_f): Likewise.
34569 (RUN_TEST_fff_f): Likewise.
34570 (RUN_TEST_LOOP_fff_f): Likewise.
34571 (RUN_TEST_c_f): Likewise.
34572 (RUN_TEST_LOOP_c_f): Likewise.
34573 (RUN_TEST_f_f1): Likewise.
34574 (RUN_TEST_LOOP_f_f1): Likewise.
34575 (RUN_TEST_fF_f1): Likewise.
34576 (RUN_TEST_LOOP_fF_f1): Likewise.
34577 (RUN_TEST_fI_f1): Likewise.
34578 (RUN_TEST_LOOP_fI_f1): Likewise.
34579 (RUN_TEST_ffI_f1): Likewise.
34580 (RUN_TEST_LOOP_ffI_f1): Likewise.
34581 (RUN_TEST_c_c): Likewise.
34582 (RUN_TEST_LOOP_c_c): Likewise.
34583 (RUN_TEST_cc_c): Likewise.
34584 (RUN_TEST_LOOP_cc_c): Likewise.
34585 (RUN_TEST_f_i): Likewise.
34586 (RUN_TEST_LOOP_f_i): Likewise.
34587 (RUN_TEST_f_i_tg): Likewise.
34588 (RUN_TEST_LOOP_f_i_tg): Likewise.
34589 (RUN_TEST_ff_i_tg): Likewise.
34590 (RUN_TEST_LOOP_ff_i_tg): Likewise.
34591 (RUN_TEST_f_b): Likewise.
34592 (RUN_TEST_LOOP_f_b): Likewise.
34593 (RUN_TEST_f_b_tg): Likewise.
34594 (RUN_TEST_LOOP_f_b_tg): Likewise.
34595 (RUN_TEST_f_l): Likewise.
34596 (RUN_TEST_LOOP_f_l): Likewise.
34597 (RUN_TEST_f_L): Likewise.
34598 (RUN_TEST_LOOP_f_L): Likewise.
34599 (RUN_TEST_sincos): Likewise.
34600 (RUN_TEST_LOOP_sincos): Likewise.
34602 2013-05-17 Joseph Myers <joseph@codesourcery.com>
34606 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
34607 main case of finite arguments, set rounding mode to FE_TONEAREST
34608 and discard exceptions.
34609 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
34611 (remainder_tonearest_test_data): New variable.
34612 (remainder_test_tonearest): New function.
34613 (remainder_towardzero_test_data): New variable.
34614 (remainder_test_towardzero): New function.
34615 (remainder_downward_test_data): New variable.
34616 (remainder_test_downward): New function.
34617 (remainder_upward_test_data): New variable.
34618 (remainder_test_upward): New function.
34619 (main): Call the new test functions.
34621 * math/libm-test.inc (struct test_f_f1_data): Remove field
34623 (struct test_fF_f1_data): Likewise.
34624 (struct test_ffI_f1_data): Likewise.
34625 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
34626 based on value of EXTRA_EXPECTED.
34627 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34628 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
34629 EXTRA_VAR based on value of EXTRA_EXPECTED.
34630 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34631 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
34632 EXTRA_VAR based on value of EXTRA_EXPECTED.
34633 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34634 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
34635 EXTRA_VAR based on value of EXTRA_EXPECTED.
34636 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34637 * math/gen-libm-test.pl (parse_args): Don't output initializers
34638 for extra output values.
34640 * math/libm-test.inc (check_int): Expect result to be exactly
34641 equal to expected value and do not handle ulps.
34642 (check_long): Likewise.
34643 (check_longlong): Likewise.
34645 * math/libm-test.inc (ceil_test_data): Test for "inexact"
34647 (cimag_test_data): Likewise.
34648 (conj_test_data): Likewise.
34649 (copysign_test_data): Likewise.
34650 (cproj_test_data): Likewise.
34651 (creal_test_data): Likewise.
34652 (fabs_test_data): Likewise.
34653 (fdim_test_data): Likewise.
34654 (finite_test_data): Likewise.
34655 (floor_test_data): Likewise.
34656 (fmax_test_data): Likewise.
34657 (fmin_test_data): Likewise.
34658 (fmod_test_data): Likewise.
34659 (fpclassify_test_data): Likewise.
34660 (frexp_test_data): Likewise.
34661 (ilogb_test_data): Likewise.
34662 (isfinite_test_data): Likewise.
34663 (isgreater_test_data): Likewise.
34664 (isgreaterequal_test_data): Likewise.
34665 (isinf_test_data): Likewise.
34666 (isless_test_data): Likewise.
34667 (islessequal_test_data): Likewise.
34668 (islessgreater_test_data): Likewise.
34669 (isnan_test_data): Likewise.
34670 (isnormal_test_data): Likewise.
34671 (issignaling_test_data): Likewise.
34672 (isunordered_test_data): Likewise.
34673 (ldexp_test_data): Likewise.
34674 (lrint_test_data): Likewise.
34675 (lrint_test_data) [TEST_FLOAT]: Disable one test.
34676 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
34677 (lrint_tonearest_test_data): Test for "inexact" exceptions.
34678 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34679 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
34680 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34682 (lrint_towardzero_test_data): Test for "inexact" exceptions.
34683 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34684 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
34685 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
34687 (lrint_downward_test_data): Test for "inexact" exceptions.
34688 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34689 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
34690 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34692 (lrint_upward_test_data): Test for "inexact" exceptions.
34693 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
34695 (llrint_test_data): Test for "inexact" exceptions.
34696 (llrint_test_data) [TEST_FLOAT]: Disable one test.
34697 (llrint_tonearest_test_data): Test for "inexact" exceptions.
34698 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34699 (llrint_towardzero_test_data): Test for "inexact" exceptions.
34700 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34701 (llrint_downward_test_data): Test for "inexact" exceptions.
34702 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34703 (llrint_upward_test_data): Test for "inexact" exceptions.
34704 (logb_test_data): Likewise.
34705 (logb_downward_test_data): Likewise.
34706 (nextafter_test_data): Likewise.
34707 (nexttoward_test_data): Likewise.
34708 (remainder_test_data): Likewise.
34709 (remquo_test_data): Likewise.
34710 (scalbn_test_data): Likewise.
34711 (scalbln_test_data): Likewise.
34712 (signbit_test_data): Likewise.
34713 (sqrt_test_data): Likewise.
34714 (significand_test_data): Likewise.
34716 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34719 * benchtests/bench-modf.c (struct args): Mark arg0 as
34721 * scripts/bench.pl: Mark members of struct args as volatile.
34723 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34726 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34727 negative infinity on POWER6 or lower.
34728 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34730 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
34733 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
34734 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
34735 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
34736 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
34737 (_FP_SETQNAN): New macro.
34738 (_FP_SETQNAN_SEMIRAW): Likewise.
34739 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
34740 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
34741 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
34742 (FP_EXTEND): Use _FP_FRAC_SNANP.
34743 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
34744 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
34746 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34748 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34751 2013-05-16 Joseph Myers <joseph@codesourcery.com>
34753 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
34754 with DIVIDE_BY_ZERO_EXCEPTION.
34755 (gamma_test_data): Likewise.
34756 (lgamma_test_data): Likewise.
34757 (log_test_data): Likewise.
34758 (log10_test_data): Likewise.
34759 (log2_test_data): Likewise.
34760 (tgamma_test_data): Likewise.
34762 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
34763 (acos_test_tonearest): Likewise.
34764 (acos_test_towardzero): Likewise.
34765 (acos_test_downward): Likewise.
34766 (acos_test_upward): Likewise.
34767 (acosh_test): Likewise.
34768 (asin_test): Likewise.
34769 (asin_test_tonearest): Likewise.
34770 (asin_test_towardzero): Likewise.
34771 (asin_test_downward): Likewise.
34772 (asin_test_upward): Likewise.
34773 (asinh_test): Likewise.
34774 (atan_test): Likewise.
34775 (atanh_test): Likewise.
34776 (atan2_test): Likewise.
34777 (cabs_test): Likewise.
34778 (cacos_test): Likewise.
34779 (cacosh_test): Likewise.
34780 (casin_test): Likewise.
34781 (casinh_test): Likewise.
34782 (catan_test): Likewise.
34783 (catanh_test): Likewise.
34784 (cbrt_test): Likewise.
34785 (ccos_test): Likewise.
34786 (ccosh_test): Likewise.
34787 (cexp_test): Likewise.
34788 (clog_test): Likewise.
34789 (clog10_test): Likewise.
34790 (cos_test): Likewise.
34791 (cos_test_tonearest): Likewise.
34792 (cos_test_towardzero): Likewise.
34793 (cos_test_downward): Likewise.
34794 (cos_test_upward): Likewise.
34795 (cosh_test): Likewise.
34796 (cosh_test_tonearest): Likewise.
34797 (cosh_test_towardzero): Likewise.
34798 (cosh_test_downward): Likewise.
34799 (cosh_test_upward): Likewise.
34800 (cpow_test): Likewise.
34801 (csin_test): Likewise.
34802 (csinh_test): Likewise.
34803 (csqrt_test): Likewise.
34804 (ctan_test): Likewise.
34805 (ctan_test_tonearest): Likewise.
34806 (ctan_test_towardzero): Likewise.
34807 (ctan_test_downward): Likewise.
34808 (ctan_test_upward): Likewise.
34809 (ctanh_test): Likewise.
34810 (ctanh_test_tonearest): Likewise.
34811 (ctanh_test_towardzero): Likewise.
34812 (ctanh_test_downward): Likewise.
34813 (ctanh_test_upward): Likewise.
34814 (erf_test): Likewise.
34815 (erfc_test): Likewise.
34816 (exp_test): Likewise.
34817 (exp_test_tonearest): Likewise.
34818 (exp_test_towardzero): Likewise.
34819 (exp_test_downward): Likewise.
34820 (exp_test_upward): Likewise.
34821 (exp10_test): Likewise.
34822 (exp2_test): Likewise.
34823 (expm1_test): Likewise.
34824 (fmod_test): Likewise.
34825 (gamma_test): Likewise.
34826 (hypot_test): Likewise.
34827 (j0_test): Likewise.
34828 (j1_test): Likewise.
34829 (jn_test): Likewise.
34830 (lgamma_test): Likewise.
34831 (log_test): Likewise.
34832 (log10_test): Likewise.
34833 (log1p_test): Likewise.
34834 (log2_test): Likewise.
34835 (logb_test_downward): Likewise.
34836 (pow_test): Likewise.
34837 (pow_test_tonearest): Likewise.
34838 (pow_test_towardzero): Likewise.
34839 (pow_test_downward): Likewise.
34840 (pow_test_upward): Likewise.
34841 (remainder_test): Likewise.
34842 (remquo_test): Likewise.
34843 (sin_test): Likewise.
34844 (sin_test_tonearest): Likewise.
34845 (sin_test_towardzero): Likewise.
34846 (sin_test_downward): Likewise.
34847 (sin_test_upward): Likewise.
34848 (sincos_test): Likewise.
34849 (sinh_test): Likewise.
34850 (sinh_test_tonearest): Likewise.
34851 (sinh_test_towardzero): Likewise.
34852 (sinh_test_downward): Likewise.
34853 (sinh_test_upward): Likewise.
34854 (sqrt_test): Likewise.
34855 (tan_test): Likewise.
34856 (tan_test_tonearest): Likewise.
34857 (tan_test_towardzero): Likewise.
34858 (tan_test_downward): Likewise.
34859 (tan_test_upward): Likewise.
34860 (tanh_test): Likewise.
34861 (tgamma_test): Likewise.
34862 (y0_test): Likewise.
34863 (y1_test): Likewise.
34864 (yn_test): Likewise.
34866 * math/gen-libm-test.pl (adjust_arg): Remove function.
34867 (special_function): Remove argument $in_func. Only handle
34868 generating output for tables of tests, not inside functions.
34869 (parse_args): Likewise.
34870 (generate_testfile): Remove variable $in_func. Update call to
34872 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
34873 (MINUS_ZERO_INIT): Rename macro to minus_zero.
34874 (PLUS_INFTY_INIT): Rename macro to plus_infty.
34875 (MINUS_INFTY_INIT): Rename macro to minus_infty.
34876 (QNAN_VALUE_INIT): Rename macro to qnan_value.
34877 (MAX_VALUE_INIT): Rename macro to max_value.
34878 (MIN_VALUE_INIT): Rename macro to min_value.
34879 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
34880 (plus_zero): Remove variable.
34881 (minus_zero): Likewise.
34882 (plus_infty): Likewise.
34883 (minus_infty): Likewise.
34884 (qnan_value): Likewise.
34885 (max_value): Likewise.
34886 (min_value): Likewise.
34887 (min_subnorm_value): Likewise.
34889 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34891 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
34892 uint64_t or uint32_t usage.
34893 * crypt/sha256-block.c: Likewise.
34894 * crypt/sha256-crypt.c: Likewise.
34895 * crypt/sha256.c: Likewise.
34896 * crypt/sha512-block.c: Likewise.
34897 * crypt/sha512-crypt.c: Likewise.
34898 * crypt/sha512.c: Likewise.
34899 * debug/backtrace-tst.c: Likewise.
34900 * debug/pcprofiledump.c: Likewise.
34901 * elf/cache.c: Likewise.
34902 * elf/dl-cache.c: Likewise.
34903 * elf/dl-misc.c: Likewise.
34904 * elf/dl-profile.c: Likewise.
34905 * elf/dl-support.c: Likewise.
34906 * elf/ldconfig.c: Likewise.
34907 * elf/sprof.c: Likewise.
34908 * iconv/dummy-repertoire.c: Likewise.
34909 * iconv/iconv_charmap.c: Likewise.
34910 * iconv/skeleton.c: Likewise.
34911 * iconvdata/8bit-generic.c: Likewise.
34912 * iconvdata/cp737.h: Likewise.
34913 * iconvdata/cp775.h: Likewise.
34914 * iconvdata/ibm1008.h: Likewise.
34915 * iconvdata/ibm1025.h: Likewise.
34916 * iconvdata/ibm1046.h: Likewise.
34917 * iconvdata/ibm1097.h: Likewise.
34918 * iconvdata/ibm1112.h: Likewise.
34919 * iconvdata/ibm1122.h: Likewise.
34920 * iconvdata/ibm1123.h: Likewise.
34921 * iconvdata/ibm1124.h: Likewise.
34922 * iconvdata/ibm1129.h: Likewise.
34923 * iconvdata/ibm1130.h: Likewise.
34924 * iconvdata/ibm1132.h: Likewise.
34925 * iconvdata/ibm1133.h: Likewise.
34926 * iconvdata/ibm1137.h: Likewise.
34927 * iconvdata/ibm1140.h: Likewise.
34928 * iconvdata/ibm1141.h: Likewise.
34929 * iconvdata/ibm1142.h: Likewise.
34930 * iconvdata/ibm1143.h: Likewise.
34931 * iconvdata/ibm1144.h: Likewise.
34932 * iconvdata/ibm1145.h: Likewise.
34933 * iconvdata/ibm1146.h: Likewise.
34934 * iconvdata/ibm1147.h: Likewise.
34935 * iconvdata/ibm1148.h: Likewise.
34936 * iconvdata/ibm1149.h: Likewise.
34937 * iconvdata/ibm1153.h: Likewise.
34938 * iconvdata/ibm1154.h: Likewise.
34939 * iconvdata/ibm1155.h: Likewise.
34940 * iconvdata/ibm1156.h: Likewise.
34941 * iconvdata/ibm1157.h: Likewise.
34942 * iconvdata/ibm1158.h: Likewise.
34943 * iconvdata/ibm1160.h: Likewise.
34944 * iconvdata/ibm1161.h: Likewise.
34945 * iconvdata/ibm1162.h: Likewise.
34946 * iconvdata/ibm1163.h: Likewise.
34947 * iconvdata/ibm1164.h: Likewise.
34948 * iconvdata/ibm1166.h: Likewise.
34949 * iconvdata/ibm1167.h: Likewise.
34950 * iconvdata/ibm12712.h: Likewise.
34951 * iconvdata/ibm1390.h: Likewise.
34952 * iconvdata/ibm1399.h: Likewise.
34953 * iconvdata/ibm16804.h: Likewise.
34954 * iconvdata/ibm4517.h: Likewise.
34955 * iconvdata/ibm4899.h: Likewise.
34956 * iconvdata/ibm4909.h: Likewise.
34957 * iconvdata/ibm4971.h: Likewise.
34958 * iconvdata/ibm5347.h: Likewise.
34959 * iconvdata/ibm803.h: Likewise.
34960 * iconvdata/ibm856.h: Likewise.
34961 * iconvdata/ibm901.h: Likewise.
34962 * iconvdata/ibm902.h: Likewise.
34963 * iconvdata/ibm9030.h: Likewise.
34964 * iconvdata/ibm9066.h: Likewise.
34965 * iconvdata/ibm921.h: Likewise.
34966 * iconvdata/ibm922.h: Likewise.
34967 * iconvdata/ibm9448.h: Likewise.
34968 * iconvdata/isiri-3342.h: Likewise.
34969 * iconvdata/jis0201.h: Likewise.
34970 * include/link.h: Likewise.
34971 * include/netdb.h: Likewise.
34972 * inet/check_native.c: Likewise.
34973 * inet/check_pf.c: Likewise.
34974 * inet/getipv4sourcefilter.c: Likewise.
34975 * inet/getnameinfo.c: Likewise.
34976 * inet/getsourcefilter.c: Likewise.
34977 * inet/htonl.c: Likewise.
34978 * inet/setipv4sourcefilter.c: Likewise.
34979 * inet/setsourcefilter.c: Likewise.
34980 * inet/test-inet6_opt.c: Likewise.
34981 * inet/tst-network.c: Likewise.
34982 * locale/C-collate.c: Likewise.
34983 * locale/C-ctype.c: Likewise.
34984 * locale/C-time.c: Likewise.
34985 * locale/C-translit.h: Likewise.
34986 * locale/loadarchive.c: Likewise.
34987 * locale/programs/3level.h: Likewise.
34988 * locale/programs/charmap.c: Likewise.
34989 * locale/programs/charmap.h: Likewise.
34990 * locale/programs/ld-address.c: Likewise.
34991 * locale/programs/ld-collate.c: Likewise.
34992 * locale/programs/ld-ctype.c: Likewise.
34993 * locale/programs/ld-identification.c: Likewise.
34994 * locale/programs/ld-measurement.c: Likewise.
34995 * locale/programs/ld-messages.c: Likewise.
34996 * locale/programs/ld-monetary.c: Likewise.
34997 * locale/programs/ld-name.c: Likewise.
34998 * locale/programs/ld-numeric.c: Likewise.
34999 * locale/programs/ld-paper.c: Likewise.
35000 * locale/programs/ld-telephone.c: Likewise.
35001 * locale/programs/ld-time.c: Likewise.
35002 * locale/programs/linereader.c: Likewise.
35003 * locale/programs/locale.c: Likewise.
35004 * locale/programs/locarchive.c: Likewise.
35005 * locale/programs/locfile.h: Likewise.
35006 * locale/programs/repertoire.c: Likewise.
35007 * locale/programs/simple-hash.c: Likewise.
35008 * locale/programs/simple-hash.h: Likewise.
35009 * malloc/memusage.c: Likewise.
35010 * malloc/memusagestat.c: Likewise.
35011 * nis/nis_defaults.c: Likewise.
35012 * nis/nis_hash.c: Likewise.
35013 * nis/nis_print.c: Likewise.
35014 * nis/nis_xdr.c: Likewise.
35015 * nscd/connections.c: Likewise.
35016 * nscd/hstcache.c: Likewise.
35017 * nscd/nscd_gethst_r.c: Likewise.
35018 * nscd/nscd_getserv_r.c: Likewise.
35019 * nscd/nscd_helper.c: Likewise.
35020 * nscd/servicescache.c: Likewise.
35021 * nss/makedb.c: Likewise.
35022 * nss/nss_db/db-XXX.c: Likewise.
35023 * nss/nss_db/db-initgroups.c: Likewise.
35024 * nss/nss_db/db-netgrp.c: Likewise.
35025 * nss/nss_files/files-network.c: Likewise.
35026 * nss/nss_files/files-parse.c: Likewise.
35027 * posix/bug-regex5.c: Likewise.
35028 * posix/fnmatch_loop.c: Likewise.
35029 * posix/regcomp.c: Likewise.
35030 * posix/regexec.c: Likewise.
35031 * posix/tst-rfc3484-2.c: Likewise.
35032 * posix/tst-rfc3484-3.c: Likewise.
35033 * posix/tst-rfc3484.c: Likewise.
35034 * resolv/nss_dns/dns-canon.c: Likewise.
35035 * resolv/nss_dns/dns-network.c: Likewise.
35036 * resolv/res_init.c: Likewise.
35037 * resolv/res_mkquery.c: Likewise.
35038 * resolv/tst-aton.c: Likewise.
35039 * stdlib/cxa_atexit.c: Likewise.
35040 * stdlib/cxa_finalize.c: Likewise.
35041 * stdlib/gen-fpioconst.c: Likewise.
35042 * stdlib/strtol_l.c: Likewise.
35043 * string/tst-endian.c: Likewise.
35044 * sunrpc/auth_des.c: Likewise.
35045 * sunrpc/clnt_udp.c: Likewise.
35046 * sunrpc/rtime.c: Likewise.
35047 * sunrpc/svcauth_des.c: Likewise.
35048 * sunrpc/xdr.c: Likewise.
35049 * sunrpc/xdr_intXX_t.c: Likewise.
35050 * sunrpc/xdr_rec.c: Likewise.
35051 * sysdeps/generic/ldconfig.h: Likewise.
35052 * sysdeps/generic/ldsodefs.h: Likewise.
35053 * sysdeps/generic/memusage.h: Likewise.
35054 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35055 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
35056 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
35057 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35058 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35059 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35060 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35061 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35062 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35063 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35064 * sysdeps/posix/getaddrinfo.c: Likewise.
35065 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35066 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35067 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35068 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35069 * sysdeps/powerpc/test-gettimebase.c: Likewise.
35070 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35071 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
35072 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
35073 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35074 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
35075 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35076 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35077 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
35078 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
35079 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
35080 * sysdeps/x86_64/dl-tls.h: Likewise.
35081 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
35082 * time/alt_digit.c: Likewise.
35083 * time/era.c: Likewise.
35084 * wcsmbs/tst-c16c32-1.c: Likewise.
35086 2013-05-16 Joseph Myers <joseph@codesourcery.com>
35088 * math/libm-test.inc (struct test_sincos_data): New type.
35089 (RUN_TEST_LOOP_sincos): New macro.
35090 (sincos_test_data): New variable.
35091 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
35093 2013-05-16 Richard Henderson <rth@redhat.com>
35095 * math/atest-exp2.c (LIMB64): New macro.
35096 (CONSTSZ): New macro.
35097 (mp_exp1, mp_exp_m1, mp_log2): New variables.
35099 (print_mpn_fp): ... to function scope.
35100 (read_mpn_hex): Remove.
35101 (get_log2): Remove.
35102 (exp2_mpn): Use mp_log2.
35103 (main): Use mp_exp1.
35105 2013-05-16 Joseph Myers <joseph@codesourcery.com>
35107 * math/libm-test.inc: Remove comment about not testing "inexact"
35109 (INEXACT_EXCEPTION): New macro.
35110 (NO_INEXACT_EXCEPTION): Likewise.
35111 (INVALID_EXCEPTION_OK): Update value.
35112 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35113 (OVERFLOW_EXCEPTION_OK): Likewise.
35114 (UNDERFLOW_EXCEPTION_OK): Likewise.
35115 (IGNORE_ZERO_INF_SIGN): Likewise.
35116 (ERRNO_UNCHANGED): Likewise.
35117 (ERRNO_EDOM): Likewise.
35118 (ERRNO_ERANGE): Likewise.
35119 (test_exceptions): Handle testing "inexact" exceptions.
35120 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
35121 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
35122 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
35123 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
35125 (rint_towardzero_test_data): Likewise.
35126 (rint_downward_test_data): Likewise.
35127 (rint_upward_test_data): Likewise.
35129 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
35130 with OVERFLOW_EXCEPTION.
35131 (exp10_test_data): Likewise.
35132 (exp2_test_data): Likewise.
35133 (expm1_test_data): Likewise.
35134 (lgamma_test_data): Likewise.
35135 (pow_test_data): Likewise.
35136 (tgamma_test_data): Likewise.
35137 (yn_test_data): Remove duplicate test of overflow.
35139 * math/libm-test.inc (struct test_cc_c_data): New type.
35140 (RUN_TEST_LOOP_cc_c): New macro.
35141 (cpow_test_data): New variable.
35142 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
35144 * math/libm-test.inc (struct test_f_L_data): New type.
35145 (RUN_TEST_LOOP_f_L): New macro.
35146 (llrint_test_data): New variable.
35147 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
35148 (llrint_tonearest_test_data): New variable.
35149 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
35150 (llrint_towardzero_test_data): New variable.
35151 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
35152 (llrint_downward_test_data): New variable.
35153 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
35154 (llrint_upward_test_data): New variable.
35155 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
35156 (llround_test_data): New variable.
35157 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
35159 2013-05-13 Peter Collingbourne <pcc@google.com>
35161 * math/atest-exp2.c (get_log2): Remove const attribute.
35163 2013-05-15 Joseph Myers <joseph@codesourcery.com>
35165 * math/libm-test.inc (struct test_f_l_data): New type.
35166 (RUN_TEST_LOOP_f_l): New macro.
35167 (lrint_test_data): New variable.
35168 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
35169 (lrint_tonearest_test_data): New variable.
35170 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
35171 (lrint_towardzero_test_data): New variable.
35172 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
35173 (lrint_downward_test_data): New variable.
35174 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
35175 (lrint_upward_test_data): New variable.
35176 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
35177 (lround_test_data): New variable.
35178 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
35180 2013-05-15 Peter Collingbourne <pcc@google.com>
35182 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
35183 (EXTRACT_WORDS64) Use where appropriate.
35184 (INSERT_WORDS64) Likewise.
35186 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
35187 constraints with x constraints.
35188 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
35190 * malloc/obstack.c (_obstack_compat): Add initializer.
35192 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
35194 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
35195 si_trapno and add si_addr_lsb to _sifields.sigfault.
35196 (si_trapno): Remove macro.
35197 (si_addr_lsb): Define new macro.
35198 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35200 2013-05-15 Joseph Myers <joseph@codesourcery.com>
35202 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
35203 instead of TEST_f_l.
35204 (llrint_test_tonearest): Likewise.
35205 (llrint_test_towardzero): Likewise.
35206 (llrint_test_downward): Likewise.
35207 (llrint_test_upward): Likewise.
35208 (llround_test): Likewise.
35210 * math/libm-test.inc (struct test_f_i_data): Add comment.
35211 (RUN_TEST_LOOP_f_b): New macro.
35212 (RUN_TEST_LOOP_f_b_tg): Likewise.
35213 (finite_test_data): New variable.
35214 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
35215 (isfinite_test_data): New variable.
35216 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35217 (isinf_test_data): New variable.
35218 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35219 (isnan_test_data): New variable.
35220 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35221 (isnormal_test_data): New variable.
35222 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35223 (issignaling_test_data): New variable.
35224 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35225 (signbit_test_data): New variable.
35226 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
35228 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
35229 with INVALID_EXCEPTION.
35230 (acosh_test_data): Likewise.
35231 (asin_test_data): Likewise.
35232 (atanh_test_data): Likewise.
35233 (fmod_test_data): Likewise.
35234 (log_test_data): Likewise.
35235 (log10_test_data): Likewise.
35236 (log2_test_data): Likewise.
35237 (pow_test_data): Likewise.
35238 (sqrt_test_data): Likewise.
35239 (y0_test_data): Likewise.
35240 (y1_test_data): Likewise.
35241 (yn_test_data): Likewise.
35243 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
35246 * math/libm-test.inc (struct test_ff_i_data): New type.
35247 (RUN_TEST_LOOP_ff_i_tg): New macro.
35248 (isgreater_test_data): New variable.
35249 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35250 (isgreaterequal_test_data): New variable.
35251 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35252 (isless_test_data): New variable.
35253 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35254 (islessequal_test_data): New variable.
35255 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35256 (islessgreater_test_data): New variable.
35257 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35258 (isunordered_test_data): New variable.
35259 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
35261 2013-05-14 David S. Miller <davem@davemloft.net>
35263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35265 2013-05-14 Joseph Myers <joseph@codesourcery.com>
35267 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
35269 * math/libm-test.inc (struct test_fF_f1_data): Change type of
35271 (struct test_f_i_data): Change type of max_ulp to int.
35273 * math/libm-test.inc (test_ffI_f1_data): New type.
35274 (RUN_TEST_LOOP_ffI_f1): New macro.
35275 (remquo_test_data): New variable.
35276 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
35278 * setjmp/tst-setjmp-fp.c: New file.
35279 * setjmp/Makefile (tests): Add tst-setjmp-fp.
35280 (link-libm): New variable.
35281 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
35283 * math/libm-test.inc (struct test_f_i_data): New type.
35284 (RUN_TEST_LOOP_f_i): New macro.
35285 (RUN_TEST_LOOP_f_i_tg): Likewise.
35286 (fpclassify_test_data): New variable.
35287 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
35288 (ilogb_test_data): New variable.
35289 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
35291 * math/libm-test.inc (scalbln_test): Correct function name in END
35294 * math/libm-test.inc (struct test_f_f1_data): Add comment.
35295 (RUN_TEST_LOOP_fI_f1): New macro.
35296 (frexp_test_data): New variable.
35297 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
35299 * math/libm-test.inc (struct test_fF_f1_data): New type.
35300 (RUN_TEST_LOOP_fF_f1): New macro.
35301 (modf_test_data): New variable.
35302 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
35304 * math/libm-test.inc (struct test_f_f1_data): New type.
35305 (RUN_TEST_LOOP_f_f1): New macro.
35306 (gamma_test_data): New variable.
35307 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35308 (lgamma_test_data): New variable.
35309 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35311 2013-05-13 Carlos O'Donell <carlos@redhat.com>
35313 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
35314 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
35315 (main): Comment "tls" pseudo-hwcap.
35317 2013-05-13 Joseph Myers <joseph@codesourcery.com>
35319 * math/libm-test.inc (struct test_fl_f_data): New type.
35320 (RUN_TEST_LOOP_fl_f): New variable.
35321 (scalbln_test_data): New variable.
35322 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
35324 * math/libm-test.inc (struct test_fi_f_data): New type.
35325 (RUN_TEST_LOOP_fi_f): New macro.
35326 (ldexp_test_data): New variable.
35327 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
35328 (scalbn_test_data): New variable.
35329 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
35331 * math/libm-test.inc (struct test_c_f_data): New type.
35332 (RUN_TEST_LOOP_c_f): New macro.
35333 (cabs_test_data): New variable.
35334 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
35335 (carg_test_data): New variable.
35336 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
35337 (cimag_test_data): New variable.
35338 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
35339 (creal_test_data): New variable.
35340 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
35342 * math/libm-test.inc (struct test_if_f_data): New type.
35343 (RUN_TEST_LOOP_if_f): New macro.
35344 (jn_test_data): New variable.
35345 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
35346 (yn_test_data): New variable.
35347 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
35349 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
35351 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35353 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
35354 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
35356 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
35358 * benchtests/Makefile (CPPFLAGS-nonlib): Add
35359 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
35360 (bench-deps): Add bench-timing.h.
35361 * benchtests-bench-skeleton.c: Include bench-timing.h.
35362 (main): Use TIMING_* macros instead of clock_gettime.
35363 * benchtests/bench-timing.h: New file.
35366 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
35367 Renamed from _LIB_VERSION.
35368 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
35370 2013-05-12 Joseph Myers <joseph@codesourcery.com>
35372 * math/libm-test.inc (struct test_fff_f_data): New type.
35373 (RUN_TEST_LOOP_fff_f): New macro.
35374 (fma_test_data): New variable.
35375 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
35376 (fma_towardzero_test_data): New variable.
35377 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
35378 (fma_downward_test_data): New variable.
35379 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
35380 (fma_upward_test_data): New variable.
35381 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
35383 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
35384 (struct test_c_c_data): New type.
35385 (RUN_TEST_LOOP_c_c): New macro.
35386 (cacos_test_data): New variable.
35387 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
35388 (cacosh_test_data): New variable.
35389 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
35390 (casin_test_data): New variable.
35391 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
35392 (casinh_test_data): New variable.
35393 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
35394 (catan_test_data): New variable.
35395 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
35396 (catanh_test_data): New variable.
35397 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
35398 (ccos_test_data): New variable.
35399 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
35400 (ccosh_test_data): New variable.
35401 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
35402 (cexp_test_data): New variable.
35403 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
35404 (clog_test_data): New variable.
35405 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
35406 (clog10_test_data): New variable.
35407 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
35408 (conj_test_data): New variable.
35409 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
35410 (cproj_test_data): New variable.
35411 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
35412 (csin_test_data): New variable.
35413 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
35414 (csinh_test_data): New variable.
35415 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
35416 (csqrt_test_data): New variable.
35417 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
35418 (ctan_test_data): New variable.
35419 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
35420 (ctan_tonearest_test_data): New variable.
35421 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35422 (ctan_towardzero_test_data): New variable.
35423 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35424 (ctan_downward_test_data): New variable.
35425 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35426 (ctan_upward_test_data): New variable.
35427 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35428 (ctanh_test_data): New variable.
35429 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
35430 (ctanh_tonearest_test_data): New variable.
35431 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35432 (ctanh_towardzero_test_data): New variable.
35433 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35434 (ctanh_downward_test_data): New variable.
35435 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35436 (ctanh_upward_test_data): New variable.
35437 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35438 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
35441 * math/libm-test.inc (struct test_ff_f_data): New type.
35442 (struct test_ff_f_data_nexttoward): Likewise.
35443 (RUN_TEST_LOOP_2_f): New macro.
35444 (RUN_TEST_LOOP_ff_f): Likewise.
35445 (atan2_test_data): New variable.
35446 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
35447 (copysign_test_data): New variable.
35448 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
35449 (fdim_test_data): New variable.
35450 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
35451 (fmax_test_data): New variable.
35452 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
35453 (fmin_test_data): New variable.
35454 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
35455 (fmod_test_data): New variable.
35456 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
35457 (hypot_test_data): New variable.
35458 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
35459 (nextafter_test_data): New variable.
35460 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
35461 (nexttoward_test_data): New variable.
35462 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
35463 (pow_test_data): New variable.
35464 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
35465 (pow_tonearest_test_data): New variable.
35466 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
35467 (pow_towardzero_test_data): New variable.
35468 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
35469 (pow_downward_test_data): New variable.
35470 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
35471 (pow_upward_test_data): New variable.
35472 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
35473 (remainder_test_data): New variable.
35474 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
35475 (scalb_test_data): New variable.
35476 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
35477 * sysdeps/i386/fpu/libm-test-ulps: Update.
35479 2013-05-11 Joseph Myers <joseph@codesourcery.com>
35481 * math/libm-test.inc (fma_test): Use max_value instead of local
35483 (nextafter_test): Likewise.
35485 * math/libm-test.inc (acos_towardzero_test_data): New variable.
35486 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35487 (acos_downward_test_data): New variable.
35488 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35489 (acos_upward_test_data): New variable.
35490 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35491 (acosh_test_data): New variable.
35492 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
35493 (asin_test_data): New variable.
35494 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
35495 (asin_tonearest_test_data): New variable.
35496 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35497 (asin_towardzero_test_data): New variable.
35498 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35499 (asin_downward_test_data): New variable.
35500 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35501 (asin_upward_test_data): New variable.
35502 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35503 (asinh_test_data): New variable.
35504 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
35505 (atan_test_data): New variable.
35506 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
35507 (atanh_test_data): New variable.
35508 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
35509 (cbrt_test_data): New variable.
35510 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
35511 (ceil_test_data): New variable.
35512 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
35513 (cos_test_data): New variable.
35514 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
35515 (cos_tonearest_test_data): New variable.
35516 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35517 (cos_towardzero_test_data): New variable.
35518 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35519 (cos_downward_test_data): New variable.
35520 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35521 (cos_upward_test_data): New variable.
35522 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35523 (cosh_test_data): New variable.
35524 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
35525 (cosh_tonearest_test_data): New variable.
35526 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35527 (cosh_towardzero_test_data): New variable.
35528 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35529 (cosh_downward_test_data): New variable.
35530 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35531 (cosh_upward_test_data): New variable.
35532 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35533 (erf_test_data): New variable.
35534 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
35535 (erfc_test_data): New variable.
35536 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
35537 (exp_test_data): New variable.
35538 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
35539 (exp_tonearest_test_data): New variable.
35540 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35541 (exp_towardzero_test_data): New variable.
35542 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35543 (exp_downward_test_data): New variable.
35544 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35545 (exp_upward_test_data): New variable.
35546 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35547 (exp10_test_data): New variable.
35548 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
35549 (exp2_test_data): New variable.
35550 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
35551 (expm1_test_data): New variable.
35552 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
35553 (fabs_test_data): New variable.
35554 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
35555 (floor_test_data): New variable.
35556 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
35557 (j0_test_data): New variable.
35558 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
35559 (j1_test_data): New variable.
35560 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
35561 (log_test_data): New variable.
35562 (log_test): Run tests with RUN_TEST_LOOP_f_f.
35563 (log10_test_data): New variable.
35564 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
35565 (log1p_test_data): New variable.
35566 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
35567 (log2_test_data): New variable.
35568 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
35569 (logb_test_data): New variable.
35570 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
35571 (logb_downward_test_data): New variable.
35572 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35573 (nearbyint_test_data): New variable.
35574 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
35575 (rint_test_data): New variable.
35576 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
35577 (rint_tonearest_test_data): New variable.
35578 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35579 (rint_towardzero_test_data): New variable.
35580 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35581 (rint_downward_test_data): New variable.
35582 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35583 (rint_upward_test_data): New variable.
35584 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35585 (round_test_data): New variable.
35586 (round_test): Run tests with RUN_TEST_LOOP_f_f.
35587 (sin_test_data): New variable.
35588 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
35589 (sin_tonearest_test_data): New variable.
35590 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35591 (sin_towardzero_test_data): New variable.
35592 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35593 (sin_downward_test_data): New variable.
35594 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35595 (sin_upward_test_data): New variable.
35596 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35597 (sinh_test_data): New variable.
35598 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
35599 (sinh_tonearest_test_data): New variable.
35600 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35601 (sinh_towardzero_test_data): New variable.
35602 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35603 (sinh_downward_test_data): New variable.
35604 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35605 (sinh_upward_test_data): New variable.
35606 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35607 (sqrt_test_data): New variable.
35608 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
35609 (tan_test_data): New variable.
35610 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
35611 (tan_tonearest_test_data): New variable.
35612 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35613 (tan_towardzero_test_data): New variable.
35614 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35615 (tan_downward_test_data): New variable.
35616 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35617 (tan_upward_test_data): New variable.
35618 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35619 (tanh_test_data): New variable.
35620 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
35621 (tgamma_test_data): New variable.
35622 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
35623 (trunc_test_data): New variable.
35624 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
35625 (y0_test_data): New variable.
35626 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
35627 (y1_test_data): New variable.
35628 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
35629 (significand_test_data): New variable.
35630 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
35632 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
35635 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
35637 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
35639 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
35641 2013-05-10 Andreas Jaeger <aj@suse.de>
35644 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
35645 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
35647 2013-05-10 Joseph Myers <joseph@codesourcery.com>
35649 * math/gen-libm-test.pl (adjust_arg): New function.
35650 (special_functions): Handle generating output in both functions
35652 (parse_args): Likewise.
35653 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
35654 $in_func argument to parse_args.
35655 * math/libm-test.inc (struct test_f_f_data): New type.
35656 (IF_ROUND_INIT_): New macro.
35657 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
35658 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35659 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35660 (IF_ROUND_INIT_FE_UPWARD): Likewise.
35661 (ROUND_RESTORE_): Likewise.
35662 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
35663 (ROUND_RESTORE_FE_TONEAREST): Likewise.
35664 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
35665 (ROUND_RESTORE_FE_UPWARD): Likewise.
35666 (RUN_TEST_LOOP_f_f): New macro.
35667 (acos_test_data): New variable.
35668 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
35669 (acos_tonearest_test_data): New variable.
35670 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35672 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35674 * benchtests/bench-skeleton.c (startup): Fix coding style.
35676 2013-05-10 Joseph Myers <joseph@codesourcery.com>
35679 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
35680 negative infinity argument.
35681 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
35682 negative infinity argument.
35683 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
35684 negative infinity argument.
35685 * math/libm-test.inc (tgamma_test): Expect errno to be set for
35688 2013-05-10 Florian Weimer <fweimer@redhat.com>
35690 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
35691 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
35692 * iconv/iconv_prog.c (main): Likewise.
35693 * locale/programs/charmap-dir.c (charmap_readdir)
35694 (fopen_uncompressed): Likewise.
35695 * locale/programs/locfile.c (siblings_uncached)
35696 (write_locale_data): Use lstat64 instead of lstat.
35697 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
35700 2013-05-10 Andreas Jaeger <aj@suse.de>
35703 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
35705 Include <locale.h>.
35707 2013-05-09 Carlos O'Donell <carlos@redhat.com>
35709 * elf/dl-close.c (_dl_close_worker): Add comments.
35711 2013-05-09 Joseph Myers <joseph@codesourcery.com>
35714 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35716 (__ieee754_rem_pio2l): Update comments.
35719 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35721 (__ieee754_rem_pio2l): Update comments.
35723 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35724 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35726 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35729 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35730 (M_PI_34_LOG10El): Likewise.
35731 (M_PI2_LOG10El): Likewise.
35732 (M_PI4_LOG10El): Likewise.
35733 (M_PI_LOG10El): Likewise.
35735 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35739 2013-05-08 Joseph Myers <joseph@codesourcery.com>
35741 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
35742 (MINUS_ZERO_INIT): Likewise.
35743 (PLUS_INFTY_INIT): Likewise.
35744 (MINUS_INFTY_INIT): Likewise.
35745 (QNAN_VALUE_INIT): Likewise.
35746 (MAX_VALUE_INIT): Likewise.
35747 (MIN_VALUE_INIT): Likewise.
35748 (MIN_SUBNORM_VALUE_INIT): Likewise.
35749 (plus_zero): Initialize with PLUS_ZERO_INIT.
35750 (minus_zero): Initialize with MINUS_ZERO_INIT.
35751 (plus_infty): Initialize with PLUS_INFTY_INIT.
35752 (minus_infty): Initialize with MINUS_INFTY_INIT.
35753 (qnan_value): Initialize with QNAN_VALUE_INIT.
35754 (max_value): Initialize with MAX_VALUE_INIT.
35755 (min_value): Initialize with MIN_VALUE_INIT.
35756 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
35758 * math/libm-test.inc (RUN_TEST_if_f): New macro.
35759 (jn_test): Use TEST_if_f instead of TEST_ff_f.
35760 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
35761 (yn_test): Use TEST_if_f instead of TEST_ff_f.
35763 * math/libm-test.inc (RUN_TEST_f_f): New macro.
35764 (RUN_TEST_2_f): Likewise.
35765 (RUN_TEST_ff_f): Likewise.
35766 (RUN_TEST_fi_f): Likewise.
35767 (RUN_TEST_fl_f): Likewise.
35768 (RUN_TEST_fff_f): Likewise.
35769 (RUN_TEST_c_f): Likewise.
35770 (RUN_TEST_f_f1): Likewise.
35771 (RUN_TEST_fF_f1): Likewise.
35772 (RUN_TEST_fI_f1): Likewise.
35773 (RUN_TEST_ffI_f1): Likewise.
35774 (RUN_TEST_c_c): Likewise.
35775 (RUN_TEST_cc_c): Likewise.
35776 (RUN_TEST_f_i): Likewise.
35777 (RUN_TEST_f_i_tg): Likewise.
35778 (RUN_TEST_ff_i_tg): Likewise.
35779 (RUN_TEST_f_b): Likewise.
35780 (RUN_TEST_f_b_tg): Likewise.
35781 (RUN_TEST_f_l): Likewise.
35782 (RUN_TEST_f_L): Likewise.
35783 (RUN_TEST_sincos): Likewise.
35784 * math/gen-libm-test.pl (new_test): Take new argument to indicate
35785 whether to show exceptions. Do not include ");\n" in return
35787 (special_functions): Output call to RUN_TEST_sincos instead of
35788 check_float calls. Update calls to new_test.
35789 (parse_args): Output call to single RUN_TEST_* macro instead of
35790 check_* calls and other assignments. Update calls to new_test.
35796 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
35797 input to result for tgamma overflow.
35798 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
35799 (gamma_coeff): New variable.
35800 (NCOEFF): New macro.
35801 (gamma_positive): New function.
35802 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
35803 underflow here. Use gamma_positive instead of exp (lgamma) for
35805 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
35806 (gamma_coeff): New variable.
35807 (NCOEFF): New macro.
35808 (gammaf_positive): New function.
35809 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
35810 underflow here. Use gamma_positive instead of exp (lgamma) for
35812 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
35813 (gamma_coeff): New variable.
35814 (NCOEFF): New macro.
35815 (gammal_positive): New function.
35816 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
35817 underflow here. Use gamma_positive instead of exp (lgamma) for
35819 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
35820 (gamma_coeff): New variable.
35821 (NCOEFF): New macro.
35822 (gammal_positive): New function.
35823 (__ieee754_gammal_r): Handle positive infinity, overflow and
35824 underflow here. Handle NaN the same as positive infinity. Remove
35825 check x < 0xffffffff for negative integers. Use gamma_positive
35826 instead of exp (lgamma) for other arguments.
35827 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
35828 (gamma_coeff): New variable.
35829 (NCOEFF): New macro.
35830 (gammal_positive): New function.
35831 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
35832 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
35833 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
35834 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
35835 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
35836 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
35837 * sysdeps/generic/math_private.h (__gamma_productf): New
35839 (__gamma_product): Likewise.
35840 (__gamma_productl): Likewise.
35841 * math/Makefile (libm-calls): Add gamma_product.
35842 * math/libm-test.inc (tgamma_test): Add more tests.
35843 * sysdeps/i386/fpu/libm-test-ulps: Update.
35844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35846 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
35848 * benchtests/bench-skeleton.c (main): Preheat CPU.
35850 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
35852 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
35854 2013-05-07 Roland McGrath <roland@hack.frob.com>
35856 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
35857 and _dl_skip_args_internal.
35859 2013-05-07 Carlos O'Donell <carlos@redhat.com>
35861 * manual/message.texi (Message Translation): Talk about users.
35862 Message to key mapping impacts design.
35864 2013-05-06 Roland McGrath <roland@hack.frob.com>
35866 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
35868 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
35870 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
35871 * sysdeps/wordsize-64/glob64.c: ... here.
35873 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
35874 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
35877 * debug/getlogin_r_chk.c: Moved to ...
35878 * login/getlogin_r_chk.c: ... here.
35879 * debug/Makefile (routines): Move getlogin_r_chk to ...
35880 * login/Makefile (routines): ... here.
35881 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
35882 * login/Versions (libc: GLIBC_2.4): ... here.
35884 * io/poll.c (__poll): Renamed from poll.
35885 Add libc_hidden_def.
35886 (poll): Define as weak alias.
35888 * debug/ptsname_r_chk.c: Moved to ...
35889 * login/ptsname_r_chk.c: ... here.
35890 * debug/Makefile (routines): Move ptsname_r_chk to ...
35891 * login/Makefile (routines): ... here.
35892 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
35893 * login/Versions (libc: GLIBC_2.4): ... here.
35895 * posix/getlogin.c: Moved to ...
35896 * login/getlogin.c: ... here.
35897 * posix/getlogin_r.c: Moved to ...
35898 * login/getlogin_r.c: ... here.
35899 * posix/getlogin_r.c: Moved to ...
35900 * login/getlogin_r.c: ... here.
35901 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
35902 * login/Makefile (routines): ... here.
35903 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
35904 * login/Versions (libc: GLIBC_2.0): ... here.
35906 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
35907 (setrlimit): Define as weak alias.
35909 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
35910 Call __ names for open, ftruncate, and close.
35911 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
35912 (truncate): Define as weak alias.
35914 2013-05-06 Joseph Myers <joseph@codesourcery.com>
35916 * math/gen-libm-test.pl (parse_args): Initialize x before each
35917 test of frexp, modf and remquo.
35919 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
35920 test signgam value.
35922 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35926 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
35928 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35930 2013-05-06 Roland McGrath <roland@hack.frob.com>
35932 * elf/dl-writev.h: New file.
35933 * elf/dl-misc.c: Include it.
35934 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
35935 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
35937 2013-05-04 Joseph Myers <joseph@codesourcery.com>
35939 * math/libm-test.inc (noXFails): Remove variable.
35940 (noXPasses): Likewise.
35941 (BUILD_COMPLEX_INT): Remove macro.
35942 (print_screen): Remove xfail argument.
35943 (print_screen_max_error): Likewise.
35944 (update_stats): Likewise.
35945 (print_max_error): Likewise. Update calls to other affected
35947 (print_complex_max_error): Likewise.
35948 (test_single_exception): Update calls to print_screen.
35949 (test_single_errno): Likewise.
35950 (check_float_internal): Remove xfail argument. Update calls to
35951 other affected functions.
35952 (check_float): Likewise.
35953 (check_complex): Likewise.
35954 (check_int): Likewise.
35955 (check_long): Likewise.
35956 (check_bool): Likewise.
35957 (check_longlong): Likewise.
35958 (main): Don't print noXFails and noXPasses.
35959 * math/gen-libm-test.pl (top level): Don't mention expected
35960 failure handling in comment.
35961 (new_test): Don't handle expected failures.
35962 (parse_args): Don't mention expected failure handling in comment.
35963 (generate_testfile): Don't handle expected failures.
35964 (parse_ulps): Likewise.
35965 (print_ulps_file): Likewise.
35966 (get_failure): Remove function.
35967 (output_test): Don't handle expected failures.
35968 * make/README.libm-test: Don't mention expected failure handling.
35970 * math/libm-test.inc (plus_zero): Make const. Add initializer.
35971 (minus_zero): Likewise.
35972 (plus_infty): Likewise.
35973 (minus_infty): Likewise.
35974 (qnan_value): Likewise.
35975 (max_value): Likewise.
35976 (min_value): Likewise.
35977 (min_subnorm_value): Likewise.
35978 (initialize): Do not initialize those variables dynamically.
35980 2013-05-03 Roland McGrath <roland@hack.frob.com>
35982 * io/open.c (__open_2): Moved to ...
35983 * io/open_2.c: ... this new file.
35984 * io/open64.c (__open64_2): Moved to ...
35985 * io/open64_2.c: ... this new file.
35986 * io/openat.c (__openat_2): Moved to ...
35987 * io/openat_2.c: ... this new file.
35988 * io/openat64.c (__openat64_2): Moved to ...
35989 * io/openat64_2.c: ... this new file.
35990 * io/Makefile (routines): Add them.
35991 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
35992 * sysdeps/unix/sysv/linux/open_2.c: File removed.
35993 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
35994 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
35995 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
35996 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
35997 (__openat64): Add hidden_ver.
35998 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
35999 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
36001 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
36002 Separately conditionalize setting of GLRO(dl_sysinfo) so
36003 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
36004 as well, but the actual setting is only under [NEED_DL_SYSINFO].
36006 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36008 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
36009 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
36011 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
36012 * sysdeps/unix/sysv/linux/powerpc/init-first.c
36013 (_libc_vdso_platform_setup): Add __vdso_time initialization.
36014 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
36015 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
36017 2013-05-03 Joseph Myers <joseph@codesourcery.com>
36019 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
36020 test signgam value.
36022 * math/libm-test.inc (hypot_test): Do not use
36023 IGNORE_ZERO_INF_SIGN.
36025 2013-05-03 Andreas Jaeger <aj@suse.de>
36027 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
36029 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
36030 (PF_MAX): Adjust for VSOCK change.
36032 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36036 2013-05-02 Carlos O'Donell <carlos@redhat.com>
36039 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
36040 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
36041 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
36043 2013-05-02 David S. Miller <davem@davemloft.net>
36045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36047 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
36049 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
36051 2013-05-01 Roland McGrath <roland@hack.frob.com>
36053 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
36055 2013-05-01 Richard Smith <richard@metafoo.co.uk>
36058 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
36059 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36060 Use __attribute__ ((__gnu_inline__)).
36061 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36062 Don't use __attribute__ ((__gnu_inline__)).
36064 2013-05-01 Joseph Myers <joseph@codesourcery.com>
36067 * math/s_catan.c (__catan): Handle small real or imaginary part of
36068 input specially to avoid spurious underflow.
36069 * math/s_catanf.c (__catanf): Likewise.
36070 * math/s_catanh.c (__catanh): Likewise.
36071 * math/s_catanhf.c (__catanhf): Likewise.
36072 * math/s_catanhl.c (__catanhl): Likewise.
36073 * math/s_catanl.c (__catanl): Likewise.
36074 * math/libm-test.inc (catan_test): Add more tests.
36075 (catanh_test): Likewise.
36076 * sysdeps/i386/fpu/libm-test-ulps: Update.
36077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36079 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36081 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36083 2013-04-30 Joseph Myers <joseph@codesourcery.com>
36086 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
36087 accurately for denominator in atan2.
36088 * math/s_catanf.c (__catanf): Likewise.
36089 * math/s_catanh.c (__catanh): Likewise.
36090 * math/s_catanhf.c (__catanhf): Likewise.
36091 * math/s_catanhl.c (__catanhl): Likewise.
36092 * math/s_catanl.c (__catanl): Likewise.
36093 * math/libm-test.inc (catan_test): Add more tests.
36094 (catanh_test): Likewise.
36095 * sysdeps/i386/fpu/libm-test-ulps: Update.
36096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36098 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36100 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
36102 * benchtests/Makefile (bench): Remove slow benchmarks.
36103 * benchtests/atan-inputs: Add slow benchmark inputs.
36104 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
36105 (BENCH_FUNC): Accept variant offset.
36107 * benchtests/bench-skeleton.c (main): Run benchmark for each
36109 * benchtests/cos-inputs: Add slow benchmark inputs.
36110 * benchtests/exp-inputs: Likewise.
36111 * benchtests/pow-inputs: Likewise.
36112 * benchtests/sin-inputs: Likewise.
36113 * benchtests/slowatan-inputs: Remove.
36114 * benchtests/slowatan.c: Remove.
36115 * benchtests/slowcos-inputs: Remove.
36116 * benchtests/slowcos.c: Remove.
36117 * benchtests/slowexp-inputs: Remove.
36118 * benchtests/slowexp.c: Remove.
36119 * benchtests/slowpow-inputs: Remove.
36120 * benchtests/slowpow.c: Remove.
36121 * benchtests/slowsin-inputs: Remove.
36122 * benchtests/slowsin.c: Remove.
36123 * benchtests/slowtan-inputs: Remove.
36124 * benchtests/slowtan.c: Remove.
36125 * benchtests/tan-inputs: Add slow benchmark inputs.
36126 * scripts/bench.pl: Parse comments and directives.
36128 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
36130 ($(objpfx)bench-%.c): Remove *-ITER.
36131 * benchtests/bench-modf.c: Remove definition of ITER.
36132 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
36133 (main): Loop for DURATION seconds instead of fixed number of
36135 * scripts/bench.pl: Don't expect iterations in parameters.
36137 2013-04-29 Roland McGrath <roland@hack.frob.com>
36139 * io/fchdir.c (__fchdir): Renamed from fchdir.
36140 (fchdir): Define as weak alias.
36142 2013-04-29 Joseph Myers <joseph@codesourcery.com>
36144 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
36145 (ERRNO_EDOM): Likewise.
36146 (ERRNO_ERANGE): Likewise.
36147 (noErrnoTests): New variable.
36148 (init_max_error): Set errno to 0.
36149 (test_single_errno): New function.
36150 (test_errno): Likewise.
36151 (check_float_internal): Call test_errno. Set errno to 0.
36152 (check_complex): Refer to errno tests in comment.
36153 (check_int): Call test_errno. Set errno to 0.
36154 (check_long): Likewise.
36155 (check_bool): Likewise.
36156 (check_longlong): Likewise.
36157 (cos_test): Use ERRNO_* flags for errno tests instead of
36159 (expm1_test): Likewise.
36160 (fmod_test): Likewise.
36161 (ilogb_test): Likewise.
36162 (lgamma_test): Likewise.
36163 (pow_test): Likewise.
36164 (remainder_test): Likewise.
36165 (sin_test): Likewise.
36166 (tan_test): Likewise.
36167 (yn_test): Likewise.
36168 (initialize): Set errno to 0.
36169 (main): Print number of errno tests.
36170 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
36172 2013-04-29 Andreas Jaeger <aj@suse.de>
36175 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
36179 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
36180 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
36184 * stdlib/random.c (__initstate): Return NULL if
36188 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
36189 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
36192 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36196 2013-04-29 Joseph Myers <joseph@codesourcery.com>
36198 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
36199 of individual tests.
36200 (casin_test): Likewise.
36201 (casinh_test): Likewise.
36203 2013-04-27 Joseph Myers <joseph@codesourcery.com>
36206 * math/s_catan.c (__catan): Handle arguments with large real or
36207 imaginary part separately without squaring.
36208 * math/s_catanf.c (__catanf): Likewise.
36209 * math/s_catanh.c (__catanh): Likewise.
36210 * math/s_catanhf.c (__catanhf): Likewise.
36211 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36213 (__catanhl): Handle arguments with large real or imaginary part
36214 separately without squaring.
36215 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36217 (__catanl): Handle arguments with large real or imaginary part
36218 separately without squaring.
36219 * math/libm-test.inc (catan_test): Add more tests.
36220 (catanh_test): Likewise.
36221 * sysdeps/i386/fpu/libm-test-ulps: Update.
36222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36224 2013-04-27 Andreas Jaeger <aj@suse.de>
36227 * stdlib/stdlib.h: Update guards for qecvt.
36228 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
36231 2013-04-27 Allan McRae <allan@archlinux.org>
36233 * sysdeps/i386/fpu/libm-test-ulps: Update.
36235 2013-04-26 Joseph Myers <joseph@codesourcery.com>
36238 * math/s_catan.c: Include <float.h>.
36239 (__catan): Ensure underflow exception occurs for underflowed
36241 * math/s_catanf.c: Include <float.h>.
36242 (__catanf): Ensure underflow exception occurs for underflowed
36244 * math/s_catanh.c: Include <float.h>.
36245 (__catanh): Ensure underflow exception occurs for underflowed
36247 * math/s_catanhf.c: Include <float.h>.
36248 (__catanhf): Ensure underflow exception occurs for underflowed
36250 * math/s_catanhl.c: Include <float.h>.
36251 (__catanhl): Ensure underflow exception occurs for underflowed
36253 * math/s_catanl.c: Include <float.h>.
36254 (__catanl): Ensure underflow exception occurs for underflowed
36256 * math/libm-test.inc (catan_test): Add more tests.
36257 (catanh_test): Likewise.
36260 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
36261 underflowed result.
36262 * math/s_ccoshf.c (__ccoshf): Likewise.
36263 * math/s_ccoshl.c (__ccoshl): Likewise.
36264 * math/s_csin.c (__csin): Likewise.
36265 * math/s_csinf.c (__csinf): Likewise.
36266 * math/s_csinh.c (__csinh): Likewise.
36267 * math/s_csinhf.c (__csinhf): Likewise.
36268 * math/s_csinhl.c (__csinhl): Likewise.
36269 * math/s_csinl.c (__csinl): Likewise.
36270 * math/libm-test.inc (ccos_test): Add more tests.
36271 (ccosh_test): Likewise.
36272 (csin_test): Likewise.
36273 (csinh_test): Likewise.
36275 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36277 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
36278 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
36279 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
36280 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
36281 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
36282 powerpc/power5+/fpu folders.
36283 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
36286 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
36288 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36290 2013-04-25 Joseph Myers <joseph@codesourcery.com>
36292 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
36293 additions to variable.
36294 [$(config-machine) = x86_64] (modules-names): Likewise.
36295 ($(objpfx)tst-audit3): Remove dependency.
36296 ($(objpfx)tst-audit3.out): Likewise.
36297 ($(objpfx)tst-audit4): Likewise.
36298 ($(objpfx)tst-audit4.out): Likewise.
36299 ($(objpfx)tst-audit5): Likewise.
36300 ($(objpfx)tst-audit5.out): Likewise.
36301 ($(objpfx)tst-audit6): Likewise.
36302 ($(objpfx)tst-audit6.out): Likewise.
36303 ($(objpfx)tst-audit7): Likewise.
36304 ($(objpfx)tst-audit7.out): Likewise.
36305 (tst-audit3-ENV): Remove variable.
36306 (tst-audit4-ENV): Likewise.
36307 (tst-audit5-ENV): Likewise.
36308 (tst-audit6-ENV): Likewise.
36309 (tst-audit7-ENV): Likewise.
36310 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
36311 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
36312 addition to variable.
36313 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
36314 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
36315 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
36316 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
36317 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
36318 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
36319 tst-audit3, tst-audit4 and tst-audit5.
36320 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
36321 tst-audit6 and tst-audit7.
36322 [$(subdir) = elf] (modules-names): Add audit modules for those
36324 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
36325 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
36326 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
36327 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
36328 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
36329 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
36330 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
36331 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
36332 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
36333 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
36334 [$(subdir) = elf] (tst-audit3-ENV): New variable.
36335 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
36336 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
36337 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
36338 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
36339 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
36341 [$(subdir) = elf && $(config-cflags-avx) = yes]
36342 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
36343 [$(subdir) = elf && $(config-cflags-avx) = yes]
36344 (CFLAGS-tst-auditmod4a.c): Likewise.
36345 [$(subdir) = elf && $(config-cflags-avx) = yes]
36346 (CFLAGS-tst-auditmod4b.c): Likewise.
36347 [$(subdir) = elf && $(config-cflags-avx) = yes]
36348 (CFLAGS-tst-auditmod6b.c): Likewise.
36349 [$(subdir) = elf && $(config-cflags-avx) = yes]
36350 (CFLAGS-tst-auditmod6c.c): Likewise.
36351 [$(subdir) = elf && $(config-cflags-avx) = yes]
36352 (CFLAGS-tst-auditmod7b.c): Likewise.
36353 * elf/tst-audit3.c: Move to ...
36354 * sysdeps/x86_64/tst-audit3.c: ... here.
36355 * elf/tst-audit4.c: Move to ...
36356 * sysdeps/x86_64/tst-audit4.c: ... here.
36357 * elf/tst-audit5.c: Move to ...
36358 * sysdeps/x86_64/tst-audit5.c: ... here.
36359 * elf/tst-audit6.c: Move to ...
36360 * sysdeps/x86_64/tst-audit6.c: ... here.
36361 * elf/tst-audit7.c: Move to ...
36362 * sysdeps/x86_64/tst-audit7.c: ... here.
36363 * elf/tst-auditmod3a.c: Move to ...
36364 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
36365 * elf/tst-auditmod3b.c: Move to ...
36366 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
36367 * elf/tst-auditmod4a.c: Move to ...
36368 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
36369 * elf/tst-auditmod4b.c: Move to ...
36370 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
36371 * elf/tst-auditmod5a.c: Move to ...
36372 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
36373 * elf/tst-auditmod5b.c: Move to ...
36374 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
36375 * elf/tst-auditmod6a.c: Move to ...
36376 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
36377 * elf/tst-auditmod6b.c: Move to ...
36378 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
36379 * elf/tst-auditmod6c.c: Move to ...
36380 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
36381 * elf/tst-auditmod7a.c: Move to ...
36382 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
36383 * elf/tst-auditmod7b.c: Move to ...
36384 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
36386 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
36389 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
36390 define unconditionally.
36391 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
36392 define unconditionally.
36393 (INT8_C, INT16_C, etc.): Likewise.
36395 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
36397 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
36398 __ehdr_start with hidden visibility.
36400 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
36402 2013-04-24 Carlos O'Donell <carlos@redhat.com>
36404 * math/libm-test.inc (cos_test): Use accurate hex constants.
36405 (sincost_test): Likewise.
36407 2013-04-24 Joseph Myers <joseph@codesourcery.com>
36409 * math/libm-test.inc (catan_test): Add more tests.
36410 (catanh_test): Likewise.
36412 * math/s_catanf.c (__catanf): Use suffixed floating-point
36414 * math/s_catanhf.c (__catanhf): Likewise.
36415 * math/s_catanhl.c (__catanhl): Likewise.
36416 * math/s_catanl.c (__catanl): Likewise.
36419 * math/s_catan.c (__catan): Calculate imaginary part of result
36420 with log1p not log unless computing log of number close to 0.
36421 * math/s_catanf.c (__catanf): Likewise.
36422 * math/s_catanl.c (__catanl): Likewise.
36423 * math/s_catanh.c (__catanh): Calculate real part of result with
36424 log1p not log unless computing log of number close to 0.
36425 * math/s_catanhf.c (__catanhf): Likewise.
36426 * math/s_catanhl.c (__catanhl): Likewise.
36427 * math/libm-test.inc (catan_test): Add more tests.
36428 (catanh_test): Likewise.
36429 * sysdeps/i386/fpu/libm-test-ulps: Update.
36430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36432 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
36434 * benchtests/Makefile: Mention files in which fast and slow
36435 paths of math functions are implemented.
36437 2013-04-23 Roland McGrath <roland@hack.frob.com>
36439 * sysdeps/posix/timespec_get.c: New file.
36441 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36443 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
36445 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
36447 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
36448 powerpc/power5/fpu folders.
36449 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
36450 * benchtests/Makefile: Add modf testcase.
36451 * benchtests/bench-modf.c: New file: Benchmark test for mo
36453 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
36456 * time/Makefile (tests): Add tst-strptime-whitespace.
36457 * time/strptime_l.c (get_number): Use ISSPACE.
36458 (__strptime_internal): Likewise.
36459 * time/tst-strptime-whitespace.c: New test case.
36461 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
36463 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
36465 (_nss_files_init): Set it here.
36467 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
36469 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
36470 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
36473 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
36475 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
36477 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36479 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
36482 2013-04-21 David S. Miller <davem@davemloft.net>
36484 * po/ru.po: Update Russion translation from translation project.
36486 2013-04-17 Adam Conrad <adconrad@0c3.net>
36488 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
36491 2013-04-17 Carlos O'Donell <carlos@redhat.com>
36493 * configure.in: Remove i386 configure warning. Remove i386 case.
36494 * configure: Regenerate.
36495 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
36496 Add example to error message.
36497 * sysdeps/i386/configure: Regenerate.
36499 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
36501 * benchtests/Makefile (bench): Add cos, tan, slowcos and
36503 * benchtests/cos-inputs: New file.
36504 * benchtests/slowcos-inputs: New file.
36505 * benchtests/slowcos.c: New file.
36506 * benchtests/slowtan-inputs: New file.
36507 * benchtests/slowtan.c: New file.
36508 * benchtests/tan-inputs: New file.
36510 2013-04-16 Roland McGrath <roland@hack.frob.com>
36512 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
36515 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36517 * benchtests/Makefile: Include cppflags-iterator.mk to add
36518 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
36520 * Makefile.in (bench-clean): New target.
36521 * benchtests/Makefile (bench-clean): Likewise.
36523 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
36525 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
36527 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
36529 * stdio-common/tstdiomisc.c: Fix coding-style violation.
36531 2013-04-15 Andreas Schwab <schwab@suse.de>
36533 * nscd/grpcache.c (cache_addgr): Properly check for short write.
36534 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36535 * nscd/pwdcache.c (cache_addpw): Likewise.
36536 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
36539 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36541 * benchtests/Makefile (bench): Write all output to
36542 bench-out.tmp together.
36544 2013-04-15 Andreas Schwab <schwab@suse.de>
36546 * nscd/nscd.c (main): Don't fork again after closing files.
36548 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36550 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
36552 * benchtests/Rules (bench-deps): Collect dependencies into a
36553 single variable. Add Makefile to dependencies.
36554 ($(objpfx)bench-%.c): Depend on bench-deps.
36556 2013-04-12 Roland McGrath <roland@hack.frob.com>
36557 Xavier Roche <roche+kml2@exalead.com>
36560 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
36561 just that it's a file descriptor.
36562 * manual/llio.texi (Synchronizing AIO Operations): Update description
36563 for EBADF error from aio_fsync.
36565 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
36567 * Rules (bench): Move target definition...
36568 * benchtests/Makefile: ... here.
36570 2013-04-11 Carlos O'Donell <carlos@redhat.com>
36572 * math/libm-test.inc (cos_test): Fix PI/2 test.
36573 (sincos_test): Likewise.
36574 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36575 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
36577 2013-04-11 Andreas Schwab <schwab@suse.de>
36580 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
36581 accept exponent character only when digits were seen.
36582 * stdio-common/Makefile (tests): Add bug26.
36583 * stdio-common/bug26.c: New file.
36586 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
36589 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
36591 * Makeconfig (rtld-prefix): Define built linker prefix.
36592 * Rules (run-bench): Use it.
36593 * math/Makefile (run-regen-ulps): Likewise.
36595 * Rules (bench): Remove eval.
36597 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36598 Roland McGrath <roland@hack.frob.com>
36599 Ondrej Bilka <neleai@seznam.cz>
36602 * time/getdate.c: Include ctype.h and alloca.h.
36603 (__getdate_r): Trim leading and trailing spaces of input.
36604 * time/tst-getdate.c (tests): Add tests with leading and
36607 2013-04-08 Roland McGrath <roland@hack.frob.com>
36610 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
36611 when computing value.
36613 2013-04-06 Carlos O'Donell <carlos@redhat.com>
36615 * math/README.libm-test (How can I generate "libm-test-ulps"?):
36616 Use testrun.sh to run libm tests.
36619 * elf/dl-open.c (dl_open_worker): memset all of seen array.
36621 2013-04-06 Marko Myllynen <myllynen@redhat.com>
36624 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
36626 2013-04-06 Carlos O'Donell <carlos@redhat.com>
36628 * Makefile.in (regen-ulps): New target.
36629 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
36630 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
36631 [ifneq (no,$(PERL)] (regen-ulps): New target.
36632 [ifeq (no,$(PERL)] (regen-ulps): New target.
36633 * math/libm-test.inc (ulps_file_name): Define.
36634 (output_dir): New variable.
36635 (options): Add "output-dir" option.
36636 (parse_opt): Handle 'o' case.
36637 (main): If output_dir is non-NULL use it as a prefix
36639 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
36641 2013-04-06 Carlos O'Donell <carlos@redhat.com>
36643 [BZ #10060, #10062]
36644 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
36645 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
36646 fail configure if __sync_val_compare_and_swap is not inlined.
36647 * sysdeps/i386/configure: Regenerate.
36648 * configure.in: Build for i686 when configured for i386.
36649 * configure: Regenerate.
36650 * README: Remove i386 reference.
36652 2013-04-06 Carlos O'Donell <carlos@redhat.com>
36654 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
36655 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36657 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
36659 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
36660 (lmsnanval): New variables.
36661 (F): Add conversion tests.
36662 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
36663 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
36665 * stdio-common/tstdiomisc.c (F): Properly collect individual
36668 [BZ #14686, #15336]
36669 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
36670 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
36671 Instead, use input NaN values or generate a qNaN by arithmetic
36672 operation. Also fix bugs to comply with the standard.
36673 * math/libm-test.inc (remainder_test): Add more tests.
36675 [BZ #15335, #15342]
36676 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
36677 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
36678 input NaN values or generate a qNaN by arithmetic operation.
36680 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
36683 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
36686 2013-04-03 Joseph Myers <joseph@codesourcery.com>
36689 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
36690 underflowed result.
36691 * math/s_cexpf.c (__cexpf): Likewise.
36692 * math/s_cexpl.c (__cexpl): Likewise.
36693 * math/libm-test.inc (cexp_test): Add more tests.
36695 2013-04-03 Andreas Schwab <schwab@suse.de>
36698 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
36699 order arrays from heap if bigger than alloca cutoff.
36701 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
36703 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
36704 (SNAN_TESTS_double): Refer to GCC PR56831.
36705 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
36708 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
36710 * Rules (bench): Move bench.out after the run is complete.
36712 * Rules (bench): Echo currently running benchmark.
36714 * benchtests/Makefile (bench): Add atan and slowatan.
36715 * benchtests/atan-inputs: New file.
36716 * benchtests/slowatan-inputs: New file.
36717 * benchtests/slowatan.c: New file.
36719 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36720 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36724 * sysdeps/unix/sysv/linux/kernel-features.h
36725 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36726 __ASSUME_XFS_RESTRICTED_CHOWN.
36727 * sysdeps/unix/sysv/linux/pathconf.c
36728 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36729 Save and restore errno.
36731 2013-04-02 Joseph Myers <joseph@codesourcery.com>
36734 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
36735 arguments using __kernel_casinh.
36736 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
36737 arguments using __kernel_casinhf.
36738 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
36739 arguments using __kernel_casinhl.
36740 * math/libm-test.inc (cacosh_test): Add more tests.
36741 * sysdeps/i386/fpu/libm-test-ulps: Update.
36742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36744 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36746 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
36747 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
36749 * bench/Makefile (bench): Add sin and slowsin.
36750 * benchtests/sin-inputs: New file.
36751 * benchtests/slowsin-inputs: New file.
36752 * benchtests/slowsin.c: New file.
36754 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
36755 (bench): Add slowexp and slowpow.
36756 (exp-ITER): Increase iterations.
36757 (pow-ITER): Likewise.
36758 * benchtests/exp-inputs: Change input.
36759 * benchtests/pow-inputs: Likewise.
36760 * benchtests/slowexp-inputs: New file.
36761 * benchtests/slowexp.c: New file.
36762 * benchtests/slowpow-inputs: New file.
36763 * benchtests/slowpow.c: New file.
36765 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36767 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
36769 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36770 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
36771 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36772 * benchtests/Makefile: Add rint benchtest.
36773 * benchtests/rint-inputs: Input for rint benchtest.
36775 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
36777 * Versions.def (libm): Add GLIBC_2.18.
36778 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
36779 hidden libm prototypes.
36780 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
36781 * math/Makefile (libm-calls): Add s_issignaling.
36782 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
36783 __issignalingf, __issignalingl. Adjust all libm.abilist files.
36784 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
36786 * math/math.h [__USE_GNU] (issignaling): New macro.
36787 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
36788 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
36789 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
36790 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
36791 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
36792 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
36793 * manual/arith.texi (issignaling): New section.
36794 * manual/libm-err-tab.pl (@all_functions): Update comment.
36795 * math/gen-libm-test.pl (parse_args): Apply special handling for
36797 * math/libm-test.inc (print_float, issignaling_test): New
36799 (check_float_internal): Add issignaling checks.
36800 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
36801 default definition.
36802 * sysdeps/powerpc/math-tests.h: New file.
36803 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
36805 * math/test-snan.c (TEST_FUNC): Likewise.
36807 2013-03-30 David S. Miller <davem@davemloft.net>
36809 * po/de.po: Update from translation team.
36811 2013-03-30 Joseph Myers <joseph@codesourcery.com>
36814 * math/k_casinh.c (__kernel_casinh): Handle arguments with
36815 imaginary part less than 1.0 and real part less than 0.5
36817 * math/k_casinhf.c (__kernel_casinhf): Likewise.
36818 * math/k_casinhl.c (__kernel_casinhl): Likewise.
36819 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
36820 (cacos_test): Add more tests.
36821 (casin_test): Likewise.
36822 (casinh_test): Likewise.
36823 * sysdeps/i386/fpu/libm-test-ulps: Update.
36824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36826 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36828 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
36829 ONE with its value.
36831 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
36832 (__pow_mp): Replace ONE and MONE with their values.
36833 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36834 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
36835 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36836 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
36837 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36838 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36840 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
36842 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
36843 (__pow_mp): Replace ZERO and MZERO with their values.
36844 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36845 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36846 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36847 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36848 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36849 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
36852 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
36854 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
36856 2013-03-28 Roland McGrath <roland@hack.frob.com>
36858 * include/stdlib.h [!SHARED] (__call_tls_dtors):
36859 Declare with __attribute__ ((weak)).
36860 * stdlib/exit.c (__libc_atexit) [!SHARED]:
36861 Call __call_tls_dtors only if it's not NULL.
36863 2013-03-28 Roland McGrath <roland@hack.frob.com>
36865 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
36866 didn't do it already, then set _dl_phdr and _dl_phnum based on the
36867 magic __ehdr_start linker symbol if it's defined.
36868 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
36869 them up here if it was already done.
36871 * elf/dl-support.c (_dl_phdr): Make pointer to const.
36872 (_dl_aux_init): Use const in cast when setting it.
36873 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
36874 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
36875 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
36877 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
36879 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
36880 * csu/libc-tls.c: Nor here.
36881 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
36883 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
36884 (__libc_message): Never call vsyslog.
36886 2013-03-28 Alan Modra <amodra@gmail.com>
36888 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
36890 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
36893 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36896 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
36898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36900 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36903 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36904 Don't add gid passed as argument.
36906 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
36908 2013-03-27 Joseph Myers <joseph@codesourcery.com>
36911 * math/k_casinh.c (__kernel_casinh): Handle arguments with
36912 imaginary part between 1.0 and 1.5 and real part less than 0.5
36914 * math/k_casinhf.c (__kernel_casinhf): Likewise.
36915 * math/k_casinhl.c (__kernel_casinhl): Likewise.
36916 * math/libm-test.inc (cacos_test): Add more tests.
36917 (casin_test): Likewise.
36918 (casinh_test): Likewise.
36919 * sysdeps/i386/fpu/libm-test-ulps: Update.
36920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36922 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36924 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
36927 (denorm): Likewise.
36928 (__dbl_mp): Likewise.
36929 (add_magnitudes): Likewise.
36930 (sub_magnitudes): Likewise.
36938 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
36940 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
36941 (__dubcos): Likewise.
36942 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
36943 (__ieee754_acos): Likewise.
36944 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36945 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
36946 (__exp1): Likewise.
36947 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36948 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36950 (my_log2): Likewise.
36951 (checkint): Likewise.
36952 * sysdeps/ieee754/dbl-64/e_remainder.c
36953 (__ieee754_remainder): Likewise.
36954 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36955 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
36956 (bsloww): Likewise.
36957 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36959 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36960 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
36961 MANTISSA_STORE_T to store computations on mantissa. Use
36962 macros for rounding and division.
36963 (denorm): Likewise.
36964 (__dbl_mp): Likewise.
36965 (add_magnitudes): Likewise.
36966 (sub_magnitudes): Likewise.
36969 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
36970 powers of two in terms of TWOPOW macro.
36971 (mp_no): Make type of mantissa as MANTISSA_T.
36972 [!RADIXI]: Define RADIXI.
36973 [!TWO52]: Define TWO52.
36974 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36976 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36978 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
36979 llroundl symbol when building for PPC32.
36981 2013-03-24 Mark H Weaver <mhw@netris.org>
36983 * manual/arith.texi (Normalization Functions): Fix prototypes for
36984 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
36986 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36989 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
36990 high value to check if expl overflow.
36991 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
36992 to check for underflow and overflow.
36993 * math/libm-test.inc: Add exp test.
36995 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
36998 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
37001 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37003 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
37006 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
37008 * math/gen-libm-test.pl (parse_args, special_functions): Properly
37009 wrap blocks consisting of several statements.
37011 * sysdeps/generic/math-tests.h: New file.
37012 * sysdeps/i386/fpu/math-tests.h: Likewise.
37013 * math/test-snan.c: Include it.
37014 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
37016 2013-03-21 Joseph Myers <joseph@codesourcery.com>
37019 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
37020 (__ieee754_j0l): Do not improve calculations using cos of twice
37021 input for inputs above LDBL_MAX / 2.0L.
37022 (__ieee754_y0l): Likewise.
37023 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
37024 (__ieee754_j1l): Do not improve calculations using cos of twice
37025 input for inputs above LDBL_MAX / 2.0L.
37026 (__ieee754_y1l): Likewise.
37027 * math/libm-test.inc (j0_test): Add another test.
37028 (j1_test): Likewise.
37029 (y0_test): Likewise.
37030 (y1_test): Likewise.
37031 * sysdeps/i386/fpu/libm-test-ulps: Update.
37033 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37035 * Rules ($(objpfx)bench-%.c): Include code from a C source
37038 2013-03-21 Joseph Myers <joseph@codesourcery.com>
37041 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37042 imaginary part 1.0 and real part less than 0.5 specially.
37043 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37044 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37045 * math/libm-test.inc (cacos_test): Add more tests.
37046 (casin_test): Likewise.
37047 (casinh_test): Likewise.
37048 * sysdeps/i386/fpu/libm-test-ulps: Update.
37049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37051 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37053 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
37054 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
37056 2013-03-20 Joseph Myers <joseph@codesourcery.com>
37058 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
37059 * config.make.in (config-cflags-sse4): Remove variable.
37060 (config-cflags-avx): Likewise.
37061 (config-cflags-sse2avx): Likewise.
37062 (config-cflags-novzeroupper): Likewise.
37063 (config-asflags-i686): Likewise.
37064 (have-mfma4): Likewise.
37065 (have-as-vis3): Likewise.
37067 * configure.in (MIG): Do not AC_SUBST.
37068 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
37069 (libc_cv_cc_sse4): Do not AC_SUBST.
37070 (libc_cv_cc_avx): Likewise.
37071 (libc_cv_cc_sse2avx): Likewise.
37072 (libc_cv_cc_novzeroupper): Likewise.
37073 (libc_cv_cc_fma4): Likewise.
37074 (libc_cv_as_i686): Likewise.
37075 (libc_cv_sparc_as_vis3): Likewise.
37076 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
37078 (config-asflags-i686): Likewise.
37079 (config-cflags-avx): Likewise.
37080 (config-cflags-sse2avx): Likewise.
37081 (have-mfma4): Likewise.
37082 (config-cflags-novzeroupper): Likewise.
37083 * sysdeps/mach/configure.in (MIG): Likewise.
37084 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
37085 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
37087 (config-cflags-avx): Likewise.
37088 (config-cflags-sse2avx): Likewise.
37089 (have-mfma4): Likewise.
37090 (config-cflags-novzeroupper): Likewise.
37091 * configure: Regenerated.
37092 * sysdeps/i386/configure: Likewise.
37093 * sysdeps/mach/configure: Likewise.
37094 * sysdeps/sparc/configure: Likewise.
37095 * sysdeps/x86_64/configure: Likewise.
37097 2013-03-20 Roland McGrath <roland@hack.frob.com>
37100 * locale/programs/localedef.c (options): Put N_ translation marker
37101 on argument names, not just descriptions.
37103 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37105 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
37107 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
37110 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
37112 2013-03-19 Roland McGrath <roland@hack.frob.com>
37114 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
37115 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
37116 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
37117 [!BEFORE_ABORT] (before_abort): New function.
37118 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
37119 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
37120 (writev_for_fatal): New function.
37121 (WRITEV_FOR_FATAL): New macro; call that.
37122 (backtrace_and_maps): New function.
37123 (BEFORE_ABORT): New macro; call that.
37124 (struct str_list): Type removed.
37125 (__libc_message, __libc_fatal): Functions removed.
37126 Include <sysdeps/posix/libc_fatal.c> instead.
37128 2013-03-19 Joseph Myers <joseph@codesourcery.com>
37130 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
37132 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
37135 2013-03-19 Andreas Schwab <schwab@suse.de>
37137 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
37138 * sysdeps/gnu/configure: Regenerate.
37140 * configure.in: Substitute libc_cv_rtlddir.
37141 * configure: Regenerate.
37142 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
37143 * Makeconfig (rtlddir, inst_rtlddir): New variables.
37144 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
37145 * elf/Makefile (install-others, CFLAGS-interp.c)
37146 (ldso_install, common-ldd-rewrite): Likewise.
37147 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
37148 $(inst_slibdir)/$(rtld-installed-name).
37149 * scripts/rellns-sh: Add -p option.
37150 * Makerules (make-shlib-link): Use rellns-sh to get relative name
37153 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37155 * manual/nptl.texi: Renamed to ...
37156 * manual/threads.texi: ... this.
37157 * manual/Makefile (chapters): Update.
37159 2013-03-18 Roland McGrath <roland@hack.frob.com>
37162 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
37163 on argument names, not just descriptions.
37164 * malloc/memusagestat.c (options): Likewise.
37165 * nss/getent.c (options): Likewise.
37167 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
37170 * iconv/iconv_prog.c (options): Put N_ translation marker
37171 on argument names, not just descriptions.
37172 * iconv/iconvconfig.c (options): Likewise.
37174 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
37176 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
37177 implementation which is faster on all x86_64 architectures.
37178 Tested on AMD, Intel Nehalem, SNB, IVB.
37179 * sysdeps/x86_64/strnlen.S: Likewise.
37181 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37182 Remove all multiarch strlen and strnlen versions.
37183 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
37184 Remove strlen and strnlen related parts.
37186 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
37187 Inline strlen part.
37188 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
37190 * sysdeps/x86_64/multiarch/strlen.S: Remove.
37191 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
37192 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
37193 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
37194 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37195 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
37197 2013-03-17 Carlos O'Donell <carlos@redhat.com>
37199 * manual/memory.texi (Malloc Tunable Parameters):
37200 Sort parameters alphabetically. Add comments for missing entries.
37202 2013-03-17 David S. Miller <davem@davemloft.net>
37204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37206 2013-03-16 Joseph Myers <joseph@codesourcery.com>
37209 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
37210 for arguments at most half maximum finite value.
37211 * math/libm-test.inc (j0_test): Add more tests.
37212 (j1_test): Likewise.
37213 (y0_test): Likewise.
37214 (y1_test): Likewise.
37215 * sysdeps/i386/fpu/libm-test-ulps: Update.
37216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37219 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
37220 1 / x and functions P and Q for arguments above 0x1p256L.
37221 (__ieee754_y0l): Likewise.
37222 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
37223 (__ieee754_y1l): Likewise.
37224 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
37225 (j1_test): Likewise.
37226 (y0_test): Likewise.
37227 (y1_test): Likewise.
37229 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
37231 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
37234 2013-03-15 Roland McGrath <roland@hack.frob.com>
37236 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
37237 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
37238 zero since it's initialized to EXEC_PAGESIZE.
37240 * sysdeps/unix/sysv/linux/ldsodefs.h
37241 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
37242 * sysdeps/generic/ldsodefs.h: ... here.
37244 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
37246 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
37248 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
37250 * math/test-snan.c: Renamed from
37251 sysdeps/powerpc/fpu/test-powerpc-snan.c.
37252 * math/Makefile (tests): Add test-snan.
37253 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
37256 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
37257 SUFFIX. Initialize qNaN_var with __builtin_nan family of
37259 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
37260 __builtin_nan family of functions.
37261 * math/libm-test.inc (initialize): Initialize qnan_value with
37262 __builtin_nan family of functions.
37263 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
37265 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
37267 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
37268 storage class. Initialize qNaN_var and sNaN_var with
37269 __builtin_nan and __builtin_nans families of functions,
37272 * math/libm-test.inc (acosh_test): Also test with qNaN input.
37273 (sqrt_test): Remove duplicate test with qNaN input.
37274 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
37275 (round_test, signbit_test, significand_test): Note missing +/-Inf
37276 as well as qNaN tests.
37278 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
37279 qNaN_var. Fix a few strings, too.
37280 * math/libm-test.inc (nan_value): Rename to qnan_value.
37281 * math/gen-libm-test.pl (%beautify): Adjust to that.
37282 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
37283 * math/test-misc.c (main): Likewise.
37284 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
37285 to __qnan_bytes, and __qnan_union, respectively.
37286 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
37288 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
37289 and lqnanval, respectively.
37290 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
37291 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
37292 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
37293 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
37295 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
37296 * math/test-misc.c (main) [__x86_64__]: Enable test for long
37299 * math/test-misc.c (main): Fix copy'n'pastos.
37300 * misc/tst-efgcvt.c (special): Likewise.
37302 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
37303 Remove declarations.
37305 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37307 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
37308 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
37309 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
37310 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
37312 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37314 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
37315 macro to return vdso values correctly in IFUNC implementations.
37316 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37317 Optimization by using IFUNC.
37319 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37320 Richard Henderson <rth@redhat.com>
37321 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37323 * Makefile.in (bench): New target.
37324 * NEWS: Mention the benchmark framework.
37325 * Rules (bench): Likewise.
37326 (binaries-bench): Generate binaries for functions to
37328 * benchtests/Makefile: New makefile for benchmark tests.
37329 * benchtests/bench-skeleton.c: New skeleton file for benchmark
37331 * benchtests/exp-inputs: New input file for EXP function.
37332 * benchtests/pow-inputs: New input file for POW function.
37333 * scripts/bench.pl: New script to generate source files for
37334 benchmark programs.
37336 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37338 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37339 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
37340 computations on mantissa. Use macros for rounding and
37342 (denorm): Likewise.
37343 (__dbl_mp): Likewise.
37344 (add_magnitudes): Likewise.
37345 (sub_magnitudes): Likewise.
37348 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
37349 powers of two in terms of TWOPOW macro.
37350 (mp_no): Make type of mantissa as MANTISSA_T.
37351 [!RADIXI]: Define RADIXI.
37352 [!TWO52]: Define TWO52.
37353 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37355 * manual/nptl.texi (cindex): Modify threads to pthreads.
37357 2013-03-15 Joseph Myers <joseph@codesourcery.com>
37359 * sysdeps/x86_64/preconfigure: Regenerated.
37361 2013-03-14 Joseph Myers <joseph@codesourcery.com>
37364 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
37366 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
37367 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
37369 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
37370 * math/libm-test.inc (j0_test): Do not allow one spurious
37371 underflow exception.
37372 (y1_test): Likewise.
37374 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
37376 * manual/Makefile (chapters): Add nptl.
37377 * manual/debug.texi (Debugging Support): Add link to Threads
37379 * manual/nptl.texi: New file.
37381 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
37383 2013-03-14 Petr Baudis <pasky@ucw.cz>
37385 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
37386 for non-NULL pointer before the memory validity test. Pointed
37387 out by Holger Brunck <holger.brunck@keymile.com>.
37389 2013-03-13 Andreas Schwab <schwab@suse.de>
37391 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
37394 2013-03-13 Joseph Myers <joseph@codesourcery.com>
37396 * timezone/zic.c: Update from tzcode 2013b.
37398 2013-03-12 Carlos O'Donell <carlos@redhat.com>
37400 * manual/install.texi (Configuring and compiling):
37401 Mention i686 and i586.
37402 * INSTALL: Regenerate.
37404 2013-03-12 Roland McGrath <roland@hack.frob.com>
37406 * sysdeps/init_array/elf-init.c: New file.
37408 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
37409 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
37411 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
37412 __gmon_start__ as global, but as static with a .preinit_array pointer.
37413 * sysdeps/init_array/gmon-start.c: New file. Use that.
37414 * sysdeps/init_array/crti.S: New file, empty except for comments.
37415 * sysdeps/init_array/crtn.S: Likewise.
37417 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
37419 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
37421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37422 Remove Prefer_SSE_for_memop.
37423 * sysdeps/x86_64/multiarch/init-arch.h: Remove
37424 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
37425 HAS_PREFER_SSE_FOR_MEMOP.
37426 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
37428 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37429 Remove bzero, memset ifunc support.
37430 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
37431 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
37432 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37433 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37435 2013-03-11 Andreas Schwab <schwab@suse.de>
37438 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
37440 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
37441 (GLIBC_2.16): Remove pthread_atfork.
37443 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
37445 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
37446 (ptestcases.h): Likewise.
37448 2013-03-08 Roland McGrath <roland@hack.frob.com>
37450 * Makeconfig ($(common-objpfx)config.status): Depend on
37451 sysdeps/*/preconfigure{,.in} too.
37453 2013-03-08 Joseph Myers <joseph@codesourcery.com>
37455 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
37456 (__free_hook): Use void * instead of __malloc_ptr_t.
37457 (__malloc_hook): Likewise.
37458 (__realloc_hook): Likewise.
37459 (__memalign_hook): Likewise.
37460 (__after_morecore_hook): Likewise.
37461 * malloc/arena.c (save_malloc_hook): Likewise.
37462 (save_free_hook): Likewise.
37463 * malloc/hooks.c (malloc_hook_ini): Likewise.
37464 (realloc_hook_ini): Likewise.
37465 (memalign_hook_ini): Likewise.
37466 * malloc/malloc.c (malloc_hook_ini): Likewise.
37467 (realloc_hook_ini): Likewise.
37468 (memalign_hook_ini): Likewise.
37469 (__free_hook): Likewise.
37470 (__malloc_hook): Likewise.
37471 (__realloc_hook): Likewise.
37472 (__memalign_hook): Likewise.
37473 (__libc_malloc): Likewise.
37474 (__libc_free): Likewise.
37475 (__libc_realloc): Likewise.
37476 (__libc_memalign): Likewise.
37477 (__libc_valloc): Likewise.
37478 (__libc_pvalloc): Likewise.
37479 (__libc_calloc): Likewise.
37480 (__posix_memalign): Likewise.
37481 * malloc/morecore.c (__sbrk): Likewise.
37482 (__default_morecore): Likewise.
37484 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
37486 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
37487 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
37488 __malloc_ptrdiff_t.
37490 * malloc/malloc.h (__malloc_size_t): Remove macro.
37491 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
37493 (old_memalign_hook): Likewise.
37494 (old_realloc_hook): Likewise.
37495 (struct hdr): Likewise.
37497 (mallochook): Likewise.
37498 (memalignhook): Likewise.
37499 (reallochook): Likewise.
37500 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
37501 (tr_old_realloc_hook): Likewise.
37502 (tr_old_memalign_hook): Likewise.
37503 (tr_mallochook): Likewise.
37504 (tr_reallochook): Likewise.
37505 (tr_memalignhook): Likewise.
37507 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37509 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
37510 default_ldbl_pack and using as default implementation.
37511 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
37513 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
37514 redundant definition.
37515 (ldbl_insert_mantissa): Likewise.
37516 (ldbl_canonicalize): Likewise.
37517 (ldbl_nearbyint): Likewise.
37518 (ldbl_pack): Rename to ldbl_pack_ppc.
37519 (ldbl_unpack): Rename to ldbl_unpack_ppc.
37520 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
37521 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
37523 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
37525 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
37526 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
37527 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
37528 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
37529 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
37530 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
37531 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
37532 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
37534 2013-03-07 Andreas Jaeger <aj@suse.de>
37536 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37539 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
37541 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
37542 Include mpa.h and declare __MPEXP.
37543 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
37544 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37545 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37546 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
37547 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37548 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37549 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
37551 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
37552 (__slowpow): Use long double EXPL and LOGL functions to
37554 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37555 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37556 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
37557 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37558 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37559 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
37561 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
37562 intermediate variable to calculate exponent.
37564 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37568 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
37569 [!NO__SQR]: Define __sqr.
37570 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
37571 and NO__SQR. Remove all code except __mul and __sqr. Include
37572 sysdeps/ieee754/dbl-64/mpa.c.
37573 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37576 * posix/Makefile (tests): Add tst-pathconf.
37577 * posix/tst-pathconf.c: New test case.
37578 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
37580 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
37582 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
37584 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
37586 2013-03-06 Andreas Jaeger <aj@suse.de>
37588 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
37589 definition via __MAP_ANONYMOUS.
37591 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
37592 it's not part of Linux headers.
37594 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
37595 (MAP_HUGE_MASK): Define.
37597 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37599 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37600 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37602 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37603 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37605 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37606 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
37608 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37610 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
37611 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
37612 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
37613 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
37614 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
37615 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
37617 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37620 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37621 Handle f2fs and efivarfs.
37623 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
37626 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
37627 (EFIVARFS_MAGIC): Add.
37628 (F2FS_LINK_MAX): Add.
37630 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37632 * stdio-common/vfprintf.c: Replace __builtin_expect with
37635 2013-03-06 Joseph Myers <joseph@codesourcery.com>
37638 * sysdeps/generic/bp-sym.h: Remove file.
37639 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
37640 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
37641 <bp-sym.h> and <bp-asm.h>.
37642 (__longjmp): Don't use BP_SYM.
37643 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
37645 (memcpy): Don't use BP_SYM.
37646 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
37647 <bp-sym.h> and <bp-asm.h>.
37648 (memcpy): Don't use BP_SYM.
37649 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
37651 (memcpy): Don't use BP_SYM.
37652 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
37654 (memset): Don't use BP_SYM.
37655 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37656 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37657 (__bzero): Don't use BP_SYM.
37658 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37659 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37660 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
37661 <bp-sym.h> and <bp-asm.h>.
37662 (memcmp): Don't use BP_SYM. Remove comment about bounded
37664 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
37665 <bp-sym.h> and <bp-asm.h>.
37666 (memcpy): Don't use BP_SYM.
37667 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
37668 <bp-sym.h> and <bp-asm.h>.
37669 (memset): Don't use BP_SYM.
37670 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37671 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37672 (__bzero): Don't use BP_SYM.
37673 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37674 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37675 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
37676 <bp-sym.h> and <bp-asm.h>.
37677 (strncmp): Don't use BP_SYM. Remove comment about bounded
37679 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
37680 <bp-sym.h> and <bp-asm.h>.
37681 (memcpy): Don't use BP_SYM.
37682 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
37683 <bp-sym.h> and <bp-asm.h>.
37684 (memset): Don't use BP_SYM.
37685 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37686 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37687 (__bzero): Don't use BP_SYM.
37688 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37689 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37690 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
37691 <bp-sym.h> and <bp-asm.h>.
37692 (__memchr): Don't use BP_SYM.
37693 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
37694 <bp-sym.h> and <bp-asm.h>.
37695 (memcmp): Don't use BP_SYM. Remove comment about bounded
37697 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
37698 <bp-sym.h> and <bp-asm.h>.
37699 (memcpy): Don't use BP_SYM.
37700 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
37701 <bp-sym.h> and <bp-asm.h>.
37702 (__mempcpy): Don't use BP_SYM.
37703 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
37704 <bp-sym.h> and <bp-asm.h>.
37705 (__memrchr): Don't use BP_SYM.
37706 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
37707 <bp-sym.h> and <bp-asm.h>.
37708 (memset): Don't use BP_SYM.
37709 (__bzero): Likewise.
37710 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
37711 <bp-sym.h> and <bp-asm.h>.
37712 (__rawmemchr): Don't use BP_SYM.
37713 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37714 <bp-sym.h> and <bp-asm.h>.
37715 (__STRCMP): Don't use BP_SYM.
37716 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37717 <bp-sym.h> and <bp-asm.h>.
37718 (strchr): Don't use BP_SYM.
37719 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37720 <bp-sym.h> and <bp-asm.h>.
37721 (__strchrnul): Don't use BP_SYM.
37722 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37723 <bp-sym.h> and <bp-asm.h>.
37724 (strlen): Don't use BP_SYM.
37725 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37726 <bp-sym.h> and <bp-asm.h>.
37727 (strncmp): Don't use BP_SYM. Remove comment about bounded
37729 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37730 <bp-sym.h> and <bp-asm.h>.
37731 (__strnlen): Don't use BP_SYM.
37732 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
37733 <bp-sym.h> and <bp-asm.h>.
37734 (__GI__setjmp): Don't use BP_SYM.
37735 (_setjmp): Likewise.
37736 (__sigsetjmp): Likewise.
37737 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
37738 (L(start_addresses)): Don't use BP_SYM.
37739 (_start): Likewise.
37740 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
37742 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
37743 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
37744 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37745 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37746 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
37748 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
37749 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
37750 about bounded pointers.
37751 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37752 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37753 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
37755 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
37756 about bounded pointers. Remove GKM FIXME comments.
37757 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37758 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
37760 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
37761 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
37762 Remove GKM FIXME comments.
37763 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37764 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37765 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
37767 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
37768 about bounded pointers. Remove GKM FIXME comment.
37769 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
37771 (strncmp): Don't use BP_SYM. Remove comment about bounded
37773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
37774 <bp-sym.h> and <bp-asm.h>.
37775 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
37777 <bp-sym.h> and <bp-asm.h>.
37778 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
37781 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37783 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
37786 2013-03-05 David S. Miller <davem@davemloft.net>
37788 * po/es.po: Update from translation team.
37790 2013-03-05 Andreas Jaeger <aj@suse.de>
37792 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
37793 <bits/mman-linux.h>.
37794 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37796 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
37797 <bits/mman-linux.h> to end of file.
37798 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37800 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
37801 <bits/mman-linux.h> to end of file.
37802 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37804 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
37805 <bits/mman-linux.h> to end of file.
37807 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
37808 (MCL_CURRENT, MCL_FUTURE): Define here.
37810 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37813 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
37815 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37817 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37819 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
37820 fourth parameter needed for rt_sigprocmask syscall.
37821 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37822 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37823 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
37824 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37825 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37826 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
37828 2013-03-04 Joseph Myers <joseph@codesourcery.com>
37831 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
37832 comment about bounded pointers.
37833 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
37834 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
37836 2013-03-04 Andreas Jaeger <aj@suse.de>
37838 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
37839 common definitions.
37841 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
37842 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
37843 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
37844 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37845 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37846 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37848 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37851 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37852 __ieee754_sqrl instead of __sqrl.
37854 2013-03-01 Joseph Myers <joseph@codesourcery.com>
37856 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
37857 * sysdeps/powerpc/fpu_control.h: ... here.
37858 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
37859 * sysdeps/powerpc/bits/fenvinline.h: ... here.
37860 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
37861 * sysdeps/powerpc/bits/mathinline.h: ... here.
37863 2013-03-01 Roland McGrath <roland@hack.frob.com>
37865 * elf/dl-hwcaps.c (_dl_important_hwcaps):
37866 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
37867 to just [NEED_DL_SYSINFO_DSO].
37868 * elf/dl-support.c: Likewise.
37869 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37870 * elf/rtld.c (dl_main): Likewise.
37871 * elf/setup-vdso.h (setup_vdso): Likewise.
37872 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
37873 * sysdeps/unix/sysv/linux/dl-sysdep.c
37874 (_dl_discover_osversion): Likewise.
37876 2013-03-01 Carlos O'Donell <carlos@redhat.com>
37878 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
37879 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37881 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
37883 * NEWS: Mention libm performance improvements and non-x86 PI
37886 * csu/libc-start.c (__pthread_initialize_minimal): Change
37887 function arguments.
37888 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37890 2013-02-28 Joseph Myers <joseph@codesourcery.com>
37893 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
37894 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
37895 <bp-sym.h> and <bp-asm.h>.
37896 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37897 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
37899 (memcpy): Don't use BP_SYM.
37900 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
37902 (__mpn_add_n): Don't use BP_SYM.
37903 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
37904 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
37906 (__mpn_addmul_1): Don't use BP_SYM.
37907 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37908 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
37910 (_setjmp): Don't use BP_SYM.
37911 (__novmx_setjmp): Likewise.
37912 (__GI__setjmp): Likewise.
37913 (__vmx_setjmp): Likewise.
37914 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
37916 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
37917 (__bzero): Don't use BP_SYM.
37918 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37919 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37920 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
37921 <bp-sym.h> and <bp-asm.h>.
37922 (memcpy): Don't use BP_SYM.
37923 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
37924 <bp-sym.h> and <bp-asm.h>.
37925 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37926 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
37927 <bp-sym.h> and <bp-asm.h>.
37928 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37929 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
37931 (__mpn_lshift): Don't use BP_SYM.
37932 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37933 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
37935 (memset): Don't use BP_SYM.
37936 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37937 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37938 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
37940 (__mpn_mul_1): Don't use BP_SYM.
37941 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37942 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
37943 <bp-sym.h> and <bp-asm.h>.
37944 (memcmp): Don't use BP_SYM.
37945 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
37946 <bp-sym.h> and <bp-asm.h>.
37947 (memcpy): Don't use BP_SYM.
37948 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
37949 <bp-sym.h> and <bp-asm.h>.
37950 (memset): Don't use BP_SYM.
37951 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
37952 <bp-sym.h> and <bp-asm.h>.
37953 (strncmp): Don't use BP_SYM.
37954 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
37955 <bp-sym.h> and <bp-asm.h>.
37956 (memcpy): Don't use BP_SYM.
37957 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
37958 <bp-sym.h> and <bp-asm.h>.
37959 (memset): Don't use BP_SYM.
37960 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
37961 <bp-sym.h> and <bp-asm.h>.
37962 (__memchr): Don't use BP_SYM.
37963 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
37964 <bp-sym.h> and <bp-asm.h>.
37965 (memcmp): Don't use BP_SYM.
37966 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
37967 <bp-sym.h> and <bp-asm.h>.
37968 (memcpy): Don't use BP_SYM.
37969 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
37970 <bp-sym.h> and <bp-asm.h>.
37971 (__mempcpy): Don't use BP_SYM.
37972 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
37973 <bp-sym.h> and <bp-asm.h>.
37974 (__memrchr): Don't use BP_SYM.
37975 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
37976 <bp-sym.h> and <bp-asm.h>.
37977 (memset): Don't use BP_SYM.
37978 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
37979 <bp-sym.h> and <bp-asm.h>.
37980 (__rawmemchr): Don't use BP_SYM.
37981 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
37982 <bp-sym.h> and <bp-asm.h>.
37983 (__STRCMP): Don't use BP_SYM.
37984 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
37985 <bp-sym.h> and <bp-asm.h>.
37986 (strchr): Don't use BP_SYM.
37987 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
37988 <bp-sym.h> and <bp-asm.h>.
37989 (__strchrnul): Don't use BP_SYM.
37990 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
37991 <bp-sym.h> and <bp-asm.h>.
37992 (strlen): Don't use BP_SYM.
37993 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
37994 <bp-sym.h> and <bp-asm.h>.
37995 (strncmp): Don't use BP_SYM.
37996 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
37997 <bp-sym.h> and <bp-asm.h>.
37998 (__strnlen): Don't use BP_SYM.
37999 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
38001 (__mpn_rshift): Don't use BP_SYM.
38002 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38003 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
38004 <bp-sym.h> and <bp-asm.h>.
38005 (__sigsetjmp): Don't use BP_SYM.
38006 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
38007 (L(start_addresses)): Don't use BP_SYM.
38008 (_start): Likewise.
38009 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
38011 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
38012 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38013 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38014 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
38016 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
38017 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38018 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38019 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
38021 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
38023 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38024 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
38026 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
38028 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38029 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38030 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
38032 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
38034 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
38036 (strncmp): Don't use BP_SYM,
38037 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
38039 (__mpn_sub_n): Don't use BP_SYM.
38040 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38041 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
38043 (__mpn_submul_1): Don't use BP_SYM.
38044 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
38046 <bp-sym.h> and <bp-asm.h>.
38047 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
38049 <bp-sym.h> and <bp-asm.h>.
38050 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
38053 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38055 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
38056 Use ZK to minimize writes to Z.
38057 (sub_magnitudes): Simplify code a bit.
38058 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
38059 Use ZK to minimize writes to Z.
38060 (sub_magnitudes): Simplify code a bit.
38062 2013-02-27 Roland McGrath <roland@hack.frob.com>
38064 * csu/gmon-start.c: Add special exception to license text.
38066 2013-02-27 Richard Henderson <rth@redhat.com>
38068 * scripts/config.guess: Update from config.git.
38069 * scripts/config.sub: Likewise.
38071 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38073 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
38075 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
38077 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
38079 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
38081 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
38083 2013-02-26 Roland McGrath <roland@hack.frob.com>
38085 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
38086 [$(build-shared = yes].
38088 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38090 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
38091 (__mul): Reduce iterations for calculating mantissa.
38093 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
38095 (__mpranred): Likewise.
38098 * malloc/memusagestat.c (main): Draw graphs for heap and stack
38099 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
38101 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
38103 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
38104 Define __attribute__.
38106 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38108 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
38110 * posix/regex_internal.h (__attribute): Remove.
38111 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
38112 (re_string_context_at): Likewise.
38113 (bitset_not): Use __attribute__ and mark function as possibly
38115 (bitset_merge): Likewise.
38116 (bitset_mask): Likewise.
38117 (re_string_char_size_at): Likewise.
38118 (re_string_wchar_at): Likewise.
38119 (re_string_elem_size_at): Likewise.
38121 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38123 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
38127 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
38131 (denorm): Likewise.
38132 (__dbl_mp): Likewise.
38133 (add_magnitudes): Likewise.
38134 (sub_magnitudes): Likewise.
38138 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
38141 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
38144 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
38147 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
38148 up changes with default code.
38149 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
38152 2013-02-24 Allan McRae <allan@archlinux.org>
38154 * manual/socket.texi (The Internet Namespace): Order menu items
38155 to match that in the file.
38157 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
38158 node listing of the info page menu.
38160 2013-02-21 Joseph Myers <joseph@codesourcery.com>
38163 * sysdeps/i386/bp-asm.h: Remove file.
38164 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38165 (PARMS): Do not use macros from bp-asm.h.
38169 (__mpn_add_n): Do not use BP_SYM
38170 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
38172 (PARMS): Do not use macros from bp-asm.h.
38175 (__mpn_addmul_1): Do not use BP_SYM
38176 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
38178 (PARMS): Do not use macros from bp-asm.h.
38179 (SIGMSK): Likewise.
38180 (_setjmp): Likewise. Do not use BP_SYM.
38181 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
38183 (PARMS): Do not use macros from bp-asm.h.
38184 (SIGMSK): Likewise.
38185 (setjmp): Likewise. Do not use BP_SYM.
38186 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
38188 (PARMS): Do not use macros from bp-asm.h.
38189 (__frexp): Do not use BP_SYM.
38191 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
38193 (PARMS): Do not use macros from bp-asm.h.
38194 (__frexpf): Do not use BP_SYM.
38195 (frexpf): Likewise.
38196 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
38198 (PARMS): Do not use macros from bp-asm.h.
38199 (__frexpl): Do not use BP_SYM.
38200 (frexpl): Likewise.
38201 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
38203 (PARMS): Do not use macros from bp-asm.h.
38204 (__remquo): Do not use BP_SYM.
38205 (remquo): Likewise.
38206 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
38208 (PARMS): Do not use macros from bp-asm.h.
38209 (__remquof): Do not use BP_SYM.
38210 (remquof): Likewise.
38211 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
38213 (PARMS): Do not use macros from bp-asm.h.
38214 (__remquol): Do not use BP_SYM.
38215 (remquol): Likewise.
38216 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
38218 (PARMS): Do not use macros from bp-asm.h.
38221 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
38222 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
38224 (PARMS): Do not use macros from bp-asm.h.
38225 (strlen): Do not use BP_SYM.
38226 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
38228 (PARMS): Do not use macros from bp-asm.h.
38232 (__mpn_add_n): Do not use BP_SYM.
38233 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
38235 (PARMS): Do not use macros from bp-asm.h.
38238 (__mpn_addmul_1): Do not use BP_SYM.
38239 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
38242 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
38244 (PARMS): Do not use macros from bp-asm.h.
38247 (__mpn_lshift): Do not use BP_SYM.
38248 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
38250 (PARMS): Do not use macros from bp-asm.h.
38254 (memcpy): Likewise. Do not use BP_SYM.
38255 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
38256 libc_hidden_def and weak_alias.
38257 (mempcpy): Do not use BP_SYM in weak_alias.
38258 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
38260 (PARMS): Do not use macros from bp-asm.h.
38263 [!BZERO_P] (CHR): Likewise.
38264 (memset): Likewise. Do not use BP_SYM.
38265 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
38267 (PARMS): Do not use macros from bp-asm.h.
38270 (__mpn_mul_1): Do not use BP_SYM.
38271 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
38273 (PARMS): Do not use macros from bp-asm.h.
38276 (__mpn_rshift): Do not use BP_SYM.
38277 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
38279 (PARMS): Do not use macros from bp-asm.h.
38282 (strchr): Likewise. Do not use BP_SYM.
38283 (index): Do not use BP_SYM in weak_alias.
38284 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
38286 (PARMS): Do not use macros from bp-asm.h.
38289 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
38290 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
38292 (PARMS): Do not use macros from bp-asm.h.
38293 (strlen): Do not use BP_SYM.
38294 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
38296 (PARMS): Do not use macros from bp-asm.h.
38300 (__mpn_sub_n): Do not use BP_SYM.
38301 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
38303 (PARMS): Do not use macros from bp-asm.h.
38306 (__mpn_submul_1): Do not use BP_SYM.
38307 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
38309 (PARMS): Do not use macros from bp-asm.h.
38313 (__mpn_add_n): Do not use BP_SYM.
38314 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
38317 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
38319 (PARMS): Do not use macros from bp-asm.h.
38322 (memcmp): Do not use BP_SYM.
38323 (bcmp): Do not use BP_SYM in weak_alias.
38324 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
38326 (PARMS): Do not use macros from bp-asm.h.
38330 (memcpy): Likewise. Do not use BP_SYM.
38331 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
38333 (PARMS): Do not use macros from bp-asm.h.
38337 (memmove): Likewise. Do not use BP_SYM.
38338 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
38340 (PARMS): Do not use macros from bp-asm.h.
38344 (__mempcpy): Likewise. Do not use BP_SYM.
38345 (mempcpy): Do not use BP_SYM in weak_alias.
38346 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
38348 (PARMS): Do not use macros from bp-asm.h.
38351 [!BZERO_P] (CHR): Likewise.
38352 (memset): Likewise. Do not use BP_SYM.
38353 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
38355 (PARMS): Do not use macros from bp-asm.h.
38357 (strcmp): Do not use BP_SYM.
38358 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
38360 (PARMS): Do not use macros from bp-asm.h.
38363 [USE_AS_STRTOK_R] (SAVE): Likewise.
38364 (FUNCTION): Likewise. Do not use BP_SYM.
38365 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
38367 (strtok_r): Likewise.
38368 (__GI___strtok_r): Likewise.
38369 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38370 (PARMS): Do not use macros from bp-asm.h.
38373 (__mpn_lshift): Do not use BP_SYM.
38374 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38375 (PARMS): Do not use macros from bp-asm.h.
38378 (__memchr): Do not use BP_SYM.
38379 (memchr): Do not use BP_SYM in weak_alias.
38380 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38381 (PARMS): Do not use macros from bp-asm.h.
38384 (memcmp): Do not use BP_SYM.
38385 (bcmp): Do not use BP_SYM in weak_alias.
38386 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
38387 (PARMS): Do not use macros from bp-asm.h.
38390 (__mpn_mul_1): Do not use BP_SYM.
38391 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
38393 (PARMS): Do not use macros from bp-asm.h.
38396 (__rawmemchr): Do not use BP_SYM.
38397 (rawmemchr): Do not use BP_SYM in weak_alias.
38398 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38399 (PARMS): Do not use macros from bp-asm.h.
38402 (__mpn_rshift): Do not use BP_SYM.
38403 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38404 (PARMS): Do not use macros from bp-asm.h.
38405 (SIGMSK): Likewise.
38406 (__sigsetjmp): Likewise. Do not use BP_SYM.
38407 * sysdeps/i386/start.S: Do not include "bp-sym.h".
38408 (_start): Do not use BP_SYM.
38409 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
38410 (PARMS): Do not use macros from bp-asm.h.
38413 (__stpcpy): Likewise. Do not use BP_SYM.
38414 (stpcpy): Do not use BP_SYM in weak_alias.
38415 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
38417 (PARMS): Do not use macros from bp-asm.h.
38421 (__stpncpy): Likewise. Do not use BP_SYM.
38422 (stpncpy): Do not use BP_SYM in weak_alias.
38423 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38424 (PARMS): Do not use macros from bp-asm.h.
38427 (strchr): Likewise. Do not use BP_SYM.
38428 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
38430 (PARMS): Do not use macros from bp-asm.h.
38433 (__strchrnul): Likewise. Do not use BP_SYM.
38434 (strchrnul): Do not use BP_SYM in weak_alias.
38435 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
38437 (PARMS): Do not use macros from bp-asm.h.
38439 (strcspn): Do not use BP_SYM.
38440 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
38442 (PARMS): Do not use macros from bp-asm.h.
38445 (strpbrk): Likewise. Do not use BP_SYM.
38446 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
38448 (PARMS): Do not use macros from bp-asm.h.
38451 (strrchr): Likewise. Do not use BP_SYM.
38452 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
38453 (PARMS): Do not use macros from bp-asm.h.
38455 (strspn): Do not use BP_SYM.
38456 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
38457 (PARMS): Do not use macros from bp-asm.h.
38461 (FUNCTION): Likewise. Do not use BP_SYM.
38462 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
38464 (strtok_r): Likewise.
38465 (__GI___strtok_r): Likewise.
38466 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38467 (PARMS): Do not use macros from bp-asm.h.
38471 (__mpn_sub_n): Do not use BP_SYM.
38472 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
38474 (PARMS): Do not use macros from bp-asm.h.
38477 (__mpn_submul_1): Do not use BP_SYM.
38478 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
38480 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
38482 (PARMS): Do not use macros from bp-asm.h.
38487 (__clone): Do not use BP_SYM.
38488 (clone): Do not use BP_SYM in weak_alias.
38489 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
38491 (PARMS): Do not use macros from bp-asm.h.
38493 (__mmap64): Do not use BP_SYM.
38494 (mmap64): Do not use BP_SYM in weak_alias.
38495 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38496 <bp-sym.h> and <bp-asm.h>.
38497 (PARMS): Do not use macros from bp-asm.h.
38498 (__posix_fadvise64_l64): Do not use BP_SYM.
38499 * sysdeps/unix/sysv/linux/i386/semtimedop.S
38500 (PARMS): Do not use macros from bp-asm.h.
38502 (semtimedop): Do not use BP_SYM.
38503 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
38506 2013-02-21 Allan McRae <allan@archlinux.org>
38508 * manual/message.texi (Charset conversion in gettext):
38509 Move @end statement to beginning of line.
38511 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38513 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
38515 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38518 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
38519 (denorm): Likewise.
38520 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
38521 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
38523 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38525 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
38526 tail-call to the resolved function if pltexit isn't needed.
38528 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38530 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
38531 or Y being zero as being unlikely.
38532 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38535 2013-02-20 Carlos O'Donell <carlos@redhat.com>
38537 * manual/nss.texi (System Databases and Name Service Switch):
38538 Remove frobnicate @pxref.
38540 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
38542 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38543 __attribute__ ((unused)) to __attribute__ ((__unused__)).
38545 2013-02-20 Petr Machata <pmachata@redhat.com>
38547 * elf/elf.h (R_ARM_TARGET1): New macro.
38548 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
38549 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
38550 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
38551 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
38552 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
38553 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
38554 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
38555 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
38556 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
38557 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
38558 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
38559 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
38560 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
38561 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
38562 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
38563 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
38564 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
38565 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
38566 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
38567 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
38568 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
38569 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
38570 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
38571 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
38572 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
38573 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
38574 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
38575 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
38576 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
38577 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
38578 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
38579 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
38580 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
38581 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
38582 (R_ARM_THM_GOT_BREL12): Likewise.
38583 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
38584 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
38585 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
38586 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
38587 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
38588 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
38589 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
38590 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
38591 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
38593 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
38595 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38596 __attribute_used__ to __attribute__ ((unused)).
38598 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
38600 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
38602 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
38603 comment formatting.
38604 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
38606 2013-02-19 Joseph Myers <joseph@codesourcery.com>
38609 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
38611 (ENTER): Remove both macro definitions.
38613 (CHECK_BOUNDS_LOW): Likewise.
38614 (CHECK_BOUNDS_HIGH): Likewise.
38615 (CHECK_BOUNDS_BOTH): Likewise.
38616 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
38617 (RETURN_BOUNDED_POINTER): Likewise.
38618 (RETURN_NULL_BOUNDED_POINTER): Likewise.
38619 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
38620 (POP_ERRNO_LOCATION_RETURN): Likewise.
38621 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
38622 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38623 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
38625 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38626 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
38627 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
38628 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
38629 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
38630 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
38631 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
38632 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
38633 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
38634 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
38635 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
38636 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
38637 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38638 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
38640 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38641 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
38643 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38644 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
38645 * sysdeps/i386/i586/memset.S (memset): Likewise.
38646 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
38647 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38648 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
38650 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38651 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
38652 Change uses of L(2) to L(out).
38653 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
38654 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
38655 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
38656 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38657 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
38659 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38660 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
38662 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38663 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
38664 (RETURN): Do not use macro LEAVE.
38665 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
38666 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
38667 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
38668 * sysdeps/i386/i686/memset.S (memset): Likewise.
38669 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
38670 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
38671 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38672 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
38674 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38675 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
38676 L(1_2) and L(1_3) into L(1).
38677 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38678 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
38679 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38680 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
38681 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38682 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
38683 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
38684 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38685 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
38687 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
38688 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38689 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
38690 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
38691 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
38692 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38693 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
38694 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
38695 * sysdeps/i386/strcspn.S (strcspn): Likewise.
38696 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
38697 * sysdeps/i386/strrchr.S (strrchr): Likewise.
38698 * sysdeps/i386/strspn.S (strspn): Likewise.
38699 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
38701 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38702 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
38703 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38704 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
38705 L(1_3) into L(1_1).
38706 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
38707 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38708 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
38710 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38712 2013-02-19 Jakub Jelinek <jakub@redhat.com>
38714 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38717 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38719 * math/atest-exp.c (exp_mpn): Remove ROUND.
38720 * math/atest-exp2.c (exp_mpn): Likewise.
38721 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38723 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38724 * stdlib/tst-tls-atexit-lib.c: Likewise.
38725 * stdlib/tst-tls-atexit.c: Likewise.
38727 2013-02-18 Mike Frysinger <vapier@gentoo.org>
38729 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38730 and __attribute_alloc_size__.
38732 2013-02-18 Mike Frysinger <vapier@gentoo.org>
38734 * include/programs/xmalloc.h: Change __attribute_alloc_size to
38735 __attribute_alloc_size__.
38736 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
38737 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
38739 2013-02-18 Mike Frysinger <vapier@gentoo.org>
38741 * include/programs/xmalloc.h: New file.
38742 * catgets/gencat.c: Include it.
38743 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
38744 * elf/pldd.c: Likewise.
38745 * iconv/iconv_charmap.c: Likewise.
38746 * iconv/iconvconfig.c: Likewise.
38747 * iconv/strtab.c: Likewise.
38748 * locale/programs/locale.c: Likewise.
38749 * locale/programs/localedef.h: Likewise.
38750 * locale/programs/simple-hash.c: Likewise.
38751 * nscd/nscd.h: Likewise.
38752 * nss/makedb.c: Likewise.
38753 * sysdeps/generic/ldconfig.h: Likewise.
38755 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
38757 * Versions.def: Add GLIBC_2.18.
38758 * include/link.h (struct link_map): New member l_tls_dtor_count.
38759 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
38760 (__call_tls_dtors): Likewise.
38761 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
38762 __cxa_thread_atexit_impl.
38763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38771 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
38774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
38776 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38779 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
38780 (tests): Add test case tst-tls-atexit.
38781 (modules-names): Add shared library for tst-tls-atexit.
38782 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
38783 (GLIBC_PRIVATE): Add __call_tls_dtors.
38784 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
38786 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
38787 * stdlib/tst-tls-atexit.c: New test case.
38788 * stdlib/tst-tls-atexit-lib.c: New test case.
38790 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
38792 * elf/Versions (ld): Add _dl_find_dso_for_object.
38793 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
38794 * elf/dl-open.c (_dl_find_dso_for_object): New function.
38795 (dl_open_worker): Use _dl_find_dso_for_object.
38796 * elf/dl-sym.c (do_sym): Likewise.
38797 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
38799 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38801 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
38802 Syntactic changes only.
38803 (_dl_runtime_profile): Do a tail-call to the resolved function.
38805 2013-02-17 Joseph Myers <joseph@codesourcery.com>
38808 * sysdeps/x86_64/bp-asm.h: Remove file.
38809 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
38810 <bp-sym.h> and <bp-asm.h>.
38811 (__clone): Do not use BP_SYM.
38812 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
38813 <bp-sym.h> and <bp-asm.h>.
38814 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38815 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
38817 (_setjmp): Do not use BP_SYM.
38818 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
38820 (setjmp): Do not use BP_SYM.
38821 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
38823 (mempcpy): Do not use BP_SYM in weak_alias.
38824 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
38826 (strchr): Do not use BP_SYM.
38827 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
38829 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
38830 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
38831 (_start): Do not use BP_SYM.
38832 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
38834 (strcat): Do not use BP_SYM.
38835 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
38837 (STRCMP): Do not use BP_SYM.
38838 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
38840 (STRCPY): Do not use BP_SYM.
38841 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
38843 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
38845 (FUNCTION): Do not use BP_SYM.
38846 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
38848 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
38850 2013-02-17 Andreas Jaeger <aj@suse.de>
38852 * time/Versions: Sort entries.
38853 * string/Versions: Likewise.
38854 * resolv/Versions: Likewise.
38855 * posix/Versions: Likewise.
38856 * iconv/Versions: Likewise.
38857 * elf/Versions: Likewise.
38858 * wcsmbs/Versions: Likewise.
38860 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38862 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
38863 loop termination condition.
38865 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
38866 variable to calculate EZ.
38869 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
38870 the lower precision input.
38872 2013-02-15 Joseph Myers <joseph@codesourcery.com>
38875 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
38876 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
38877 (run-via-rtld-prefix): Do not handle %-bp tests.
38878 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
38879 (all-object-suffixes): Remove .ob.
38880 (bppfx): Remove variable.
38881 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
38882 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
38883 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
38884 [$(build-bounded) = yes] (libtype.ob): Likewise.
38885 * Makerules (elide-routines.ob): Remove variable.
38886 (do-tests-clean): Do not handle *-bp.out.
38887 (common-mostlyclean): Do not handle *-bp and *-bp.out.
38888 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
38889 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
38890 (tests): Do not include $(tests-bp.out).
38891 (xtests): Do not include $(xtests-bp.out).
38892 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
38893 [$(build-bounded) = yes] ($(addprefix
38894 $(objpfx),$(binaries-bounded))): Remove rule.
38895 ($(objpfx)%-bp.out): Remove rule.
38896 * config.make.in (build-bounded): Remove variable.
38897 * crypt/Makefile [$(build-bounded) = yes]
38898 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
38899 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
38900 append to variable.
38901 [$(build-bounded) = yes] (install-lib): Likewise.
38902 [$(build-bounded) = yes] (generated): Likewise.
38903 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
38905 * intl/Makefile [$(build-bounded) = yes]
38906 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
38907 * math/Makefile [$(build-bounded) = yes]
38908 ($(tests:%=$(objpfx)%-bp): Likewise.
38909 * misc/Makefile [$(build-bounded) = yes]
38910 ($(objpfx)tst-tsearch-bp): Likewise.
38911 * nptl/Makeconfig (bounded-thread-library): Remove variable.
38912 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
38914 * string/Makefile (o-objects.ob): Remove variable.
38915 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
38916 (CFLAGS-.ob): Remove variable.
38917 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
38918 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
38919 both definitions of variable.
38920 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
38921 (ASFLAGS-.ob): Remove variable.
38923 2013-02-14 Joseph Myers <joseph@codesourcery.com>
38926 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
38927 Remove __BOUNDED_POINTERS__ from condition.
38928 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
38929 * string/bits/string2.h [!__NO_STRING_INLINES &&
38930 !__BOUNDED_POINTERS__]: Likewise.
38931 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
38933 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
38934 Remove conditional code.
38935 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
38936 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
38937 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
38941 * csu/libc-start.c: Do not include <bp-sym.h>.
38942 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
38943 * elf/dl-open.c: Do not include <bp-sym.h>.
38944 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
38945 * math/fegetenv.c: Do not include <bp-sym.h>.
38946 (fegetenv): Do not use BP_SYM in versioned symbols.
38947 * nptl/sysdeps/pthread/bits/libc-lockP.h
38948 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
38950 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38951 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
38952 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38953 (__pthread_mutex_destroy): Likewise.
38954 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38955 (__pthread_mutex_lock): Likewise.
38956 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38957 (__pthread_mutex_trylock): Likewise.
38958 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38959 (__pthread_mutex_unlock): Likewise.
38960 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38961 (__pthread_mutexattr_init): Likewise.
38962 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38963 (__pthread_mutexattr_destroy): Likewise.
38964 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38965 (__pthread_mutexattr_settype): Likewise.
38966 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38967 (__pthread_rwlock_init): Likewise.
38968 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38969 (__pthread_rwlock_destroy): Likewise.
38970 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38971 (__pthread_rwlock_rdlock): Likewise.
38972 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38973 (__pthread_rwlock_tryrdlock): Likewise.
38974 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38975 (__pthread_rwlock_wrlock): Likewise.
38976 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38977 (__pthread_rwlock_trywrlock): Likewise.
38978 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38979 (__pthread_rwlock_unlock): Likewise.
38980 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38981 (__pthread_key_create): Likewise.
38982 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38983 (__pthread_setspecific): Likewise.
38984 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38985 (__pthread_getspecific): Likewise.
38986 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
38988 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38989 (_pthread_cleanup_push_defer): Likewise.
38990 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38991 (_pthread_cleanup_pop_restore): Likewise.
38992 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38993 (pthread_setcancelstate): Likewise.
38994 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
38996 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
38997 (memchr): Do not use BP_SYM in weak_alias.
38998 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
38999 (fegetenv): Do not use BP_SYM in versioned symbols.
39000 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
39001 (fesetenv): Do not use BP_SYM in versioned symbols.
39002 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39003 (feupdateenv): Do not use BP_SYM in versioned symbols.
39004 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39005 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39006 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
39007 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
39008 (open64): Do not use BP_SYM in weak_alias.
39009 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
39010 (fegetenv): Do not use BP_SYM in versioned symbols.
39011 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
39012 (fesetenv): Do not use BP_SYM in versioned symbols.
39013 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39014 (feupdateenv): Do not use BP_SYM in versioned symbols.
39015 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
39016 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
39017 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
39018 (feraiseexcept): Do not use BP_SYM in versioned symbols.
39019 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39020 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39021 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
39023 (__libc_start_main): Do not use BP_SYM.
39025 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
39027 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
39028 redundant return line.
39030 (denorm): Likewise.
39031 (dbl_mp): Likewise.
39032 (sub_magnitudes): Likewise.
39038 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
39040 (denorm): Likewise.
39041 (dbl_mp): Likewise.
39042 (sub_magnitudes): Likewise.
39049 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
39051 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39052 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
39055 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
39056 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
39057 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
39058 of __mul for squares.
39059 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
39061 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
39063 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
39064 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39066 2013-02-13 Joseph Myers <joseph@codesourcery.com>
39069 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
39071 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
39072 prototype or function definition. Rename ubp_* variables and
39073 parameters. Remove argv definitions conditional on
39074 [__BOUNDED_POINTERS__].
39075 * debug/backtrace.c (__backtrace): Do not use __unbounded.
39076 * elf/dl-runtime.c (_dl_fixup): Likewise.
39077 * include/set-hooks.h (RUN_HOOK): Likewise.
39078 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
39080 * string/strcpy.c (strcpy): Do not use __unbounded.
39081 * sysdeps/generic/frame.h (struct layout): Likewise.
39082 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
39083 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
39084 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
39085 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
39086 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
39087 (__backtrace): Likewise.
39088 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
39090 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
39091 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39092 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
39094 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
39095 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
39096 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39097 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39098 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
39099 Do not use __unbounded.
39100 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
39101 Rename __unboundedrlimits parameter to rlimits in prototype.
39102 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
39103 Do not use __unbounded.
39104 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
39105 not use __ptrvalue.
39106 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39107 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
39108 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39109 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
39110 __ptrvalue or __unbounded.
39111 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
39112 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
39114 (__new_msgctl): Do not use __ptrvalue.
39115 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
39117 (__libc_msgrcv): Do not use __ptrvalue.
39118 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
39119 startup_info): Do not use __unbounded.
39120 (__libc_start_main): Likewise. Rename ubp_* variables and
39121 parameters. Remove argv definitions conditional on
39122 [__BOUNDED_POINTERS__].
39123 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
39125 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
39127 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
39129 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
39131 (__new_shmctl): Do not use __ptrvalue.
39132 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
39133 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
39135 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
39136 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
39137 (__libc_sigaction): Likewise.
39138 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
39139 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
39141 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39143 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
39145 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
39147 * string/mempcpy.c: Implement by calling memcpy.
39149 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
39151 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
39153 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
39156 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
39157 values in the mantissa.
39159 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
39160 minimize writes to Z.
39161 (sub_magnitudes): Simplify code a bit.
39163 2013-02-12 Roland McGrath <roland@hack.frob.com>
39165 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
39166 from the message. The linker prefixes all warnings with that already.
39168 2013-02-12 Andreas Schwab <schwab@suse.de>
39171 * posix/regexec.c (extend_buffers): Add parameter min_len.
39172 (check_matching): Pass minimum needed length.
39173 (clean_state_log_if_needed): Likewise.
39174 (get_subexp): Likewise.
39175 * posix/Makefile (tests): Add bug-regex34.
39176 (bug-regex34-ENV): Define.
39177 * posix/bug-regex34.c: New file.
39180 * posix/regcomp.c (parse_bracket_exp): When looking up collating
39181 elements compare against the byte sequence of it, not its name.
39182 * posix/Makefile (tests): Add bug-regex35.
39183 (bug-regex35-ENV): Define.
39184 * posix/bug-regex35.c: New file.
39186 2013-02-11 Tom de Vries <tom@codesourcery.com>
39188 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
39190 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
39191 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
39192 (CHECK_EOL): Add undef.
39194 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
39196 * bits/stdlib-bsearch.h: New file.
39197 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
39198 * stdlib/stdlib.h: Likewise.
39200 2013-02-11 Roland McGrath <roland@hack.frob.com>
39202 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
39203 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
39205 * manual/search.texi (Array Search Function): Add missing const in
39207 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
39208 declaration to use rlim_t.
39209 (Basic Scheduling Functions): Remove erroneous const from
39210 sched_getparam prototype. Remove erroneous * from
39211 sched_get_priority_max and sched_get_priority_min prototypes.
39212 (Resource Usage): Fix summary @comment on vtimes to refer to
39213 sys/vtimes.h rather than vtimes.h.
39214 Add missing *s in vtimes prototype.
39215 (Limits on Resources): Fix ulimit prototype to return long int.
39216 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
39217 prototypes to use long int rather than double.
39218 (BSD Random): Fix initstate and setstate to use char *, not void *.
39219 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
39220 prototype to make second argument 'struct aiocb64 *const[]'.
39221 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
39222 (Status of AIO Operations): Remove erroneous const in aio_return and
39223 aio_return64 prototypes.
39224 (Synchronizing I/O): Fix sync prototype to return void.
39225 * manual/startup.texi (Suboptions): Remove an erroneous const in
39226 getsubopt prototype.
39227 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
39228 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
39229 use size_t rather than int.
39230 (Scanning All Users): Likewise for getpwent_r.
39231 (Setting Groups): Add missing const to setgroups prototype.
39232 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
39233 * manual/socket.texi (Host Names): Fix gethostbyaddr and
39234 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
39235 'const void *' rather than 'const char *'.
39236 (Host Address Functions): Likewise for inet_ntop.
39237 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
39238 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
39239 ssize_t for return value.
39240 (Sending Data): Likewise for send, sendto, sendmsg.
39241 (Socket Option Functions): Add a missing const in setsockopt prototype.
39242 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
39243 use wchar_t for the argument.
39244 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
39245 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
39247 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
39248 double/float/long double for second argument.
39249 Fix return types of significand, significandf, significandl.
39250 * manual/filesys.texi (Setting Permissions): Use mode_t for second
39251 argument in fchmod prototype.
39252 (File Owner): Use uid_t and gid_t in fchown prototype.
39253 (File Times): Add const to utimes, futimes, and lutimes prototypes.
39254 (Making Special Files): Use mode_t and dev_t in mknod prototype.
39255 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
39256 use 'const struct dirent **' as argument types to CMP function pointer
39258 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
39259 (File Times): Fix summary magic @comment for struct utimbuf and utime
39260 to refer to utime.h, not time.h.
39261 * manual/string.texi (Argz Functions): Add missing const in
39262 argz_extract and argz_next prototypes.
39263 (Finding Tokens in a String): Likewise for basename.
39264 (String/Array Comparison): Fix typo in wcscasecmp prototype.
39265 (Copying and Concatenation): Fix typo in wmemmove prototype.
39266 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
39267 (Signal Stack): Remove erroneous const in sigstack prototype.
39268 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
39270 (Simple Calendar Time): Likewise for stime.
39271 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
39273 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
39274 say sys/sysctl.h instead.
39275 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
39276 and vsyslog prototypes.
39278 2013-02-11 Tom de Vries <tom@codesourcery.com>
39280 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
39283 2013-02-11 Roland McGrath <roland@hack.frob.com>
39285 * misc/sys/mman.h: Fix typo in mremap comment.
39287 2013-02-08 Roland McGrath <roland@hack.frob.com>
39289 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
39290 the '\0' terminator.
39292 2013-02-08 Joseph Myers <joseph@codesourcery.com>
39295 * debug/segfault.c: Don't include <bp-checks.h>.
39296 * sysdeps/generic/bp-checks.h: Remove file.
39297 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
39298 (__GETDENTS): Don't use CHECK_N.
39299 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
39300 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
39301 (__getgroups): Don't use CHECK_N.
39302 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
39303 (setgroups): Don't use CHECK_N.
39304 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
39305 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
39306 (__libc_msgrcv): Don't use CHECK_N.
39307 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
39308 (__libc_msgsnd): Don't use CHECK_N.
39309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
39311 (__libc_pread): Don't use CHECK_N.
39312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
39313 include <bp-checks.h>.
39314 (__libc_pread64): Don't use CHECK_N.
39315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
39316 include <bp-checks.h>.
39317 (__libc_pwrite): Don't use CHECK_N.
39318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
39319 include <bp-checks.h>.
39320 (__libc_pwrite64): Don't use CHECK_N.
39321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
39323 (__libc_pread): Don't use CHECK_N.
39324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
39325 include <bp-checks.h>.
39326 (__libc_pread64): Don't use CHECK_N.
39327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
39328 include <bp-checks.h>.
39329 (__libc_pwrite): Don't use CHECK_N.
39330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
39331 include <bp-checks.h>.
39332 (__libc_pwrite64): Don't use CHECK_N.
39333 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
39334 (do_pread): Don't use CHECK_N.
39335 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
39336 (do_pread64): Don't use CHECK_N.
39337 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
39338 (do_pwrite): Don't use CHECK_N.
39339 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
39340 (do_pwrite64): Don't use CHECK_N.
39341 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
39342 (__libc_readv): Don't use CHECK_N.
39343 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
39344 (semop): Don't use CHECK_N.
39345 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
39347 (semtimedop): Don't use CHECK_N.
39348 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
39349 (__libc_pread): Don't use CHECK_N.
39350 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
39352 (__libc_pread64): Don't use CHECK_N.
39353 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
39355 (__libc_pwrite): Don't use CHECK_N.
39356 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
39358 (__libc_pwrite64): Don't use CHECK_N.
39359 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
39361 (__libc_msgrcv): Don't use CHECK_N.
39362 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
39363 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
39364 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
39365 (__libc_writev): Don't use CHECK_N.
39367 2013-02-08 Roland McGrath <roland@hack.frob.com>
39369 * string/strcpy.c: Removed unused variable.
39371 * Makeconfig (+sysdep-includes): Define with := rather than =.
39372 Use an existing include/ subdir of each sysdeps dir before it.
39374 2013-02-08 Carlos O'Donell <carlos@redhat.com>
39376 * nscd/connection.c (register_traced_file): Comment function.
39377 [HAVE_INOTIFY] (union __inev): Define.
39378 [HAVE_INOTIFY] (inotify_check_files): New function.
39379 [HAVE_INOTIFY] (clear_db_cache): Likewise.
39380 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
39382 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
39384 2013-02-08 Carlos O'Donell <carlos@redhat.com>
39386 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
39387 loaded if not already and that a failure is permanent.
39389 2013-02-08 Carlos O'Donell <carlos@redhat.com>
39392 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
39393 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
39395 2013-02-08 Joseph Myers <joseph@codesourcery.com>
39398 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
39399 (CHECK_1_NULL_OK): Likewise.
39400 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
39401 (__fxstat): Do not use CHECK_1.
39402 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
39404 (___fxstat64): Do not use CHECK_1.
39405 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39407 (__fxstatat): Do not use CHECK_1.
39408 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39410 (__fxstatat64): Do not use CHECK_1.
39411 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
39413 (__fxstat): Do not use CHECK_1.
39414 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39416 (__fxstatat): Do not use CHECK_1.
39417 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39419 (__getresgid): Do not use CHECK_1.
39420 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39422 (__getresuid): Do not use CHECK_1.
39423 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
39425 (__lxstat): Do not use CHECK_1.
39426 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39428 (__old_msgctl): Do not use CHECK_1.
39429 (__new_msgctl): Likewise.
39430 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
39432 (__new_setrlimit): Do not use CHECK_1.
39433 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39435 (__old_shmctl): Do not use CHECK_1.
39436 (__new_shmctl): Likewise.
39437 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
39439 (__xstat): Do not use CHECK_1.
39440 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
39441 (__lxstat): Do not use CHECK_1.
39442 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
39444 (___lxstat64): Do not use CHECK_1.
39445 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
39446 (__old_msgctl): Do not use CHECK_1.
39447 (__new_msgctl): Likewise.
39448 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
39450 (__gettimeofday): Do not use CHECK_1.
39451 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
39452 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
39453 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
39455 (__gettimeofday): Do not use CHECK_1.
39456 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
39457 (__old_shmctl): Do not use CHECK_1_NULL_OK.
39458 (__new_shmctl): Do not use CHECK_1.
39459 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
39461 (do_sigtimedwait): Do not use CHECK_1.
39462 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
39464 (do_sigwaitinfo): Do not use CHECK_1.
39465 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
39467 (msgctl): Do not use CHECK_1.
39468 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
39470 (shmctl): Do not use CHECK_1.
39471 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
39472 (ustat): Do not use CHECK_1.
39473 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
39475 (__fxstat): Do not use CHECK_1.
39476 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39478 (__fxstatat): Do not use CHECK_1.
39479 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
39481 (__lxstat): Do not use CHECK_1.
39482 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
39484 (__xstat): Do not use CHECK_1.
39485 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
39486 (__xstat): Do not use CHECK_1.
39487 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
39488 (___xstat64): Do not use CHECK_1.
39491 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
39493 (CHECK_BOUNDS_HIGH): Likewise.
39494 * string/strcpy.c: Do not include <bp-checks.h>.
39495 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
39497 2013-02-07 Roland McGrath <roland@hack.frob.com>
39499 * nscd/nscd-client.h (__nscd_drop_map_ref):
39500 Add __attribute__ ((unused)).
39501 * nis/nss-nisplus.h (niserr2nss): Likewise.
39503 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
39504 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
39506 * csu/libc-tls.c (init_static_tls, init_slotinfo):
39507 Remove inline keyword.
39508 * include/rounding-mode.h (round_away): Likewise.
39509 * libio/wfileops.c (adjust_wide_data): Likewise.
39510 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
39511 (__m128i_strloadu_tolower): Likewise.
39512 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
39513 (__m128i_strloadu_tolower): Likewise.
39514 * time/mktime.c (ydhms_diff): Likewise.
39515 * locale/elem-hash.h (elem_hash): Likewise.
39516 * locale/setlocale.c (setdata): Likewise.
39517 * posix/regex_internal.h (re_string_char_size_at): Likewise.
39518 (re_string_wchar_at): Likewise.
39519 (bitset_not, bitset_merge, bitset_mask): Likewise.
39520 [!(__GNUC__ > 3)] (inline): Remove macro.
39521 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
39522 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
39523 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
39524 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
39525 * string/memcmp.c (memcmp_bytes): Likewise.
39526 * locale/programs/locarchive.c (compute_hashval): Likewise.
39527 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
39528 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
39529 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
39530 * nss/getent.c (print_rpc, print_protocols): Likewise.
39531 (print_passwd, print_group, print_aliases): Likewise.
39532 * nis/nss-nisplus.h (niserr2nss): Likewise.
39533 * nscd/connections.c (restart_p): Likewise.
39534 Change return type to bool.
39536 2013-02-05 Roland McGrath <roland@hack.frob.com>
39538 * Makeconfig (all-Depend-files): Add existing
39539 $(sorted-subdirs:=/Depend) files.
39540 (all-subdirs): Remove nss.
39541 * sysdeps/unix/inet/Subdirs: Add it here instead.
39542 * hesiod/Depend: New file.
39544 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
39545 instead of calling alloca.
39547 * io/lseek.c (__lseek): Rename to __libc_lseek.
39548 Define __lseek as an alias.
39550 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
39552 2013-02-04 Carlos O'Donell <carlos@redhat.com>
39554 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
39555 else clause and remove check for non-standard endianness.
39557 2013-02-04 David S. Miller <davem@davemloft.net>
39559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39561 2013-02-04 Joseph Myers <joseph@codesourcery.com>
39564 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
39565 (__ubp_memchr): Remove prototype.
39566 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
39567 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39568 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
39569 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39570 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
39572 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
39573 (__ubp_memchr): Likewise.
39574 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
39575 (__ubp_memchr): Likewise.
39576 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
39577 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
39578 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
39579 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
39581 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39582 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
39583 (__getcwd): Do not use CHECK_STRING.
39584 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39586 (__real_chown): Do not use CHECK_STRING.
39587 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
39589 (fchownat): Do not use CHECK_STRING.
39590 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
39592 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39594 (__lchown): Do not use CHECK_STRING.
39595 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39596 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39597 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39598 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
39599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39600 include <bp-checks.h>.
39601 (truncate64): Do not use CHECK_STRING.
39602 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39604 (__real_chown): Do not use CHECK_STRING.
39605 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39607 (__lchown): Do not use CHECK_STRING.
39608 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39610 (__chown): Do not use CHECK_STRING.
39611 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
39613 (truncate64): Do not use CHECK_STRING.
39614 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
39616 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
39617 (__xmknod): Do not use CHECK_STRING.
39618 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39620 (__xmknodat): Do not use CHECK_STRING.
39621 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39622 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
39624 2013-02-04 Andreas Schwab <schwab@suse.de>
39627 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
39628 * include/netdb.h: Likewise for h_errno.
39629 * elf/tst-stackguard1.c: Include <tls.h>.
39631 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
39633 * elf/link.h (struct link_map): Extend the l_addr comment.
39634 * include/link.h (struct link_map): Likewise.
39636 2013-02-01 Joseph Myers <joseph@codesourcery.com>
39639 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
39640 (BOUNDED_1): Remove macro.
39641 * debug/backtrace.c: Don't include <bp-checks.h>.
39642 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
39643 (__backtrace): Likewise.
39644 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
39646 (__backtrace): Don't use BOUNDED_1.
39647 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
39649 (__backtrace): Don't use BOUNDED_1.
39650 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
39651 (__backtrace): Don't use BOUNDED_1.
39652 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
39653 (shmat): Don't use BOUNDED_N.
39655 2013-01-31 Joseph Myers <joseph@codesourcery.com>
39658 * sysdeps/generic/bp-start.h: Remove file.
39659 * csu/libc-start.c: Don't include <bp-start.h>.
39660 (LIBC_START_MAIN): Set up __environ directly instead of using
39661 INIT_ARGV_and_ENVIRON.
39662 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
39666 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
39668 (CHECK_FCNTL): Likewise.
39669 (CHECK_N_PAGES): Likewise.
39672 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
39674 (CHECK_SIGSET_NULL_OK): Likewise.
39675 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
39677 (sigpending): Don't use CHECK_SIGSET.
39678 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
39680 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39681 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
39683 (do_sigsuspend): Don't use CHECK_SIGSET.
39684 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
39686 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
39687 (do_sigwait): Don't use CHECK_SIGSET.
39688 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
39690 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
39691 include <bp-checks.h>.
39692 (sigpending): Don't use CHECK_SIGSET.
39693 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
39694 include <bp-checks.h>.
39695 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39696 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
39698 (sigpending): Don't use CHECK_SIGSET.
39699 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
39701 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39704 * sysdeps/generic/bp-semctl.h: Remove file.
39705 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
39706 <bp-checks.h> and <bp-semctl.h>.
39707 (__old_semctl): Don't use CHECK_SEMCTL.
39708 (__new_semctl): Likewise.
39709 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
39711 (__old_semctl): Don't use CHECK_SEMCTL.
39712 (__new_semctl): Likewise.
39713 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39714 <bp-checks.h> and <bp-semctl.h>.
39715 (__old_semctl): Don't use CHECK_SEMCTL.
39716 (__new_semctl): Likewise.
39717 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39718 <bp-checks.h> and <bp-semctl.h>.
39719 (semctl): Don't use CHECK_SEMCTL.
39722 * Makerules (elide-bp-thunks): Remove variable.
39723 (elide-routines.oS): Don't use $(elide-bp-thunks).
39724 (elide-routines.os): Likewise.
39725 (elide-routines.o): Likewise.
39726 (elide-routines.op): Likewise.
39727 (elide-routines.og): Likewise.
39728 (objects): Don't use $(bp-thunks).
39729 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39731 (common-generated): Do not add s-proto-bp.d.
39732 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
39735 Do not generate makefile rules for bounded-pointer thunks.
39736 * sysdeps/generic/bp-thunks.h: Remove file.
39737 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
39738 * sysdeps/unix/s-proto-bp.S: Likewise.
39741 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
39742 parts of result separately when argument is not close to line from
39743 -i to i and one part of argument is small.
39744 * math/k_casinhf.c (__kernel_casinhf): Likewise.
39745 * math/k_casinhl.c (__kernel_casinhl): Likewise.
39746 * math/libm-test.inc (cacos_test): Add more tests.
39747 (casin_test): Likewise.
39748 (casinh_test): Likewise.
39749 * sysdeps/i386/fpu/libm-test-ulps: Update.
39750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39752 2013-01-31 David S. Miller <davem@davemloft.net>
39754 * po/de.po: Update from translation team.
39756 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
39758 * time/tzfile.c: Include stdint.h for SIZE_MAX.
39760 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
39762 * configure.in (_AC_PROG_CC_C89): New definition.
39763 * configure: Regenerate.
39765 * configure.in (AC_PROG_CPP): New definition.
39766 * configure: Regenerate.
39768 2013-01-23 Joseph Myers <joseph@codesourcery.com>
39770 * debug/tst-backtrace.h: New file.
39771 * debug/tst-backtrace2.c: Include tst-backtrace.h.
39772 (ret): Remove variable.
39774 (FAIL): Remove macro.
39775 (NO_INLINE): Likewise.
39776 (fn1): Use match function instead of strstr.
39777 * debug/tst-backtrace3.c: Include tst-backtrace.h.
39778 (ret): Remove variable.
39780 (FAIL): Remove macro.
39781 (NO_INLINE): Likewise.
39782 (fn): Use match function instead of strstr.
39783 * debug/tst-backtrace4.c: Include tst-backtrace.h.
39784 (ret): Remove variable.
39786 (FAIL): Remove macro.
39787 (NO_INLINE): Likewise.
39788 (handle_signal): Use match function instead of strstr.
39789 * debug/tst-backtrace5.c: Include tst-backtrace.h.
39790 (ret): Remove variable.
39792 (FAIL): Remove macro.
39793 (NO_INLINE): Likewise.
39794 (handle_signal): Use match function instead of strstr.
39796 2013-01-23 Roland McGrath <roland@hack.frob.com>
39798 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
39800 2013-01-23 David S. Miller <davem@davemloft.net>
39802 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
39803 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
39804 argument of CAS if possible.
39805 * sysdeps/sparc/sparc64/bits/atomic.h
39806 (__arch_compare_and_exchange_val_32_acq): Likewise.
39807 (__arch_compare_and_exchange_val_64_acq): Likewise.
39809 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
39811 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
39812 * sysdeps/posix/ulimit.c: ... this.
39813 Include <limits.h>.
39814 * sysdeps/unix/bsd/ulimit.c: Remove file.
39816 2013-01-23 Adam Conrad <adconrad@0c3.net>
39818 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
39819 (LDFLAGS-tst-array5): Likewise.
39821 2013-01-23 Joseph Myers <joseph@codesourcery.com>
39824 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
39825 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
39826 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
39827 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
39829 2013-01-21 David S. Miller <davem@davemloft.net>
39831 * sysdeps/sparc/backtrace.c: New file.
39832 * sysdeps/sparc/sparc32/backtrace.h: New file.
39833 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
39834 * sysdeps/sparc/sparc64/backtrace.h: New file.
39835 * sysdeps/sparc/sparc64/backtrace.c: Delete.
39836 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
39839 2013-01-21 Andreas Schwab <schwab@suse.de>
39842 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
39845 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
39847 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
39849 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39851 2013-01-18 Joseph Myers <joseph@codesourcery.com>
39852 Mark Mitchell <mark@codesourcery.com>
39853 Tom de Vries <tom@codesourcery.com>
39854 Paul Pluzhnikov <ppluzhnikov@google.com>
39856 * debug/tst-backtrace2.c: New file.
39857 * debug/tst-backtrace3.c: Likewise.
39858 * debug/tst-backtrace4.c: Likewise.
39859 * debug/tst-backtrace5.c: Likewise.
39860 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
39861 (CFLAGS-tst-backtrace3.c): Likewise.
39862 (CFLAGS-tst-backtrace4.c): Likewise.
39863 (CFLAGS-tst-backtrace5.c): Likewise.
39864 (LDFLAGS-tst-backtrace2): Likewise.
39865 (LDFLAGS-tst-backtrace3): Likewise.
39866 (LDFLAGS-tst-backtrace4): Likewise.
39867 (LDFLAGS-tst-backtrace5): Likewise.
39868 (tests): Add new tests tst-backtrace2, tst-backtrace3,
39869 tst-backtrace4 and tst-backtrace5.
39871 2013-01-18 Anton Blanchard <anton@samba.org>
39872 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
39874 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
39875 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
39876 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
39877 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
39878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39879 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
39880 "+r" and remove output regs list as redundant. Add explicit inline
39881 asm to specify register of return val to work around compiler codegen
39882 bug. Remove (int) cast on return value. Add return type parameter to
39883 use in macro so that this macro does not truncate return value for
39885 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
39886 pass to INTERNAL_VSYSCALL_NCS.
39887 (INLINE_VSYSCALL): Add 'long int' as return type to
39888 INTERNAL_VSYSCALL_NCS macro invocation.
39889 (INTERNAL_VSYSCALL): Add 'long int' as return type to
39890 INTERNAL_VSYSCALL_NCS macro invocation.
39891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39893 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39896 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
39897 Fix application of SIMD FP exception mask.
39899 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
39900 mp_no from a power of two.
39901 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
39902 __mpexp_twomm1. Use __pow_mp.
39904 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
39907 2013-01-17 David S. Miller <davem@davemloft.net>
39909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39911 2013-01-17 Joseph Myers <joseph@codesourcery.com>
39914 * include/complex.h: Condition contents on [!_COMPLEX_H].
39915 (__kernel_casinhf): New prototype.
39916 (__kernel_casinh): Likewise.
39917 (__kernel_casinhl): Likewise.
39918 * math/Makefile (libm_calls): Add k_casinh.
39919 * math/k_casinh.c: New file.
39920 * math/k_casinhf.c: Likewise.
39921 * math/k_casinhl.c: Likewise.
39922 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
39923 finite nonzero arguments.
39924 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
39925 finite nonzero arguments.
39926 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
39927 finite nonzero arguments.
39928 * math/s_casinh.c: Do not include <float.h>.
39929 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
39930 * math/s_casinhf.c: Do not include <float.h>.
39931 (__casinhf): Move code for finite nonzero arguments to
39933 * math/s_casinhl.c: Do not include <float.h>.
39934 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
39936 (__casinhl): Move code for finite nonzero arguments to
39938 * math/libm-test.inc (cacos_test): Add more tests.
39939 * sysdeps/i386/fpu/libm-test-ulps: Update.
39940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39942 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
39944 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
39945 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
39946 [!HAVE_MREMAP]: Remove [defined linux] case.
39947 * malloc/arena.c: Do not include <malloc-sysdep.h>.
39949 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
39951 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
39953 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
39955 * elf/elf.h (R_386_SIZE32): New relocation.
39956 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
39958 (elf_machine_rela): Likewise.
39959 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39960 R_X86_64_SIZE64 and R_X86_64_SIZE32.
39962 2013-01-17 Joseph Myers <joseph@codesourcery.com>
39964 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
39965 (FP_FAST_FMA): Do not define.
39966 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
39967 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
39968 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
39969 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
39970 !_SOFT_FLOAT]: Likewise.
39971 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
39972 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
39974 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
39975 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
39976 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
39977 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
39978 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
39979 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
39982 2013-01-16 Andreas Schwab <schwab@suse.de>
39985 * include/stdlib.h (__mktemp): Add declaration.
39986 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
39987 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
39989 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39991 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
39993 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39994 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
39995 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
39997 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
39998 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
40000 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
40002 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
40003 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
40004 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
40006 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
40007 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
40009 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40011 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
40013 2013-01-15 David S. Miller <davem@davemloft.net>
40015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40016 trunc{,f} to libm-sysdep_routes.
40017 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
40020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
40021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
40023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
40025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
40026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
40027 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
40028 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
40029 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
40030 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
40031 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
40032 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
40034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40035 nearbyint{,f} to libm-sysdep_routes.
40036 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
40039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
40041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
40043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
40045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
40046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
40047 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
40049 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
40050 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
40052 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
40053 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
40054 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
40056 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40057 libc_feholdexcept and libc_fesetenv.
40059 2013-01-15 Mike Frysinger <vapier@gentoo.org>
40061 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
40063 2013-01-14 David S. Miller <davem@davemloft.net>
40065 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
40066 (SPARC_ASM_VIS2_IFUNC): Likewise.
40067 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
40068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
40069 use of 'siam' instruction.
40070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
40072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
40074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
40076 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
40077 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
40078 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
40079 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
40080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
40082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
40084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
40086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
40088 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
40089 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
40090 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
40091 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
40092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
40094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40098 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40099 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40100 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40101 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
40103 routines to libm-sysdep_routines.
40104 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40107 fdim/fdimf to libm-sysdep_routines.
40108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
40110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
40111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
40113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
40114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
40115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
40116 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
40117 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
40118 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
40119 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
40121 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40123 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
40124 to optimize copies.
40126 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
40127 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40128 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40130 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
40131 local variable MPTWO.
40132 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40135 2013-01-13 Mike Frysinger <vapier@gentoo.org>
40137 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
40140 2013-01-13 Mike Frysinger <vapier@gentoo.org>
40142 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
40144 2013-01-13 Mike Frysinger <vapier@gentoo.org>
40146 * manual/pattern.texi (glob_t): Document gl_flags.
40147 (glob64_t): Likewise.
40149 2013-01-11 David S. Miller <davem@davemloft.net>
40151 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
40152 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
40153 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
40154 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
40155 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
40156 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
40157 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
40158 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
40159 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
40160 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
40161 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
40162 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
40163 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
40165 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40166 sparc V9 rather than using V8 code.
40167 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40168 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40170 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40172 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
40175 2013-01-11 Roland McGrath <roland@hack.frob.com>
40177 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
40178 not in the main loop.
40179 * configure: Regenerated.
40181 2013-01-11 Joseph Myers <joseph@codesourcery.com>
40183 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
40184 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
40186 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
40187 [!__GLIBC_HAVE_LONG_LONG] case.
40188 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
40189 condition to just #else.
40190 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
40191 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
40192 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
40193 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
40195 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
40196 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40197 #elif condition to just #else.
40198 * sysdeps/unix/sysv/linux/sys/sysmacros.h
40199 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
40200 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
40201 #elif condition to just #else.
40203 2013-01-11 Steve Ellcey <sellcey@mips.com>
40205 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
40206 (EF_MIPS_ARCH_64): Fix value.
40207 (EF_MIPS_ARCH_32R2): New.
40208 (EF_MIPS_ARCH_64R2): New.
40210 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
40212 * Makeconfig (+link-pie-before-libc): New.
40213 (+link-pie-after-libc): Likewise.
40214 (+link-pie-tests): Likewise.
40215 (+link-pie): Rewritten.
40216 (link-before-libc): Remove $(config-LDFLAGS).
40217 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
40218 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
40219 (config-LDFLAGS): Renamed to ...
40220 (rtld-LDFLAGS): This.
40221 (rtld-tests-LDFLAGS): New macro.
40222 (link-libc-rpath-link): Likewise.
40223 (link-libc-tests-rpath-link): Likewise.
40224 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
40225 (link-libc): Prepand $(link-libc-rpath-link).
40226 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
40227 (test-program-prefix): New macro.
40228 (test-via-rtld-prefix): Likewise.
40229 (test-program-cmd): Likewise.
40230 (host-test-program-cmd): Likewise.
40231 * Makefile ($(common-objpfx)testrun.sh): Replace
40232 $(run-program-prefix) with $(test-program-prefix).
40233 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
40235 ($(common-objpfx)shlib.lds): Likewise.
40236 (build-module-helper): Likewise.
40237 ($(common-objpfx)format.lds): Likewise.
40238 * Rules (binaries-pie-tests): New.
40239 (binaries-pie-notests): Likewise.
40240 (binaries-pie): Rewritten.
40241 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
40242 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
40243 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
40244 (make-test-out): Replace $(host-built-program-cmd) with
40245 $(host-test-program-cmd).
40246 * config.make.in (build-hardcoded-path-in-tests): New variable.
40247 * configure.in (--enable-hardcoded-path-in-tests): New configure
40249 (hardcoded_path_in_tests): New AC_SUBST.
40250 * configure: Regenerated.
40251 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
40252 $(built-program-cmd) with $(test-program-cmd).
40253 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
40254 (test_program_cmd): This.
40255 * elf/Makefile ($(objpfx)order.out): Run test with
40256 $(test-program-prefix).
40257 ($(objpfx)order2.out): Likewise.
40258 ($(objpfx)tst-initorder.out): Likewise.
40259 ($(objpfx)tst-initorder2.out): Likewise.
40260 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
40261 $(test-program-cmd).
40262 ($(objpfx)tst-array1-static.out): Likewise.
40263 ($(objpfx)tst-array2.out): Likewise.
40264 ($(objpfx)tst-array3.out): Likewise.
40265 ($(objpfx)tst-array4.out): Likewise.
40266 ($(objpfx)tst-array5.out): Likewise.
40267 ($(objpfx)tst-array5-static.out): Likewise.
40268 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
40269 $(test-program-cmd).
40270 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
40271 $(run-program-prefix) with $(test-program-prefix).
40272 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
40273 (test_program_prefix): This.
40274 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
40275 $(run-program-prefix) with $(test-program-prefix).
40276 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
40277 (test_program_prefix): This.
40278 * iconvdata/tst-tables.sh: Likewise.
40279 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
40280 $(run-program-prefix) with $(test-program-prefix).
40281 ($(objpfx)tst-translit.out): Likewise.
40282 ($(objpfx)tst-gettext2.out): Likewise.
40283 ($(objpfx)tst-gettext4.out): Likewise.
40284 ($(objpfx)tst-gettext6.out): Likewise.
40285 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
40286 (test_program_prefix): This.
40287 * intl/tst-gettext2.sh: Likewise.
40288 * intl/tst-gettext4.sh Likewise.
40289 * intl/tst-gettext6.sh: Likewise.
40290 * intl/tst-translit.sh: Likewise.
40291 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
40292 with $(test-program-cmd).
40293 * libio/Makefile ($(objpfx)test-freopen.out): Replace
40294 $(run-program-prefix) with $(test-program-prefix).
40295 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
40296 (test_program_prefix): This.
40297 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
40298 $(run-program-prefix) with $(test-program-prefix).
40299 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
40300 (test_program_prefix): This.
40301 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
40302 * posix/Makefile ($(objpfx)globtest.out): Replace
40303 $(run-via-rtld-prefix) and $(test-wrapper) with
40304 $(test-program-prefix) and $(test-via-rtld-prefix).
40305 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
40306 $(test-program-prefix).
40307 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
40308 $(host-test-program-cmd).
40309 (tst-spawn-ARGS): Likewise.
40310 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
40311 $(test-program-prefix).
40312 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
40313 (test_via_rtld_prefix): This.
40314 (test_wrapper): Renamed to ...
40315 (test_program_prefix): This.
40316 (run_program_prefix): Replaced by test_program_prefix.
40317 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
40318 (test_program_prefix): This.
40319 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
40320 with $(host-test-program-cmd).
40321 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
40322 $(run-program-prefix) with $(test-program-prefix).
40323 ($(objpfx)tst-printf.out): Likewise.
40324 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
40325 $(test-program-cmd).
40326 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
40327 (test_program_prefix): This.
40328 * stdio-common/tst-unbputc.sh: Likewise.
40329 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
40330 $(run-program-prefix) with $(test-program-prefix).
40331 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
40332 (test_program_prefix): This.
40333 * string/Makefile ($(objpfx)tst-svc.out): Replace
40334 $(built-program-cmd) with $(test-program-cmd).
40336 2013-01-11 Andreas Jaeger <aj@suse.de>
40339 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
40340 value. Sync with Linux 3.7.
40342 2013-01-10 David S. Miller <davem@davemloft.net>
40344 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
40345 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40346 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40348 2013-01-10 Roland McGrath <roland@hack.frob.com>
40350 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
40352 * configure: Regenerated.
40354 2013-01-10 David S. Miller <davem@davemloft.net>
40356 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40357 sparc V9 rather than using V8 code.
40358 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40359 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40361 2013-01-10 Roland McGrath <roland@hack.frob.com>
40363 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
40364 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
40365 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
40366 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
40367 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
40368 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
40369 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
40370 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
40371 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
40372 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
40373 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
40374 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
40375 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
40376 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
40377 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
40378 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
40379 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
40380 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
40381 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
40382 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
40383 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
40384 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
40385 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
40386 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
40387 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
40388 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
40389 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
40391 2013-01-10 David S. Miller <davem@davemloft.net>
40393 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40395 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
40397 * posix/Makefile (tests-static): New variable.
40398 (tests): Add $(tests-static).
40399 (tst-exec-static-ARGS): New variable.
40400 (tst-spawn-static-ARGS): Likewise.
40401 * posix/tst-exec-static.c: New file.
40402 * posix/tst-spawn-static.c: Likewise.
40403 * posix/tst-exec.c: Support run directly.
40404 * posix/tst-spawn.c: Likewise.
40406 2013-01-10 Joseph Myers <joseph@codesourcery.com>
40408 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
40410 * math/bits/mathcalls.h (llrint): Likewise.
40411 (llround): Likewise.
40412 * stdlib/stdlib.h (struct drand48_data): Likewise.
40413 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
40414 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
40415 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
40417 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
40419 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
40420 (elf_greg_t): Likewise.
40421 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
40422 (__jmp_buf): Likewise.
40423 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
40425 (llrint): Likewise, for all definitions.
40426 (llrintl): Likewise.
40428 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
40429 Remove [__GNUC__] condition.
40430 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
40431 condition to just [__USE_ISOC99].
40432 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
40434 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
40437 * sysdeps/unix/sysv/linux/x86/bits/environments.h
40438 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
40440 (_POSIX_V6_ILP32_OFF32): Likewise.
40441 (_XBS5_ILP32_OFF32): Likewise.
40442 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
40443 (__ILP32_OFFBIG_LDFLAGS): Likewise.
40445 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40447 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
40449 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
40450 doubles __mpexp_twomm1. Adjust usage.
40451 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
40454 2013-01-10 Andreas Schwab <schwab@suse.de>
40457 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
40458 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
40460 2013-01-09 David S. Miller <davem@davemloft.net>
40463 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
40464 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
40465 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
40466 (TCP_FASTOPEN): Define.
40467 (tcp_repair_opt): New structure.
40468 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
40470 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
40471 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
40472 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
40473 (tcp_cookie_transactions): New structure.
40475 2013-01-09 Anton Blanchard <anton@samba.org>
40477 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
40478 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
40479 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
40480 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
40482 2013-01-09 Joseph Myers <joseph@codesourcery.com>
40484 * include/features.h (__USE_ANSI): Remove.
40486 2013-01-09 Roland McGrath <roland@hack.frob.com>
40488 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
40490 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
40492 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
40494 * sysdeps/s390/fpu/libm-test-ulps: Update.
40496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40498 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
40502 (denorm): Likewise.
40503 (__mp_dbl): Likewise.
40504 (__dbl_mp): Likewise.
40505 (add_magnitudes): Likewise.
40506 (sub_magnitudes): Likewise.
40512 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
40516 (denorm): Likewise.
40517 (__mp_dbl): Likewise.
40518 (__dbl_mp): Likewise.
40519 (add_magnitudes): Likewise.
40520 (sub_magnitudes): Likewise.
40526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
40530 (denorm): Likewise.
40531 (__mp_dbl): Likewise.
40532 (__dbl_mp): Likewise.
40533 (add_magnitudes): Likewise.
40534 (sub_magnitudes): Likewise.
40541 2013-01-08 Joseph Myers <joseph@codesourcery.com>
40543 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
40544 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
40545 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
40546 2 && __USE_EXTERN_INLINES]: Likewise.
40548 2013-01-08 Andreas Jaeger <aj@suse.de>
40551 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
40553 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40554 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40556 2013-01-07 Anton Blanchard <anton@samba.org>
40558 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
40559 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40560 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
40561 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40562 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40563 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40564 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
40565 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40566 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40567 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40568 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40569 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40570 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40571 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40572 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40573 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40574 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40575 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40576 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40577 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40578 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40579 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
40580 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40581 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40582 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
40583 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40584 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40585 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40586 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
40587 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40588 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40589 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40590 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40591 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40592 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40593 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40594 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40595 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40596 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
40597 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40598 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
40599 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40600 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40602 2013-01-07 Joseph Myers <joseph@codesourcery.com>
40604 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
40605 (__MALLOC_PMT): Likewise.
40606 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
40607 [__GNUC__], only on [_LIBC].
40608 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40609 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
40610 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40611 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
40612 forward declaration.
40613 (realloc_hook_ini): Likewise.
40614 (memalign_hook_ini): Likewise.
40615 (__libc_memalign): Do not use __MALLOC_PMT in variable
40617 (__libc_valloc): Likewise.
40618 (__libc_pvalloc): Likewise.
40619 (__libc_calloc): Likewise.
40620 (__posix_memalign): Likewise.
40623 * math/s_casinh.c: Include <float.h>.
40624 (__casinh): Do not do computation with squaring and square root
40625 for large arguments.
40626 * math/s_casinhf.c: Include <float.h>.
40627 (__casinhf): Do not do computation with squaring and square root
40628 for large arguments.
40629 * math/s_casinhl.c: Include <float.h>.
40630 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
40631 (__casinhl): Do not do computation with squaring and square root
40632 for large arguments.
40633 * math/libm-test.inc (casin_test): Add more tests.
40634 (casinh_test): Likewise.
40635 * sysdeps/i386/fpu/libm-test-ulps: Update.
40636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40638 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
40640 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40641 (__x86_64_raw_data_cache_size): Likewise.
40642 (__x86_64_data_cache_size_half): Likewise.
40643 (__x86_64_raw_data_cache_size_half): Likewise.
40644 (__x86_64_shared_cache_size): Likewise.
40645 (__x86_64_raw_shared_cache_size): Likewise.
40646 (__x86_64_shared_cache_size_half): Likewise.
40647 (__x86_64_raw_shared_cache_size_half): Likewise.
40648 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
40650 (__x86_data_cache_size): This.
40651 (__x86_64_raw_data_cache_size): Renamed to ...
40652 (__x86_raw_data_cache_size): This.
40653 (__x86_64_data_cache_size_half): Renamed to ...
40654 (__x86_data_cache_size_half): This.
40655 (__x86_64_raw_data_cache_size_half): Renamed to ...
40656 (__x86_raw_data_cache_size_half): This.
40657 (__x86_64_shared_cache_size): Renamed to ...
40658 (__x86_shared_cache_size): This.
40659 (__x86_64_raw_shared_cache_size): Renamed to ...
40660 (__x86_raw_shared_cache_size): This.
40661 (__x86_64_shared_cache_size_half): Renamed to ...
40662 (__x86_shared_cache_size_half): This.
40663 (__x86_64_raw_shared_cache_size_half): Renamed to ...
40664 (__x86_raw_shared_cache_size_half): This.
40665 * sysdeps/x86_64/memcpy.S: Updated.
40666 * sysdeps/x86_64/memset.S: Likewise.
40667 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40668 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40669 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40671 2013-01-04 David S. Miller <davem@davemloft.net>
40673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40675 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
40677 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
40678 1 to avoid redefinition warning.
40679 (__USE_GNU): Don't define.
40680 (init_signaling_nan): Protoize.
40682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40684 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40686 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
40687 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
40688 (__cpymn): Likewise.
40689 (norm): Remove commented code.
40690 (denorm): Likewise.
40691 (__mp_dbl): Likewise.
40693 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
40694 (__cpymn): Likewise.
40695 (norm): Remove commented code.
40696 (denorm): Likewise.
40697 (__mp_dbl): Likewise.
40700 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
40701 mp_no value for 1.0 and 2.0.
40702 (norm): Use RADIXI instead of radixi.d.
40703 (denorm): Likewise.
40704 (__mul): Use 0.0 instead of zero.d.
40705 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
40706 mp_no value for 1.0 and 2.0.
40707 (norm): Use RADIXI instead of radixi.d.
40708 (denorm): Likewise.
40709 (__mul): Use 0.0 instead of zero.d.
40711 2013-01-04 Joseph Myers <joseph@codesourcery.com>
40714 * math/s_casinh.c (__casinh): Reduce finite argument to first
40715 quadrant then set signs of results at the end.
40716 * math/s_casinhf.c (__casinhf): Likewise.
40717 * math/s_casinhl.c (__casinhl): Likewise.
40718 * math/libm-test.inc (casin_test): Add more tests.
40719 (casinh_test): Likewise.
40720 * sysdeps/i386/fpu/libm-test-ulps: Update.
40721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40723 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40725 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40727 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40729 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
40731 (denorm): Likewise.
40732 (__mp_dbl): Likewise.
40735 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
40736 and adjust the header comment.
40738 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
40739 variable name from declaration.
40741 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
40743 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40744 Initialize COMMON_CPUID_INDEX_7 element.
40745 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
40746 (CPUID_RTM): Likewise.
40747 (HAS_RTM): Likewise.
40748 (COMMON_CPUID_INDEX_7): New enum.
40750 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
40753 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
40754 size is zero, record memory as freed.
40756 2013-01-03 Andreas Jaeger <aj@suse.de>
40758 * po/ia.po: Add new Interlingua translation.
40760 2012-01-03 Allan McRae <allan@archlinux.org>
40762 * locale/programs/localedef.c: Fix description of '--posix' flag.
40764 2013-01-02 Joseph Myers <joseph@codesourcery.com>
40766 * NEWS: Update dates in second copyright notice.
40767 * README: Update copyright dates in example.
40768 * manual/libc.texinfo: Update copyright dates.
40769 * scripts/test-installation.pl: Update copyright date in --version
40772 * hurd/ctty-input.c: Fix copyright notice formatting.
40773 * hurd/ctty-output.c: Likewise.
40774 * hurd/dtable.c: Likewise.
40775 * hurd/hurd-raise.c: Likewise.
40776 * hurd/hurdprio.c: Likewise.
40777 * hurd/msgportdemux.c: Likewise.
40778 * misc/sys/file.h: Likewise.
40779 * misc/sys/ioctl.h: Likewise.
40780 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40781 * sysdeps/mach/hurd/chdir.c: Likewise.
40782 * sysdeps/mach/hurd/fchdir.c: Likewise.
40783 * sysdeps/mach/hurd/rename.c: Likewise.
40784 * sysdeps/mach/hurd/rmdir.c: Likewise.
40785 * sysdeps/mach/hurd/seekdir.c: Likewise.
40786 * sysdeps/mach/hurd/setsid.c: Likewise.
40787 * sysdeps/posix/wait3.c: Likewise.
40789 * All files with FSF copyright notices: Update copyright dates
40790 using scripts/update-copyrights.
40791 * intl/plural.c: Regenerated.
40792 * locale/programs/charmap-kw.h: Likewise.
40793 * locale/programs/locfile-kw.h: Likewise.
40795 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
40797 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
40800 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
40801 calculation loop and add branch prediction.
40803 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
40804 check access beyond bounds of m1np.
40806 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40808 (__inv): Remove local variable MPTWO to use the global
40810 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
40811 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40813 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
40814 MP3HALFS static const.
40816 2013-01-01 David S. Miller <davem@davemloft.net>
40818 * po/ca.po: Update from translation team.
40820 2013-01-01 Joseph Myers <joseph@codesourcery.com>
40822 * scripts/update-copyrights: New file.
40823 * Makeconfig: Reformat copyright notice.
40824 * ctype/ctype.h: Likewise.
40825 * debug/swprintf_chk.c: Likewise.
40826 * elf/dl-cache.c: Likewise.
40827 * elf/dl-debug.c: Likewise.
40828 * elf/dl-object.c: Likewise.
40829 * grp/initgroups.c: Likewise.
40830 * hurd/Makefile: Likewise.
40831 * hurd/hurd/signal.h: Likewise.
40832 * hurd/hurdfault.c: Likewise.
40833 * hurd/hurdioctl.c: Likewise.
40834 * hurd/hurdlookup.c: Likewise.
40835 * hurd/intr-msg.c: Likewise.
40836 * iconv/gconv_open.c: Likewise.
40837 * libio/swprintf.c: Likewise.
40838 * locale/lc-ctype.c: Likewise.
40839 * locale/nl_langinfo.c: Likewise.
40840 * mach/Machrules: Likewise.
40841 * mach/Makefile: Likewise.
40842 * malloc/obstack.h: Likewise.
40843 * manual/Makefile: Likewise.
40844 * manual/tsort.awk: Likewise.
40845 * misc/bits/stab.def: Likewise.
40846 * nis/nis_print_group_entry.c: Likewise.
40847 * nis/nis_table.c: Likewise.
40848 * nis/nss_compat/compat-pwd.c: Likewise.
40849 * nis/nss_compat/compat-spwd.c: Likewise.
40850 * po/Makefile: Likewise.
40851 * posix/fnmatch.c: Likewise.
40852 * posix/regex.h: Likewise.
40853 * resolv/Makefile: Likewise.
40854 * resolv/nss_dns/dns-network.c: Likewise.
40855 * resolv/res_hconf.c: Likewise.
40856 * scripts/gen-sorted.awk: Likewise.
40857 * soft-fp/soft-fp.h: Likewise.
40858 * stdio-common/printf.h: Likewise.
40859 * stdlib/monetary.h: Likewise.
40860 * stdlib/random.c: Likewise.
40861 * stdlib/random_r.c: Likewise.
40862 * sysdeps/generic/Makefile: Likewise.
40863 * sysdeps/gnu/Makefile: Likewise.
40864 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40865 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40866 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40867 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40868 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40869 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40870 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40871 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40872 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40873 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40874 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40875 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40876 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40877 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40878 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
40879 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40880 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40881 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40882 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40883 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40884 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40885 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40886 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40887 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40888 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
40889 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40890 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40891 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
40892 * sysdeps/mach/hurd/errnos.awk: Likewise.
40893 * sysdeps/mach/hurd/fork.c: Likewise.
40894 * sysdeps/mach/hurd/getcwd.c: Likewise.
40895 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
40896 * sysdeps/mach/hurd/mmap.c: Likewise.
40897 * sysdeps/mach/hurd/utimes.c: Likewise.
40898 * sysdeps/mach/hurd/xmknod.c: Likewise.
40899 * sysdeps/posix/profil.c: Likewise.
40900 * sysdeps/posix/readdir_r.c: Likewise.
40901 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40902 * sysdeps/powerpc/bits/setjmp.h: Likewise.
40903 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
40904 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40905 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40906 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40907 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40908 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40909 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40910 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40911 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40912 * sysdeps/pthread/lio_listio.c: Likewise.
40913 * sysdeps/sparc/dl-procinfo.h: Likewise.
40914 * sysdeps/unix/i386/sysdep.S: Likewise.
40915 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
40916 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
40917 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
40918 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
40919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40920 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
40921 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
40922 * sysdeps/unix/sysv/linux/speed.c: Likewise.
40923 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40924 * sysdeps/wordsize-32/divdi3.c: Likewise.
40925 * time/sys/time.h: Likewise.
40926 * wcsmbs/Makefile: Likewise.
40928 2013-01-01 David S. Miller <davem@davemloft.net>
40930 * po/fr.po: Update from translation team.
40932 * catgets/gencat.c: Update copyright year.
40933 * csu/version.c: Likewise.
40934 * debug/catchsegv.sh: Likewise.
40935 * debug/pcprofiledump.c: Likewise.
40936 * debug/xtrace.sh: Likewise.
40937 * elf/ldconfig.c: Likewise.
40938 * elf/ldd.bash.in: Likewise.
40939 * elf/pldd.c: Likewise.
40940 * elf/sotruss.ksh: Likewise.
40941 * elf/sprof.c: Likewise.
40942 * iconv/iconv_prog.c: Likewise.
40943 * iconv/iconvconfig.c: Likewise.
40944 * locale/programs/locale.c: Likewise.
40945 * locale/programs/localedef.c: Likewise.
40946 * login/programs/pt_chown.c: Likewise.
40947 * malloc/memusage.sh: Likewise.
40948 * malloc/memusagestat.c: Likewise.
40949 * malloc/mtrace.pl: Likewise.
40950 * nscd/nscd.c: Likewise.
40951 * nss/getent.c: Likewise.
40952 * nss/makedb.c: Likewise.
40953 * posix/getconf.c: Likewise.
40955 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
40957 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
40960 2012-12-30 Mike Frysinger <vapier@gentoo.org>
40962 * math/bits/mathcalls.h (modf): Use __nonnull.
40964 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
40966 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
40967 (split): Use macro CN instead of the bare value.
40968 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
40970 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
40971 instead of the bare value.
40972 (power1): Likewise.
40974 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40976 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
40978 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40980 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
40982 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40983 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
40984 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
40985 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40987 2012-12-28 Andreas Jaeger <aj@suse.de>
40989 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
40990 values are from Linux 3.7.
40992 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
40993 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
40995 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40997 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
41000 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
41002 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
41003 variables with preprocessor constants.
41004 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41005 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41006 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41008 2012-12-27 Bruno Haible <bruno@clisp.org>
41011 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
41014 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
41016 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
41017 and use variable directly.
41018 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
41020 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41022 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
41023 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41025 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41026 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41027 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
41028 include directive. Remove local variable MPONE.
41029 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
41030 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
41031 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41033 2012-12-25 David S. Miller <davem@davemloft.net>
41035 * version.h (RELEASE): Set to "development".
41036 (VERSION): Set to "2.17.90".
41037 * NEWS: Add 2.18 section.
41039 2012-12-21 David S. Miller <davem@davemloft.net>
41041 * po/hr.po: Update from translation team.
41043 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41045 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
41047 2012-12-19 Steve Ellcey <sellcey@mips.com>
41049 * NEWS: Mention new memcpy for MIPS.
41051 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
41053 * manual/contrib.texi (Contributors): Spelling correction.
41055 2012-12-15 David S. Miller <davem@davemloft.net>
41057 * po/ru.po: Update from translation team.
41059 2012-12-13 David S. Miller <davem@davemloft.net>
41061 * NEWS: Mention IFUNC testsuite enhancements.
41063 * po/pl.po: Update from translation team.
41064 * po/bg.po: Likewise.
41066 * manual/contrib.texi (Contributors): Update entries for Hongjiu
41067 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
41069 2012-12-11 David S. Miller <davem@davemloft.net>
41071 * po/sv.po: Update from translation team.
41073 * po/vi.po: Update from translation team.
41075 * po/cs.po: Update from translation team.
41077 * po/de.po: Update from translation team.
41078 * po/eo.po: Likewise.
41079 * po/nl.po: Likewise.
41081 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
41084 * manual/argp.texi (Argp Helper Functions): Move node to follow
41085 Argp Parsing State.
41088 * manual/conf.texi (Limits on File System Capacity): Mention if
41089 terminating null is included in the max size.
41091 2012-12-10 Andreas Jaeger <aj@suse.de>
41093 * po/cs.po: Update from translation team.
41095 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
41097 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
41098 void pointer and cast to uintptr_t.
41099 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
41101 * sysdeps/s390/s390-64/memcpy.S: Likewise.
41102 * sysdeps/s390/s390-64/memset.S: Likewise.
41104 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
41107 * menual/message.texi (Message Translation): Fix typos.
41108 (Helper programs for gettext): Likewise.
41110 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
41113 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
41116 2012-12-07 David S. Miller <davem@davemloft.net>
41118 * po/libc.pot: Update.
41120 2012-12-07 Richard Henderson <rth@redhat.com>
41123 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
41124 normal/normal case to before the switch.
41125 (_FP_DIV): Likewise.
41127 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
41128 Mike Frysinger <vapier@gentoo.org>
41130 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
41131 check for __NR_fadvise64_64.
41133 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
41135 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
41136 0, not just to plain "0" as a statement.
41137 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
41140 2012-12-06 Joseph Myers <joseph@codesourcery.com>
41142 * NEWS: Use sourceware.org in Bugzilla URL.
41144 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
41147 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41149 * stdio-common/tst-put-error.c (do_test): Add newline to the
41150 padded test to ensure flush.
41152 2012-12-05 Jeff Law <law@redhat.com>
41154 * sunrpc/etc.rpc (fedfs_admin): Add entry.
41156 2012-12-05 Joseph Myers <joseph@codesourcery.com>
41158 * README: Don't refer to ports add-on as distributed separately.
41159 Mention AArch64 in list of systems supported in the ports add-on.
41161 * LICENSES: Add more non-FSF copyright and license notices.
41163 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
41166 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
41168 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
41169 10000 as width of padded output.
41171 2012-12-04 Joseph Myers <joseph@codesourcery.com>
41173 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
41175 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
41176 variable LX with __attribute__ ((unused)).
41177 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
41179 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
41180 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41181 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
41182 with __attribute__ ((unused)).
41184 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
41186 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
41188 2012-12-04 Joseph Myers <joseph@codesourcery.com>
41190 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
41191 (CFLAGS-nldbl-acos.c): New variable.
41192 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
41193 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
41194 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
41195 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
41196 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
41197 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
41198 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
41199 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
41200 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
41201 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
41202 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
41203 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
41204 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
41205 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
41206 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
41207 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
41208 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
41209 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
41210 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
41211 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
41212 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
41213 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
41214 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
41215 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
41216 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
41217 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
41218 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
41219 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
41220 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
41221 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
41222 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
41223 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
41224 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
41225 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
41226 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
41227 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
41228 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
41229 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
41230 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
41231 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
41232 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
41233 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
41234 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
41235 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
41236 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
41237 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
41238 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
41239 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
41240 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
41241 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
41242 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
41243 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
41244 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
41245 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
41246 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
41247 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
41248 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
41249 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
41250 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
41251 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
41252 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
41253 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
41254 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
41255 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
41256 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
41257 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
41258 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
41259 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
41260 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
41261 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
41262 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
41263 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
41264 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
41265 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
41266 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
41267 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
41268 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
41269 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
41270 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
41271 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
41272 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
41273 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
41274 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
41275 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
41276 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
41277 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
41278 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
41279 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
41280 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
41281 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
41282 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
41283 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
41284 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
41285 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
41286 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
41287 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
41288 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
41290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41291 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41294 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
41295 whole low double instead of just low 47 bits when splitting values
41298 2012-12-03 Allan McRae <allan@archlinux.org>
41300 * manual/stdio.texi (Predefined Printf Handlers): Remove
41301 @hsep and @vsep usage.
41303 2012-12-03 Mike Frysinger <vapier@gentoo.org>
41305 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
41306 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
41308 2012-12-03 Jeff Law <law@redhat.com>
41310 * time/sys/time.h (settimeofday): Do not mark TV argument
41313 2012-12-01 Mike Frysinger <vapier@gentoo.org>
41315 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
41316 when currently writing and seek to current position when not.
41317 * libio/Makefile (tests): Remove bug-fclose1.
41318 * libio/bug-fclose1.c: Delete.
41320 2012-12-01 Joseph Myers <joseph@codesourcery.com>
41322 * manual/arith.texi (feenableexcept): Fix typo.
41323 (fedisableexcept): Likewise.
41325 2012-11-30 Roland McGrath <roland@hack.frob.com>
41327 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
41328 second, differently-typed declaration, rather than a cast.
41330 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41332 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
41333 * include/rpc/svc.h: ... here.
41335 2012-11-30 Aurelien Jarno <aurel32@debian.org>
41338 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
41339 depending n and resplen2 to catch cases where answer
41342 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
41344 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
41345 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
41347 2012-11-29 Mike Frysinger <vapier@gentoo.org>
41349 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
41351 2012-11-29 Roland McGrath <roland@hack.frob.com>
41353 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
41355 2012-11-28 Jeff Law <law@redhat.com>
41358 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
41359 dataset_temporary. Track alloca usage into alloca_used.
41360 If dataset is large allocate and release it via malloc/free.
41362 2012-06-04 Florian Weimer <fweimer@redhat.com>
41365 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
41367 2012-11-28 David S. Miller <davem@davemloft.net>
41369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41371 2012-11-28 Joseph Myers <joseph@codesourcery.com>
41374 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
41375 of pi/2 rounded to nearest to 64 bits.
41376 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
41377 nearest to 64 bits.
41378 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
41381 2012-11-28 Jeff Law <law@redhat.com>
41382 Martin Osvald <mosvald@redhat.com>
41385 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
41386 * sunrpc/svc.c: Include time.h.
41387 (__svc_accept_failed): New function.
41388 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
41389 any reason other than EINTR, call __svc_accept_failed.
41390 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
41391 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
41393 2012-11-28 Andreas Schwab <schwab@suse.de>
41395 * scripts/abilist.awk: Also handle indirect functions in .opd
41398 2012-11-28 Joseph Myers <joseph@codesourcery.com>
41401 * sysdeps/x86/fpu/powl_helper.c: New file.
41402 * sysdeps/x86/fpu/Makefile: Likewise.
41403 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
41405 (__ieee754_powl): Use __powl_helper for finite arguments except
41406 integer exponents below 8.
41407 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
41409 (__ieee754_powl): Use __powl_helper for finite arguments except
41410 integer exponents below 8.
41411 * math/libm-test.inc (pow_test): Add more tests and enable some
41412 previously disabled tests.
41413 * sysdeps/i386/fpu/libm-test-ulps: Update.
41414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41416 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41417 Carlos O'Donell <carlos_odonell@mentor.com>
41419 * nss/makedb.c (is_prime): Assert that input is odd and greater
41420 than 4. Note that fact in a comment too.
41421 (next_prime): Add 4 to input.
41423 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
41426 * libio/Makefile (tests): Add test case tst-fwrite-error.
41427 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
41428 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
41429 * libio/tst-fwrite-error.c: New test case.
41431 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
41433 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
41434 before casting to void *.
41435 * include/libc-internal.h (__pointer_type): New macro.
41436 (__integer_if_pointer_type_sub): Likewise.
41437 (__integer_if_pointer_type): Likewise.
41438 (cast_to_integer): Likewise.
41439 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
41440 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
41441 before casting to atomic64_t.
41442 (atomic_exchange_acq): Likewise.
41443 (__arch_exchange_and_add_body): Likewise.
41444 (__arch_add_body): Likewise.
41445 (atomic_add_negative): Likewise.
41446 (atomic_add_zero): Likewise.
41448 2012-11-26 Joseph Myers <joseph@codesourcery.com>
41450 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
41451 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
41452 (add_fdes): Likewise.
41453 (linear_search_fdes): Likewise.
41454 (binary_search_unencoded_fdes): Likewise.
41456 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
41458 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
41460 2012-11-24 Adam Conrad <adconrad@0c3.net>
41462 * configure.in: Autodetect C++ header directories.
41463 * configure: Regenerated.
41465 2012-11-23 Mike Frysinger <vapier@gentoo.org>
41467 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
41469 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
41471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41473 2012-11-22 Joseph Myers <joseph@codesourcery.com>
41475 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
41476 LDBL_MANT_DIG == 106]: Disable some tests.
41477 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41479 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41483 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
41484 input for small inputs. Return +/- pi/2 for large inputs.
41485 * math/libm-test.inc (atan_test): Add more tests.
41487 * sysdeps/generic/unwind-dw2-fde-glibc.c
41488 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
41489 __attribute__ ((unused)).
41492 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
41493 x * y if x and y are nonzero and z is zero.
41496 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
41497 nonzero exponents with absolute value below 0x1p-117 to +/-
41501 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
41502 up arguments below 2**-450, not just those below 2**-500.
41503 * math/libm-test.inc (hypot_test): Add another test.
41506 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
41507 Return a+b for ratio over 2**120, not 2**60.
41508 * math/libm-test.inc (hypot_test): Add another test.
41510 * math/libm-test.inc (clog_test): Use
41511 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
41512 (clog10_test): Likewise.
41515 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
41517 2012-11-22 Andreas Schwab <schwab@suse.de>
41519 * sysdeps/i386/fpu/libm-test-ulps: Update.
41521 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
41523 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
41524 printf output with newline.
41526 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
41529 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
41530 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
41531 -z nodlopen, -z initfirst and -z execstack support.
41532 * configure: Regenerated.
41534 * elf/elf.h (DF_1_NODIRECT): New macro.
41535 (DF_1_IGNMULDEF): Likewise.
41536 (DF_1_NOKSYMS): Likewise.
41537 (DF_1_NOHDR): Likewise.
41538 (DF_1_EDITED): Likewise.
41539 (DF_1_NORELOC): Likewise.
41540 (DF_1_SYMINTPOSE): Likewise.
41541 (DF_1_GLOBAUDIT): Likewise.
41542 (DF_1_SINGLETON): Likewise.
41543 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
41544 DT_1_SUPPORTED_MASK bits.
41545 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
41547 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
41549 * sysdeps/unix/make-syscalls.sh: Document prefixes.
41551 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
41553 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
41556 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
41557 (sendmmsg): Move declarations...
41558 * socket/sys/socket.h: ... here.
41559 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
41560 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
41562 * socket/recvmmsg.c: ... this new file.
41563 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
41564 (sendmmsg): Rename to __sendmmsg, create weak alias and make
41565 definition of __sendmmsg hidden.
41566 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
41567 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
41568 Move ENOSYS stub into and include it from...
41569 * socket/sendmmsg.c: ... this new file.
41570 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
41571 (sysdep_routines): Move recvmmsg and sendmmsg...
41572 * socket/Makefile (routines): ... here.
41573 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
41574 (GLIBC_PRIVATE): Add __sendmmsg.
41575 * include/sys/socket.h (__sendmmsg): Add declarations.
41576 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
41579 2012-11-20 Joseph Myers <joseph@codesourcery.com>
41581 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
41582 variable I1 with __attribute__ ((unused)).
41583 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41585 2012-11-19 Joseph Myers <joseph@codesourcery.com>
41587 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
41588 DUMMY variables with __attribute__ ((unused)).
41590 * bits/byteswap.h: Include <bits/types.h>.
41591 (__bswap_64): Use __uint64_t instead of unsigned long long int.
41593 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
41595 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
41596 string_t. Do not manually set errno.
41597 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
41598 length with __strnlen. Make sure to both set errno and return it on
41601 2012-11-19 David S. Miller <davem@davemloft.net>
41603 With help from Joseph Myers.
41604 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
41605 very large arguments properly.
41606 * math/libm-test.inc (atan_test): New tests.
41607 (atan2_test): New tests.
41608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41609 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41611 2012-11-19 Joseph Myers <joseph@codesourcery.com>
41614 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
41617 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
41618 [POSIX] (EADDRNOTAVAIL): Likewise.
41619 [POSIX] (EAFNOSUPPORT): Likewise.
41620 [POSIX] (EALREADY): Likewise.
41621 [POSIX] (ECONNABORTED): Likewise.
41622 [POSIX] (ECONNREFUSED): Likewise.
41623 [POSIX] (ECONNRESET): Likewise.
41624 [POSIX] (EDESTADDRREQ): Likewise.
41625 [POSIX] (EDQUOT): Likewise.
41626 [POSIX] (EHOSTUNREACH): Likewise.
41627 [POSIX] (EIDRM): Likewise.
41628 [POSIX] (EISCONN): Likewise.
41629 [POSIX] (ELOOP): Likewise.
41630 [POSIX] (EMULTIHOP): Likewise.
41631 [POSIX] (ENETDOWN): Likewise.
41632 [POSIX] (ENETUNREACH): Likewise.
41633 [POSIX] (ENOBUFS): Likewise.
41634 [POSIX] (ENODATA): Likewise.
41635 [POSIX] (ENOLINK): Likewise.
41636 [POSIX] (ENOMSG): Likewise.
41637 [POSIX] (ENOPROTOOPT): Likewise.
41638 [POSIX] (ENOSR): Likewise.
41639 [POSIX] (ENOSTR): Likewise.
41640 [POSIX] (ENOTCONN): Likewise.
41641 [POSIX] (ENOTSOCK): Likewise.
41642 [POSIX] (EOPNOTSUPP): Likewise.
41643 [POSIX] (EOVERFLOW): Likewise.
41644 [POSIX] (EPROTO): Likewise.
41645 [POSIX] (EPROTONOSUPPORT): Likewise.
41646 [POSIX] (EPROTOTYPE): Likewise.
41647 [POSIX] (ESTALE): Likewise.
41648 [POSIX] (ETIME): Likewise.
41649 [POSIX] (ETXTBSY): Likewise.
41650 [POSIX] (EWOULDBLOCK): Likewise.
41651 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
41652 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
41653 [POSIX] (SEEK_CUR): Likewise.
41654 [POSIX] (SEEK_END): Likewise.
41655 [POSIX || UNIX98] (mode_t): Do not require.
41656 [POSIX] (off_t): Likewise.
41657 [POSIX] (pid_t): Likewise.
41658 [POSIX] (sys/stat.h): Do not allow header.
41659 [POSIX] (unistd.h): Likewise.
41660 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
41661 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
41662 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
41663 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
41665 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
41666 sigevent): Specify elements.
41667 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
41669 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
41670 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
41672 * conform/data/cpio.h-data [POSIX]: Disable whole file.
41673 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
41674 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
41675 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
41676 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
41677 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
41678 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
41679 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
41680 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
41681 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
41682 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
41683 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
41684 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
41685 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
41687 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
41689 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
41691 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
41693 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
41694 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
41695 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
41696 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
41697 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
41698 Specify lower bound on value.
41699 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
41700 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
41701 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
41702 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
41703 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
41704 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
41705 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
41706 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
41708 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
41710 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
41711 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
41712 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41713 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41714 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41715 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41716 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41717 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41718 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41719 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41720 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41721 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41722 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41723 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41724 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41725 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41727 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41729 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
41730 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
41731 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
41732 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
41733 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
41734 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
41736 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
41737 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
41738 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
41739 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
41740 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
41741 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
41742 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
41744 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
41745 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
41746 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
41747 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
41748 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
41749 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
41750 specify as optional.
41751 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
41752 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
41753 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
41754 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
41755 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
41756 [XPG3] (NL_LANGMAX): Likewise.
41757 [POSIX || XPG3] (NL_MSGMAX): Likewise.
41758 [POSIX || XPG3] (NL_NMAX): Likewise.
41759 [POSIX || XPG3] (NL_SETMAX): Likewise.
41760 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
41761 [XPG3] (NZERO): Likewise.
41762 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
41763 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
41764 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
41765 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
41766 (REG_ERANGE): Expect.
41767 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
41769 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
41770 Use (void) in prototype.
41771 [POSIX] (*_t): Allow.
41772 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
41773 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
41774 (WRDE_BADVAL): Expect.
41776 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
41778 [XPG3 || XPG4] (O_RSYNC): Likewise.
41779 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
41781 [XPG3 || XPG4] (pthread_sigmask): Likewise.
41782 [XPG3 || XPG4] (sigqueue): Likewise.
41783 [XPG3 || XPG4] (sigtimedwait): Likewise.
41784 [XPG3 || XPG4] (sigwaitinfo): Likewise.
41785 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
41786 [XPG3 || XPG4] (vsnprintf): Likewise.
41787 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
41789 [XPG3 || XPG4] (blksize_t): Likewise.
41790 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
41792 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
41793 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41794 [XPG3 || XPG4] (struct itimerspec): Likewise.
41795 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
41796 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
41797 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
41798 [XPG3 || XPG4] (clockid_t): Likewise.
41799 [XPG3 || XPG4] (timer_t): Likewise.
41800 [XPG3 || XPG4] (clock_getres): Likewise.
41801 [XPG3 || XPG4] (clock_gettime): Likewise.
41802 [XPG3 || XPG4] (clock_settime): Likewise.
41803 [XPG3 || XPG4] (nanosleep): Likewise.
41804 [XPG3 || XPG4] (timer_create): Likewise.
41805 [XPG3 || XPG4] (timer_delete): Likewise.
41806 [XPG3 || XPG4] (timer_gettime): Likewise.
41807 [XPG3 || XPG4] (timer_getoverrun): Likewise.
41808 [XPG3 || XPG4] (timer_settime): Likewise.
41809 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
41810 [XPG3 || XPG4] (getlogin_r): Likewise.
41811 [XPG3 || XPG4] (pread): Likewise.
41812 [XPG3 || XPG4] (pthread_atfork): Likewise.
41813 [XPG3 || XPG4] (pwrite): Likewise.
41816 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
41819 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
41821 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
41822 finalizing MALLSTREAM.
41824 * sysdeps/mach/hurd/syncfs.c: New file.
41826 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
41829 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
41830 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
41831 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
41832 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
41833 (_nss_dns_gethostbyname4_r): Likewise.
41834 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
41835 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
41837 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
41840 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
41842 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
41844 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
41845 * elf/cache.c (print_entry): Print ",AArch64" for
41848 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
41849 * elf/cache.c (print_entry): Print ",hard-float" for
41852 2012-11-18 David S. Miller <davem@davemloft.net>
41854 With help from Joseph Myers.
41855 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
41857 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
41859 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
41860 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
41862 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
41863 * math/libm-test.inc (y0_test): New tests.
41864 (y1_test): New tests.
41865 * sysdeps/i386/fpu/libm-test-ulps: Update.
41866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41869 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
41871 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
41873 * configure: Regenerated.
41875 2012-11-17 David S. Miller <davem@davemloft.net>
41878 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
41879 nonzero exponents with absolute value below 0x1p-128 to +/-
41882 2012-11-17 Joseph Myers <joseph@codesourcery.com>
41884 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
41886 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
41888 * posix/getconf-speclist.c: New file.
41889 * posix/posix-envs.def: Likewise.
41890 * posix/confstr.c (START_ENV_GROUP): New macro.
41891 (END_ENV_GROUP): Likewise.
41892 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41893 (KNOWN_PRESENT_ENV_STRING): Likewise.
41894 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41895 (UNKNOWN_ENVIRONMENT): Likewise.
41896 (confstr): Include posix-envs.def instead of handling
41897 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
41898 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
41899 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
41900 (END_ENV_GROUP): Likewise.
41901 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41902 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41903 (UNKNOWN_ENVIRONMENT): Likewise.
41904 (__sysconf): Include posix-envs.def instead of handling associated
41905 cases directly here.
41906 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
41907 preprocessing getconf-speclist.c rather than running getconf or
41908 generating empty file.
41910 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
41912 * scripts/check-local-headers.sh: Ignore 'mach' headers.
41914 2012-11-16 Andrej Lajovic <natrij@gmail.com>
41917 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
41919 2012-11-16 David S. Miller <davem@davemloft.net>
41921 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
41922 smaller than LDBL_EPSILON/2.0L, just return xm1.
41924 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
41926 * elf/tst-array1.c (init): Set constructor priority to 1000.
41927 (fini): Set destructor priority to 1000.
41928 * elf/tst-array2dep.c: Likewise.
41930 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
41933 * libio/fileops.c (_IO_new_file_write): Correctly return error.
41934 (_IO_new_file_xsputn): Also return EOF if none of the input
41935 data was written when overflow failed.
41936 * libio/iopadn.c (_IO_padn): Likewise.
41937 * libio/iowpadn.c (_IO_wpadn): Likewise.
41938 * stdio-common/tst-put-error.c: Add copyright notice.
41939 (do_test): Add case for printing padded string.
41940 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
41941 _IO_padn returned error.
41942 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
41943 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
41946 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
41948 * libio/libioP.h: Add comment note that the references to C++
41949 bits are now obsolete.
41951 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
41953 * math/libm-test.inc (check_complex): Use asprintf.
41955 2012-11-14 Joseph Myers <joseph@codesourcery.com>
41957 * debug/pcprofiledump.c (print_version): Update copyright year.
41958 * malloc/memusagestat.c (print_version): Likewise.
41960 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
41963 * elf/Makefile (tests): Add tst-audit8.
41964 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
41965 ($(objpfx)tst-audit8.out): New target.
41966 (tst-audit8-ENV): New variable.
41967 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
41968 audit if l_reloc_result is NULL.
41969 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
41970 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
41971 * elf/tst-audit8.c: New file.
41973 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
41975 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
41976 * misc/Makefile (CFLAGS-select.c): Define.
41977 * posix/Makefile (CFLAGS-pause.c): Define.
41979 2012-11-13 David S. Miller <davem@davemloft.net>
41981 * crypt/Makefile: Move test targets after toplevel Rules
41982 inclusion. Grab any necessary sysdep routines when linking.
41983 * crypt/md5.c (md5_process_block): Remove define, we will always
41984 name it __md5_process_block.
41985 (md5_finish_ctx): Update md5_process_block call.
41986 (md5_stream): Likewise.
41987 (md5_process_bytes): Likewise.
41988 (md5_process_block): Rename to __md5_process_block and move to ...
41989 * crypt/md5-block.c: ... here.
41990 * crypt/sha256.c (sha256_process_block): Move to ...
41991 * crypt/sha256-block.c: ... here.
41992 * crypt/sha512.c (sha512_process_block): Move to ...
41993 * crypt/sha512-block.c: ... here.
41994 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
41996 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
41997 * sysdeps/sparc/sparc64/multiarch/Makefile
41998 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
42000 (localedef-aux): Add md5 crypto assembler when in locale subdir.
42001 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
42003 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
42004 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
42005 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
42006 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
42007 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
42008 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
42009 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
42010 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
42011 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
42013 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
42014 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
42016 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
42018 2012-11-13 Joseph Myers <joseph@codesourcery.com>
42020 * timezone/tzselect.ksh: Update from tzcode git revision
42021 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
42022 * timezone/zdump.c: Likewise.
42023 * timezone/zic.c: Likewise.
42024 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
42025 in TZVERSION setting, not $(PKGVERSION).
42026 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
42027 REPORT_BUGS_TO settings.
42030 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
42033 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42035 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
42036 detection to immediately after _FP_ROUND().
42037 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
42040 2012-11-11 David S. Miller <davem@davemloft.net>
42042 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
42044 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
42045 __close rather than their public counterparts.
42047 2012-11-10 Joseph Myers <joseph@codesourcery.com>
42049 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
42051 [UNIX98] (sem_timedwait): Do not expect.
42052 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
42053 [XPG4 || UNIX98] (sockatmark): Do not expect.
42054 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
42055 (clock_getcpuclockid): Do not expect.
42056 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
42057 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
42059 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
42060 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
42061 [UNIX98] (vwscanf): Likewise.
42062 [UNIX98] (vswscanf): Likewise.
42064 2012-11-09 Joseph Myers <joseph@codesourcery.com>
42066 * timezone/version.h: Remove file.
42067 * timezone/README: Do not refer to version.h.
42068 * timezone/Makefile ($(objpfx)zic.o): New dependency on
42069 $(objpfx)version.h.
42070 ($(objpfx)zdump.o): Likewise.
42071 ($(objpfx)version.h): New target.
42073 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
42075 * timezone/README: Don't mention modification to tzselect.ksh.
42076 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
42077 work on unmodified tzselect.ksh. Substitute version numbers in
42080 * Makefile (format-me): Remove.
42081 (INSTALL): Adjust indentation. Use commands directly instead of
42082 using $(format-me).
42084 * aclocal.m4 (ACX_PKGVERSION): New macro.
42085 (ACX_BUGURL): Likewise.
42086 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
42087 (PKGVERSION): New AC_DEFINE_UNQUOTED.
42088 (REPORT_BUGS_TO): Likewise.
42089 * configure: Regenerated.
42090 * config.h.in (PKGVERSION): New macro.
42091 (REPORT_BUGS_TO): Likewise.
42092 * config.make.in (PKGVERSION): New variable.
42093 (PKGVERSION_TEXI): Likewise.
42094 (REPORT_BUGS_TO): Likewise.
42095 (REPORT_BUGS_TEXI): Likewise.
42096 * Makefile (format-me): Use -I$(common-objpfx)manual.
42097 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
42098 ($(common-objpfx)manual/%): New target.
42099 (manual/%): Remove target.
42100 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
42101 (print_version): Use PKGVERSION.
42102 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
42103 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
42104 and REPORT_BUGS_TO.
42105 ($(objpfx)xtrace): Likewise.
42106 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
42107 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
42108 (print_version): Use PKGVERSION.
42109 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
42110 (do_version): Use PKGVERSION.
42111 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
42113 (common-ldd-rewrite): Likewise.
42114 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
42115 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
42116 (print_version): Use PKGVERSION.
42117 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
42118 * elf/pldd.c (argp_program_bug_address): Remove variable.
42119 (more_help): New function.
42120 (argp): Use more_help.
42121 (print_version): Use PKGVERSION.
42122 * elf/sln.c (main): Use PKGVERSION.
42123 (usage): Use REPORT_BUGS_TO.
42124 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
42125 (top level): Use PKGVERSION.
42126 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
42127 (print_version): Use PKGVERSION.
42128 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
42129 (print_version): Use PKGVERSION.
42130 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
42131 (print_version): Use PKGVERSION.
42132 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
42133 (print_version): Use PKGVERSION.
42134 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
42135 (print_version): Use PKGVERSION.
42136 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
42137 (print_version): Use PKGVERSION.
42138 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
42140 ($(objpfx)memusage): Likewise.
42141 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
42142 (do_version): Use PKGVERSION.
42143 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
42144 (print_version): Use PKGVERSION.
42145 * malloc/mtrace.pl ($PACKAGE): Remove variable.
42146 ($PKGVERSION): New variable.
42147 ($REPORT_BUGS_TO): Likewise.
42148 (usage): Use $REPORT_BUGS_TO.
42149 (top level): Use $PKGVERSION.
42150 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
42151 ($(objpfx)pkgvers.texi): New rule.
42152 ($(objpfx)stamp-pkgvers): Likewise.
42153 * manual/install.texi: Include pkgvers.texi.
42154 (--with-pkgversion): Document new configure option.
42155 (--with-bugurl): Likewise.
42156 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
42157 than necessarily for this particular distribution. Use
42158 REPORT_BUGS_TO for where to report bugs.
42159 * INSTALL: Regenerated.
42160 * manual/libc.texinfo: Include pkgvers.texi.
42161 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
42162 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
42163 (print_version): Use PKGVERSION.
42164 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
42165 (print_version): Use PKGVERSION.
42166 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
42167 (print_version): Use PKGVERSION.
42168 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
42169 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
42171 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
42172 (print_version): Use PKGVERSION.
42173 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
42174 (print_version): Use PKGVERSION.
42175 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
42178 * timezone/checktab.awk: Update from tzcode 2012i.
42179 * timezone/ialloc.c: Likewise.
42180 * timezone/private.h: Likewise.
42181 * timezone/scheck.c: Likewise.
42182 * timezone/tzfile.h: Likewise.
42183 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
42184 (TZVERSION): Hardcode tzcode version number.
42185 * timezone/zdump.c: Update from tzcode 2012i.
42186 * timezone/zic.c: Likewise.
42187 * timezone/version.h: New file.
42188 * timezone/README: Describe version.h. Update upstream location.
42191 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
42192 (mktemp): Enable declaration.
42193 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
42194 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
42195 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
42196 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
42198 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
42200 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
42202 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
42204 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
42206 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
42210 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
42211 offset in buffer as u_int32_t not u_long. Consistently use memcpy
42212 for copies of such integer values.
42213 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42214 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42216 2012-11-09 Andreas Jaeger <aj@suse.de>
42218 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
42219 definitions and declarations that are provided by
42220 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42222 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42224 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
42225 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
42226 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
42229 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42231 * elf/elf.h: Update comment before AArch64 relocations.
42233 2012-11-07 David S. Miller <davem@davemloft.net>
42235 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
42236 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42237 (__start_context): Declare.
42238 (__makecontext_ret): Delete.
42239 (__makecontext): Hook up __start_context instead of
42241 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
42242 (sysdep_routines): Add __start_context when in stdlib.
42244 2012-11-07 Joseph Myers <joseph@codesourcery.com>
42246 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
42247 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
42248 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
42250 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
42251 (READELF): New variable. Use it instead of hardcoded "readelf".
42253 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
42255 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
42256 * sysdeps/x86/Makefile: Here.
42257 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
42258 * sysdeps/x86/tst-xmmymm.sh: This.
42260 2012-11-07 Joseph Myers <joseph@codesourcery.com>
42262 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
42264 [UNIX98] (pthread_barrier_t): Do not expect.
42265 [UNIX98] (pthread_barrierattr_t): Likewise.
42266 [UNIX98] (pthread_spinlock_t): Likewise.
42267 [UNIX98] (pthread_barrier_destroy): Likewise.
42268 [UNIX98] (pthread_barrier_init): Likewise.
42269 [UNIX98] (pthread_barrier_wait): Likewise.
42270 [UNIX98] (pthread_barrierattr_destroy): Likewise.
42271 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
42272 [UNIX98] (pthread_barrierattr_init): Likewise.
42273 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
42274 [UNIX98] (pthread_getcpuclockid): Likewise.
42275 [UNIX98] (pthread_mutex_timedlock): Likewise.
42276 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
42277 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
42278 [UNIX98] (pthread_sigmask): Likewise.
42279 [UNIX98] (pthread_spin_destroy): Likewise.
42280 [UNIX98] (pthread_spin_init): Likewise.
42281 [UNIX98] (pthread_spin_lock): Likewise.
42282 [UNIX98] (pthread_spin_trylock): Likewise.
42283 [UNIX98] (pthread_spin_unlock): Likewise.
42284 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
42286 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
42287 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
42288 [XPG3 || XPG4] (pthread_cond_t): Likewise.
42289 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
42290 [XPG3 || XPG4] (pthread_key_t): Likewise.
42291 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
42292 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
42293 [XPG3 || XPG4] (pthread_once_t): Likewise.
42294 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
42295 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
42296 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
42297 [XPG3 || XPG4] (pthread_t): Likewise.
42299 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
42301 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
42303 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
42304 Change function return type to int.
42306 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
42307 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
42308 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
42309 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
42310 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
42311 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
42312 [!POSIX] (posix_madvise): Likewise.
42313 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
42315 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
42316 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
42317 (mode_t): Likewise.
42318 (posix_mem_offset): Likewise.
42319 (posix_typed_mem_get_info): Likewise.
42320 (posix_typed_mem_open): Likewise.
42322 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
42323 Change condition to [XOPEN2K8].
42325 * conform/conformtest.pl: Preprocess allow-header data with -x c
42326 instead of from stdin.
42327 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
42328 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
42329 [C99-based standards] (cerfc): Likewise.
42330 [C99-based standards] (cexp2): Likewise.
42331 [C99-based standards] (cexpm1): Likewise.
42332 [C99-based standards] (clog10): Likewise.
42333 [C99-based standards] (clog1p): Likewise.
42334 [C99-based standards] (clog2): Likewise.
42335 [C99-based standards] (clgamma): Likewise.
42336 [C99-based standards] (ctgamma): Likewise.
42337 [C99-based standards] (cerff): Likewise.
42338 [C99-based standards] (cerfcf): Likewise.
42339 [C99-based standards] (cexp2f): Likewise.
42340 [C99-based standards] (cexpm1f): Likewise.
42341 [C99-based standards] (clog10f): Likewise.
42342 [C99-based standards] (clog1pf): Likewise.
42343 [C99-based standards] (clog2f): Likewise.
42344 [C99-based standards] (clgammaf): Likewise.
42345 [C99-based standards] (ctgammaf): Likewise.
42346 [C99-based standards] (cerfl): Likewise.
42347 [C99-based standards] (cerfcl): Likewise.
42348 [C99-based standards] (cexp2l): Likewise.
42349 [C99-based standards] (cexpm1l): Likewise.
42350 [C99-based standards] (clog10l): Likewise.
42351 [C99-based standards] (clog1pl): Likewise.
42352 [C99-based standards] (clog2l): Likewise.
42353 [C99-based standards] (clgammal): Likewise.
42354 [C99-based standards] (ctgammal): Likewise.
42355 * conform/data/inttypes.h-data [C99-based standards]: Include
42356 stdint.h-data. Remove all expectations for stdint.h contents.
42357 [C99-based standards] (PRI*): Do not allow.
42358 [C99-based standards] (SCN*): Likewise.
42359 [C99-based standards] (*_t): Likewise.
42360 [C99-based-standards] (PRId8): Expect macro.
42361 [C99-based-standards] (PRIi8): Likewise.
42362 [C99-based-standards] (PRIo8): Likewise.
42363 [C99-based-standards] (PRIu8): Likewise.
42364 [C99-based-standards] (PRIx8): Likewise.
42365 [C99-based-standards] (PRIX8): Likewise.
42366 [C99-based-standards] (SCNd8): Likewise.
42367 [C99-based-standards] (SCNi8): Likewise.
42368 [C99-based-standards] (SCNo8): Likewise.
42369 [C99-based-standards] (SCNu8): Likewise.
42370 [C99-based-standards] (SCNx8): Likewise.
42371 [C99-based-standards] (PRIdLEAST8): Likewise.
42372 [C99-based-standards] (PRIiLEAST8): Likewise.
42373 [C99-based-standards] (PRIoLEAST8): Likewise.
42374 [C99-based-standards] (PRIuLEAST8): Likewise.
42375 [C99-based-standards] (PRIxLEAST8): Likewise.
42376 [C99-based-standards] (PRIXLEAST8): Likewise.
42377 [C99-based-standards] (SCNdLEAST8): Likewise.
42378 [C99-based-standards] (SCNiLEAST8): Likewise.
42379 [C99-based-standards] (SCNoLEAST8): Likewise.
42380 [C99-based-standards] (SCNuLEAST8): Likewise.
42381 [C99-based-standards] (SCNxLEAST8): Likewise.
42382 [C99-based-standards] (PRIdFAST8): Likewise.
42383 [C99-based-standards] (PRIiFAST8): Likewise.
42384 [C99-based-standards] (PRIoFAST8): Likewise.
42385 [C99-based-standards] (PRIuFAST8): Likewise.
42386 [C99-based-standards] (PRIxFAST8): Likewise.
42387 [C99-based-standards] (PRIXFAST8): Likewise.
42388 [C99-based-standards] (SCNdFAST8): Likewise.
42389 [C99-based-standards] (SCNiFAST8): Likewise.
42390 [C99-based-standards] (SCNoFAST8): Likewise.
42391 [C99-based-standards] (SCNuFAST8): Likewise.
42392 [C99-based-standards] (SCNxFAST8): Likewise.
42393 [C99-based-standards] (PRId16): Likewise.
42394 [C99-based-standards] (PRIi16): Likewise.
42395 [C99-based-standards] (PRIo16): Likewise.
42396 [C99-based-standards] (PRIu16): Likewise.
42397 [C99-based-standards] (PRIx16): Likewise.
42398 [C99-based-standards] (PRIX16): Likewise.
42399 [C99-based-standards] (SCNd16): Likewise.
42400 [C99-based-standards] (SCNi16): Likewise.
42401 [C99-based-standards] (SCNo16): Likewise.
42402 [C99-based-standards] (SCNu16): Likewise.
42403 [C99-based-standards] (SCNx16): Likewise.
42404 [C99-based-standards] (PRIdLEAST16): Likewise.
42405 [C99-based-standards] (PRIiLEAST16): Likewise.
42406 [C99-based-standards] (PRIoLEAST16): Likewise.
42407 [C99-based-standards] (PRIuLEAST16): Likewise.
42408 [C99-based-standards] (PRIxLEAST16): Likewise.
42409 [C99-based-standards] (PRIXLEAST16): Likewise.
42410 [C99-based-standards] (SCNdLEAST16): Likewise.
42411 [C99-based-standards] (SCNiLEAST16): Likewise.
42412 [C99-based-standards] (SCNoLEAST16): Likewise.
42413 [C99-based-standards] (SCNuLEAST16): Likewise.
42414 [C99-based-standards] (SCNxLEAST16): Likewise.
42415 [C99-based-standards] (PRIdFAST16): Likewise.
42416 [C99-based-standards] (PRIiFAST16): Likewise.
42417 [C99-based-standards] (PRIoFAST16): Likewise.
42418 [C99-based-standards] (PRIuFAST16): Likewise.
42419 [C99-based-standards] (PRIxFAST16): Likewise.
42420 [C99-based-standards] (PRIXFAST16): Likewise.
42421 [C99-based-standards] (SCNdFAST16): Likewise.
42422 [C99-based-standards] (SCNiFAST16): Likewise.
42423 [C99-based-standards] (SCNoFAST16): Likewise.
42424 [C99-based-standards] (SCNuFAST16): Likewise.
42425 [C99-based-standards] (SCNxFAST16): Likewise.
42426 [C99-based-standards] (PRId32): Likewise.
42427 [C99-based-standards] (PRIi32): Likewise.
42428 [C99-based-standards] (PRIo32): Likewise.
42429 [C99-based-standards] (PRIu32): Likewise.
42430 [C99-based-standards] (PRIx32): Likewise.
42431 [C99-based-standards] (PRIX32): Likewise.
42432 [C99-based-standards] (SCNd32): Likewise.
42433 [C99-based-standards] (SCNi32): Likewise.
42434 [C99-based-standards] (SCNo32): Likewise.
42435 [C99-based-standards] (SCNu32): Likewise.
42436 [C99-based-standards] (SCNx32): Likewise.
42437 [C99-based-standards] (PRIdLEAST32): Likewise.
42438 [C99-based-standards] (PRIiLEAST32): Likewise.
42439 [C99-based-standards] (PRIoLEAST32): Likewise.
42440 [C99-based-standards] (PRIuLEAST32): Likewise.
42441 [C99-based-standards] (PRIxLEAST32): Likewise.
42442 [C99-based-standards] (PRIXLEAST32): Likewise.
42443 [C99-based-standards] (SCNdLEAST32): Likewise.
42444 [C99-based-standards] (SCNiLEAST32): Likewise.
42445 [C99-based-standards] (SCNoLEAST32): Likewise.
42446 [C99-based-standards] (SCNuLEAST32): Likewise.
42447 [C99-based-standards] (SCNxLEAST32): Likewise.
42448 [C99-based-standards] (PRIdFAST32): Likewise.
42449 [C99-based-standards] (PRIiFAST32): Likewise.
42450 [C99-based-standards] (PRIoFAST32): Likewise.
42451 [C99-based-standards] (PRIuFAST32): Likewise.
42452 [C99-based-standards] (PRIxFAST32): Likewise.
42453 [C99-based-standards] (PRIXFAST32): Likewise.
42454 [C99-based-standards] (SCNdFAST32): Likewise.
42455 [C99-based-standards] (SCNiFAST32): Likewise.
42456 [C99-based-standards] (SCNoFAST32): Likewise.
42457 [C99-based-standards] (SCNuFAST32): Likewise.
42458 [C99-based-standards] (SCNxFAST32): Likewise.
42459 [C99-based-standards] (PRId64): Likewise.
42460 [C99-based-standards] (PRIi64): Likewise.
42461 [C99-based-standards] (PRIo64): Likewise.
42462 [C99-based-standards] (PRIu64): Likewise.
42463 [C99-based-standards] (PRIx64): Likewise.
42464 [C99-based-standards] (PRIX64): Likewise.
42465 [C99-based-standards] (SCNd64): Likewise.
42466 [C99-based-standards] (SCNi64): Likewise.
42467 [C99-based-standards] (SCNo64): Likewise.
42468 [C99-based-standards] (SCNu64): Likewise.
42469 [C99-based-standards] (SCNx64): Likewise.
42470 [C99-based-standards] (PRIdLEAST64): Likewise.
42471 [C99-based-standards] (PRIiLEAST64): Likewise.
42472 [C99-based-standards] (PRIoLEAST64): Likewise.
42473 [C99-based-standards] (PRIuLEAST64): Likewise.
42474 [C99-based-standards] (PRIxLEAST64): Likewise.
42475 [C99-based-standards] (PRIXLEAST64): Likewise.
42476 [C99-based-standards] (SCNdLEAST64): Likewise.
42477 [C99-based-standards] (SCNiLEAST64): Likewise.
42478 [C99-based-standards] (SCNoLEAST64): Likewise.
42479 [C99-based-standards] (SCNuLEAST64): Likewise.
42480 [C99-based-standards] (SCNxLEAST64): Likewise.
42481 [C99-based-standards] (PRIdFAST64): Likewise.
42482 [C99-based-standards] (PRIiFAST64): Likewise.
42483 [C99-based-standards] (PRIoFAST64): Likewise.
42484 [C99-based-standards] (PRIuFAST64): Likewise.
42485 [C99-based-standards] (PRIxFAST64): Likewise.
42486 [C99-based-standards] (PRIXFAST64): Likewise.
42487 [C99-based-standards] (SCNdFAST64): Likewise.
42488 [C99-based-standards] (SCNiFAST64): Likewise.
42489 [C99-based-standards] (SCNoFAST64): Likewise.
42490 [C99-based-standards] (SCNuFAST64): Likewise.
42491 [C99-based-standards] (SCNxFAST64): Likewise.
42492 [C99-based-standards] (PRIdMAX): Likewise.
42493 [C99-based-standards] (PRIiMAX): Likewise.
42494 [C99-based-standards] (PRIoMAX): Likewise.
42495 [C99-based-standards] (PRIuMAX): Likewise.
42496 [C99-based-standards] (PRIxMAX): Likewise.
42497 [C99-based-standards] (PRIXMAX): Likewise.
42498 [C99-based-standards] (SCNdMAX): Likewise.
42499 [C99-based-standards] (SCNiMAX): Likewise.
42500 [C99-based-standards] (SCNoMAX): Likewise.
42501 [C99-based-standards] (SCNuMAX): Likewise.
42502 [C99-based-standards] (SCNxMAX): Likewise.
42503 [C99-based-standards] (PRIdPTR): Likewise.
42504 [C99-based-standards] (PRIiPTR): Likewise.
42505 [C99-based-standards] (PRIoPTR): Likewise.
42506 [C99-based-standards] (PRIuPTR): Likewise.
42507 [C99-based-standards] (PRIxPTR): Likewise.
42508 [C99-based-standards] (PRIXPTR): Likewise.
42509 [C99-based-standards] (SCNdPTR): Likewise.
42510 [C99-based-standards] (SCNiPTR): Likewise.
42511 [C99-based-standards] (SCNoPTR): Likewise.
42512 [C99-based-standards] (SCNuPTR): Likewise.
42513 [C99-based-standards] (SCNxPTR): Likewise.
42514 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
42516 * conform/data/stdint.h-data: Update comments to clarify
42518 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
42520 [C99-based standards] (INT8_MAX): Likewise.
42521 [C99-based standards] (INT16_MIN): Likewise.
42522 [C99-based standards] (INT16_MAX): Likewise.
42523 [C99-based standards] (INT32_MIN): Likewise.
42524 [C99-based standards] (INT32_MAX): Likewise.
42525 [C99-based standards] (INT64_MIN): Likewise.
42526 [C99-based standards] (INT64_MAX): Likewise.
42527 [C99-based standards] (UINT8_MAX): Likewise.
42528 [C99-based standards] (UINT16_MAX): Likewise.
42529 [C99-based standards] (UINT32_MAX): Likewise.
42530 [C99-based standards] (UINT64_MAX): Likewise.
42531 [C99-based standards] (INT_LEAST8_MIN): Likewise.
42532 [C99-based standards] (INT_LEAST8_MAX): Likewise.
42533 [C99-based standards] (INT_LEAST16_MIN): Likewise.
42534 [C99-based standards] (INT_LEAST16_MAX): Likewise.
42535 [C99-based standards] (INT_LEAST32_MIN): Likewise.
42536 [C99-based standards] (INT_LEAST32_MAX): Likewise.
42537 [C99-based standards] (INT_LEAST64_MIN): Likewise.
42538 [C99-based standards] (INT_LEAST64_MAX): Likewise.
42539 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
42540 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
42541 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
42542 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
42543 [C99-based standards] (INT_FAST8_MIN): Likewise.
42544 [C99-based standards] (INT_FAST8_MAX): Likewise.
42545 [C99-based standards] (INT_FAST16_MIN): Likewise.
42546 [C99-based standards] (INT_FAST16_MAX): Likewise.
42547 [C99-based standards] (INT_FAST32_MIN): Likewise.
42548 [C99-based standards] (INT_FAST32_MAX): Likewise.
42549 [C99-based standards] (INT_FAST64_MIN): Likewise.
42550 [C99-based standards] (INT_FAST64_MAX): Likewise.
42551 [C99-based standards] (UINT_FAST8_MAX): Likewise.
42552 [C99-based standards] (UINT_FAST16_MAX): Likewise.
42553 [C99-based standards] (UINT_FAST32_MAX): Likewise.
42554 [C99-based standards] (UINT_FAST64_MAX): Likewise.
42555 [C99-based standards] (INTPTR_MIN): Likewise.
42556 [C99-based standards] (INTPTR_MAX): Likewise.
42557 [C99-based standards] (UINTPTR_MAX): Likewise.
42558 [C99-based standards] (INTMAX_MIN): Likewise.
42559 [C99-based standards] (INTMAX_MAX): Likewise.
42560 [C99-based standards] (UINTMAX_MAX): Likewise.
42561 [C99-based standards] (PTRDIFF_MIN): Likewise.
42562 [C99-based standards] (PTRDIFF_MAX): Likewise.
42563 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
42564 [C99-based standards] (SIZE_MAX): Likewise.
42565 [C99-based standards] (WCHAR_MAX): Likewise.
42566 [C99-based standards] (WINT_MAX): Likewise.
42567 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
42568 constraint on value.
42569 [C99-based standards] (WCHAR_MIN): Likewise.
42570 [C99-based standards] (WINT_MIN): Likewise.
42571 [C99-based standards] (*_t): Allow.
42572 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
42573 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
42574 Include math.h-data and complex.h-data. Remove all expectations
42575 of math.h and complex.h contents.
42576 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
42578 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
42579 (struct tm): Expect tag.
42580 [C99-based-standards] (wcstof): Expect function.
42581 [C99-based-standards] (wcstold): Likewise.
42582 [C99-based-standards] (wcstoll): Likewise.
42583 [C99-based-standards] (wcstoull): Likewise.
42584 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
42585 macro-int-constant. Specify type.
42586 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
42587 constraint on value.
42588 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42590 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
42592 [ISO C standards]: Do not allow headers.
42593 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
42594 wcs[abcdefghijklmnopqrstuvwxyz]*.
42595 [ISO C standards] (*_t): Do not allow.
42596 * conform/data/wctype.h-data [C99-based standards] (iswblank):
42598 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
42599 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42601 [ISO C standards]: Do not allow headers.
42602 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
42603 is[abcdefghijklmnopqrstuvwxyz]*.
42604 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
42605 to[abcdefghijklmnopqrstuvwxyz]*.
42606 [ISO C standards] (*_t): Do not allow.
42607 * conform/data/stdalign.h-data: New file.
42608 * conform/data/stdbool.h-data: Likewise.
42609 * conform/data/stdnoreturn.h-data: Likewise.
42611 2012-11-07 Roland McGrath <roland@hack.frob.com>
42614 * manual/filesys.texi (Directory Entries): Typo fix.
42615 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
42617 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42619 * elf/elf.h (EM_AARCH64): New macro.
42620 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
42621 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
42622 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
42623 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
42624 (R_AARCH64_TLSDESC): Likewise.
42625 (NT_ARM_TLS): Likewise.
42626 (NT_ARM_HW_BREAK): Likewise.
42627 (NT_ARM_HW_WATCH): Likewise.
42629 2012-11-07 Joseph Myers <joseph@codesourcery.com>
42632 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
42633 (__ieee754_powl): Saturate nonzero exponents with absolute value
42634 below 0x1p-79 to +/- 0x1p-79.
42635 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
42636 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
42637 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
42638 nonzero exponents with absolute value below 0x1p-32 to +/-
42640 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
42641 (__ieee754_powl): Saturate nonzero exponents with absolute value
42642 below 0x1p-79 to +/- 0x1p-79.
42643 * math/libm-test.inc (pow_test): Add more tests.
42645 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42647 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
42648 _dl_s390_cap_flags with kernel. Increase string length.
42649 (_dl_s390_platforms): Add z196 and zEC12.
42651 2012-11-07 Joseph Myers <joseph@codesourcery.com>
42653 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
42654 Change XOPEN21K to XOPEN2K.
42656 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
42658 * string/memmove.c: Use memcpy when possible.
42660 2012-11-06 Andreas Jaeger <aj@suse.de>
42662 * po/eo.po: Update from translation team.
42664 2012-11-06 Joseph Myers <joseph@codesourcery.com>
42667 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
42668 exponent and small x and y exponents, scale x or y up. Increase
42669 by 2 the exponent used in scaling up.
42670 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42671 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42672 * math/libm-test.inc (fma_test): Add more tests.
42673 (fma_test_towardzero): Likewise.
42674 (fma_test_downward): Likewise.
42675 (fma_test_upward): Likewise.
42677 2012-11-05 Joseph Myers <joseph@codesourcery.com>
42680 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
42684 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
42685 namespace for names of struct fields.
42686 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
42688 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
42689 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
42691 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
42694 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42696 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
42698 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
42702 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
42705 2012-11-04 Joseph Myers <joseph@codesourcery.com>
42708 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
42709 definitely overflow as x * y not x * y + z.
42710 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42711 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42712 * math/libm-test.inc (fma_test): Add more tests.
42713 (fma_test_towardzero): Likewise.
42714 (fma_test_downward): Likewise.
42715 (fma_test_upward): Likewise.
42717 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
42721 * include/stub-tag.h: Remove file.
42722 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42724 * manual/maint.texi (Porting): Don't reference it.
42725 * Makerules ($(objpfx)stubs): Likewise.
42726 * dirent/closedir.c: Don't include <stub-tag.h>.
42727 * dirent/dirfd.c: Likewise.
42728 * dirent/fdopendir.c: Likewise.
42729 * dirent/getdents.c: Likewise.
42730 * dirent/getdents64.c: Likewise.
42731 * dirent/opendir.c: Likewise.
42732 * dirent/readdir.c: Likewise.
42733 * dirent/readdir64.c: Likewise.
42734 * dirent/readdir64_r.c: Likewise.
42735 * dirent/readdir_r.c: Likewise.
42736 * dirent/rewinddir.c: Likewise.
42737 * dirent/seekdir.c: Likewise.
42738 * dirent/telldir.c: Likewise.
42739 * gmon/profil.c: Likewise.
42740 * grp/setgroups.c: Likewise.
42741 * inet/if_index.c: Likewise.
42742 * io/access.c: Likewise.
42743 * io/chdir.c: Likewise.
42744 * io/chmod.c: Likewise.
42745 * io/chown.c: Likewise.
42746 * io/close.c: Likewise.
42747 * io/dup.c: Likewise.
42748 * io/dup2.c: Likewise.
42749 * io/dup3.c: Likewise.
42750 * io/euidaccess.c: Likewise.
42751 * io/faccessat.c: Likewise.
42752 * io/fchdir.c: Likewise.
42753 * io/fchmod.c: Likewise.
42754 * io/fchmodat.c: Likewise.
42755 * io/fchown.c: Likewise.
42756 * io/fchownat.c: Likewise.
42757 * io/fcntl.c: Likewise.
42758 * io/flock.c: Likewise.
42759 * io/fstatfs.c: Likewise.
42760 * io/fstatfs64.c: Likewise.
42761 * io/fstatvfs.c: Likewise.
42762 * io/fstatvfs64.c: Likewise.
42763 * io/futimens.c: Likewise.
42764 * io/fxstat.c: Likewise.
42765 * io/fxstat64.c: Likewise.
42766 * io/fxstatat.c: Likewise.
42767 * io/fxstatat64.c: Likewise.
42768 * io/getcwd.c: Likewise.
42769 * io/isatty.c: Likewise.
42770 * io/lchmod.c: Likewise.
42771 * io/lchown.c: Likewise.
42772 * io/link.c: Likewise.
42773 * io/linkat.c: Likewise.
42774 * io/lseek.c: Likewise.
42775 * io/lseek64.c: Likewise.
42776 * io/lxstat64.c: Likewise.
42777 * io/mkdir.c: Likewise.
42778 * io/mkdirat.c: Likewise.
42779 * io/mkfifo.c: Likewise.
42780 * io/mkfifoat.c: Likewise.
42781 * io/open.c: Likewise.
42782 * io/open64.c: Likewise.
42783 * io/openat.c: Likewise.
42784 * io/openat64.c: Likewise.
42785 * io/pipe.c: Likewise.
42786 * io/pipe2.c: Likewise.
42787 * io/poll.c: Likewise.
42788 * io/posix_fadvise.c: Likewise.
42789 * io/posix_fadvise64.c: Likewise.
42790 * io/posix_fallocate.c: Likewise.
42791 * io/posix_fallocate64.c: Likewise.
42792 * io/read.c: Likewise.
42793 * io/readlink.c: Likewise.
42794 * io/readlinkat.c: Likewise.
42795 * io/rmdir.c: Likewise.
42796 * io/sendfile.c: Likewise.
42797 * io/sendfile64.c: Likewise.
42798 * io/statfs.c: Likewise.
42799 * io/statfs64.c: Likewise.
42800 * io/statvfs.c: Likewise.
42801 * io/statvfs64.c: Likewise.
42802 * io/symlink.c: Likewise.
42803 * io/symlinkat.c: Likewise.
42804 * io/ttyname.c: Likewise.
42805 * io/ttyname_r.c: Likewise.
42806 * io/umask.c: Likewise.
42807 * io/unlink.c: Likewise.
42808 * io/unlinkat.c: Likewise.
42809 * io/utime.c: Likewise.
42810 * io/utimensat.c: Likewise.
42811 * io/write.c: Likewise.
42812 * io/xmknod.c: Likewise.
42813 * io/xmknodat.c: Likewise.
42814 * io/xstat.c: Likewise.
42815 * io/xstat64.c: Likewise.
42816 * login/getpt.c: Likewise.
42817 * login/grantpt.c: Likewise.
42818 * login/unlockpt.c: Likewise.
42819 * math/e_acoshl.c: Likewise.
42820 * math/e_acosl.c: Likewise.
42821 * math/e_asinl.c: Likewise.
42822 * math/e_atan2l.c: Likewise.
42823 * math/e_atanhl.c: Likewise.
42824 * math/e_coshl.c: Likewise.
42825 * math/e_expl.c: Likewise.
42826 * math/e_fmodl.c: Likewise.
42827 * math/e_gammal_r.c: Likewise.
42828 * math/e_hypotl.c: Likewise.
42829 * math/e_j0l.c: Likewise.
42830 * math/e_j1l.c: Likewise.
42831 * math/e_jnl.c: Likewise.
42832 * math/e_lgammal_r.c: Likewise.
42833 * math/e_log10l.c: Likewise.
42834 * math/e_log2l.c: Likewise.
42835 * math/e_logl.c: Likewise.
42836 * math/e_powl.c: Likewise.
42837 * math/e_rem_pio2l.c: Likewise.
42838 * math/e_sinhl.c: Likewise.
42839 * math/e_sqrtl.c: Likewise.
42840 * math/fclrexcpt.c: Likewise.
42841 * math/fedisblxcpt.c: Likewise.
42842 * math/feenablxcpt.c: Likewise.
42843 * math/fegetenv.c: Likewise.
42844 * math/fegetexcept.c: Likewise.
42845 * math/fegetround.c: Likewise.
42846 * math/feholdexcpt.c: Likewise.
42847 * math/fesetenv.c: Likewise.
42848 * math/fesetround.c: Likewise.
42849 * math/feupdateenv.c: Likewise.
42850 * math/fgetexcptflg.c: Likewise.
42851 * math/fraiseexcpt.c: Likewise.
42852 * math/fsetexcptflg.c: Likewise.
42853 * math/ftestexcept.c: Likewise.
42854 * math/k_cosl.c: Likewise.
42855 * math/k_rem_pio2l.c: Likewise.
42856 * math/k_sinl.c: Likewise.
42857 * math/k_tanl.c: Likewise.
42858 * math/s_asinhl.c: Likewise.
42859 * math/s_atanl.c: Likewise.
42860 * math/s_cbrtl.c: Likewise.
42861 * math/s_erfl.c: Likewise.
42862 * math/s_expm1l.c: Likewise.
42863 * math/s_log1pl.c: Likewise.
42864 * math/s_tanhl.c: Likewise.
42865 * misc/acct.c: Likewise.
42866 * misc/brk.c: Likewise.
42867 * misc/chflags.c: Likewise.
42868 * misc/chroot.c: Likewise.
42869 * misc/fchflags.c: Likewise.
42870 * misc/fgetxattr.c: Likewise.
42871 * misc/flistxattr.c: Likewise.
42872 * misc/fremovexattr.c: Likewise.
42873 * misc/fsetxattr.c: Likewise.
42874 * misc/fsync.c: Likewise.
42875 * misc/ftruncate.c: Likewise.
42876 * misc/futimes.c: Likewise.
42877 * misc/futimesat.c: Likewise.
42878 * misc/getdomain.c: Likewise.
42879 * misc/getdtsz.c: Likewise.
42880 * misc/gethostid.c: Likewise.
42881 * misc/gethostname.c: Likewise.
42882 * misc/getloadavg.c: Likewise.
42883 * misc/getpagesize.c: Likewise.
42884 * misc/getsysstats.c: Likewise.
42885 * misc/getxattr.c: Likewise.
42886 * misc/gtty.c: Likewise.
42887 * misc/ioctl.c: Likewise.
42888 * misc/lgetxattr.c: Likewise.
42889 * misc/listxattr.c: Likewise.
42890 * misc/llistxattr.c: Likewise.
42891 * misc/lremovexattr.c: Likewise.
42892 * misc/lsetxattr.c: Likewise.
42893 * misc/lutimes.c: Likewise.
42894 * misc/madvise.c: Likewise.
42895 * misc/mincore.c: Likewise.
42896 * misc/mlock.c: Likewise.
42897 * misc/mlockall.c: Likewise.
42898 * misc/mmap.c: Likewise.
42899 * misc/mprotect.c: Likewise.
42900 * misc/msync.c: Likewise.
42901 * misc/munlock.c: Likewise.
42902 * misc/munlockall.c: Likewise.
42903 * misc/munmap.c: Likewise.
42904 * misc/preadv.c: Likewise.
42905 * misc/preadv64.c: Likewise.
42906 * misc/ptrace.c: Likewise.
42907 * misc/pwritev.c: Likewise.
42908 * misc/pwritev64.c: Likewise.
42909 * misc/readv.c: Likewise.
42910 * misc/reboot.c: Likewise.
42911 * misc/remap_file_pages.c: Likewise.
42912 * misc/removexattr.c: Likewise.
42913 * misc/revoke.c: Likewise.
42914 * misc/select.c: Likewise.
42915 * misc/setdomain.c: Likewise.
42916 * misc/setegid.c: Likewise.
42917 * misc/seteuid.c: Likewise.
42918 * misc/sethostid.c: Likewise.
42919 * misc/sethostname.c: Likewise.
42920 * misc/setregid.c: Likewise.
42921 * misc/setreuid.c: Likewise.
42922 * misc/setxattr.c: Likewise.
42923 * misc/sstk.c: Likewise.
42924 * misc/stty.c: Likewise.
42925 * misc/swapoff.c: Likewise.
42926 * misc/swapon.c: Likewise.
42927 * misc/sync.c: Likewise.
42928 * misc/syncfs.c: Likewise.
42929 * misc/syscall.c: Likewise.
42930 * misc/truncate.c: Likewise.
42931 * misc/ualarm.c: Likewise.
42932 * misc/usleep.c: Likewise.
42933 * misc/ustat.c: Likewise.
42934 * misc/utimes.c: Likewise.
42935 * misc/vhangup.c: Likewise.
42936 * misc/writev.c: Likewise.
42937 * posix/_exit.c: Likewise.
42938 * posix/alarm.c: Likewise.
42939 * posix/execve.c: Likewise.
42940 * posix/fexecve.c: Likewise.
42941 * posix/fork.c: Likewise.
42942 * posix/fpathconf.c: Likewise.
42943 * posix/getaddrinfo.c: Likewise.
42944 * posix/getegid.c: Likewise.
42945 * posix/geteuid.c: Likewise.
42946 * posix/getgid.c: Likewise.
42947 * posix/getgroups.c: Likewise.
42948 * posix/getlogin.c: Likewise.
42949 * posix/getlogin_r.c: Likewise.
42950 * posix/getpgid.c: Likewise.
42951 * posix/getpid.c: Likewise.
42952 * posix/getppid.c: Likewise.
42953 * posix/getresgid.c: Likewise.
42954 * posix/getresuid.c: Likewise.
42955 * posix/getsid.c: Likewise.
42956 * posix/getuid.c: Likewise.
42957 * posix/glob64.c: Likewise.
42958 * posix/nanosleep.c: Likewise.
42959 * posix/pathconf.c: Likewise.
42960 * posix/pause.c: Likewise.
42961 * posix/posix_madvise.c: Likewise.
42962 * posix/pread.c: Likewise.
42963 * posix/pread64.c: Likewise.
42964 * posix/pwrite.c: Likewise.
42965 * posix/pwrite64.c: Likewise.
42966 * posix/sched_getaffinity.c: Likewise.
42967 * posix/sched_getp.c: Likewise.
42968 * posix/sched_gets.c: Likewise.
42969 * posix/sched_primax.c: Likewise.
42970 * posix/sched_primin.c: Likewise.
42971 * posix/sched_rr_gi.c: Likewise.
42972 * posix/sched_setaffinity.c: Likewise.
42973 * posix/sched_setp.c: Likewise.
42974 * posix/sched_sets.c: Likewise.
42975 * posix/sched_yield.c: Likewise.
42976 * posix/setgid.c: Likewise.
42977 * posix/setlogin.c: Likewise.
42978 * posix/setpgid.c: Likewise.
42979 * posix/setresgid.c: Likewise.
42980 * posix/setresuid.c: Likewise.
42981 * posix/setsid.c: Likewise.
42982 * posix/setuid.c: Likewise.
42983 * posix/sleep.c: Likewise.
42984 * posix/spawni.c: Likewise.
42985 * posix/sysconf.c: Likewise.
42986 * posix/times.c: Likewise.
42987 * posix/wait.c: Likewise.
42988 * posix/wait3.c: Likewise.
42989 * posix/wait4.c: Likewise.
42990 * posix/waitpid.c: Likewise.
42991 * resolv/gai_sigqueue.c: Likewise.
42992 * resource/getpriority.c: Likewise.
42993 * resource/getrlimit.c: Likewise.
42994 * resource/getrusage.c: Likewise.
42995 * resource/nice.c: Likewise.
42996 * resource/setpriority.c: Likewise.
42997 * resource/setrlimit.c: Likewise.
42998 * resource/ulimit.c: Likewise.
42999 * rt/aio_cancel.c: Likewise.
43000 * rt/aio_fsync.c: Likewise.
43001 * rt/aio_read.c: Likewise.
43002 * rt/aio_sigqueue.c: Likewise.
43003 * rt/aio_suspend.c: Likewise.
43004 * rt/aio_write.c: Likewise.
43005 * rt/clock_getres.c: Likewise.
43006 * rt/clock_gettime.c: Likewise.
43007 * rt/clock_nanosleep.c: Likewise.
43008 * rt/clock_settime.c: Likewise.
43009 * rt/lio_listio.c: Likewise.
43010 * rt/mq_close.c: Likewise.
43011 * rt/mq_getattr.c: Likewise.
43012 * rt/mq_notify.c: Likewise.
43013 * rt/mq_open.c: Likewise.
43014 * rt/mq_receive.c: Likewise.
43015 * rt/mq_send.c: Likewise.
43016 * rt/mq_setattr.c: Likewise.
43017 * rt/mq_timedreceive.c: Likewise.
43018 * rt/mq_timedsend.c: Likewise.
43019 * rt/mq_unlink.c: Likewise.
43020 * rt/shm_open.c: Likewise.
43021 * rt/shm_unlink.c: Likewise.
43022 * rt/timer_create.c: Likewise.
43023 * rt/timer_delete.c: Likewise.
43024 * rt/timer_getoverr.c: Likewise.
43025 * rt/timer_gettime.c: Likewise.
43026 * rt/timer_settime.c: Likewise.
43027 * setjmp/__longjmp.c: Likewise.
43028 * setjmp/setjmp.c: Likewise.
43029 * signal/kill.c: Likewise.
43030 * signal/killpg.c: Likewise.
43031 * signal/raise.c: Likewise.
43032 * signal/sigaction.c: Likewise.
43033 * signal/sigaltstack.c: Likewise.
43034 * signal/sigblock.c: Likewise.
43035 * signal/sigignore.c: Likewise.
43036 * signal/sigintr.c: Likewise.
43037 * signal/signal.c: Likewise.
43038 * signal/sigpause.c: Likewise.
43039 * signal/sigpending.c: Likewise.
43040 * signal/sigqueue.c: Likewise.
43041 * signal/sigreturn.c: Likewise.
43042 * signal/sigset.c: Likewise.
43043 * signal/sigsetmask.c: Likewise.
43044 * signal/sigstack.c: Likewise.
43045 * signal/sigsuspend.c: Likewise.
43046 * signal/sigtimedwait.c: Likewise.
43047 * signal/sigvec.c: Likewise.
43048 * signal/sigwait.c: Likewise.
43049 * signal/sigwaitinfo.c: Likewise.
43050 * signal/sysv_signal.c: Likewise.
43051 * socket/accept.c: Likewise.
43052 * socket/accept4.c: Likewise.
43053 * socket/bind.c: Likewise.
43054 * socket/connect.c: Likewise.
43055 * socket/getpeername.c: Likewise.
43056 * socket/getsockname.c: Likewise.
43057 * socket/getsockopt.c: Likewise.
43058 * socket/isfdtype.c: Likewise.
43059 * socket/listen.c: Likewise.
43060 * socket/recv.c: Likewise.
43061 * socket/recvfrom.c: Likewise.
43062 * socket/recvmsg.c: Likewise.
43063 * socket/send.c: Likewise.
43064 * socket/sendmsg.c: Likewise.
43065 * socket/sendto.c: Likewise.
43066 * socket/setsockopt.c: Likewise.
43067 * socket/shutdown.c: Likewise.
43068 * socket/sockatmark.c: Likewise.
43069 * socket/socket.c: Likewise.
43070 * socket/socketpair.c: Likewise.
43071 * stdio-common/ctermid.c: Likewise.
43072 * stdio-common/cuserid.c: Likewise.
43073 * stdio-common/remove.c: Likewise.
43074 * stdio-common/rename.c: Likewise.
43075 * stdio-common/renameat.c: Likewise.
43076 * stdio-common/tempname.c: Likewise.
43077 * stdlib/getcontext.c: Likewise.
43078 * stdlib/makecontext.c: Likewise.
43079 * stdlib/setcontext.c: Likewise.
43080 * stdlib/swapcontext.c: Likewise.
43081 * stdlib/system.c: Likewise.
43082 * streams/fattach.c: Likewise.
43083 * streams/fdetach.c: Likewise.
43084 * streams/getmsg.c: Likewise.
43085 * streams/getpmsg.c: Likewise.
43086 * streams/putmsg.c: Likewise.
43087 * streams/putpmsg.c: Likewise.
43088 * sysdeps/unix/bsd/getpt.c: Likewise.
43089 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
43090 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
43091 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43094 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
43095 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43096 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
43097 * sysvipc/msgctl.c: Likewise.
43098 * sysvipc/msgget.c: Likewise.
43099 * sysvipc/msgrcv.c: Likewise.
43100 * sysvipc/msgsnd.c: Likewise.
43101 * sysvipc/semctl.c: Likewise.
43102 * sysvipc/semget.c: Likewise.
43103 * sysvipc/semop.c: Likewise.
43104 * sysvipc/semtimedop.c: Likewise.
43105 * sysvipc/shmat.c: Likewise.
43106 * sysvipc/shmctl.c: Likewise.
43107 * sysvipc/shmdt.c: Likewise.
43108 * sysvipc/shmget.c: Likewise.
43109 * termios/tcdrain.c: Likewise.
43110 * termios/tcflow.c: Likewise.
43111 * termios/tcflush.c: Likewise.
43112 * termios/tcgetattr.c: Likewise.
43113 * termios/tcgetpgrp.c: Likewise.
43114 * termios/tcsendbrk.c: Likewise.
43115 * termios/tcsetattr.c: Likewise.
43116 * termios/tcsetpgrp.c: Likewise.
43117 * time/adjtime.c: Likewise.
43118 * time/clock.c: Likewise.
43119 * time/getitimer.c: Likewise.
43120 * time/gettimeofday.c: Likewise.
43121 * time/setitimer.c: Likewise.
43122 * time/settimeofday.c: Likewise.
43123 * time/stime.c: Likewise.
43124 * time/time.c: Likewise.
43126 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
43128 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
43131 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
43133 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
43135 2012-11-03 Joseph Myers <joseph@codesourcery.com>
43138 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
43139 FE_TONEAREST before applying Dekker multiplication and Knuth
43140 addition. Clear inexact exceptions and check for exact zero
43141 results afterwards.
43142 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43143 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43144 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43145 * math/libm-test.inc (fma_test): Add more tests.
43146 (fma_test_towardzero): Likewise.
43147 (fma_test_downward): Likewise.
43148 (fma_test_upward): Likewise.
43149 * sysdeps/generic/math_private.h (default_libc_fesetround): New
43151 (libc_fesetround): New macro.
43152 (libc_fesetroundf): Likewise.
43153 (libc_fesetroundl): Likewise.
43154 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
43156 (libc_fesetround_387): Likewise.
43157 (libc_fesetroundf): New macro.
43158 (libc_fesetround): Likewise.
43159 (libc_fesetroundl): Likewise.
43160 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
43162 (libc_fesetroundf): New macro.
43163 (libc_fesetround): Likewise.
43164 (libc_fesetroundl): Likewise.
43165 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
43166 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
43167 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
43169 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
43170 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
43172 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
43173 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
43175 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
43179 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
43180 integer constant usable in #if and use that to give value to enum
43182 (FE_DIVBYZERO): Likewise.
43183 (FE_UNDERFLOW): Likewise.
43184 (FE_OVERFLOW): Likewise.
43185 (FE_INVALID): Likewise.
43186 (FE_INVALID_SNAN): Likewise.
43187 (FE_INVALID_ISI): Likewise.
43188 (FE_INVALID_IDI): Likewise.
43189 (FE_INVALID_ZDZ): Likewise.
43190 (FE_INVALID_IMZ): Likewise.
43191 (FE_INVALID_COMPARE): Likewise.
43192 (FE_INVALID_SOFTWARE): Likewise.
43193 (FE_INVALID_SQRT): Likewise.
43194 (FE_INVALID_INTEGER_CONVERSION): Likewise.
43195 (FE_TONEAREST): Likewise.
43196 (FE_TOWARDZERO): Likewise.
43197 (FE_UPWARD): Likewise.
43198 (FE_DOWNWARD): Likewise.
43199 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
43200 (FE_DIVBYZERO): Likewise.
43201 (FE_OVERFLOW): Likewise.
43202 (FE_UNDERFLOW): Likewise.
43203 (FE_INEXACT): Likewise.
43204 (FE_TONEAREST): Likewise.
43205 (FE_DOWNWARD): Likewise.
43206 (FE_UPWARD): Likewise.
43207 (FE_TOWARDZERO): Likewise.
43208 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
43209 (FE_UNDERFLOW): Likewise.
43210 (FE_OVERFLOW): Likewise.
43211 (FE_DIVBYZERO): Likewise.
43212 (FE_INVALID): Likewise.
43213 (FE_TONEAREST): Likewise.
43214 (FE_TOWARDZERO): Likewise.
43215 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
43216 (FE_OVERFLOW): Likewise.
43217 (FE_UNDERFLOW): Likewise.
43218 (FE_DIVBYZERO): Likewise.
43219 (FE_INEXACT): Likewise.
43220 (FE_TONEAREST): Likewise.
43221 (FE_TOWARDZERO): Likewise.
43222 (FE_UPWARD): Likewise.
43223 (FE_DOWNWARD): Likewise.
43224 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
43225 (FE_DIVBYZERO): Likewise.
43226 (FE_OVERFLOW): Likewise.
43227 (FE_UNDERFLOW): Likewise.
43228 (FE_INEXACT): Likewise.
43229 (FE_TONEAREST): Likewise.
43230 (FE_DOWNWARD): Likewise.
43231 (FE_UPWARD): Likewise.
43232 (FE_TOWARDZERO): Likewise.
43234 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
43236 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
43238 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
43240 * scripts/cross-test-ssh.sh (command): Use newlines to separate
43241 commands. Quote $PWD.
43242 (blacklist_exports): Don't use remove_newlines. Replace "declare
43244 (remove_newlines): Remove.
43246 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
43248 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
43249 * stdlib/stdlib.h (atof): Moved to ...
43250 * include/bits/stdlib-float.h: Here. New file.
43251 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
43252 * stdlib/bits/stdlib-float.h: New file.
43253 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
43255 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
43258 2012-11-02 Joseph Myers <joseph@codesourcery.com>
43260 * conform/conformtest.pl (@headers): Add fenv.h.
43261 * conform/data/fenv.h-data: New file.
43262 * include/fenv.h [_ISOMAC]: Disable all contents of file except
43263 include of <math/fenv.h>.
43265 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
43266 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
43267 && !UNIX98]. Enables tests for XOPEN2K8.
43268 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
43269 POSIX2008]: Likewise.
43271 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
43272 (struct rusage): Do not expect type or its members.
43275 * math/math.h (FP_NAN): Define macro to integer constant usable in
43276 #if and use that to give value to enum constant.
43277 (FP_INFINITE): Likewise.
43278 (FP_ZERO): Likewise.
43279 (FP_SUBNORMAL): Likewise.
43280 (FP_NORMAL): Likewise.
43282 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
43284 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
43285 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
43288 2012-11-02 Roland McGrath <roland@hack.frob.com>
43290 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
43291 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
43292 autoconf-time if not.
43293 * configure.in: Remove AC_PREREQ.
43295 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43297 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
43298 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
43299 of the internal implementation.
43301 2012-11-02 Joseph Myers <joseph@codesourcery.com>
43303 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
43304 except include of <misc/sys/syslog.h>.
43306 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
43308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
43309 function returns with a NULL context exit with zero.
43311 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43313 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
43315 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
43317 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
43318 (run_program_cmd): This.
43319 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
43320 (tst_langinfo): New variable. Use it.
43322 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
43324 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
43325 floating point opcodes.
43327 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
43329 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
43332 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
43334 * sysdeps/mach/hurd/powerpc: Remove directory.
43335 * sysdeps/mach/powerpc: Likewise.
43337 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
43339 * scripts/check-local-headers.sh: Ignore c++ headers.
43341 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
43343 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
43344 __libc_cleanup_region_start argument.
43346 2012-11-01 Joseph Myers <joseph@codesourcery.com>
43350 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
43351 x * y using scaling, not as x * y + z.
43352 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43353 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43354 * math/libm-test.inc (fma_test): Add more tests.
43355 (fma_test_towardzero): Likewise.
43356 (fma_test_downward): Likewise.
43357 (fma_test_upward): Likewise.
43359 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
43361 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
43363 2012-10-31 Joseph Myers <joseph@codesourcery.com>
43365 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
43368 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
43370 * rt/tst-shm.c (worker): Correct checking for mmap failure.
43372 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
43374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43379 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43382 Fix the order of the list for glibc 2.17.
43383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43386 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
43388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43390 2012-10-31 Joseph Myers <joseph@codesourcery.com>
43393 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
43394 for low part of x being zero before using __atanl (y).
43395 * math/libm-test.inc (atan2_test): Add another test.
43397 * manual/install.texi (Configuring and compiling): Document
43398 general use of test-wrapper and test-wrapper-env.
43399 * INSTALL: Regenerated.
43401 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
43402 (__fma): Do not extract and scale down low bits on after-rounding
43403 systems when result rounded to normal precision would have normal
43405 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
43406 (__fmal): Do not extract and scale down low bits on after-rounding
43407 systems when result rounded to normal precision would have normal
43409 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
43410 (__fmal): Do not extract and scale down low bits on after-rounding
43411 systems when result rounded to normal precision would have normal
43413 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
43415 (fma_test): Add more tests.
43416 (fma_test_towardzero): Likewise.
43417 (fma_test_downward): Likewise.
43418 (fma_test_upward): Likewise.
43420 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
43422 * sysdeps/i386/tininess.h: Renamed to ...
43423 * sysdeps/x86/tininess.h: This.
43424 * sysdeps/x86_64/tininess.h: Removed.
43426 2012-10-30 Joseph Myers <joseph@codesourcery.com>
43428 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
43429 input. Use $(build-program-cmd).
43430 ($(objpfx)tst-array1-static.out): Likewise.
43431 ($(objpfx)tst-array2.out): Likewise.
43432 ($(objpfx)tst-array3.out): Likewise.
43433 ($(objpfx)tst-array4.out): Likewise.
43434 ($(objpfx)tst-array5.out): Likewise.
43435 ($(objpfx)tst-array5-static.out): Likewise.
43437 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
43439 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
43442 * nss/nsswitch.h (nss_interface_function): Provide new
43443 macro for use with NSS functions.
43444 * grp/initgroups.c: Use new macro.
43445 * nss/getXXbyYY.c: Likewise.
43446 * nss/getXXbyYY_r.c: Likewise.
43447 * nss/getXXent.c: Likewise.
43448 * nss/getXXent_r.c: Likewise.
43449 * sysdeps/posix/getaddrinfo.c: Likewise.
43451 2012-10-30 Andreas Jaeger <aj@suse.de>
43453 * po/ru.po: Update Russion translation from translation project.
43455 2012-10-30 Joseph Myers <joseph@codesourcery.com>
43459 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
43460 result and shift together with sticky bit instead of replicating
43461 round-to-nearest rounding.
43462 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43463 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43464 * math/libm-test.inc (fma_test): Add more tests. Do not permit
43465 missing underflow exceptions.
43466 (fma_test_towardzero): Add more tests.
43467 (fma_test_downward): Likewise.
43468 (fma_test_upward): Likewise.
43471 * sysdeps/generic/tininess.h: New file.
43472 * sysdeps/i386/tininess.h: Likewise.
43473 * sysdeps/sh/tininess.h: Likewise.
43474 * sysdeps/x86_64/tininess.h: Likewise.
43475 * stdlib/tst-strtod-underflow.c: Likewise.
43476 * stdlib/tst-tininess.c: Likewise.
43477 * stdlib/strtod_l.c: Include <tininess.h>.
43478 (round_and_return): Do not set errno for exact underflow cases.
43479 Force an underflow exception when setting errno for underflow.
43480 Determine underflow based on rounding to normal precision if
43481 TININESS_AFTER_ROUNDING.
43482 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
43483 ERANGE for exact underflow cases.
43484 * stdlib/Makefile (tests): Add tst-tininess and
43485 tst-strtod-underflow.
43486 ($(objpfx)tst-tininess): Use $(link-libm).
43487 ($(objpfx)tst-strtod-underflow): Likewise.
43489 2012-10-30 Andreas Jaeger <aj@suse.de>
43492 * elf/Makefile (tests): Remove conditional for have-initfini-array
43493 since this is now always required and the variable does not exist
43495 (tests-static): Likewise.
43496 (modules-names): Likewise.
43498 * po/eo.po: Add Esperanto translation from translation project.
43500 * elf/tst-array1.c (fini_array): Make writeable so that it can be
43501 merged with constructor/destructor.
43502 (init_array): Likewise.
43503 * elf/tst-array2dep.c (fini_array): Likewise.
43504 (init_array): Likewise.
43506 2012-10-29 Mike Frysinger <vapier@gentoo.org>
43508 * manual/message.texi: Delete @cartouche tags.
43510 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
43512 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
43514 * sysdeps/mach/hurd/fsync.c: Likewise.
43516 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
43517 [_POSIX_REALTIME_SIGNALS]: Change condition to
43518 [_POSIX_REALTIME_SIGNALS > 0].
43520 2012-10-27 Andreas Jaeger <aj@suse.de>
43522 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
43523 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
43524 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
43525 [__WORDSIZE != 64]: Likewise.
43527 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
43529 * iconvdata/tst-table.sh: Remove ${SHELL}.
43530 * iconvdata/tst-tables.sh: Likewise.
43532 2012-10-25 David S. Miller <davem@davemloft.net>
43534 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43535 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
43538 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
43540 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43541 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
43542 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
43545 2012-10-25 Roland McGrath <roland@hack.frob.com>
43547 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43548 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
43551 2012-10-25 Joseph Myers <joseph@codesourcery.com>
43552 Jim Blandy <jimb@codesourcery.com>
43554 * scripts/cross-test-ssh.sh: New file.
43555 * manual/install.texi (Configuring and compiling): Document use of
43557 * INSTALL: Regenerated.
43559 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
43561 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
43564 2012-10-25 Joseph Myers <joseph@codesourcery.com>
43566 * Makeconfig (run-program-prefix): Fix comment.
43568 2012-10-24 Joseph Myers <joseph@codesourcery.com>
43569 Jim Blandy <jimb@codesourcery.com>
43571 * Makeconfig (test-wrapper): New variable,
43572 (test-wrapper-env): Likewise.
43573 [$(cross-compiling) = yes && $(test-wrapper) != ""]
43574 (run-built-tests): Define to yes.
43575 (run-program-prefix): Use $(test-wrapper).
43576 (built-program-cmd): Likewise.
43577 * Rules (make-test-out): Use $(test-wrapper-env) and
43578 $(host-built-program-cmd).
43579 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
43580 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
43582 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
43583 $(test-wrapper-env) to tst-rtld-load-self.sh.
43584 ($(objpfx)order2.out): Use $(test-wrapper).
43585 ($(objpfx)tst-initorder.out): Likewise.
43586 ($(objpfx)tst-initorder2.out): Likewise.
43587 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
43588 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
43589 (test_wrapper_env): New variable. Use it to run ld.so.
43590 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
43591 Use it to run ld.so.
43592 (test_wrapper_env): Likewise.
43593 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
43594 $(test-wrapper) to run-iconv-test.sh.
43595 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
43596 (ICONV): Use $test_wrapper.
43597 * posix/Makefile ($(objpfx)globtest.out): Pass
43598 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
43599 globtest.sh, not $(run-program-prefix).
43600 * posix/globtest.sh (run_via_rtld_prefix): New variable.
43601 (test_wrapper): Likewise.
43602 (test_wrapper_env): Likewise. Use it to run globtest with HOME
43603 set together with run_via_rtld_prefix.
43604 (run_program_prefix): Define in terms of test_wrapper and
43605 run_via_rtld_prefix.
43607 2012-10-24 Roland McGrath <roland@hack.frob.com>
43609 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
43610 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
43614 * include/time.h: Remove librt_hidden_proto (clock_gettime).
43615 Declare __clock_getres, __clock_gettime, __clock_settime,
43616 __clock_nanosleep, and __clock_getcpuclockid.
43617 * rt/clock_gettime.c: Define __clock_gettime as an alias.
43618 Remove librt_hidden_def (clock_gettime).
43619 * sysdeps/unix/clock_gettime.c: Likewise.
43620 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
43621 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43622 * rt/clock_getres.c: Define __clock_getres as an alias.
43623 * sysdeps/posix/clock_getres.c: Likewise.
43624 * rt/clock_settime.c: Define __clock_settime as an alias.
43625 * sysdeps/unix/clock_settime.c: Likewise.
43626 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
43627 * sysdeps/unix/clock_nanosleep.c: Likewise.
43628 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43629 * rt/clock-compat.c: New file.
43630 * rt/Makefile (librt-routines): Add clock-compat and move
43631 $(clock-routines) to ...
43632 (routines): ... here, new variable.
43633 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
43634 Don't add get_clockfreq here.
43635 * rt/Versions (libc: GLIBC_2.17): New version set.
43636 Add clock_* symbols here.
43637 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
43638 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
43639 (GLIBC_2.17): Add clock_* symbols.
43640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43642 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43648 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43651 * NEWS: Mention the move.
43653 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43654 Use __open, __read, __close rather than their public counterparts.
43655 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43656 (__get_clockfreq_via_cpuinfo): Likewise.
43657 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
43658 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
43660 * config.h.in (HAVE_IFUNC): New #undef.
43661 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
43663 * configure: Regenerated.
43665 2012-10-24 Mike Frysinger <vapier@gentoo.org>
43667 * configure.in: Move READELF check to start of file.
43668 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
43669 libc_cv_asm_gnu_indirect_function in the process.
43670 * configure: Regenerated.
43672 2012-10-24 Mike Frysinger <vapier@gentoo.org>
43674 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
43675 send the output to /dev/null.
43676 (libc_cv_cc_with_libunwind): Likewise.
43677 (libc_cv_as_noexecstack): Likewise.
43678 * configure: Regenerate.
43680 2012-10-24 Joseph Myers <joseph@codesourcery.com>
43682 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
43684 * posix/globtest.sh (TMPDIR): Do not set.
43685 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
43686 (testout): Likewise.
43688 2012-10-24 Andreas Jaeger <aj@suse.de>
43690 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
43691 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
43692 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
43693 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
43694 posix_fadvise64, posix_fallocate64.
43696 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
43697 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
43698 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
43700 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
43702 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
43704 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
43705 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
43706 <bits/fcntl-linux.h>.
43707 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
43709 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
43710 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
43711 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
43712 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43713 [__WORDSIZE != 64]: Likewise.
43715 2012-10-23 Joseph Myers <joseph@codesourcery.com>
43717 * Makeconfig (run-built-tests): New variable.
43718 * Rules [$(cross-compiling) = yes]: Change condition to
43719 [$(run-built-tests) = no].
43720 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43721 to [$(run-built-tests) = yes].
43722 * elf/Makefile [$(cross-compiling) = no]: Likewise
43723 * grp/Makefile [$(cross-compiling) = no]: Likewise.
43724 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43725 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43726 * intl/Makefile [$(cross-compiling) = no]: Likewise.
43727 * io/Makefile [$(cross-compiling) = no]: Likewise.
43728 * libio/Makefile [$(cross-compiling) = no]: Likewise.
43729 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
43730 * misc/Makefile [$(cross-compiling) = no]: Likewise.
43731 * posix/Makefile [$(cross-compiling) = no]: Likewise.
43732 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
43733 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
43734 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
43735 * string/Makefile [$(cross-compiling) = no]: Likewise.
43737 * posix/Makefile ($(objpfx)globtest.out): Pass
43738 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
43739 $(rtld-installed-name).
43740 * posix/globtest.sh (elf_objpfx): Remove variable.
43741 (rtld_installed_name): Likewise.
43742 (library_path): Likewise.
43743 (run_program_prefix): New variable. Use for running globtest
43746 2012-10-23 Jim Blandy <jimb@codesourcery.com>
43747 Joseph Myers <joseph@codesourcery.com>
43749 * Makeconfig (host-built-program-cmd): New variable.
43750 * elf/Makefile (tst-stackguard1-ARGS): Use
43751 $(host-built-program-cmd).
43752 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
43753 (tst-spawn-ARGS): Likewise.
43754 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
43756 2012-10-23 Joseph Myers <joseph@codesourcery.com>
43757 Jim Blandy <jimb@codesourcery.com>
43759 * Makeconfig (run-via-rtld-prefix): New variable.
43760 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
43761 (built-program-cmd): Likewise.
43763 2012-10-22 Andreas Jaeger <aj@suse.de>
43765 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
43766 __O_RSYNC if it exists, otherwise to O_SYNC.
43768 2012-10-22 Jim Blandy <jimb@codesourcery.com>
43769 Joseph Myers <joseph@codesourcery.com>
43771 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
43773 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
43775 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
43778 2012-10-22 Andreas Jaeger <aj@suse.de>
43780 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
43782 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
43784 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43785 bits/fcntl-linux.h.
43787 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
43788 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
43790 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
43792 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
43795 2012-10-21 Jim Blandy <jimb@codesourcery.com>
43796 Joseph Myers <joseph@codesourcery.com>
43798 * config.make.in (NM): New variable.
43800 2012-10-21 Andreas Jaeger <aj@suse.de>
43802 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
43803 definitions and declarations that are provided by
43804 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43806 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
43809 * elf/Makefile (tests-static): Add tst-leaks1-static.
43810 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
43811 ($(objpfx)tst-leaks1-static): New rule.
43812 ($(objpfx)tst-leaks1-static-mem): Likewise.
43813 (tst-leaks1-static-ENV): New macro.
43814 * elf/dl-open.c (dl_open_worker): Check the main application
43815 only if SHARED is defined.
43816 * elf/tst-leaks1-static.c: New file.
43818 2012-10-20 Andreas Jaeger <aj@suse.de>
43820 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
43821 generic values for Linux.
43822 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
43823 and declarations that are provided by <bits/fcntl-linux.h> and
43824 include <bits/fcntl-linux.h>.
43825 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43826 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43828 2012-10-20 Roland McGrath <roland@hack.frob.com>
43830 * io/fcntl.h: Move include of <bits/types.h> to the top and
43831 include it unconditionally.
43833 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
43835 * wcsmbs/Makefile (tests-ifunc): New variable.
43836 (tests): Add $(tests-ifunc).
43837 * wcsmbs/test-wcschr-ifunc.c: New file.
43838 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43839 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43840 * wcsmbs/test-wcslen-ifunc.c: Likewise.
43841 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43842 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43844 * string/Makefile (tests-ifunc): New variable.
43845 (tests): Add $(tests-ifunc).
43846 * string/test-memccpy.c (TEST_NAME): New macro.
43847 * string/test-memchr.c (TEST_NAME): Likewise.
43848 * string/test-memcmp.c (TEST_NAME): Likewise.
43849 * string/test-memcpy.c (TEST_NAME): Likewise.
43850 * string/test-memmem.c (TEST_NAME): Likewise.
43851 * string/test-memmove.c (TEST_NAME): Likewise.
43852 * string/test-memset.c (TEST_NAME): Likewise.
43853 * string/test-rawmemchr.c (TEST_NAME): Likewise.
43854 * string/test-stpcpy.c (TEST_NAME): Likewise.
43855 * string/test-stpncpy.c (TEST_NAME): Likewise.
43856 * string/test-strcasecmp.c (TEST_NAME): Likewise.
43857 * string/test-strcasestr.c (TEST_NAME): Likewise.
43858 * string/test-strcat.c (TEST_NAME): Likewise.
43859 * string/test-strchr.c (TEST_NAME): Likewise.
43860 * string/test-strcmp.c(TEST_NAME): Likewise.
43861 * string/test-strcpy.c (TEST_NAME): Likewise.
43862 * string/test-strcspn.c (TEST_NAME): Likewise.
43863 * string/test-strlen.c (TEST_NAME): Likewise.
43864 * string/test-strncasecmp.c (TEST_NAME): Likewise.
43865 * string/test-strncmp.c (TEST_NAME): Likewise.
43866 * string/test-strncpy.c (TEST_NAME): Likewise.
43867 * string/test-strnlen.c (TEST_NAME): Likewise.
43868 * string/test-strpbrk.c (TEST_NAME): Likewise.
43869 * string/test-strrchr.c (TEST_NAME): Likewise.
43870 * string/test-strspn.c (TEST_NAME): Likewise.
43871 * string/test-strstr.c (TEST_NAME): Likewise.
43872 * string/test-bcopy-ifunc.c: New file.
43873 * string/test-bzero-ifunc.c: Likewise.
43874 * string/test-memccpy-ifunc.c: Likewise.
43875 * string/test-memchr-ifunc.c: Likewise.
43876 * string/test-memcmp-ifunc.c: Likewise.
43877 * string/test-memcpy-ifunc.c: Likewise.
43878 * string/test-memmem-ifunc.c: Likewise.
43879 * string/test-memmove-ifunc.c: Likewise.
43880 * string/test-mempcpy-ifunc.c: Likewise.
43881 * string/test-memset-ifunc.c: Likewise.
43882 * string/test-rawmemchr-ifunc.c: Likewise.
43883 * string/test-stpcpy-ifunc.c: Likewise.
43884 * string/test-stpncpy-ifunc.c: Likewise.
43885 * string/test-strcasecmp-ifunc.c: Likewise.
43886 * string/test-strcasestr-ifunc.c: Likewise.
43887 * string/test-strcat-ifunc.c: Likewise.
43888 * string/test-strchr-ifunc.c: Likewise.
43889 * string/test-strchrnul-ifunc.c: Likewise.
43890 * string/test-strcmp-ifunc.c: Likewise.
43891 * string/test-strcpy-ifunc.c: Likewise.
43892 * string/test-strcspn-ifunc.c: Likewise.
43893 * string/test-strlen-ifunc.c: Likewise.
43894 * string/test-strncasecmp-ifunc.c: Likewise.
43895 * string/test-strncat-ifunc.c: Likewise.
43896 * string/test-strncmp-ifunc.c: Likewise.
43897 * string/test-strncpy-ifunc.c: Likewise.
43898 * string/test-strnlen-ifunc.c: Likewise.
43899 * string/test-strpbrk-ifunc.c: Likewise.
43900 * string/test-strrchr-ifunc.c: Likewise.
43901 * string/test-strspn-ifunc.c: Likewise.
43902 * string/test-strstr-ifunc.c: Likewise.
43904 * debug/Makefile (tests-ifunc): New variable.
43905 (tests): Add $(tests-ifunc).
43906 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
43907 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
43908 * debug/test-stpcpy_chk-ifunc.c: New file.
43909 * debug/test-strcpy_chk-ifunc.c: Likewise.
43911 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
43914 * elf/dl-load.c (open_verify): Retry read if the entire ELF
43915 header is not read in.
43917 2012-10-19 Joseph Myers <joseph@codesourcery.com>
43919 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
43920 script to $(SHELL) as $<. Pass $(common-objpfx) to script
43921 directly. Pass built executable to script as
43922 $(built-program-cmd).
43923 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
43924 $testprogram without using LD_LIBRARY_PATH and $ldso.
43926 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
43927 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
43928 $(rtld-installed-name).
43929 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
43930 (rtld_installed_name): Likewise.
43931 (library_path): Likewise.
43932 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
43933 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
43934 $(run-program-prefix) to tst-tables.sh.
43935 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
43936 it to run tst-table-from and tst-table-to.
43937 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
43938 Pass it to tst-table.sh.
43939 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
43940 $(run-program-prefix) to tst-gettext.sh.
43941 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
43943 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
43945 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
43946 to run tst-gettext.
43947 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
43948 to run tst-gettext2.
43949 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
43950 to run tst-translit.
43951 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
43952 $(run-program-prefix) to tst-mtrace.sh.
43953 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
43955 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
43956 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
43957 $(rtld-installed-name).
43958 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
43959 (rtld_installed_name): Likewise.
43960 (run_program_prefix): New variable. Use it to run wordexp-test.
43962 * Makeconfig (ARCH): Remove all definitions.
43963 (machine): Likewise.
43964 [ARCH]: Remove conditional code.
43965 [!objdir]: Give error.
43966 [!objdir] (objpfx): Remove.
43967 [!objdir] (common-objpfx): Likewise.
43968 [!objdir] (common-objdir): Likewise.
43969 * configure.in (config_makefile): Remove. Hardcode Makefile in
43970 AC_CONFIG_FILES call.
43971 * configure: Regenerated.
43974 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
43976 (testout): Likewise.
43978 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
43979 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
43980 $(rtld-installed-name).
43981 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
43982 (rtld_installed_name): Likwise.
43983 (runit): Remove function.
43984 (run_getconf): New variable, Use it for running getconf binary.
43986 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
43989 * string/test-memmem.c (check_result): New function.
43990 (do_one_test): Use it.
43991 (check1): New function.
43992 (test_main): Use it.
43994 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
43996 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
43998 2012-10-18 Joseph Myers <joseph@codesourcery.com>
44000 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
44001 (_G_LSEEK64): Likewise.
44002 (_G_MMAP64): Likewise.
44003 (_G_FSTAT64): Likewise.
44004 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
44005 (_G_LSEEK64): Likewise.
44006 (_G_MMAP64): Likewise.
44007 (_G_FSTAT64): Likewise.
44008 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
44009 unconditional. Call __mmap64 directly.
44010 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
44011 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
44012 __lseek64 directly.
44013 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
44014 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
44016 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
44017 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
44018 __lseek64 directly.
44019 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
44020 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
44021 __lseek64 directly.
44022 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
44023 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
44024 __lseek64 directly.
44025 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
44026 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
44027 __fxstat64 directly.
44028 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
44029 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
44031 (freopen64) [!_G_OPEN64]: Remove conditional code.
44032 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
44034 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
44035 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
44037 (ftello64) [!_G_LSEEK64]: Remove conditional code.
44038 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
44040 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44041 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
44043 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
44044 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
44046 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44047 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
44049 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44050 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
44052 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44054 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
44057 * manual/memory.texi (Malloc Tunable Parameters): Add note
44058 about free list pointers overwriting some perturb bytes.
44059 Wording suggested by Roland McGrath.
44061 2012-10-17 Joseph Myers <joseph@codesourcery.com>
44063 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
44064 (lgamma_test): Likewise.
44065 (tgamma_test): Likewise.
44067 2012-10-16 Florian Weimer <fweimer@redhat.com>
44070 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
44071 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
44073 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
44075 * NEWS: Mention BZ #14716.
44076 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
44077 when removing AVAILABLE1_USES_J macro.
44079 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
44081 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
44082 (__bswap_64): __uint64_t for unsigned 64-bit int.
44084 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
44086 * include/string.h (memmem): Declare libc hidden alias.
44087 * string/memmem.c (memmem): Define libc hidden alias.
44088 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
44089 __read, __close instead of open, read, close.
44091 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
44093 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
44094 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
44096 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
44097 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
44098 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
44100 (__rawmemchr_sse2): Likewise.
44101 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
44102 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
44103 (__strchr_sse2): Likewise.
44104 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
44105 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
44106 (__strcasecmp_sse2): Likewise.
44107 (__strncasecmp_sse2): Likewise.
44108 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
44109 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
44110 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
44111 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
44112 (__strrchr_sse2): Likewise.
44113 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
44115 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
44116 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
44117 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
44118 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44119 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
44120 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
44121 * sysdeps/x86_64/multiarch/memset.S: Likewise.
44122 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44123 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
44124 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
44125 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
44126 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
44127 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
44128 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
44129 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
44130 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44131 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
44132 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
44133 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
44134 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
44135 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
44136 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
44137 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
44138 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44139 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
44140 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44141 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
44142 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44143 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
44144 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
44146 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
44148 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
44149 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
44150 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
44151 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
44153 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
44155 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
44156 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
44157 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
44158 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
44160 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44161 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44162 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44163 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44164 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44165 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44166 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44167 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44168 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44169 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44170 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44171 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44172 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44173 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
44174 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
44175 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44176 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
44177 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
44178 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44179 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44180 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44181 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44182 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44183 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44184 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44185 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
44186 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
44187 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
44188 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
44189 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44190 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
44191 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44192 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44193 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
44194 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44195 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44196 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44197 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44198 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44199 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44200 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
44202 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
44203 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
44204 * include/ifunc-impl-list.h: New file.
44205 * misc/ifunc-impl-list.c: Likewise.
44206 * misc/Makefile (routines): Add ifunc-impl-list.
44207 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
44208 * string/test-string.h: Include <ifunc-impl-list.h>.
44209 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
44210 TEST_NAME]: New variables.
44211 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
44213 (test_init): Call __libc_ifunc_impl_list to initialize
44214 func_list if TEST_IFUNC and TEST_NAME are defined.
44216 * string/Makefile (strop-tests): Add bcopy and bzero.
44217 * string/test-bcopy.c: New file.
44218 * string/test-bzero.c: Likewise.
44219 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
44221 * string/test-memset.c: Support bzero test if TEST_BZERO is
44223 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
44225 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
44227 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
44230 2012-10-10 Joseph Myers <joseph@codesourcery.com>
44232 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
44233 * configure: Regenerated.
44235 * Makeconfig (+link-static-before-libc): Don't include
44236 $(link-static-libc).
44238 * libio/libio.h (_IO_pos_t): Remove.
44240 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
44242 * NEWS: Add note about FIPS mode. Wording suggested by Roland
44245 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
44247 * crypt/crypt-entry.c: Include fips-private.h.
44248 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
44249 * crypt/md5c-test.c (main): Tolerate disabled MD5.
44250 * sysdeps/unix/sysv/linux/fips-private.h: New file.
44251 * sysdeps/generic/fips-private.h: New file, dummy fallback.
44253 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
44255 * crypt/crypt-private.h: Include stdbool.h.
44256 (_ufc_setup_salt_r): Return bool.
44257 * crypt/crypt-entry.c: Include errno.h.
44258 (__crypt_r): Return NULL with EINVAL for bad salt.
44259 * crypt/crypt_util.c (bad_for_salt): New.
44260 (_ufc_setup_salt_r): Check that salt is long enough and within
44261 the specified alphabet.
44262 * crypt/badsalttest.c: New file.
44263 * crypt/Makefile (tests): Add it.
44264 ($(objpfx)badsalttest): New.
44266 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
44268 * NEWS: Add entry for BZ #14602.
44270 2012-10-09 Joseph Myers <joseph@codesourcery.com>
44272 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
44274 * math/libm-test.inc: Update comment listing what functions and
44276 (isgreater_test): New function.
44277 (isgreaterequal_test): Likewise.
44278 (isless_test): Likewise.
44279 (islessequal_test): Likewise.
44280 (islessgreater_test): Likewise.
44281 (isunordered_test): Likewise.
44282 (main): Call the new functions.
44284 2012-10-09 Roland McGrath <roland@hack.frob.com>
44286 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
44287 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
44288 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
44289 * sysdeps/i386/configure: Regenerated.
44290 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
44291 * sysdeps/mach/configure: Regenerated.
44292 * sysdeps/mach/hurd/configure: Regenerated.
44293 * sysdeps/powerpc/configure: Regenerated.
44294 * sysdeps/powerpc/powerpc32/configure: Regenerated.
44295 * sysdeps/powerpc/powerpc64/configure: Regenerated.
44296 * sysdeps/s390/s390-32/configure: Regenerated.
44297 * sysdeps/s390/s390-64/configure: Regenerated.
44298 * sysdeps/sh/configure: Regenerated.
44299 * sysdeps/sparc/configure: Regenerated.
44300 * sysdeps/unix/sysv/linux/configure: Regenerated.
44301 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
44302 * sysdeps/x86_64/configure: Regenerated.
44304 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
44305 defined. Don't check if MAP is NULL.
44307 2012-10-09 Joseph Myers <joseph@codesourcery.com>
44309 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
44310 (_G_stat64): Likewise.
44311 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
44312 (_G_stat64): Likewise.
44313 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
44314 instead of struct _G_stat64.
44315 * libio/fileops.c (mmap_remap_check): Likewise.
44316 (decide_maybe_mmap): Likewise.
44317 (_IO_new_file_seekoff): Likewise.
44318 (_IO_file_stat): Likewise.
44319 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
44321 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
44322 instead of struct _G_stat64.
44323 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44325 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
44328 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44330 (CHECK_EOL): New macro.
44331 (two_way_short_needle): Check beginning of haystack for EOL. Use
44333 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44334 Replace with CHECK_EOL.
44335 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44336 Replace with CHECK_EOL.
44338 2012-10-08 Joseph Myers <joseph@codesourcery.com>
44340 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
44342 * math/libm-test.inc: Update comment listing what functions and
44344 (finite_test): New function.
44345 (isinf_test): Likewise.
44346 (isnan_test): Likewise.
44347 (fpclassify_test): Test subnormal input.
44348 (isfinite_test): Likewise.
44349 (isnormal_test): Likewise.
44350 (main): Call the new functions.
44352 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
44355 * Makerules (%.dynsym): Force C locale when running
44356 $(OBJDUMP) --dynamic-syms.
44358 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
44360 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
44363 2012-10-06 David S. Miller <davem@davemloft.net>
44365 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
44366 upper 32-bits of the length value in %o2 since we use branch-on-register
44367 tests which consider the entire 64-bit register.
44369 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
44371 * string/test-strstr.c (check2): Add a test for page boundary.
44373 2012-10-05 David S. Miller <davem@davemloft.net>
44375 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
44376 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
44378 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44380 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44381 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
44382 and bzero when HWCAP_SPARC_CRYPTO is present.
44384 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
44387 * string/test-strstr.c (check2): New function.
44388 (test_main): Call check2.
44390 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
44392 * string/bug-strcasestr1.c (do_test): Moved to ...
44393 * string/test-strcasestr.c (check1): Here. New function.
44394 (do_one_test): Break out result checking code into ...
44395 (check_result): This. New function.
44396 (do_one_test): Call check_result.
44397 (test_main): Call check1.
44398 * string/bug-strchr1.c (do_test): Moved to ...
44399 * string/test-strchr.c (check1): Here. New function.
44400 (do_one_test): Break out result checking code into ...
44401 (check_result): This. New function.
44402 (do_one_test): Call check_result.
44403 (test_main): Call check1.
44404 * string/bug-strstr1.c (main): Moved to ...
44405 * string/test-strstr.c (check1): Here. New function.
44406 (do_one_test): Break out result checking code into ...
44407 (check_result): This. New function.
44408 (do_one_test): Call check_result.
44409 (test_main): Call check1.
44410 * string/bug-strcasestr1.c: Removed.
44411 * string/bug-strchr1.c: Likewise.
44412 * string/bug-strstr1.c: Likewise.
44414 * elf/Makefile (dl-routines): Add hwcaps.
44415 * elf/dl-support.c (_dl_important_hwcaps): Removed.
44416 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
44417 (_dl_important_hwcaps): Moved to ...
44418 * elf/dl-hwcaps.c: Here. New file.
44419 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
44422 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
44423 if IS_IN_rtld isn't defined.
44425 * elf/dl-support.c (_dl_sysinfo_map): New.
44426 Include "get-dynamic-info.h" and "setup-vdso.h".
44427 (_dl_non_dynamic_init): Call setup_vdso.
44428 * elf/dynamic-link.h: Don't include <assert.h>.
44429 (elf_get_dynamic_info): Moved to ...
44430 * elf/get-dynamic-info.h: Here. New file.
44431 * elf/dynamic-link.h: Include "get-dynamic-info.h".
44432 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
44433 * elf/setup-vdso.h: Here. New file.
44434 * elf/rtld.c: Include "setup-vdso.h".
44435 (dl_main): Call setup_vdso.
44437 2012-10-05 Joseph Myers <joseph@codesourcery.com>
44439 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
44440 creal in comment listing functions tested. List finite, isinf,
44441 isnan, isless, islessequal, isgreater, isgreaterequal,
44442 islessgreater, isunordered, lgamma_r and pow10 as functions and
44443 macros not tested. Mention which functions not tested are aliases
44444 for other functions. Fix typo. Note that signs of NaNs are not
44447 * scripts/config.guess: Update from config.git.
44448 * scripts/config.sub: Likewise.
44450 2012-10-04 Roland McGrath <roland@hack.frob.com>
44452 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
44453 * misc/madvise.c (madvise): Renamed to __madvise.
44454 Make madvise a weak alias.
44455 * include/sys/mman.h: Declare __madvise.
44456 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
44457 * sysdeps/unix/syscalls.list
44458 (madvise): Make __madvise the strong name, and madvise a weak alias.
44459 * sysdeps/unix/sysv/linux/syscalls.list
44460 (madvise, mmap): Remove redundant entries.
44461 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
44462 * malloc/malloc.c (mtrim): Likewise.
44463 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
44465 2012-10-03 Roland McGrath <roland@hack.frob.com>
44467 * sysdeps/mach/hurd/dl-cache.c: File removed.
44468 * config.h.in (USE_LDCONFIG): New #undef.
44469 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
44470 * configure: Regenerated.
44471 * elf/Makefile (dl-routines): Add dl-cache only under
44472 [$(use-ldconfig) = yes].
44473 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
44474 cache on [USE_LDCONFIG].
44475 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
44477 * elf/rtld.c (dl_main): Likewise.
44479 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
44481 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
44482 _SC_LEVEL4_CACHE_LINESIZE.
44484 2012-10-03 Roland McGrath <roland@hack.frob.com>
44486 * sysdeps/unix/bsd/confstr.h: File removed.
44488 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
44490 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
44493 2012-10-02 Roland McGrath <roland@hack.frob.com>
44495 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
44496 Make 'mapoff' field ElfW(Off) rather than off_t.
44498 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
44500 * nscd/Makefile: Remove nscd-cflags and all its users.
44501 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
44502 (CFLAGS-nonlib): Add compiler flags for nscd modules.
44505 * malloc.c (malloc_printerr): Clarify error message.
44507 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
44510 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44511 Set bit_FMA_Usable if FMA is supported.
44512 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
44514 (bit_FMA4_Usable): Updated.
44515 (index_FMA_Usable): New macro.
44516 (CPUID_FMA): Likewise
44517 (HAS_FMA): Defined with bit_FMA_Usable.
44519 2012-10-01 Roland McGrath <roland@hack.frob.com>
44521 * bits/types.h (__swblk_t): Type removed.
44522 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
44523 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
44524 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44525 (__SWBLK_T_TYPE): Likewise.
44526 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44527 (__SWBLK_T_TYPE): Likewise.
44528 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44529 (__SWBLK_T_TYPE): Likewise.
44530 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44531 (__SWBLK_T_TYPE): Likewise.
44533 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
44534 Honza Horak <hhorak@redhat.com>
44536 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
44537 (xdr_mapname): Use YPMAXMAP as maxsize.
44538 (xdr_peername): Use YPMAXPEER as maxsize.
44539 (xdr_keydat): Use YPAXRECORD as maxsize.
44540 (xdr_valdat): Use YPMAXRECORD as maxsize.
44542 2012-10-01 Roland McGrath <roland@hack.frob.com>
44544 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
44546 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
44547 * csu/init-first.c: ... here.
44548 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
44549 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
44550 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
44551 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
44552 * sysdeps/i386/init-first.c: File removed.
44553 * sysdeps/sh/init-first.c: File removed.
44555 2012-10-01 Joseph Myers <joseph@codesourcery.com>
44558 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
44559 if x * y might underflow to zero and z is zero.
44560 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44561 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44562 * math/libm-test.inc (min_subnorm_value): New variable.
44563 (fma_test): Add more tests.
44564 (fma_test_towardzero): Likewise.
44565 (fma_test_downward): Likewise
44566 (fma_test_upward): Likewise.
44567 (initialize): Set min_subnorm_value.
44569 2012-09-29 Joseph Myers <joseph@codesourcery.com>
44572 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
44574 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
44575 mode for addition resulting in exact zero.
44576 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
44577 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
44579 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44580 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44581 * math/libm-test.inc (fma_test): Add more tests.
44582 (fma_test_towardzero): New function.
44583 (fma_test_downward): Likewise.
44584 (fma_test_upward): Likewise.
44585 (main): Call the new functions.
44587 2012-09-28 David S. Miller <davem@davemloft.net>
44589 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
44591 2012-09-28 Roland McGrath <roland@hack.frob.com>
44593 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
44594 instead of SIGALRM.
44596 * sysdeps/gnu/_G_config.h: Moved to ...
44597 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
44598 * sysdeps/mach/hurd/_G_config.h: Moved to ...
44599 * sysdeps/generic/_G_config.h: ... here.
44601 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
44603 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
44605 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
44606 Conditionalize target on [libnss_test1.so-version].
44608 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
44610 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
44611 (elfobjdir): Move out of conditionals.
44613 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
44614 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
44615 (__nss_lookup_function): Conditionalize label remove_from_tree on
44616 [!DO_STATIC_NSS || SHARED], matching its only use.
44618 2012-09-28 David S. Miller <davem@davemloft.net>
44620 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
44621 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
44623 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44625 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44626 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
44627 when HWCAP_SPARC_CRYPTO is present.
44629 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
44631 * io/tst-mknodat.c: Create a FIFO instead of a socket.
44633 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
44636 * stdio-common/vfprintf.c (process_string_arg): Revert
44639 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
44641 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
44643 * stdio-common/tst-sprintf.c: Include <locale.h>
44644 (main): Test sprintf's handling of incomplete multibyte
44647 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
44649 * elf/dl-runtime.c (VERSYMIDX): Removed.
44650 * elf/dl-version.c (VERSYMIDX): Likewise.
44651 * elf/do-rel.h (VERSYMIDX): Likewise.
44652 (VALIDX): Likewise.
44653 * elf/dynamic-link.h (VERSYMIDX): Likewise.
44654 * elf/rtld.c (VALIDX): Likewise.
44655 (ADDRIDX): Likewise.
44656 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
44657 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
44658 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
44659 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
44660 (VALIDX): Likewise.
44661 (ADDRIDX): Likewise.
44663 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
44665 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
44667 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
44670 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
44672 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
44673 addresses are in the same scope as 192.0.2/24.
44674 * posix/gai.conf: Document new scope table defaults.
44676 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44679 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
44680 for ftell. Compute offsets from write pointers instead.
44681 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44683 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44686 * libio/Makefile (tests): New test case tst-fseek.
44687 * libio/tst-fseek.c: New test case to verify that fseek/ftell
44688 combination works in wide mode.
44689 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44690 state when the external buffer state changes.
44692 2012-09-27 David S. Miller <davem@davemloft.net>
44695 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
44696 pass reloc->r_addend in as the 'high' argument to
44697 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
44699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44701 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
44703 * rt/tst-aio2.c: Include <pthread.h>.
44704 * rt/tst-aio3.c: Likewise.
44706 2012-09-27 Steve Ellcey <sellcey@mips.com>
44708 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
44710 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
44712 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44713 contents on [SHARED].
44715 2012-09-26 Marek Polacek <polacek@redhat.com>
44719 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44720 for C++ and GCC <4.3 as well as for non GCC compilers.
44722 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
44724 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44726 2012-09-25 Roland McGrath <roland@hack.frob.com>
44728 * Makefile.in (all, install): Declare with .PHONY.
44729 Reported by Michael Hope <michael.hope@linaro.org>.
44731 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44733 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
44734 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
44736 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
44738 (sydep_routines): Add the new and the internal functions.
44739 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
44740 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
44741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
44742 (GLIBC_2.17): Add the new function.
44743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44744 (GLIBC_2.17): Likewise.
44745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
44746 (GLIBC_2.17): Likewise.
44747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
44748 (GLIBC_2.17): Likewise.
44749 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
44751 2012-09-25 Alan Modra <amodra@gmail.com>
44753 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
44754 Add release barrier before setting once_control to say
44755 initialisation is done. Add hints on lwarx. Use macro in
44757 (clear_once_control): Add release barrier.
44759 2012-09-25 Joseph Myers <joseph@codesourcery.com>
44762 * math/s_clog.c (__clog): Handle more values close to |z| = 1
44764 * math/s_clog10.c (__clog10): Likewise.
44765 * math/s_clog10f.c (__clog10f): Likewise.
44766 * math/s_clog10l.c (__clog10l): Likewise.
44767 * math/s_clogf.c (__clogf): Likewise.
44768 * math/s_clogl.c (__clogl): Likewise.
44769 * math/Makefile (libm-calls): Add x2y2m1.
44770 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
44771 (__x2y2m1): Likewise.
44772 (__x2y2m1l): Likewise.
44773 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
44774 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
44775 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
44776 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44777 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
44778 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
44779 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
44780 * sysdeps/i386/fpu/libm-test-ulps: Update.
44781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44784 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
44785 int as type of variable DEPTH.
44786 (glob): Use size_t instead of int as type of variables NEWCOUNT
44789 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44791 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44792 Add s_sincosf-sse2.
44793 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
44794 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
44795 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
44796 macros for using routine as __sincosf_ia32.
44797 Use macro for function declaration and weak_alias.
44798 * sysdeps/i386/fpu/libm-test-ulps: Update.
44800 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
44801 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44803 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
44804 subnormal argument.
44805 * math/s_cexpf.c (__cexpf): Likewise.
44806 * math/s_csinf.c (__csinf): Likewise.
44807 * math/s_csinhf.c (__csinhf): Likewise.
44808 * math/s_ctanf.c (__ctanf): Likewise.
44809 * math/s_ctanhf.c (__ctanhf): Likewise.
44810 * math/s_ccosh.c (__ccoshf): Likewise.
44811 * math/s_cexp.c (__cexpl): Likewise.
44812 * math/s_csin.c (__csin): Likewise.
44813 * math/s_csinh.c (__csinh): Likewise.
44814 * math/s_ctan.c (__ctan): Likewise.
44815 * math/s_ctanh.c (ctanh): Likewise.
44816 * math/s_ccoshl.c (__ccoshl): Likewise.
44817 * math/s_cexpl.c (__cexpl): Likewise.
44818 * math/s_csinl.c (__csinl): Likewise.
44819 * math/s_csinhl.c (__csinhl): Likewise.
44820 * math/s_ctanl.c (__ctanl): Likewise.
44821 * math/s_ctanhl.c (__ctanhl): Likewise.
44823 2012-09-25 Joseph Myers <joseph@codesourcery.com>
44825 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
44826 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
44827 (_IO_off_t): Define to __off_t, not _G_off_t.
44828 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
44829 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
44830 (_IO_wint_t): Define to wint_t, not _G_wint_t.
44831 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
44832 type of __dummy and __dummy2 fields.
44833 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
44834 (_G_ssize_t): Likewise.
44835 (_G_off_t): Likewise.
44836 (_G_pid_t): Likewise.
44837 (_G_uid_t): Likewise.
44838 (_G_wchar_t): Likewise.
44839 (_G_wint_t): Likewise.
44840 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
44841 (_G_ssize_t): Likewise.
44842 (_G_off_t): Likewise.
44843 (_G_pid_t): Likewise.
44844 (_G_uid_t): Likewise.
44845 (_G_wchar_t): Likewise.
44846 (_G_wint_t): Likewise.
44847 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
44848 (_G_ssize_t): Likewise.
44849 (_G_off_t): Likewise.
44850 (_G_pid_t): Likewise.
44851 (_G_uid_t): Likewise.
44852 (_G_wchar_t): Likewise.
44853 (_G_wint_t): Likewise.
44855 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44857 * malloc/arena.c: Include malloc-sysdep.h.
44858 (shrink_heap): Use check_may_shrink_heap to decide if madvise
44859 is sufficient to shrink the heap or an unmap is needed.
44860 * sysdeps/generic/malloc-sysdep.h: New file. Define
44861 new function check_may_shrink_heap.
44862 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
44863 new function check_may_shrink_heap.
44865 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44867 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
44870 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
44872 * catgets/test-gencat.sh: Add "set -e".
44873 * elf/tst-pathopt.sh: Likewise.
44874 * grp/tst_fgetgrent.sh: Likewise.
44875 * iconvdata/run-iconv-test.sh: Likewise.
44876 * intl/tst-gettext.sh: Likewise.
44877 * intl/tst-gettext2.sh: Likewise.
44878 * intl/tst-gettext4.sh: Likewise.
44879 * intl/tst-gettext6.sh: Likewise.
44880 * intl/tst-translit.sh: Likewise.
44881 * io/ftwtest-sh: Likewise.
44882 * libio/test-freopen.sh: Likewise.
44883 * malloc/tst-mtrace.sh: Likewise.
44884 * posix/globtest.sh: Likewise.
44885 * posix/tst-getconf.sh: Likewise.
44886 * posix/wordexp-tst.sh: Likewise.
44887 * stdio-common/tst-printf.sh: Likewise.
44888 * stdio-common/tst-unbputc.sh: Likewise.
44889 * stdlib/tst-fmtmsg.sh: Likewise.
44890 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44891 * catgets/Makefile: Do not specify -e option when running
44892 testsuite shell scripts.
44893 * elf/Makefile: Likewise.
44894 * grp/Makefile: Likewise.
44895 * iconvdata/Makefile: Likewise.
44896 * intl/Makefile: Likewise.
44897 * io/Makefile: Likewise.
44898 * libio/Makefile: Likewise.
44899 * malloc/Makefile: Likewise.
44900 * posix/Makefile: Likewise.
44901 * stdio-common/Makefile: Likewise.
44902 * stdlib/Makefile: Likewise.
44903 * sysdeps/x86_64/Makefile: Likewise.
44905 * io/ftwtest-sh: Add copyright header.
44906 * posix/globtest.sh: Likewise.
44907 * posix/tst-getconf.sh: Likewise.
44908 * posix/wordexp-tst.sh: Likewise.
44909 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44911 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
44914 * Makeconfig (+link): Defined as $(+link-static) if
44915 $(build-shared) isn't yes.
44916 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
44918 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
44920 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
44923 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
44924 new chunk size with MALLOC_ALIGN_MASK.
44926 2012-09-24 Joseph Myers <joseph@codesourcery.com>
44929 * stdio-common/printf_fphex.c: Include <stdbool.h> and
44931 (__printf_fphex): Determine rounding using get_rounding_mode and
44933 * stdio-common/tst-printf-round.c (struct hex_test): New
44935 (hex_tests): New variable.
44936 (test_hex_in_one_mode): New function.
44937 (do_test): Also run tests for hex float output.
44939 2012-09-21 Joseph Myers <joseph@codesourcery.com>
44941 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44942 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44943 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
44944 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44945 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44946 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
44947 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44948 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44950 2012-09-20 Joseph Myers <joseph@codesourcery.com>
44952 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
44953 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
44954 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
44955 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
44957 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
44960 * elf/rtld.c (dl_main): Limit the check for self loading to normal
44962 * elf/tst-rtld-load-self.sh: New test.
44963 * elf/Makefile: Run it.
44965 2012-09-18 Joseph Myers <joseph@codesourcery.com>
44967 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
44968 (tst-writev-ENV): Remove.
44969 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
44971 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
44973 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
44975 2012-09-17 Joseph Myers <joseph@codesourcery.com>
44977 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
44979 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
44981 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
44982 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
44983 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
44986 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
44989 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
44990 * config.make.in (have-cpp-asm-debuginfo): Removed.
44991 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
44992 * configure: Regenerated.
44994 2012-09-14 Joseph Myers <joseph@codesourcery.com>
44997 * stdio-common/printf_fp.c: Include <stdbool.h> and
44999 (___printf_fp): Determine rounding using get_rounding_mode and
45001 * stdio-common/tst-printf-round.c: New file.
45002 * stdio-common/Makefile (tests): Add tst-printf-round.
45003 (link-libm): New variable.
45004 ($(objpfx)tst-printf-round): Depend in $(link-libm).
45006 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
45009 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
45010 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
45012 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
45015 2012-09-13 Joseph Myers <joseph@codesourcery.com>
45017 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
45018 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45019 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45020 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45022 2012-09-12 Joseph Myers <joseph@codesourcery.com>
45025 * include/rounding-mode.h: New file.
45026 * sysdeps/generic/get-rounding-mode.h: Likewise.
45027 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
45028 * stdlib/strtod_l.c: Include <rounding-mode.h>.
45029 (MAX_VALUE): New macro.
45030 (MIN_VALUE): Likewise.
45031 (overflow_value): New function.
45032 (underflow_value): Likewise.
45033 (round_and_return): Use overflow_value and underflow_value to
45034 determine return values in overflow and underflow cases. Use
45035 round_away to determine rounding depending on rounding mode.
45036 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
45037 determine return values in overflow and underflow cases.
45038 * stdlib/tst-strtod-round.c: Include <fenv.h>.
45039 (struct test_results): New structure.
45040 (struct test): Use struct test_results to store expected results
45041 for all rounding modes.
45042 (TEST): Include expected results for all rounding modes.
45043 (test_in_one_mode): New function.
45044 (do_test): Use test_in_one_mode to compute and check results.
45045 Check results for all rounding modes.
45046 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
45049 2012-12-09 Allan McRae <allan@archlinux.org>
45051 * sysdeps/i386/fpu/libm-test-ulps: Update
45053 2012-09-11 Joseph Myers <joseph@codesourcery.com>
45055 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
45056 (_G_int32_t): Likewise.
45057 (_G_uint16_t): Likewise.
45058 (_G_uint32_t): Likewise.
45059 (_G_HAVE_BOOL): Likewise.
45060 (_G_HAVE_ATEXIT): Likewise.
45061 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45062 (_G_HAVE_IO_FILE_OPEN): Likewise.
45063 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
45064 (_G_int32_t): Likewise.
45065 (_G_uint16_t): Likewise.
45066 (_G_uint32_t): Likewise.
45067 (_G_HAVE_BOOL): Likewise.
45068 (_G_HAVE_ATEXIT): Likewise.
45069 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45070 (_G_HAVE_IO_FILE_OPEN): Likewise.
45071 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
45072 (_G_int32_t): Likewise.
45073 (_G_uint16_t): Likewise.
45074 (_G_uint32_t): Likewise.
45075 (_G_HAVE_BOOL): Likewise.
45076 (_G_HAVE_ATEXIT): Likewise.
45077 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45078 (_G_HAVE_IO_FILE_OPEN): Likewise.
45080 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
45082 * csu/libc-tls.c: Update copyright years.
45084 2012-09-10 Joseph Myers <joseph@codesourcery.com>
45086 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
45087 [!_G_USING_THUNKS]: Remove conditional code.
45088 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
45089 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
45091 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
45092 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
45093 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45094 (_G_VTABLE_LABEL_PREFIX): Likewise.
45095 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45096 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45097 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45098 (_G_VTABLE_LABEL_PREFIX): Likewise.
45099 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45100 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45101 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45102 (_G_VTABLE_LABEL_PREFIX): Likewise.
45103 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45105 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
45107 * libio/Makefile: Include ../Makeconfig before tests.
45108 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
45109 only if $(build-shared) is yes.
45111 * iconv/gconv_db.c: Update copyright years.
45113 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45115 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
45116 unwind info if defined PIC. Fix special cases description.
45117 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
45119 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
45121 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
45123 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
45125 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
45127 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
45130 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
45131 (LDLIBS-tst-chk4): This.
45132 (LDFLAGS-tst-chk5): Renamed to ...
45133 (LDLIBS-tst-chk5): This.
45134 (LDFLAGS-tst-chk6): Renamed to ...
45135 (LDLIBS-tst-chk6): This.
45136 (LDFLAGS-tst-lfschk4): Renamed to ...
45137 (LDLIBS-tst-lfschk4): This.
45138 (LDFLAGS-tst-lfschk5): Renamed to ...
45139 (LDLIBS-tst-lfschk5): This.
45140 (LDFLAGS-tst-lfschk6): Renamed to ...
45141 (LDLIBS-tst-lfschk6): This.
45143 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
45144 on $(common-objpfx)soversions.mk.
45146 2012-09-07 Joseph Myers <joseph@codesourcery.com>
45149 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
45152 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
45154 * malloc/arena.c (arena_get_retry): New function that gets
45155 another arena for the caller to try its request on.
45156 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
45157 current arena cannot fulfill the request.
45158 (__libc_memalign): Likewise.
45159 (__libc_memalign): Likewise.
45160 (__libc_pvalloc): Likewise.
45161 (__libc_calloc): Likewise.
45163 2012-09-05 John Tobey <john.tobey@gmail.com>
45166 * manual/arith.texi (Operations on Complex): Fix description
45167 of carg branch cut.
45169 2012-09-06 Joseph Myers <joseph@codesourcery.com>
45172 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
45176 * manual/memory.texi (Memory): Make order of menu items match
45179 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
45181 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
45182 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
45183 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
45185 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
45187 * csu/libc-tls.c (static_dtv): Renamed to ...
45188 (_dl_static_dtv): This. Make it global.
45189 (_dl_initial_dtv): Removed.
45190 (__libc_setup_tls): Updated.
45191 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
45192 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
45195 2012-09-06 Petr Machata <pmachata@redhat.com>
45197 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
45198 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
45199 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
45200 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
45202 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
45205 * csu/libc-tls.c (_dl_initial_dtv): New variable.
45206 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
45209 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
45212 * Makeconfig (link-static-before-libc): Replace $(+prector)
45214 (link-static-after-libc): Replace $(+postctor) with
45216 (link-bounded): Replace $(+prector)/$(+postctor) with
45217 $(+prectorT)/$(+postctorT).
45218 (+prectorT): New macro.
45219 (+postctorT): Likewise.
45221 2012-09-06 Joseph Myers <joseph@codesourcery.com>
45223 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
45224 (round_str): Handle values above the maximum for IBM long double
45226 * stdlib/tst-strtod-round.c (tests): Regenerated.
45228 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45230 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
45232 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
45233 zarch_nohighgprs around the zarch optimized routines.
45234 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
45235 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
45236 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
45239 2012-09-05 David S. Miller <davem@davemloft.net>
45241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45243 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
45244 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
45245 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
45246 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45249 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
45251 * malloc/arena.c: Fold copyright years.
45252 * malloc/mcheck.c, malloc/memusage.c: Likewise.
45254 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
45256 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
45258 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
45260 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
45262 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
45264 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
45265 change internal state upon failure.
45267 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
45269 * malloc/mcheck.c (mcheck_check_all): Fix typo.
45270 * malloc/memusage.c (mmap): Likewise.
45271 (mmap64, mremap): Likewise. Adjust name in comment.
45273 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
45275 * libio/fileops.c: Fix typos in comments.
45276 * libio/oldfileops.c: Likewise.
45277 * libio/wfileops.c: Likewise.
45279 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
45282 * malloc/Makefile (tests): Add tst-malloc-usable test case.
45283 (tst-malloc-usable-ENV): Set environment for test case.
45284 * malloc/hooks.c (malloc_check_get_size): New function to get
45286 * malloc/malloc.c (musable): Use malloc_check_get_size.
45287 * malloc/tst-malloc-usable.c: New test case.
45289 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
45291 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
45293 2012-09-05 Allan McRae <allan@archlinux.org>
45296 * configure.in (CXX_SYSINCLUDES): Use compiler output to
45297 determine header location.
45298 * configure: Regenerated.
45300 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
45302 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
45304 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
45305 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
45307 (test): Regenerate.
45309 2012-09-04 David S. Miller <davem@davemloft.net>
45311 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
45312 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
45313 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
45315 2012-09-04 Florian Weimer <fweimer@redhat.com>
45317 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
45320 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
45322 2012-09-04 Joseph Myers <joseph@codesourcery.com>
45325 * libio/iogetdelim.c: Include <limits.h>.
45326 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
45327 + len + 1 would overflow.
45329 2012-09-03 Andreas Jaeger <aj@suse.de>
45331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45332 * sysdeps/i386/fpu/libm-test-ulps: Update.
45334 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45336 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45337 Add s_sinf-sse2, s_conf-sse2.
45339 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
45340 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
45341 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
45342 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
45344 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
45345 for using routine as __sinf_ia32.
45346 Use macro for function declaration and weak_alias.
45347 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
45348 for using routine as __cosf_ia32.
45349 Use macro for function declaration and weak_alias.
45351 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
45352 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
45354 * sysdeps/x86_64/fpu/s_sinf.S: New file.
45355 * sysdeps/x86_64/fpu/s_cosf.S: New file.
45356 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45358 * math/libm-test.inc (cos_test): Add more test cases.
45359 (sin_test): Likewise.
45360 (sincos_test): Likewise.
45362 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45364 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
45365 (IFUNC_RESOLVE): Make pointers to the specialized implementations
45367 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45369 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
45372 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
45373 first element of the GOT.
45374 (elf_machine_load_address): Return the difference between
45375 the runtime address of _DYNAMIC and elf_machine_dynamic ().
45377 2012-09-01 Allan McRae <allan@archlinux.org>
45380 * configure.in (AWK): Require gawk version 3.0 or later.
45381 * configure: Regenerated.
45383 2012-09-01 Joseph Myers <joseph@codesourcery.com>
45385 * sysdeps/unix/sysv/linux/kernel-features.h
45386 (__ASSUME_POSIX_CPU_TIMERS): Remove.
45387 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45388 [__NR_clock_getres]: Make code unconditional.
45389 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
45390 (clock_getcpuclockid): Remove code left unreachable by removal of
45392 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
45393 code unconditional.
45394 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45395 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45396 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
45397 Make code unconditional.
45398 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45399 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45400 * sysdeps/unix/sysv/linux/clock_settime.c
45401 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
45403 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
45404 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45406 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
45409 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
45410 scripts/test-installation.pl.
45412 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
45413 and $ld_so_version if it is set.
45415 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
45418 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
45419 failure if reading from procfs failed.
45420 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
45422 2012-08-27 Joseph Myers <joseph@codesourcery.com>
45424 * sysdeps/unix/sysv/linux/kernel-features.h
45425 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
45426 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45427 Remove conditional code.
45428 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45429 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
45430 Remove conditional code.
45431 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45432 * sysdeps/unix/sysv/linux/i386/fxstat.c
45433 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45434 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45435 * sysdeps/unix/sysv/linux/i386/fxstatat.c
45436 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45437 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45438 * sysdeps/unix/sysv/linux/i386/lxstat.c
45439 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45440 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45441 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
45442 Remove conditional code.
45443 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45444 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45445 Remove conditional code.
45446 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45447 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
45448 <kernel-features.h>.
45449 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
45451 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
45452 Remove conditional code.
45453 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45454 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
45455 Remove conditional.
45457 2012-08-27 Mike Frysinger <vapier@gentoo.org>
45460 * NEWS: Add fixed bug number.
45462 2012-08-27 Joseph Myers <joseph@codesourcery.com>
45465 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
45466 underflowing exponent in case of negative sign.
45467 * stdlib/tst-strtod-round-data: Add more tests.
45468 * stdlib/tst-strtod-round.c (tests): Regenerated.
45471 * stdlib/strtod_l.c (NDIG): Remove.
45472 (HEXNDIG): Likewise.
45473 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
45474 smallest representable value.
45475 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
45476 lie within an exact representation of 1/2 ulp of the result.
45477 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
45479 (TENS_P9_IDX): Define unconditionally.
45480 (TENS_P9_SIZE): Likewise.
45481 (TENS_P10_IDX): Likewise.
45482 (TENS_P10_SIZE): Likewise.
45483 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
45484 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
45485 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
45486 entries for 10^2^13 and 10^2^14.
45487 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
45488 (TENS_P13_IDX): Define.
45489 (TENS_P13_SIZE): Likewise.
45490 (TENS_P14_IDX): Likewise.
45491 (TENS_P14_SIZE): Likewise.
45492 (_fpioconst_pow10): Change array size to
45493 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
45495 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
45496 1024]: Add entries for 10^2^13 and 10^2^14.
45497 [LAST_POW10 > _LAST_POW10]: Remove #error.
45498 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
45499 (_fpioconst_pow10): Change array size to
45500 FPIOCONST_POW10_ARRAY_SIZE.
45501 * stdlib/gen-fpioconst.c: New file.
45502 * stdlib/gen-tst-strtod-round.c: Likewise.
45503 * stdlib/tst-strtod-round-data: Likewise.
45504 * stdlib/tst-strtod-round.c: Likewise.
45505 * stdlib/Makefile (tests): Add tst-strtod-round.
45508 * stdlib/strtod_l.c: Include <stdint.h>.
45509 (NDEBUG): Do not define.
45510 (round_and_return): Change EXPONENT parameter to type intmax_t.
45511 Rearrange calculations to avoid internal overflow possibilities.
45512 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
45513 Rearrange calculations to avoid internal overflow possibilities.
45514 Assert that number fits inside MPNSIZE limbs.
45515 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
45516 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
45517 calculations and add assertions to avoid internal overflow
45518 possibilities. Add casts to avoid signed/unsigned operations.
45519 * stdlib/tst-strtod-overflow.c: New file.
45520 * stdlib/Makefile (tests): Add tst-strtod-overflow.
45522 2012-08-25 Marek Polacek <polacek@redhat.com>
45524 * time/time.h: Fix some typos in comments.
45526 2012-08-23 Roland McGrath <roland@hack.frob.com>
45528 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
45529 * posix/tst-rfc3484-2.c: Likewise.
45530 * posix/tst-rfc3484-3.c: Likewise.
45532 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
45534 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
45535 (EF_ARM_ABI_FLOAT_HARD): Likewise.
45537 2012-08-23 Joseph Myers <joseph@codesourcery.com>
45539 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
45540 #include of fxstatat64.c.
45542 2012-08-22 Roland McGrath <roland@hack.frob.com>
45544 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
45545 * shadow/getspent_r.c: Likewise.
45546 * shadow/getspnam.c: Likewise.
45547 * shadow/getspnam_r.c: Likewise.
45548 * gshadow/getsgent.c: Likewise.
45549 * gshadow/getsgent_r.c: Likewise.
45550 * gshadow/getsgnam.c: Likewise.
45551 * gshadow/getsgnam_r.c: Likewise.
45552 * inet/getnetbyad.c: Likewise.
45553 * inet/getnetbyad_r.c: Likewise.
45554 * inet/getnetbynm.c: Likewise.
45555 * inet/getnetbynm_r.c: Likewise.
45556 * inet/getnetent.c: Likewise.
45557 * inet/getnetent_r.c: Likewise.
45558 * inet/getproto.c: Likewise.
45559 * inet/getproto_r.c: Likewise.
45560 * inet/getprtent.c: Likewise.
45561 * inet/getprtent_r.c: Likewise.
45562 * inet/getprtname.c: Likewise.
45563 * inet/getprtname_r.c: Likewise.
45564 * inet/getrpcbyname.c: Likewise.
45565 * inet/getrpcbyname_r.c: Likewise.
45566 * inet/getrpcbynumber.c: Likewise.
45567 * inet/getrpcbynumber_r.c: Likewise.
45568 * inet/getrpcent.c: Likewise.
45569 * inet/getrpcent_r.c: Likewise.
45570 * inet/getaliasent.c: Likewise.
45571 * inet/getaliasent_r.c: Likewise.
45572 * inet/getaliasname.c: Likewise.
45573 * inet/getaliasname_r.c: Likewise.
45574 * nscd/getgrgid_r.c: Likewise.
45575 * nscd/getgrnam_r.c: Likewise.
45576 * nscd/gethstbyad_r.c: Likewise.
45577 * nscd/gethstbynm3_r.c: Likewise.
45578 * nscd/getpwnam_r.c: Likewise.
45579 * nscd/getpwuid_r.c: Likewise.
45580 * nscd/getsrvbynm_r.c: Likewise.
45581 * nscd/getsrvbypt_r.c: Likewise.
45582 * nscd/gai.c: Likewise.
45584 * configure.in (build_nscd): New substituted variable, set
45585 by --disable-build-nscd and defaults to $use_nscd.
45586 * configure: Regenerated.
45587 * config.make.in (build-nscd): New substituted variable.
45588 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
45589 Change conditional to require [$(build-nscd) = yes] as well.
45590 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
45593 * configure.in (use_nscd): New substituted variable, set by
45594 --disable-nscd. If enabled, define USE_NSCD.
45595 * configure: Regenerated.
45596 * config.h.in: Add USE_NSCD.
45597 * config.make.in (use-nscd): New substituted variable.
45598 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
45599 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
45600 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
45601 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
45602 (CFLAGS-getgrnam_r.c): Likewise.
45603 (CFLAGS-initgroups.c): Likewise.
45604 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
45605 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
45607 * inet/getnetgrent_r.c
45608 (nscd_setnetgrent): New function, broken out of ...
45609 (setnetgrent): ... here. Call it.
45610 (innetgr): Conditionalize nscd bits on [USE_NSCD].
45611 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
45612 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
45613 * nscd/Makefile (routines, aux): Move definitions after include of
45614 Makeconfig. Conditionalize on [$(use-nscd) != no].
45615 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
45616 Conditionalize on [USE_NSCD].
45617 (is_nscd, nscd_init_cb): Likewise.
45618 (nss_load_library): Conditionalize init callback on [USE_NSCD].
45619 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
45620 * nss/nss_db/db-init.c: Likewise.
45621 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
45623 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
45624 (make_request): Use it.
45625 (cache_valid_p): New function.
45626 (__check_pf): Use it.
45627 * NEWS: Add item for --disable-nscd.
45629 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
45631 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
45632 to support sed >= 4.2.1-20-ga9bf076.
45633 * configure: Regenerated.
45635 2012-08-22 Roland McGrath <roland@hack.frob.com>
45637 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
45638 Conditionalize whole body on [IREL].
45640 2012-08-22 Jeff Law <law@redhat.com>
45643 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
45644 if the family is PF_UNSPEC.
45646 2012-08-22 Mike Frysinger <vapier@gentoo.org>
45648 * Makerules (lib-version): Rename from V.
45649 (install-lib-nosubdir): Change V to lib-version.
45651 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
45654 * powerpc32/power6/wcschr.c: New file.
45655 * powerpc32/power6/wcscpy.c: New file.
45656 * powerpc32/power6/wcsrchr.c: New file.
45657 * powerpc64/power6/wcschr.c: New file.
45658 * powerpc64/power6/wcscpy.c: New file.
45659 * powerpc64/power6/wcsrchr.c: New file.
45661 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
45663 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
45664 (two_way_short_needle): Use it.
45665 * string/strstr.c (AVAILABLE1_USES_J): Define.
45666 * string/strcasestr.c: Likewise.
45668 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
45670 * string/strcasestr.c (TOLOWER): Make side-effect safe.
45673 * NEWS: Add an entry.
45674 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
45675 define their defaults.
45676 (two_way_short_needle): Detect end-of-string on-the-fly.
45677 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
45678 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45679 * string/bug-strcasestr1.c: New test.
45680 * string/Makefile: Run it.
45682 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
45685 * string/str-two-way.h (two_way_short_needle): Optimize matching of
45686 the first character.
45688 2012-08-21 Roland McGrath <roland@hack.frob.com>
45690 * csu/elf-init.c (__libc_csu_irel): Function removed.
45691 * csu/libc-start.c (apply_irel): New function.
45692 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
45694 2012-08-21 Joseph Myers <joseph@codesourcery.com>
45696 * sysdeps/unix/sysv/linux/kernel-features.h
45697 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
45698 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45699 <kernel-features.h>.
45700 [__NR_fadvise64_64]: Make code unconditional.
45701 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
45702 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45703 !__NR_fadvise64_64)]: Likewise.
45704 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45705 !__NR_fadvise64_64))]: Likewise.
45706 [__NR_fadvise64]: Make code unconditional.
45707 [!__NR_fadvise64]: Remove conditional code.
45708 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
45709 <kernel-features.h>.
45710 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45712 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45715 not include <kernel-features.h>.
45716 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45718 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45720 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45721 include <kernel-features.h>.
45722 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45724 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45727 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
45729 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
45730 slight instruction rearrangements per scrollpipe analysis.
45731 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45733 2012-08-20 Roland McGrath <roland@hack.frob.com>
45735 * manual/syslog.texi (syslog; vsyslog, closelog):
45736 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
45737 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45739 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
45740 DSOCAPS to match condition on defining it.
45742 2012-08-20 Joseph Myers <joseph@codesourcery.com>
45744 * sysdeps/unix/sysv/linux/kernel-features.h
45745 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
45746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
45747 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45748 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
45750 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45751 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
45753 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45754 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45756 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
45757 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
45759 * sysdeps/unix/sysv/linux/kernel-features.h
45760 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
45761 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
45763 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45764 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
45765 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45766 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45767 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
45768 Make code unconditional.
45769 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45770 (__mmap64) [!__NR_mmap2]: Likewise.
45771 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
45772 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45773 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45774 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
45775 [__NR_mmap2]: Make code unconditional.
45776 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45777 (__mmap64) [!__NR_mmap2]: Likewise.
45779 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45781 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
45783 2012-08-18 Andreas Jaeger <aj@suse.de>
45785 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
45787 2012-08-18 Mike Frysinger <vapier@gentoo.org>
45789 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
45790 * include/unistd.h (__have_sock_cloexec): Likewise.
45791 (__have_pipe2): Likewise.
45792 (__have_dup3): Likewise.
45794 2012-08-18 Mike Frysinger <vapier@gentoo.org>
45797 * include/unistd.h (__have_pipe2): Change define into an extern int.
45798 (__have_dup3): Likewise.
45799 * socket/have_sock_cloexec.c: Include fcntl.h.
45800 (__have_pipe2): New variable.
45801 (__have_dup3): Likewise.
45803 2012-08-17 Mike Frysinger <vapier@gentoo.org>
45805 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
45807 2012-08-17 Marek Polacek <polacek@redhat.com>
45809 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
45810 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
45812 2012-08-17 Roland McGrath <roland@hack.frob.com>
45814 * configure.in: Add AC_SUBST for sysheaders.
45815 * configure: Regenerated.
45816 * config.make.in (sysheaders): New substituted variable.
45818 * sysdeps/unix/mkfifo.c: Moved ...
45819 * sysdeps/posix/mkfifo.c: ... here.
45820 * sysdeps/unix/mkfifoat.c: Moved ...
45821 * sysdeps/posix/mkfifoat.c: ... here.
45823 * sysdeps/unix/utime.c: Moved ...
45824 * sysdeps/posix/utime.c: ... here.
45826 * sysdeps/unix/time.c: Moved ...
45827 * sysdeps/posix/time.c: ... here.
45828 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
45829 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
45831 * sysdeps/unix/nice.c: Moved ...
45832 * sysdeps/posix/nice.c: ... here.
45834 * sysdeps/unix/alarm.c: Moved ...
45835 * sysdeps/posix/alarm.c: ... here.
45837 * intl/Makefile ($(codeset_mo)): Depend on the input file.
45839 2012-08-17 Jeff Law <law@redhat.com>
45841 * intl/Makefile (codeset_mo): New variable.
45842 ($(codeset_mo)): New target.
45843 (tst-codeset.out): Depend on that. Remove explicit rule.
45844 (tst-gettext3.out, tst-gettext5.out): Likewise.
45845 (LOCPATH-ENV, tst-codeset-ENV): New variables.
45846 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
45847 * intl/tst-codeset.sh: Remove.
45848 * intl/tst-gettext3.sh: Likewise.
45849 * intl/tst-gettext5.sh: Likewise.
45851 2012-08-17 Roland McGrath <roland@hack.frob.com>
45853 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
45854 * sysdeps/unix/syscalls.list: ... here.
45856 * sysdeps/posix/getaddrinfo.c
45857 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
45858 (gaiconf_init, gaiconf_reload): Use them.
45859 [!_STATBUF_ST_NSEC]
45860 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
45861 Define using time_t rather than struct timespec.
45863 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
45864 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
45866 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
45868 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
45869 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
45872 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
45873 __libc_cleanup_push argument.
45875 * bits/param.h: New file.
45876 * misc/sys/param.h: New file.
45877 * include/sys/param.h: New file.
45878 * misc/Makefile (headers): Add bits/param.h.
45879 * sysdeps/generic/sys/param.h: File removed.
45880 * sysdeps/unix/sysv/linux/bits/param.h: New file.
45881 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
45882 * sysdeps/mach/hurd/bits/param.h: New file.
45883 * sysdeps/mach/hurd/sys/param.h: File removed.
45885 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
45888 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
45890 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
45891 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
45894 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
45895 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
45896 rather than -D_IO_MTSAFE_IO conditionally.
45897 * stdio-common/Makefile (CPPFLAGS): Likewise.
45898 * wcsmbs/Makefile (CPPFLAGS): Likewise.
45899 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
45900 Use $(libio-mtsafe).
45901 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
45902 of -D_IO_MTSAFE_IO.
45903 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
45904 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
45905 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
45906 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
45907 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
45908 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
45909 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
45910 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
45911 (CFLAGS-fread_u_chk.c): Likewise.
45912 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
45913 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
45914 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
45915 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
45916 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
45917 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
45918 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
45919 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
45920 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
45922 * libio/Makefile: Test [$(libc-reentrant) = yes]
45923 instead of [$(filter %REENTRANT, $(defines)) nonempty].
45926 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
45927 * sysdeps/pthread/configure: File removed.
45928 * sysdeps/pthread/Makeconfig: New file.
45929 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
45930 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
45932 2012-08-16 Gary Benson <gbenson@redhat.com>
45934 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
45935 unmapping the first object in a namespace.
45937 2012-08-16 Roland McGrath <roland@hack.frob.com>
45939 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
45940 (__internal_setnetgrent): ... this. Add internal_function to
45941 definition. Add libc_hidden_def.
45942 (setnetgrent): Update caller.
45943 (internal_endnetgrent): Renamed to ...
45944 (__internal_endnetgrent): ... this. Add internal_function to
45945 definition. Add libc_hidden_def.
45946 (endnetgrent): Update caller.
45947 (internal_getnetgrent_r): Renamed to ...
45948 (__internal_getnetgrent_r): ... this. Add internal_function to
45949 definition. Add libc_hidden_def.
45950 (__getnetgrent_r): Update caller.
45951 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
45953 2012-08-16 Joseph Myers <joseph@codesourcery.com>
45955 * stdlib/longlong.h: Update from GCC.
45957 2012-08-16 Roland McGrath <roland@hack.frob.com>
45959 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
45960 on _QL, which is set by umul_ppmm but never used.
45961 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
45962 variables, which are set by GMP macros but never used.
45963 * stdio-common/_itowa.c (_itowa): Likewise.
45964 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
45965 * stdlib/mod_1.c (mpn_mod_1): Likewise.
45967 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
45969 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
45970 struct La_sh_regs is not constant.
45971 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
45972 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
45973 and struct La_sparc64_regs are not constant.
45975 2012-08-16 Joseph Myers <joseph@codesourcery.com>
45977 * sysdeps/unix/sysv/linux/kernel-features.h
45978 (__ASSUME_POSIX_TIMERS): Remove.
45979 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45980 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45981 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
45982 Make code unconditional.
45983 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45984 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
45985 Make code unconditional.
45986 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45987 * sysdeps/unix/sysv/linux/clock_nanosleep.c
45988 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
45989 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45990 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
45991 Make code unconditional.
45992 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45993 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
45994 (__libc_missing_posix_timers): Remove.
45996 2012-08-15 Roland McGrath <roland@hack.frob.com>
45998 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
45999 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
46001 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
46003 * elf/dl-sym.c: Include <stdlib.h>.
46005 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
46006 constants, which avoids warnings in 32-bit builds.
46008 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
46009 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
46011 * misc/lseek.c: File moved to ...
46012 * io/lseek.c: ... here.
46014 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
46016 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
46017 shifting LEN more than 31 bits at once.
46019 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46022 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
46023 segmentation fault for a case of two empty input strings.
46024 * string/test-strncasecmp.c (check1): Renamed to...
46025 (bz12205): ...this.
46026 (bz14195): Add new testcase for two empty input strings and N > 0.
46027 (test_main): Call new testcase, adapt for renamed function.
46029 2012-08-15 Andreas Jaeger <aj@suse.de>
46032 * crypt/md5test2.c: New test, based on test supplied by Serge
46033 Belyshev <belyshev@depni.sinp.msu.ru>.
46034 * crypt/Makefile (xtests): Add md5test-giant..
46035 * crypt/Makefile ($(objpfx)md5test-giant): Add.
46037 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
46040 * crypt/md5.c (md5_process_block): Don't assume the buffer
46041 length is less than 2**32.
46042 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
46043 length is less than 2**64.
46045 2012-08-15 Roland McGrath <roland@hack.frob.com>
46047 * string/str-two-way.h: Include <sys/param.h>.
46048 (MAX): Macro removed.
46050 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
46051 Move #define and #undef of memmove to just before and after
46052 including <string.h>.
46054 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
46055 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
46056 and after including <string.h>. Move declarations of
46057 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
46058 to before #include "string/memmove.c".
46060 * include/dirent.h: Declare __getdirentries.
46062 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
46063 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
46065 2012-08-14 Mike Frysinger <vapier@gentoo.org>
46067 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
46068 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
46069 * sysdeps/i386/configure: Regenerated.
46070 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
46071 STABS_CURRENT_FILE, and STABS_FUN.
46072 (END): Remove call to STABS_FUN_END.
46073 (STABS_CURRENT_FILE1): Delete.
46074 (STABS_CURRENT_FILE): Likewise.
46075 (STABS_FUN): Likewise.
46076 (STABS_FUN_END): Likewise.
46077 (STABS_FUN2): Likewise.
46078 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
46079 * sysdeps/x86_64/configure: Regenerated.
46081 2012-08-14 Roland McGrath <roland@hack.frob.com>
46083 * elf/dl-open.c: Include <atomic.h>.
46084 * elf/dl-lookup.c: Likewise.
46086 2012-08-14 Joseph Myers <joseph@codesourcery.com>
46088 * sysdeps/unix/sysv/linux/kernel-features.h
46089 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
46090 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
46092 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
46094 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
46095 condition on __ASSUME_CLONE_THREAD_FLAGS.
46097 2012-08-14 Andreas Jaeger <aj@suse.de>
46099 * sysdeps/i386/fpu/libm-test-ulps: Update.
46101 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
46103 * include/atomic.h (atomic_exchange_and_add): Split into ...
46104 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
46107 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
46109 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46111 2012-08-13 Jeff Law <law@redhat.com>
46113 * manual/stdio.texi (snprintf): Clarify handling of the trailing
46114 null byte in the output string.
46116 2012-08-10 Joseph Myers <joseph@codesourcery.com>
46118 * sysdeps/unix/sysv/linux/kernel-features.h
46119 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
46120 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
46121 (__ASSUME_ARG_MAX_STACK_BASED): Define.
46122 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46123 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
46124 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
46125 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
46127 2012-08-09 Jeff Law <law@redhat.com>
46130 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
46131 When avoid_arena is set, don't retry in the that arena. Pick the
46132 next one, whatever it might be.
46133 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
46134 (arena_lock): Pass in new parameter to arena_get2.
46135 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
46137 (__libc_malloc): Unify retrying after main arena failure with
46138 __libc_memalign version.
46139 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
46141 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
46144 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
46145 to __redirect_strstr.
46146 (__strstr_sse42): Use typeof __redirect_strstr.
46147 (__strstr_ia32): Likewise.
46148 (__libc_strstr): New prototype.
46149 (strstr): Renamed to ...
46150 (__libc_strstr): This.
46151 (strstr): New strong alias of __libc_strstr.
46152 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46153 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
46156 (__libc_time): New prototype.
46157 (time_ifunc): Replace time with __libc_time.
46158 (time): New strong alias and hidden definition of __libc_time.
46159 (__GI_time): Remove strong alias.
46160 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
46161 Include <stddef.h>.
46162 (memmove): Redefined to __redirect_memmove.
46163 (__memmove_sse2): Use typeof __redirect_memmove.
46164 (__memmove_ssse3): Likewise.
46165 (__memmove_ssse3_back): Likewise.
46166 (__libc_memmove): New prototype.
46167 (memmove): Renamed to ...
46168 (__libc_memmove): This.
46169 (memmove): New strong alias of __libc_memmove.
46171 2012-08-08 Mark Salter <msalter@redhat.com>
46174 (R_MN10300_TLS_GD): Define.
46175 (R_MN10300_TLS_LD): Likewise.
46176 (R_MN10300_TLS_LDO): Likewise.
46177 (R_MN10300_TLS_GOTIE): Likewise.
46178 (R_MN10300_TLS_IE): Likewise.
46179 (R_MN10300_TLS_LE): Likewise.
46180 (R_MN10300_TLS_DTPMOD): Likewise.
46181 (R_MN10300_TLS_DTPOFF): Likewise.
46182 (R_MN10300_TLS_TPOFF): Likewise.
46183 (R_MN10300_SYM_DIFF): Likewise.
46184 (R_MN10300_ALIGN): Likewise.
46185 (R_MN10300_NUM): Update.
46187 2012-08-08 Joseph Myers <joseph@codesourcery.com>
46189 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
46192 2012-08-08 Roland McGrath <roland@hack.frob.com>
46194 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
46196 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
46197 sysdeps/unix -> sysdeps/posix move.
46198 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46200 2012-08-07 Allan McRae <allan@archlinux.org>
46203 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
46204 (SUNOS_CPP): Likewise.
46205 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
46207 (open_input): Call CPP using execvp.
46209 2012-08-07 Joseph Myers <joseph@codesourcery.com>
46211 * sysdeps/unix/sysv/linux/kernel-features.h
46212 (__ASSUME_PROT_GROWSUPDOWN): Remove.
46213 (__ASSUME_NO_CLONE_DETACHED): Likewise.
46214 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46215 (__ASSUME_WAITID_SYSCALL): Likewise.
46216 * sysdeps/unix/sysv/linux/dl-execstack.c
46217 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
46218 code unconditional.
46219 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
46221 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
46222 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
46223 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
46225 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
46227 [__ASSUME_WAITID_SYSCALL]: Likewise.
46228 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
46230 2012-08-07 Roland McGrath <roland@hack.frob.com>
46232 * sysdeps/unix/closedir.c: Renamed to ...
46233 * sysdeps/posix/closedir.c: ... here.
46234 * sysdeps/unix/dirfd.c: Renamed to ...
46235 * sysdeps/posix/dirfd.c: ... here.
46236 * sysdeps/unix/dirstream.h: Renamed to ...
46237 * sysdeps/posix/dirstream.h: ... here.
46238 * sysdeps/unix/fdopendir.c: Renamed to ...
46239 * sysdeps/posix/fdopendir.c: ... here.
46240 * sysdeps/unix/opendir.c: Renamed to ...
46241 * sysdeps/posix/opendir.c: ... here.
46242 * sysdeps/unix/readdir.c: Renamed to ...
46243 * sysdeps/posix/readdir.c: ... here.
46244 * sysdeps/unix/readdir_r.c: Renamed to ...
46245 * sysdeps/posix/readdir_r.c: ... here.
46246 * sysdeps/unix/rewinddir.c: Renamed to ...
46247 * sysdeps/posix/rewinddir.c: ... here.
46248 * sysdeps/unix/seekdir.c: Renamed to ...
46249 * sysdeps/posix/seekdir.c: ... here.
46250 * sysdeps/unix/telldir.c: Renamed to ...
46251 * sysdeps/posix/telldir.c: ... here.
46252 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
46253 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
46254 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
46255 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
46257 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
46258 * bits/fcntl.h: ... here.
46260 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
46262 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
46263 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
46264 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
46265 (struct flock): Move l_start, l_len to the beginning.
46266 Use __pid_t for l_pid.
46267 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
46268 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
46269 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
46270 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
46271 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
46272 [__USE_LARGEFILE64] (struct flock64): New type.
46273 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
46275 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
46276 * bits/dirent.h: ... here.
46278 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
46279 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
46281 2012-08-07 Joseph Myers <joseph@codesourcery.com>
46283 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46284 Change from 2.6.0 to 2.6.16.
46285 * sysdeps/unix/sysv/linux/configure: Regenerated.
46286 * sysdeps/unix/sysv/linux/kernel-features.h
46287 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
46288 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
46290 (__ASSUME_UTIMES): Likewise.
46291 (__ASSUME_CLONE_STOPPED): Remove.
46292 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
46293 architectures, not kernel version.
46294 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
46295 (__ASSUME_NO_CLONE_DETACHED): Likewise.
46296 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46297 (__ASSUME_WAITID_SYSCALL): Likewise.
46298 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
46299 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
46300 * README: State 2.6.16 as minimum Linux kernel version. Do not
46301 refer to older versions.
46303 2012-08-06 Roland McGrath <roland@hack.frob.com>
46305 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
46306 Define alphasort64 as an alias.
46307 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
46308 Define versionsort64 as an alias.
46309 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
46310 Define scandir64 as an alias.
46311 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
46312 Define scandirat64 as an alias.
46313 * dirent/alphasort64.c (alphasort64):
46314 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
46315 * dirent/versionsort64.c: Likewise.
46316 * dirent/scandir64.c: Likewise.
46317 * dirent/scandirat64.c: Likewise.
46318 * sysdeps/wordsize-64/alphasort.c: File removed.
46319 * sysdeps/wordsize-64/alphasort64.c: File removed.
46320 * sysdeps/wordsize-64/scandir.c: File removed.
46321 * sysdeps/wordsize-64/scandir64.c: File removed.
46322 * sysdeps/wordsize-64/scandirat.c: File removed.
46323 * sysdeps/wordsize-64/scandirat64.c: File removed.
46324 * sysdeps/wordsize-64/versionsort.c: File removed.
46325 * sysdeps/wordsize-64/versionsort64.c: File removed.
46326 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
46327 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
46328 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
46329 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
46330 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
46331 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
46332 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
46333 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
46335 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
46336 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46337 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
46338 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46339 [defined __arch64__ || defined __sparcv9]
46340 (__INO_T_MATCHES_INO64_T): New macro.
46341 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46342 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
46343 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
46344 * sysdeps/unix/sysv/linux/bits/dirent.h
46345 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
46346 (_DIRENT_MATCHES_DIRENT64): New macro.
46348 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
46349 Define lockf64 as an alias.
46350 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
46351 Define fseeko64 as an alias.
46352 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
46353 Define ftello64 as an alias.
46354 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
46355 Define _IO_fgetpos64 and fgetpos64 as aliases.
46356 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
46357 Define _IO_fsetpos64 and fsetpos64 as aliases.
46358 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
46359 Conditionalize body on this.
46360 * libio/fseeko64.c: Likewise.
46361 * libio/ftello64.c: Likewise.
46362 * libio/iofgetpos64.c: Likewise.
46363 * libio/iofsetpos64.c: Likewise.
46364 * sysdeps/wordsize-64/lockf.c: File removed.
46365 * sysdeps/wordsize-64/lockf64.c: File removed.
46366 * sysdeps/wordsize-64/fseeko.c: File removed.
46367 * sysdeps/wordsize-64/fseeko64.c: File removed.
46368 * sysdeps/wordsize-64/ftello.c: File removed.
46369 * sysdeps/wordsize-64/ftello64.c: File removed.
46370 * sysdeps/wordsize-64/iofgetpos.c: File removed.
46371 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
46372 * sysdeps/wordsize-64/iofsetpos.c: File removed.
46373 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
46374 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
46375 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
46376 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
46377 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
46378 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
46379 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
46380 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
46381 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
46382 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
46383 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
46385 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46386 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46387 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
46388 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46389 [defined __arch64__ || defined __sparcv9]
46390 (__OFF_T_MATCHES_OFF64_T): New macro.
46391 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46392 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46393 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46394 (__OFF_T_MATCHES_OFF64_T): New macro.
46396 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
46398 * stdlib/secure-getenv.c (__secure_getenv): Replace
46399 GLIBC_2_16 with GLIBC_2_17.
46401 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
46403 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
46404 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46406 2012-08-03 David S. Miller <davem@davemloft.net>
46408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46410 2012-08-03 Joseph Myers <joseph@codesourcery.com>
46412 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
46414 (__ASSUME_CORRECT_SI_PID): Likewise.
46415 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
46416 (__ASSUME_TMPFS_NAME): Likewise.
46417 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
46418 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
46419 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
46420 (HAVE_AUX_SECURE): Make definition unconditional.
46421 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
46422 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
46424 2012-08-03 Roland McGrath <roland@hack.frob.com>
46426 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
46427 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
46428 * sysdeps/mach/hurd/eloop-threshold.h: New file.
46429 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46430 __eloop_threshold instead of SYMLOOP_MAX.
46432 * sysdeps/generic/eloop-threshold.h: New file.
46433 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
46435 * elf/chroot_canon.c (chroot_canon): Likewise.
46437 2012-08-03 Joseph Myers <joseph@codesourcery.com>
46440 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46441 Change to 2.6.0 everywhere.
46442 * sysdeps/unix/sysv/linux/configure: Regenerated.
46443 * sysdeps/unix/sysv/linux/kernel-features.h
46444 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
46445 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
46447 (__ASSUME_POSIX_TIMERS): Define unconditionally.
46448 (__ASSUME_FUTEX_REQUEUE): Remove.
46449 (__ASSUME_STATFS64): Define unconditionally.
46450 (__ASSUME_AT_SECURE): Likewise.
46451 (__ASSUME_CORRECT_SI_PID): Likewise.
46452 (__ASSUME_TGKILL): Define without depending on kernel version for
46454 (__ASSUME_UTIMES): Likewise.
46455 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
46457 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
46458 (__ASSUME_TMPFS_NAME): Likewise.
46459 * README: Update reference to Linux kernel versions.
46461 2012-08-02 Marek Polacek <polacek@redhat.com>
46464 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
46465 libc_cv_asm_type_prefix with %.
46466 * configure: Regenerated.
46467 * include/libc-symbols.h: Remove comment about
46468 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46469 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
46470 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
46471 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
46472 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
46473 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46474 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
46475 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
46476 * elf/tst-unique2mod1.c: Likewise.
46477 * elf/tst-unique1mod2.c: Likewise.
46478 * elf/tst-unique1mod1.c: Likewise.
46479 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
46480 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
46481 Replace ASM_TYPE_DIRECTIVE with .type.
46482 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46483 * sysdeps/i386/sysdep.h: Likewise.
46484 * sysdeps/x86_64/sysdep.h: Likewise.
46485 * sysdeps/sh/sysdep.h: Likewise.
46486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46487 Do not define ASM_TYPE_DIRECTIVE.
46488 * sysdeps/powerpc/sysdep.h: Likewise.
46489 * sysdeps/powerpc/powerpc32/sysdep.h:
46490 Replace ASM_TYPE_DIRECTIVE with .type.
46491 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46492 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46493 * sysdeps/i386/fpu/e_powf.S: Likewise.
46494 * sysdeps/i386/fpu/e_expl.S: Likewise.
46495 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46496 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46497 * sysdeps/i386/fpu/e_pow.S: Likewise.
46498 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46499 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46500 * sysdeps/i386/fpu/s_expm1.S: Likewise.
46501 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46502 * sysdeps/i386/fpu/e_log2.S: Likewise.
46503 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46504 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46505 * sysdeps/i386/fpu/e_powl.S: Likewise.
46506 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46507 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46508 * sysdeps/i386/fpu/e_logl.S: Likewise.
46509 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46510 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46511 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46512 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46513 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46514 * sysdeps/i386/fpu/e_log.S: Likewise.
46515 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46516 * sysdeps/i386/fpu/e_logf.S: Likewise.
46517 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46518 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46519 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46520 * sysdeps/i386/fpu/e_log10.S: Likewise.
46521 * sysdeps/i386/fpu/s_frexp.S: Likewise.
46522 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46523 * sysdeps/i386/fpu/s_asinh.S: Likewise.
46524 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46525 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46526 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
46527 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46528 * sysdeps/i386/i686/strtok.S: Likewise.
46529 * sysdeps/i386/i386-mcount.S: Likewise.
46530 * sysdeps/i386/strtok.S: Likewise.
46531 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
46532 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46533 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46534 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46535 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46536 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46537 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46538 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46539 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46540 * sysdeps/x86_64/_mcount.S: Likewise.
46541 * sysdeps/x86_64/strtok.S: Likewise.
46542 * sysdeps/sh/_mcount.S: Likewise.
46544 2012-08-01 Roland McGrath <roland@hack.frob.com>
46546 * libio/iofopen.c: Include <fcntl.h>.
46547 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
46548 (_IO_fopen64, fopen64): Define as aliases.
46549 * libio/iofopen64.c: Include <fcntl.h>.
46550 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
46551 Conditionalize body on this.
46552 * sysdeps/wordsize-64/iofopen.c: File removed.
46553 * sysdeps/wordsize-64/iofopen64.c: File removed.
46555 2012-08-01 Marek Polacek <polacek@redhat.com>
46557 * libc/Makeconfig: Use elf in place of binfmt-subdir.
46558 Use dlfcn directly instead of a variable.
46559 (binfmt-subdir): Do not define.
46562 2012-08-01 Joseph Myers <joseph@codesourcery.com>
46564 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
46565 Remove all definitions.
46566 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
46567 <kernel-features.h>.
46568 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46569 (miss_F_GETOWN_EX): Remove all definitions.
46570 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
46572 [!__ASSUME_FCNTL64]: Remove conditional code.
46573 [__ASSUME_FCNTL64]: Make code unconditional.
46574 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
46575 <kernel-features.h>.
46576 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46577 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
46578 (lockf64) [__NR_fcntl64]: Make code unconditional.
46579 (lockf64) [__ASSUME_FCNTL64]: Likewise.
46581 * sysdeps/unix/sysv/linux/kernel-features.h
46582 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
46583 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
46584 Make code unconditional.
46585 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46586 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
46588 [__NR_vfork]: Make code unconditional.
46589 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46590 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
46592 [__NR_vfork]: Make code unconditional.
46593 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46594 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46596 2012-08-01 Roland McGrath <roland@hack.frob.com>
46598 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
46599 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
46601 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46602 Define mkstemp64 as an alias.
46603 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46604 Define mkstemps64 as an alias.
46605 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46606 Define mkostemp64 as an alias.
46607 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46608 Define mkostemps64 as an alias.
46609 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
46610 Conditionalize body on this.
46611 * misc/mkostemp64.c: Likewise.
46612 * misc/mkostemps64.c: Likewise.
46613 * misc/mkstemps64.c: Likewise.
46614 * sysdeps/wordsize-64/mkstemp64.c: File removed.
46615 * sysdeps/wordsize-64/mkostemp64.c: File removed.
46616 * sysdeps/wordsize-64/mkostemp.c: File removed.
46617 * sysdeps/wordsize-64/mkstemp.c: File removed.
46618 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
46619 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
46620 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
46621 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
46624 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
46625 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
46626 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
46627 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
46629 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
46630 compat_symbol macros from <shlib-compat.h> rather than the underlying
46631 default_symbol_version and symbol_version macros, so that DEFAULT
46632 lines in shlib-versions are respected.
46633 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
46635 2012-08-01 Florian Weimer <fweimer@redhat.com>
46637 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
46638 Declare with warn_unused_result.
46639 (setgid, setregid, setegid, setresgid): Likewise.
46640 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
46642 * WUR-REPORT: Remove set*id functions.
46644 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
46646 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46648 2012-07-31 Roland McGrath <roland@hack.frob.com>
46651 * include/sys/socket.h (__libc_accept, __libc_accept4):
46652 Add attribute_hidden.
46653 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
46655 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
46657 * inet/getnetgrent_r.c (setup): Likewise.
46659 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
46661 2012-07-31 David S. Miller <davem@davemloft.net>
46663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46665 2012-07-31 Joseph Myers <joseph@codesourcery.com>
46668 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
46669 value between 1.0 and 2.0 and smaller part has absolute value less
46671 * math/s_clog10.c (__clog10): Likewise.
46672 * math/s_clog10f.c (__clog10f): Likewise.
46673 * math/s_clog10l.c (__clog10l): Likewise.
46674 * math/s_clogf.c (__clogf): Likewise.
46675 * math/s_clogl.c (__clogl): Likewise.
46676 * math/libm-test.inc (clog_test): Add more tests.
46677 (clog10_test): Likewise.
46678 * sysdeps/i386/fpu/libm-test-ulps: Update.
46679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46681 2012-07-31 Florian Weimer <fweimer@redhat.com>
46683 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
46684 Exit with zero in case no suitable GID is found, and write a
46685 message to standard error.
46687 2012-07-30 Roland McGrath <roland@hack.frob.com>
46689 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46691 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
46692 (MAXPATHLEN): Removed.
46693 (NOGROUP, NODEV): New macros.
46694 (setbit, clrbit, isset, isclr): New macros.
46695 (howmany, roundup, powerof2): New macros.
46696 (DEV_BSIZE): New macro.
46698 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
46699 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
46701 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
46702 definition on [!__NO_LONG_DOUBLE_MATH].
46704 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
46705 PTR_MANGLE and PTR_DEMANGLE.
46707 * socket/accept4.c (accept4): Rename to __libc_accept4.
46708 Define accept4 as a weak alias.
46710 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
46711 on [_DIRENT_HAVE_D_TYPE].
46712 * io/ftw.c (ftw_dir): Likewise.
46714 * io/xmknod.c (__xmknod): Don't check PATH for being null.
46716 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46718 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46719 Use the BSD numbers rather than the arbitrary ones we had.
46720 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46721 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46722 (SIGXCPU, SIGXFSZ): New macros.
46725 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46726 initializer on [_LIBC_REENTRANT].
46728 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46729 definitions inside [_POSIX_MAPPED_FILES].
46731 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
46733 * dirent/opendir.c: Include <fcntl.h>.
46735 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
46736 (__libc_getspecific): Likewise.
46737 (__libc_key_create): Likewise.
46739 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
46740 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
46741 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
46742 (tmpfile64): Define as alias.
46743 * sysdeps/wordsize-64/tmpfile.c: File removed.
46744 * sysdeps/wordsize-64/tmpfile64.c: File removed.
46745 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
46746 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
46748 * stdio-common/vfscanf.c: Include <stdbool.h>.
46749 * nss/makedb.c: Likewise.
46750 * stdio-common/_i18n_number.h: Likewise.
46751 * argp/argp-help.c: Likewise.
46752 * posix/wordexp.c: Likewise.
46753 * sysdeps/posix/spawni.c: Likewise.
46754 * nss/nss_files/files-initgroups.c: Likewise.
46755 * stdio-common/reg-modifier.c: Include <stdlib.h>.
46756 * nss/nss_files/files-initgroups.c: Likewise.
46757 * nss/nss_db/db-netgrp.c: Likewise.
46758 * nss/nss_db/db-initgroups.c: Likewise.
46759 * io/fchmodat.c: Include <sys/stat.h>.
46761 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
46762 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
46764 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
46767 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
46768 Add multiple inclusion protection.
46770 2012-07-27 David S. Miller <davem@davemloft.net>
46772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46774 2012-07-27 Gary Benson <gbenson@redhat.com>
46777 * elf/rtld.c: Include <stap-probe.h>.
46778 (dl_main): Added static probes "init_start" and "init_complete".
46779 * elf/dl-load.c: Include <stap-probe.h>.
46780 (lose): Take new parameter "nsid".
46781 Added static probe "map_failed".
46782 (_dl_map_object_from_fd): Pass namespace id to lose.
46783 Added static probe "map_start".
46784 (open_verify): Pass namespace id to lose.
46785 * elf/dl-open.c: Include <stap-probe.h>.
46786 (dl_open_worker) Added static probes "map_complete", "reloc_start"
46787 and "reloc_complete".
46788 * elf/dl-close.c: Include <stap-probe.h>.
46789 (_dl_close_worker): Added static probes "unmap_start" and
46791 * elf/rtld-debugger-interface.txt: New file documenting the above.
46793 2012-07-26 Roland McGrath <roland@hack.frob.com>
46795 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
46796 rather than a string variable.
46797 * sunrpc/rpc_main.c (h_output): Likewise.
46798 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
46800 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
46802 * inet/check_native.c: New file.
46804 2012-07-26 Joseph Myers <joseph@codesourcery.com>
46807 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
46808 if larger part has absolute value 1.0.
46809 * math/s_clog10.c (__clog10): Likewise.
46810 * math/s_clog10f.c (__clog10f): Likewise.
46811 * math/s_clog10l.c (__clog10l): Likewise.
46812 * math/s_clogf.c (__clogf): Likewise.
46813 * math/s_clogl.c (__clogl): Likewise.
46814 * math/libm-test.inc (clog_test): Add more tests.
46815 (clog10_test): Likewise.
46816 * sysdeps/i386/fpu/libm-test-ulps: Update.
46817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46819 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
46820 (pltexit): Likewise.
46821 (La_regs): Likewise.
46822 (La_retval): Likewise.
46823 (int_retval): Likewise.
46824 Update #error for removed macros to refer only to definitions in
46826 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
46828 (pltexit): Likewise.
46829 (La_regs): Likewise.
46830 (La_retval): Likewise.
46831 (int_retval): Likewise.
46832 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
46834 (pltexit): Likewise.
46835 (La_regs): Likewise.
46836 (La_retval): Likewise.
46837 (int_retval): Likewise.
46838 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
46840 (pltexit): Likewise.
46841 (La_regs): Likewise.
46842 (La_retval): Likewise.
46843 (int_retval): Likewise.
46844 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
46846 (pltexit): Likewise.
46847 (La_regs): Likewise.
46848 (La_retval): Likewise.
46849 (int_retval): Likewise.
46850 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
46852 (pltexit): Likewise.
46853 (La_regs): Likewise.
46854 (La_retval): Likewise.
46855 (int_retval): Likewise.
46856 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
46858 (pltexit): Likewise.
46859 (La_regs): Likewise.
46860 (La_retval): Likewise.
46861 (int_retval): Likewise.
46862 * sysdeps/generic/tst-audit.h: Update comment to refer only to
46863 macro definitions in tst-audit.h.
46864 * sysdeps/i386/tst-audit.h: New file.
46865 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
46866 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
46867 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
46868 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
46869 * sysdeps/sh/tst-audit.h: Likewise.
46870 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
46871 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
46872 * sysdeps/x86_64/tst-audit.h: Likewise.
46874 2012-07-26 Andreas Jaeger <aj@suse.de>
46876 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
46879 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
46880 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
46881 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
46883 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
46884 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
46885 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
46887 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
46890 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
46892 (si_call_addr, si_syscall, si_arch): Define new macro.
46893 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
46895 (si_call_addr, si_syscall, si_arch): Define new marcro.
46896 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
46898 (si_call_addr, si_syscall, si_arch): Define new macro.
46899 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
46901 (si_call_addr, si_syscall, si_arch): Define new macro.
46903 2012-07-25 Joseph Myers <joseph@codesourcery.com>
46906 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46907 Change to 2.4.21 where previously 2.4.1.
46908 * sysdeps/unix/sysv/linux/configure: Regenerated.
46909 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
46910 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
46911 Linux kernel version.
46912 (__ASSUME_STD_AUXV): Remove.
46913 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
46915 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
46916 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
46917 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
46918 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
46919 (__ASSUME_NETLINK_SUPPORT): Likewise.
46920 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
46921 (__no_netlink_support): Remove conditional definition.
46922 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
46924 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46925 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
46926 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
46927 (if_nameindex_ioctl): Remove.
46928 (if_nameindex_netlink): Do not handle __no_netlink_support.
46929 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46931 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
46932 Remove conditional code.
46933 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46935 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
46937 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46938 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
46939 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
46941 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
46942 [!__ASSUME_STD_AUXV]: Remove conditional code.
46943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
46944 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
46945 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
46946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
46947 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
46948 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46950 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46952 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
46953 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46955 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46957 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46960 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
46963 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46964 code unconditional.
46965 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46967 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46969 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46972 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46974 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
46977 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46978 code unconditional.
46979 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46981 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46983 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
46986 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46987 code unconditional.
46988 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46990 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46992 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46995 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
46997 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
46998 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
46999 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
47000 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
47001 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
47002 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47003 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47004 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
47005 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
47006 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
47007 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
47008 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
47009 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
47010 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47011 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
47012 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
47013 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
47014 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
47015 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
47016 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
47017 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
47018 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
47019 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47021 2012-07-25 Florian Weimer <fweimer@redhat.com>
47023 * Versions.def: Add GLIBC_2.17.
47024 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
47025 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
47026 Introduce __libc_secure_getenv.
47027 * stdlib/Versions (2.17): Add secure_getenv
47028 (GLIBC_PRIVATE): Add __libc_secure_getenv.
47029 * stdlib/secure-getenv.c: Rename __secure_getenv to
47030 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
47031 symbol __secure_getenv for GLIBC_2.0.
47032 * stdlib/tst-secure-getenv.c: New.
47033 * stdlib/Makefile (tests): Add testcase.
47034 * manual/startup.texi (Environment Access): Document
47036 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
47037 __libc_secure_getenv.
47038 * inet/ruserpass.c (ruserpass): Likewise.
47039 * malloc/mtrace.c (mtrace): Likewise.
47040 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
47041 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
47042 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
47043 * sysdeps/posix/tempname.c: Likewise. Evaluate
47044 HAVE_SECURE_GETENV.
47045 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
47046 __secure_getenv to __libc_secure_getenv.
47047 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
47048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
47053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
47054 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
47056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
47057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
47060 2012-07-25 Joseph Myers <joseph@codesourcery.com>
47062 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
47063 (struct La_i86_retval): Likewise.
47064 (struct La_x86_64_regs): Likewise.
47065 (struct La_x86_64_retval): Likewise.
47066 (struct La_x32_regs): Likewise.
47067 (struct La_x32_retval): Likewise.
47068 (struct La_ppc32_regs): Likewise.
47069 (struct La_ppc32_retval): Likewise.
47070 (struct La_ppc64_regs): Likewise.
47071 (struct La_ppc64_retval): Likewise.
47072 (struct La_sh_regs): Likewise.
47073 (struct La_sh_retval): Likewise.
47074 (struct La_s390_32_regs): Likewise.
47075 (struct La_s390_32_retval): Likewise.
47076 (struct La_s390_64_regs): Likewise.
47077 (struct La_s390_64_retval): Likewise.
47078 (struct La_sparc32_regs): Likewise.
47079 (struct La_sparc32_retval): Likewise.
47080 (struct La_sparc64_regs): Likewise.
47081 (struct La_sparc64_retval): Likewise.
47082 (struct audit_ifaces): Remove architecture-specific pltenter and
47084 * sysdeps/i386/ldsodefs.h: New file.
47085 * sysdeps/powerpc/ldsodefs.h: Likewise.
47086 * sysdeps/s390/ldsodefs.h: Likewise.
47087 * sysdeps/sh/ldsodefs.h: Likewise.
47088 * sysdeps/sparc/ldsodefs.h: Likewise.
47089 * sysdeps/x86_64/ldsodefs.h: Likewise.
47091 2012-07-25 Marek Polacek <polacek@redhat.com>
47094 * math/libm-test.inc (yn_test): Add another test.
47095 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
47096 to ERANGE when the result is +-Inf.
47097 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47098 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
47099 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
47100 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
47102 2012-07-24 Joseph Myers <joseph@codesourcery.com>
47104 * conform/data/time.h-data (NULL): Use macro-constant. Require
47106 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
47108 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
47110 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
47112 * configure.in <sysdeps resolving>: Correct printing
47114 * configure: Regenerate.
47116 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
47118 * math/w_ilogb.c: Include <limits.h>.
47119 * math/w_ilogbl.c: Likewise.
47121 2012-07-20 Joseph Myers <joseph@codesourcery.com>
47123 * manual/lang.texi (__va_copy): Document primarily as ISO C99
47124 va_copy. Document allowing for unavailable va_copy only as
47125 pre-C99 compatibility.
47126 * manual/string.texi (Copying and Concatenation): Use va_copy
47127 instead of __va_copy in concat example.
47129 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
47131 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
47132 (__sendto): Use create_address_port. Initialize APORT and deallocate
47135 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
47136 with O_NOLINK passed to __file_name_lookup.
47138 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
47139 with O_NOLINK passed to __file_name_lookup.
47141 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
47142 negative N or less than NGIDS.
47144 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
47145 type to string_t. Set ERANGE as errno and return it if NAME is not big
47146 enough. Use memcpy instead of strncpy.
47148 2012-07-20 Joseph Myers <joseph@codesourcery.com>
47150 * elf/Makefile (check-data): Remove.
47151 (localplt.data): New vpath directive.
47152 ($(objpfx)check-localplt.out): Use localplt.data from vpath
47153 instead of $(check-data).
47154 * scripts/data/localplt-generic.data: Move to ...
47155 * sysdeps/generic/localplt.data: ... here.
47156 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
47157 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
47158 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
47159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
47161 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
47162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
47164 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
47165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
47167 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
47168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
47170 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
47171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
47173 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
47174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
47177 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47179 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
47180 PPC32 and PPC64 files.
47181 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
47182 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
47184 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47186 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
47187 __makecontext_ret to ...
47188 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
47189 ... here and call exit if uc_link is NULL. New file.
47190 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
47191 __makecontext_ret.S.
47192 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
47193 __makecontext_ret to ...
47194 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
47195 ... here and call exit if uc_link is NULL. New file.
47196 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
47197 __makecontext_ret.S.
47199 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47201 * elf/elf.h (R_390_IRELATIVE): New definition.
47202 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
47203 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
47204 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
47205 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47206 (elf_machine_lazy_rel): Likewise.
47207 * sysdeps/s390/dl-irel.h: New file.
47208 * sysdeps/s390/s390-64/memcpy.S: New asm code.
47209 * sysdeps/s390/s390-64/memset.S: New asm code.
47210 * sysdeps/s390/s390-64/memcmp.S: New asm code.
47211 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
47212 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
47213 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
47214 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
47215 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
47216 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
47217 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
47218 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
47219 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
47220 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
47221 * sysdeps/s390/s390-32/memcpy.S: New asm code.
47222 * sysdeps/s390/s390-32/memset.S: New asm code.
47223 * sysdeps/s390/s390-32/memcmp.S: New asm code.
47225 2012-07-17 Marek Polacek <polacek@redhat.com>
47228 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
47229 * sysdeps/s390/s390-64/configure.in: Likewise.
47230 * sysdeps/sparc/configure.in: Likewise.
47231 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
47232 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
47233 * sysdeps/i386/configure.in: Likewise.
47234 * sysdeps/x86_64/configure.in: Likewise.
47235 * sysdeps/sh/configure.in: Likewise.
47236 * sysdeps/s390/s390-32/configure: Regenerated.
47237 * sysdeps/s390/s390-64/configure: Likewise.
47238 * sysdeps/x86_64/configure: Likewise.
47239 * sysdeps/sh/configure: Likewise.
47240 * sysdeps/powerpc/powerpc64/configure: Likewise.
47241 * sysdeps/powerpc/powerpc32/configure: Likewise.
47242 * sysdeps/sparc/configure: Likwise.
47243 * sysdeps/i386/configure: Likewise.
47245 * elf/dl-open.c: Comment fixes.
47247 2012-07-17 Joseph Myers <joseph@codesourcery.com>
47249 * Makefile [CXX] (check-data): Remove.
47250 [CXX] (c++-types.data): New vpath directive.
47251 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
47252 vpath. Do not allow for C++ type data being missing.
47253 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
47254 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
47255 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
47256 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
47257 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
47258 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
47259 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
47260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
47262 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
47263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
47265 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
47266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
47268 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
47269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
47271 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
47272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
47274 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
47275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
47277 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
47278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
47280 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
47281 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
47283 * elf/tls-macros.h (TLS_LE): Move architecture-specific
47284 definitions to architecture-specific files.
47285 (TLS_IE): Likewise.
47286 (TLS_LD): Likewise.
47287 (TLS_GD): Likewise.
47288 * sysdeps/i386/tls-macros.h: New file.
47289 * sysdeps/powerpc/tls-macros.h: Likewise.
47290 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
47291 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
47292 * sysdeps/sh/tls-macros.h: Likewise.
47293 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
47294 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
47295 * sysdeps/x86_64/tls-macros.h: Likewise.
47297 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
47299 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
47300 zero value for regular exit case.
47302 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
47303 (__start_context): Preserve zero value for regular exit case.
47305 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
47306 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47308 * manual/setjmp.texi (setcontext): Clarify normal process
47309 termination when uc_link is the null pointer.
47310 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
47313 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
47315 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
47316 preprocessor. Test for each exception mask separately.
47318 2012-07-16 Andreas Jaeger <aj@suse.de>
47320 * po/ru.po: Update from translation team.
47322 2012-07-15 Joseph Myers <joseph@codesourcery.com>
47324 * conform/data/string.h-data (NULL): Use macro-constant. Require
47326 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47327 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47328 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
47329 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
47330 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47332 2012-07-13 Andreas Jaeger <aj@suse.de>
47334 * po/fr.po: Update from translation team.
47336 2012-07-12 Marek Polacek <polacek@redhat.com>
47339 * math/libm-test.inc (yn_test): Add test for BZ #14173.
47340 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
47343 2012-07-12 Joseph Myers <joseph@codesourcery.com>
47346 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47347 Change to 2.4.1 where previously 2.4.0.
47348 * sysdeps/unix/sysv/linux/configure: Regenerated.
47349 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
47350 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
47352 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
47353 (__ASSUME_AT_CLKTCK): Remove.
47354 (__ASSUME_AT_PAGESIZE): Likewise.
47355 (__ASSUME_AT_XID): Likewise.
47356 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
47357 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
47358 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
47360 (HAVE_AUX_PAGESIZE): Likewise.
47361 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
47362 [__ASSUME_AT_CLKTCK]: Make code unconditional.
47363 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
47365 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
47368 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
47369 the temporary buffer used to invoke __gethostbyname2_r,
47370 __gethostbyaddr_r and gethostbyname4_r to make room for struct
47371 host_data / struct gaih_addrtuple.
47372 * resolv/nss_dns/dns-host.c (global scope): Move definition of
47373 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
47374 header file nss/nsswitch.h.
47375 * nss/nsswitch.h (global scope): Add definition of implementation
47376 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
47377 resolv/nss_dns/dns-host.c).
47379 2012-07-11 Andreas Jaeger <aj@suse.de>
47381 * po/fr.po: Update from translation team.
47383 * po/sv.po: Update from translation team
47384 * po/fr.po: Another update from translation team.
47386 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47388 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
47389 for subnormals or multiply small sinh result by itself.
47390 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47393 2012-07-11 David S. Miller <davem@davemloft.net>
47395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47397 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
47400 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
47401 (INTERNAL_MARK): Shift it here.
47403 2012-07-10 Marek Polacek <polacek@redhat.com>
47406 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
47407 libc_cv_asm_global_directive with .globl.
47408 * configure: Regenerated.
47409 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
47411 * sysdeps/i386/configure: Regenerated.
47412 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
47414 * sysdeps/x86_64/configure: Regenerated.
47415 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
47416 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
47417 * elf/tst-unique2mod2.c: Likewise.
47418 * elf/tst-unique2mod1.c: Likewise.
47419 * elf/tst-unique1mod2.c: Likewise.
47420 * elf/tst-unique1mod1.c: Likewise.
47421 * sysdeps/s390/s390-32/sysdep.h: Likewise.
47422 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47423 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47424 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47425 * sysdeps/mach/sysdep.h: Likewise.
47426 * sysdeps/i386/sysdep.h: Likewise.
47427 * sysdeps/i386/i386-mcount.S: Likewise.
47428 * sysdeps/x86_64/_mcount.S: Likewise.
47429 * sysdeps/x86_64/sysdep.h: Likewise.
47430 * sysdeps/sh/_mcount.S: Likewise.
47431 * sysdeps/sh/sysdep.h: Likewise.
47432 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
47433 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
47434 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
47435 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47436 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
47437 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
47438 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
47439 * locale/localeinfo.h: Likewise.
47440 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
47441 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
47443 2012-07-09 Roland McGrath <roland@hack.frob.com>
47446 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
47448 * manual/message.texi (The Uniforum approach): Likewise.
47449 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
47450 (glibc iconv Implementation): Likewise.
47452 2012-07-09 Joseph Myers <joseph@codesourcery.com>
47455 * math/s_clog.c (__clog): Avoid scaling a value down where that
47456 could result in underflow.
47457 * math/s_clog10.c (__clog10): Likewise.
47458 * math/s_clog10f.c (__clog10f): Likewise.
47459 * math/s_clog10l.c (__clog10l): Likewise.
47460 * math/s_clogf.c (__clogf): Likewise.
47461 * math/s_clogl.c (__clogl): Likewise.
47462 * math/libm-test.inc (clog_test): Add more tests.
47463 (clog10_test): Likewise.
47464 * sysdeps/i386/fpu/libm-test-ulps: Update.
47465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47467 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
47470 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
47471 by 7 not 8 to examine high bit of fractional part.
47474 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
47475 for call to __mcount_internal.
47476 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
47477 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
47478 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
47480 2012-07-06 Joseph Myers <joseph@codesourcery.com>
47483 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
47484 approximation for values within 0x1p-13f of an odd multiple of
47486 * math/libm-test.inc (tan_test): Do not allow spurious underflow
47487 exception. Add more tests.
47488 * sysdeps/i386/fpu/libm-test-ulps: Update.
47491 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
47492 inputs and return -1 for them. Do not check for +Inf in case not
47493 reachable for +Inf.
47494 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47495 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
47496 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47497 and return -1 for them. Do not check for +Inf in case not
47498 reachable for +Inf.
47499 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
47501 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47502 and return -1 for them. Do not check for +Inf in case not
47503 reachable for +Inf.
47504 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
47505 spurious underflow.
47506 * sysdeps/i386/fpu/libm-test-ulps: Update.
47507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47509 2012-07-06 Mike Frysinger <vapier@gentoo.org>
47511 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
47513 2012-07-05 Joseph Myers <joseph@codesourcery.com>
47517 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
47518 could result in spurious underflow. Scale down values above
47519 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
47520 * math/s_csqrtf.c (__csqrtf): Likewise.
47521 * math/s_csqrtl.c (__csqrtl): Likewise.
47522 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
47523 spurious underflow.
47524 * sysdeps/i386/fpu/libm-test-ulps: Update.
47525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47527 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
47529 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
47531 * catgets/xopen-msg.awk: New file.
47532 * catgets/xopen-msg.sed: Removed.
47534 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
47536 * intl/po2test.awk: New file.
47537 * intl/po2test.sed: Removed.
47539 2012-07-04 Joseph Myers <joseph@codesourcery.com>
47542 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
47543 or multiply small sinh result by itself.
47544 * math/s_ctanf.c (__ctanf): Likewise.
47545 * math/s_ctanh.c (__ctanh): Likewise.
47546 * math/s_ctanhf.c (__ctanhf): Likewise.
47547 * math/s_ctanhl.c (__ctanhl): Likewise.
47548 * math/s_ctanl.c (__ctanl): Likewise.
47549 * math/libm-test.inc (ctan_test_tonearest): New function.
47550 (ctan_test_towardzero): Likewise.
47551 (ctan_test_downward): Likewise.
47552 (ctan_test_upward): Likewise.
47553 (ctanh_test_tonearest): Likewise.
47554 (ctanh_test_towardzero): Likewise.
47555 (ctanh_test_downward): Likewise.
47556 (ctanh_test_upward): Likewise.
47557 (main): Call these new functions.
47558 * sysdeps/i386/fpu/libm-test-ulps: Update.
47559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47561 2012-07-03 Mike Frysinger <vapier@gentoo.org>
47563 * .gitignore: Delete /ports entry.
47565 2012-07-03 Andreas Jaeger <aj@suse.de>
47567 * po/bg.po: Update from translation team.
47568 * po/cs.po: Likewise.
47569 * po/de.po: Likewise.
47570 * po/hr.po: Likewise.
47571 * po/nl.pl: Likewise.
47572 * po/pl.po: Likewise.
47573 * po/vi.po: Likewise.
47575 2012-07-03 Joseph Myers <joseph@codesourcery.com>
47577 * Makeconfig [!+link] (+link-before-libc): New variable.
47578 [!+link] (+link-after-libc): Likewise.
47579 [!+link] (+link-tests): Likewise.
47580 [!+link] (+link): Define in terms of $(+link-before-libc) and
47581 $(+link-after-libc).
47582 [!+link-static] (+link-static-before-libc): New variable.
47583 [!+link-static] (+link-static-after-libc): Likewise.
47584 [!+link-static] (+link-static-tests): Likewise.
47585 [!+link-static] (+link-static): Define in terms of
47586 $(+link-static-before-libc) and $(+link-static-after-libc).
47587 [build-shared] (link-libc-before-gnulib): New variable.
47588 [build-shared] (link-libc-tests): Likewise.
47589 [build-shared] (link-libc): Define in terms of
47590 $(link-libc-before-gnulib).
47591 [!build-shared] (link-libc-tests): New variable.
47592 (link-libc-static-tests): New variable.
47593 [!gnulib] (gnulib-arch): New variable.
47594 [!gnulib] (gnulib-tests): Likewise.
47595 [!gnulib] (static-gnulib-arch): Likewise.
47596 [!gnulib] (static-gnulib-tests): Likewise.
47597 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
47598 Define with "=" instead of ":=".
47599 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
47600 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
47601 * Rules (binaries-all-notests): New variable.
47602 (binaries-all-tests): Likewise.
47603 (binaries-static-notests): Likewise.
47604 (binaries-static-tests): Likewise.
47605 (binaries-all): Define using $(binaries-all-notests) and
47606 $(binaries-all-tests).
47607 (binaries-static): Define using $(binaries-static-notests) and
47608 $(binaries-static-tests).
47609 (binaries-shared-tests): New variable.
47610 (binaries-shared-notests): Likewise.
47611 (binaries-shared): Remove variable.
47612 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
47613 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
47614 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
47615 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
47616 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
47617 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
47618 * elf/Makefile (sln-modules): New variable.
47619 (extra-objs): Add $(sln-modules:=.o).
47620 (ldconfig-modules): Add static-stubs.
47621 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
47622 * elf/static-stubs.c: New file.
47625 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
47626 by 7 not 8 to examine high bit of fractional part. Use volatile
47627 variables when splitting into final array of floats if
47628 __FLT_EVAL_METHOD__ != 0.
47629 * math/libm-test.inc (cos_test): Add another test.
47630 (sin_test): Likewise.
47631 * sysdeps/i386/fpu/libm-test-ulps: Update.
47634 * math/libm-test.inc (cosh_test): Add more tests.
47636 * version.h (RELEASE): Set to "development".
47637 (VERSION): Set to "2.16.90".
47639 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
47641 * NEWS: Update copyright. Remove last-updated date.
47642 Mention math library bug fixes and timezone data changes.
47643 * README: Mention GNU/Hurd, x32, and HPPA support status.
47645 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
47647 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
47649 2012-06-27 Andreas Jaeger <aj@suse.de>
47651 * manual/contrib.texi (Contributors): Add Samuel Thibault.
47653 2012-06-25 Andreas Jaeger <aj@suse.de>
47655 * sysdeps/s390/fpu/libm-test-ulps: Update.
47657 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
47658 Thomas Schwinge <thomas@codesourcery.com>
47660 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
47661 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
47662 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
47665 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
47667 * sysdeps/mach/start.c: Remove file.
47668 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
47669 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
47670 * sysdeps/sh/init-first.c: Likewise.
47672 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
47673 registers for frame unwinding purposes, add CFI directives.
47674 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47675 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
47676 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47679 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
47680 __fortify_fail returning.
47681 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47683 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
47684 sysdeps/sh/____longjmp_chk.S.
47685 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
47686 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
47687 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
47688 (gen-as-const-headers): Append sigaltstack-offsets.sym.
47690 * sysdeps/sh/abort-instr.h: New file.
47691 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
47692 process in case exit returns.
47694 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47695 initialize the GOT register before use.
47697 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
47698 calculation of ARGC > 4.
47700 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
47701 meaningful names to some local labels.
47703 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47704 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47706 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
47707 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
47708 (__arch_compare_and_exchange_val_16_acq): Likewise.
47709 (__arch_compare_and_exchange_val_32_acq): Likewise.
47710 (atomic_exchange_and_add): Fix gUSA sequence.
47711 (atomic_add): Likewise.
47712 (atomic_add_negative): Likewise.
47713 (atomic_add_zero): Likewise.
47714 (atomic_bit_test_set): Likewise.
47716 2012-06-22 Andreas Schwab <schwab@redhat.com>
47719 * include/link.h (struct link_map): Add l_free_initfini.
47720 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47722 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47723 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47724 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47727 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
47729 * configure.in: Use AC_LANG_SOURCE.
47730 * configure: Regenerate.
47732 2012-06-22 Roland McGrath <roland@hack.frob.com>
47734 * configure.in (libc_cv_localstatedir): New substituted variable.
47735 * configure: Regenerated.
47736 * config.make.in (localstatedir): New variable, substituted from
47737 libc_cv_localstatedir.
47738 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
47739 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
47740 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
47741 * sysdeps/gnu/configure: Regenerated.
47743 2012-06-21 Jeff Law <law@redhat.com>
47746 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
47747 free. Simplify list management for _LIBC case.
47749 2012-06-21 Joseph Myers <joseph@codesourcery.com>
47752 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
47753 Clear sign bit of 64-bit integer value before comparing against
47756 * sysdeps/mach/configure: Regenerated.
47758 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
47761 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
47763 2012-06-21 Jeff Law <law@redhat.com>
47766 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
47767 uint16_t for elements in the "seen" array to avoid char overflows.
47768 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47769 * elf/dl-open.c (dl_open_worker): Likewise.
47771 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
47773 * scripts/list-sources.sh: Scan PORTS for translations.
47774 * po/libc.pot: Regenerated.
47776 2012-06-21 Andreas Jaeger <aj@suse.de>
47779 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
47781 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
47782 * bits/byteswap-16.h (__bswap_16): Likewise.
47783 * bits/byteswap.h (__bswap_constant_16): Likewise.
47785 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
47788 * sysdeps/i386/fpu_control.h: Removed.
47789 * sysdeps/x86_64/fpu_control.h: Moved to ...
47790 * sysdeps/x86/fpu_control.h: Here.
47792 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
47793 (_FPU_SETCW): Likewise.
47795 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
47798 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
47799 * sysdeps/x86/fpu/bits/mathinline.h: This.
47800 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
47804 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
47805 functions if __x86_64__ is defined.
47807 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
47809 * string/endian.h: Add !__ASSEMBLER__ condition for including
47810 conversion interfaces.
47812 2012-06-15 Joseph Myers <joseph@codesourcery.com>
47815 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
47816 of ABS(x) in calculating zero to negative powers other than odd
47818 * math/libm-test.inc (pow_test): Add more tests.
47820 2012-06-15 Andreas Jaeger <aj@suse.de>
47822 * manual/contrib.texi (Contributors): Update entry of Liubov
47823 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
47826 2012-06-15 Cyril Hrubis <metan@ucw.cz>
47828 * string/string.h: Add __wur to GNU version of strerror_r.
47830 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
47833 * string/Makefile (tests): Add tst-strtok_r.
47834 * string/tst-strtok_r.c: New file.
47835 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
47836 RAX_LP/RDX_LP on SAVE_PTR.
47838 2012-06-14 Roland McGrath <roland@hack.frob.com>
47840 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
47842 2012-06-14 Joseph Myers <joseph@codesourcery.com>
47844 * libm_test.inc (csqrt_test): Allow more spurious underflow
47846 (j0_test): Likewise.
47847 (j1_test): Likewise.
47848 (y0_test): Likewise.
47849 (y1_test): Likewise.
47851 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
47853 * po/Makefile (libc.pot): Use UTF-8 charset.
47855 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
47858 Suppress sign-conversion warning from FD_SET.
47859 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
47860 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
47861 not unsigned long int.
47862 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
47864 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
47868 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
47869 __extern_always_inline instead of __extern_inline.
47870 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
47871 (__signbit): Likewise.
47872 (__signbitl): Support C++ namespace.
47873 (lrintf): New inline function.
47875 (llrintf): Likewise.
47876 (llrint): Likewise.
47886 (floorf): Likewise.
47887 (nearbyint): Likewise.
47888 (nearbyintf): Likewise.
47890 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
47892 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
47893 non-default versions.
47895 2012-06-11 Roland McGrath <roland@hack.frob.com>
47898 * manual/argp.texi (Argp): Reword argp_parse description slightly.
47900 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
47902 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
47903 (FE_UPWARD, FE_DOWNWARD): Don't define.
47904 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
47905 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47907 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
47909 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47910 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47912 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47914 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47915 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
47916 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
47917 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
47919 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
47922 * sysdeps/i386/fpu/bits/fenv.h: Removed.
47923 * sysdeps/i386/fpu/Implies: New file.
47924 * sysdeps/x86_64/fpu/Implies: Likewise.
47925 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
47926 * sysdeps/x86/fpu/bits/fenv.h: This.
47928 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
47931 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
47934 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
47935 character 0xffff that matches the last element of the
47938 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47940 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
47943 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47945 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
47946 values higher than 25.6283.
47948 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47950 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
47951 subnormal exponent extraction and add some __builtin_expect.
47952 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
47953 Fix for subnormal mantissa calculation.
47955 2012-06-04 Mike Frysinger <vapier@gentoo.org>
47957 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
47958 cpu2 is -1 and errno is not ENOSYS.
47960 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
47963 * sysdeps/i386/i486/bits/string.h: Renamed to ...
47964 * sysdeps/x86/bits/string.h: This.
47965 * sysdeps/x86_64/bits/string.h: Removed.
47967 * sysdeps/i386/i486/bits/string.h: Define inline functions only
47968 if not compiling for x86-64, but compiling for >= i486.
47970 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
47971 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
47973 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
47974 New macro from Linux kernel 3.4.0.
47975 (FP_XSTATE_MAGIC2): Likewise.
47976 (FP_XSTATE_MAGIC2_SIZE): Likewise.
47977 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
47978 (struct _fpx_sw_bytes): New struct.
47979 (struct _xsave_hdr): Likewise.
47980 (struct _ymmh_state): Likewise.
47981 (struct _xstate): Likewise.
47983 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
47984 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
47985 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
47986 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
47987 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
47988 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
47990 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
47991 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
47992 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
47993 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
47994 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
47995 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
47997 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48000 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
48001 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
48002 (sysdep_headers): Include sys/platform/ppc.h.
48003 * sysdeps/powerpc/test-gettimebase.c: Test for
48004 __ppc_get_timebase() to catch future ISA opcode/insn changes.
48005 * manual/Makefile (appendices): Include platform.texi.
48006 * manual/contrib.texi (Contributors): Update @node pointers.
48007 * manual/maint.texi (Maintenance): Likewise.
48008 (Platform): New node.
48009 * manual/platform.texi: New file. Document the new features.
48011 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
48012 Jakub Jelinek <jakub@redhat.com>
48015 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
48016 where __builtin_expect is unavailable.
48018 2012-06-03 David S. Miller <davem@davemloft.net>
48020 * stdlib/longlong.h: Updated from GCC.
48022 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
48025 * sysdeps/powerpc/powerpc32/mcount.c: New file.
48026 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
48028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
48029 (GLIBC_2.16): Likewise.
48031 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
48033 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
48035 2012-06-01 Joseph Myers <joseph@codesourcery.com>
48037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
48038 (default-abi): New variable.
48039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
48040 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
48042 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
48044 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
48046 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
48049 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
48050 definition. Document in comment.
48052 2012-06-01 David S. Miller <davem@davemloft.net>
48054 * stdlib/longlong.h: Updated from GCC.
48056 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
48059 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
48060 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
48061 sys/debugreg.h sys/io.h here.
48062 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
48063 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
48065 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
48066 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
48067 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
48068 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
48069 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
48070 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
48072 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
48073 Define only if __x86_64__ is defined.
48075 2012-06-01 Joseph Myers <joseph@codesourcery.com>
48078 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
48079 Use int64_t for variable i.
48080 * math/libm-test.inc (fmod_test): Add more tests.
48082 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
48083 z computation is not scheduled after fetestexcept.
48084 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
48085 Use math_force_eval instead of asm to ensure calculation scheduled
48086 before exception test.
48087 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
48088 Ensure a1 + u.d computation is not scheduled after fetestexcept.
48090 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
48092 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
48093 computation is not scheduled after fetestexcept.
48095 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
48098 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
48099 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
48101 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48103 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
48104 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48106 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
48109 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
48111 (__WCHAR_MIN): Support __WORDSIZE == 64.
48112 (__WCHAR_MAX): Likewise.
48114 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
48115 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
48118 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
48119 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
48122 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
48123 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
48125 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
48126 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
48128 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
48129 Defined to 1 if __x86_64__ isn't defined.
48130 (_STAT_VER_LINUX_OLD): New.
48131 (st_atime): Remove duplicate.
48132 (st_mtime): Likewise.
48133 (st_ctime): Likewise.
48135 2012-05-31 David S. Miller <davem@davemloft.net>
48137 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
48140 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
48142 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
48146 * elf/dl-reloc.c: Include <_itoa.h>.
48147 (_dl_reloc_bad_type): Remove use of INTUSE.
48148 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
48149 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
48150 * stdio-common/psiginfo.c (psiginfo): Likewise.
48151 * stdio-common/psignal.c (psignal): Likewise.
48152 * string/strsignal.c (strsignal): Likewise.
48153 * include/signal.h (_sys_siglist): Declare hidden proto.
48154 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
48155 INTVARDEF with libc_hidden_data_def.
48156 * stdio-common/itoa-udigits.c: Likewise.
48157 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
48158 (_itoa_lower_digits_internal): Remove declaration.
48159 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
48160 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
48161 (_sys_sigabbrev_internal): Remove aliases.
48162 (_sys_siglist): Define hidden alias.
48164 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
48166 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48169 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
48172 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
48173 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
48175 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
48176 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
48177 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
48178 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
48179 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
48180 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
48182 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
48183 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
48184 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
48186 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
48194 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
48195 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
48196 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
48198 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
48199 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
48200 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
48201 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
48202 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
48203 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
48205 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
48206 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
48208 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
48209 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
48211 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
48212 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
48213 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
48215 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
48216 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
48218 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
48220 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
48221 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
48222 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
48224 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
48226 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
48228 2012-05-31 Joseph Myers <joseph@codesourcery.com>
48230 * math/math.h (M_El): Use two more decimal places.
48231 (M_LOG2El): Likewise.
48232 (M_LOG10El): Likewise.
48233 (M_LN2l): Likewise.
48234 (M_LN10l): Likewise.
48236 (M_PI_2l): Likewise.
48237 (M_PI_4l): Likewise.
48238 (M_1_PIl): Likewise.
48239 (M_2_PIl): Likewise.
48240 (M_2_SQRTPIl): Likewise.
48241 (M_SQRT2l): Likewise.
48242 (M_SQRT1_2l): Likewise.
48244 2012-05-31 David S. Miller <davem@davemloft.net>
48246 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
48247 values between float registers.
48248 * sysdeps/sparc/sparc64/memset.S: Likewise.
48249 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48251 2012-05-31 Mike Frysinger <vapier@gentoo.org>
48253 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
48254 -D_FORTIFY_SOURCE=1.
48255 (CPPFLAGS-tst-longjmp_chk.c): Define.
48256 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
48257 (CPPFLAGS-tst-longjmp_chk2.c): Define.
48258 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
48259 CFLAGS-tst-wchar-h.c.
48261 2012-05-31 Marek Polacek <polacek@redhat.com>
48264 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
48265 __endmntent_internal): Remove declaration.
48266 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
48267 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
48268 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
48270 2012-05-30 David S. Miller <davem@davemloft.net>
48272 * sysdeps/sparc/sparc32/soft-fp/q_util.c
48273 (___Q_simulate_exceptions): Use real FP ops rather than writing
48275 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
48278 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
48281 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
48282 * sysdeps/x86/bits/xtitypes.h: This.
48284 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
48285 * sysdeps/x86/bits/wordsize.h: This.
48287 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
48288 * sysdeps/x86/bits/huge_vall.h: This.
48290 * sysdeps/i386/bits/select.h: Removed.
48291 * sysdeps/x86_64/bits/select.h: Renamed to ...
48292 * sysdeps/x86/bits/select.h: This.
48294 * sysdeps/i386/bits/setjmp.h: Removed.
48295 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
48296 * sysdeps/x86/bits/setjmp.h: This.
48298 * sysdeps/i386/bits/mathdef.h: Removed.
48299 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
48300 * sysdeps/x86/bits/mathdef.h: This.
48302 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
48305 * include/sys/socket.h (__connect_internal)
48306 (__libc_sa_len_internal): Remove declaration.
48307 (__connect, __libc_sa_len): Declare hidden_proto.
48308 (SA_LEN): Remove use of INTUSE.
48309 * socket/connect.c: Add libc_hidden_def.
48310 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
48311 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
48312 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
48314 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48315 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
48316 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
48317 of adding _internal alias.
48319 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
48322 * sysdeps/i386/bits/link.h: Removed.
48323 * sysdeps/i386/bits/linkmap.h: Likewise.
48324 * sysdeps/x86_64/bits/link.h: Renamed to ...
48325 * sysdeps/x86/bits/link.h: This.
48326 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
48327 * sysdeps/x86/bits/linkmap.h: This.
48329 * sysdeps/i386/bits/endian.h: Removed.
48330 * sysdeps/x86_64/bits/endian.h: Renamed to ...
48331 * sysdeps/x86/bits/endian.h: This.
48333 * sysdeps/i386/bits/byteswap.h: Removed.
48334 * sysdeps/i386/bits/byteswap-16.h: Likewise.
48335 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
48336 * sysdeps/x86/bits/byteswap.h: This.
48337 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
48338 * sysdeps/x86/bits/byteswap-16.h: This.
48339 * sysdeps/i386/Implies: Add x86.
48340 * sysdeps/x86_64/Implies: Likewise.
48342 2012-05-30 David S. Miller <davem@davemloft.net>
48344 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
48345 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
48346 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
48347 (FP_TRAPPING_EXCEPTIONS): Define.
48348 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
48349 (FP_TRAPPING_EXCEPTIONS): Define.
48350 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
48351 subnormals only when inexact has been signalled or underflow
48352 exceptions are enabled.
48353 (_FP_PACK_CANONICAL): Likewise.
48355 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
48358 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
48359 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
48361 2012-05-30 Richard Henderson <rth@twiddle.net>
48363 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
48364 with #ifndef NOT_IN_libc.
48366 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
48367 marked to avoid plt entry.
48369 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
48372 * Makeconfig (default-abi): New macro.
48373 (abi-includes): Likewise.
48374 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
48375 $(abi-$(default-abi)-lib-soname) for soname if defined.
48376 ($(common-objpfx)gnu/lib-names.stmp): Generate from
48378 * Makefile (installed-stubs): Likewise.
48379 * include/stubs-biarch.h: Removed.
48380 * scripts/lib-names.awk: Only handle one library at a time.
48381 * scripts/soversions.awk: Remove WORDSIZE support.
48382 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
48384 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
48386 (syscall-list-default-condition): Likewise.
48387 (syscall-list-default-condition): Likewise.
48388 (syscall-list-includes): Likewise.
48389 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
48390 syscall-list-* with abi-*. Handle undefined abi-variants.
48391 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
48392 * sysdeps/unix/sysv/linux/i386/Implies: New file.
48393 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
48394 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
48395 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
48396 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
48398 (syscall-list-32-options): Likewise.
48399 (syscall-list-32-condition): Likewise.
48400 (syscall-list-64-options): Likewise.
48401 (syscall-list-64-condition): Likewise.
48402 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
48404 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
48407 (abi-64-ld-soname): New macro.
48408 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
48409 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
48412 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
48413 * sysdeps/x86_64/x32/shlib-versions: Likewise.
48415 2012-05-30 Joseph Myers <joseph@codesourcery.com>
48417 * sysdeps/unix/sysv/linux/kernel-features.h
48418 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
48419 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
48420 include <kernel-features.h>.
48421 [!__NR_ftruncate64]: Remove conditional code.
48422 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48423 [__NR_ftruncate64]: Make code unconditional.
48424 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48425 * sysdeps/unix/sysv/linux/truncate64.c: Do not
48426 include <kernel-features.h>.
48427 [!__NR_ftruncate64]: Remove conditional code.
48428 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48429 [__NR_ftruncate64]: Make code unconditional.
48430 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
48432 include <kernel-features.h>.
48433 [!__NR_ftruncate64]: Remove conditional code.
48434 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48435 [__NR_ftruncate64]: Make code unconditional.
48436 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48438 include <kernel-features.h>.
48439 [!__NR_ftruncate64]: Remove conditional code.
48440 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48441 [__NR_ftruncate64]: Make code unconditional.
48442 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48444 * configure.in (libc_cv_fpie): Weaken to a compile test using
48445 LIBC_TRY_CC_OPTION.
48446 * configure: Regenerated.
48448 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
48451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
48452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
48453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
48456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
48457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
48458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
48459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
48460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48463 2012-05-27 David S. Miller <davem@davemloft.net>
48465 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
48467 (__Q_simulate_exceptions): Return void. Change to simulate
48468 exceptions by writing into the %fsr.
48469 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
48470 (__Qp_handle_exceptions): Likewise.
48472 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
48473 __Qp_handle_exceptions.
48474 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
48475 __Qp_handle_exceptions.
48476 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48477 as unused and give dummy FP_RND_NEAREST initializer.
48478 (FP_INHIBIT_RESULTS): Define.
48479 (___Q_simulate_exceptions): Update declaration.
48480 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
48482 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48483 as unused and give dummy FP_RND_NEAREST initializer.
48484 (__Qp_handle_exceptions): Update declaration.
48485 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
48488 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
48490 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
48491 the temporary FPU control word.
48492 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
48493 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
48494 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
48495 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48496 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48497 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
48498 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
48499 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48500 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
48501 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
48502 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48504 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48506 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
48509 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
48511 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
48512 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
48513 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
48514 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
48516 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
48517 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
48520 2012-05-27 Ulrich Drepper <drepper@gmail.com>
48522 * po/h.po: Update from translation team.
48524 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
48526 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
48528 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
48529 handling of denormals.
48530 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48531 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48532 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48533 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48534 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48535 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
48536 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
48539 2012-05-26 Marek Polacek <polacek@redhat.com>
48542 * math/libm-test.inc (fma_test): Don't always expect underflow
48545 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48548 * elf/tst-execstack.c: Include stackinfo.h.
48549 (do_test): Adjust test case to ensure that pthread_getattr_np
48550 behaviour remains the same after marking stack executable.
48552 2012-05-25 Joseph Myers <joseph@codesourcery.com>
48554 * sysdeps/unix/sysv/linux/kernel-features.h
48555 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
48556 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
48558 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48559 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48560 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
48562 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48563 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48565 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
48567 * configure.in: Define the default includes to being none.
48568 * configure: Regenerated.
48570 2012-05-25 Roland McGrath <roland@hack.frob.com>
48572 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
48573 * sysdeps/x86_64/setjmp.S: Likewise.
48574 * sysdeps/i386/bsd-setjmp.S: Likewise.
48575 * sysdeps/i386/bsd-_setjmp.S: Likewise.
48576 * sysdeps/i386/setjmp.S: Likewise.
48577 * sysdeps/i386/__longjmp.S: Likewise.
48578 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48579 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
48581 * include/stap-probe.h: New file.
48582 * configure.in: Handle --enable-systemtap.
48583 * configure: Regenerated.
48584 * config.h.in (USE_STAP_PROBE): New #undef.
48585 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
48586 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
48587 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
48589 2012-05-25 Joseph Myers <joseph@codesourcery.com>
48592 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48593 to 2.4.0 where earlier.
48594 * sysdeps/unix/sysv/linux/configure: Regenerated.
48595 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48596 <kernel-features.h>.
48597 [__ASSUME_32BITUIDS]: Make code unconditional.
48598 [!__ASSUME_32BITUIDS]: Remove conditional code.
48599 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
48600 <kernel-features.h>.
48601 [__ASSUME_32BITUIDS]: Make code unconditional.
48602 [!__ASSUME_32BITUIDS]: Remove conditional code.
48603 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
48604 [__ASSUME_32BITUIDS]: Make code unconditional.
48605 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
48606 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
48607 <kernel-features.h>.
48608 [__ASSUME_32BITUIDS]: Make code unconditional.
48609 [!__ASSUME_32BITUIDS]: Remove conditional code.
48610 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
48611 <kernel-features.h>.
48612 [__ASSUME_32BITUIDS]: Make code unconditional.
48613 [!__ASSUME_32BITUIDS]: Remove conditional code.
48614 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
48615 <kernel-features.h>.
48616 [__ASSUME_32BITUIDS]: Make code unconditional.
48617 [!__ASSUME_32BITUIDS]: Remove conditional code.
48618 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
48619 <kernel-features.h>.
48620 [__ASSUME_32BITUIDS]: Make code unconditional.
48621 [!__ASSUME_32BITUIDS]: Remove conditional code.
48622 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48623 <kernel-features.h>.
48624 [__ASSUME_32BITUIDS]: Make code unconditional.
48625 [!__ASSUME_32BITUIDS]: Remove conditional code.
48626 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48627 <kernel-features.h>.
48628 [__ASSUME_32BITUIDS]: Make code unconditional.
48629 [!__ASSUME_32BITUIDS]: Remove conditional code.
48630 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
48631 <kernel-features.h>.
48632 [__ASSUME_32BITUIDS]: Make code unconditional.
48633 [!__ASSUME_32BITUIDS]: Remove conditional code.
48634 * sysdeps/unix/sysv/linux/i386/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
48647 <kernel-features.h>.
48648 [__NR_setresgid] (__setresgid): Do not declare.
48649 [__ASSUME_32BITUIDS]: Make code unconditional.
48650 [!__ASSUME_32BITUIDS]: Remove conditional code.
48651 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
48652 <kernel-features.h>.
48653 [__NR_setresuid] (__setresuid): Do not declare.
48654 [__ASSUME_32BITUIDS]: Make code unconditional.
48655 [!__ASSUME_32BITUIDS]: Remove conditional code.
48656 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
48657 <kernel-features.h>.
48658 [__ASSUME_32BITUIDS]: Make code unconditional.
48659 [!__ASSUME_32BITUIDS]: Remove conditional code.
48660 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
48661 <kernel-features.h>.
48662 [__ASSUME_32BITUIDS]: Make code unconditional.
48663 [!__ASSUME_32BITUIDS]: Remove conditional code.
48664 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
48665 <kernel-features.h>.
48666 [__ASSUME_32BITUIDS]: Make code unconditional.
48667 [!__ASSUME_32BITUIDS]: Remove conditional code.
48668 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
48669 <kernel-features.h>.
48670 [__ASSUME_32BITUIDS]: Make code unconditional.
48671 [!__ASSUME_32BITUIDS]: Remove conditional code.
48672 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
48673 <kernel-features.h>.
48674 [__ASSUME_32BITUIDS]: Make code unconditional.
48675 [!__ASSUME_32BITUIDS]: Remove conditional code.
48676 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
48677 <kernel-features.h>.
48678 [__ASSUME_32BITUIDS]: Make code unconditional.
48679 [!__ASSUME_32BITUIDS]: Remove conditional code.
48680 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
48681 <kernel-features.h>.
48682 [__ASSUME_32BITUIDS]: Make code unconditional.
48683 [!__ASSUME_32BITUIDS]: Remove conditional code.
48684 * sysdeps/unix/sysv/linux/i386/setreuid.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/setuid.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/shmctl.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/kernel-features.h
48697 (__ASSUME_SETRESUID_SYSCALL): Remove.
48698 (__ASSUME_SETRESGID_SYSCALL): Likewise.
48699 (__ASSUME_32BITUIDS): Likewise.
48700 (__ASSUME_LDT_WORKS): Likewise.
48701 (__ASSUME_O_DIRECTORY): Likewise.
48702 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
48703 architecture but not kernel version.
48704 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48705 (__ASSUME_MMAP2_SYSCALL): Likewise.
48706 (__ASSUME_STAT64_SYSCALL): Likewise.
48707 (__ASSUME_IPC64): Likewise.
48708 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
48709 <kernel-features.h>.
48710 [__ASSUME_32BITUIDS]: Make code unconditional.
48711 [!__ASSUME_32BITUIDS]: Remove conditional code.
48712 * sysdeps/unix/sysv/linux/opendir.c: Do not include
48713 <kernel-features.h>.
48714 [__ASSUME_O_DIRECTORY]: Make code unconditional.
48715 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48716 132096]: Remove conditional code.
48717 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48718 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48719 <kernel-features.h>.
48720 [__ASSUME_32BITUIDS]: Make code unconditional.
48721 [!__ASSUME_32BITUIDS]: Remove conditional code.
48722 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48723 <kernel-features.h>.
48724 [__ASSUME_32BITUIDS]: Make code unconditional.
48725 [!__ASSUME_32BITUIDS]: Remove conditional code.
48726 * sysdeps/unix/sysv/linux/setegid.c: Do not include
48727 <kernel-features.h>.
48728 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48730 (__setresgid): Do not declare.
48731 [__ASSUME_32BITUIDS]: Make code unconditional.
48732 [!__ASSUME_32BITUIDS]: Remove conditional code.
48733 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
48734 <kernel-features.h>.
48735 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
48737 (__setresuid): Do not declare.
48738 [__ASSUME_32BITUIDS]: Make code unconditional.
48739 [!__ASSUME_32BITUIDS]: Remove conditional code.
48740 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48741 <kernel-features.h>.
48742 [__ASSUME_32BITUIDS]: Make code unconditional.
48743 [!__ASSUME_32BITUIDS]: Remove conditional code.
48744 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
48745 <kernel-features.h>.
48746 [__ASSUME_32BITUIDS]: Make code unconditional.
48747 [!__ASSUME_32BITUIDS]: Remove conditional code.
48749 2012-05-25 Richard Henderson <rth@twiddle.net>
48751 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
48752 dl_hwcap to ifunc resolver.
48753 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
48755 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
48756 dl_hwcap to ifunc resolver.
48757 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
48759 2012-05-24 Joseph Myers <joseph@codesourcery.com>
48762 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
48763 for |x| <= 2**-26, not 2**-57.
48764 * math/libm-test.inc (acos_test): Do not allow spurious underflow
48767 2012-05-24 Jeff Law <law@redhat.com>
48769 * stdio-common/Makefile (tests): Add bug25.
48770 * stdio-common/bug25.c: New test.
48772 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
48775 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
48776 multiple of MALLOC_ALIGNMENT in size.
48777 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
48779 2012-05-24 Joseph Myers <joseph@codesourcery.com>
48781 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
48783 (FILENAME_MAX): Use macro-int-constant.
48784 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
48785 (_IOFBF): Use macro-int-constant.
48786 (_IOLBF): Likewise.
48787 (_IONBF): Likewise.
48788 (SEEK_CUR): Likewise.
48789 (SEEK_END): Likewise.
48790 (SEEK_SET): Likewise.
48791 (TMP_MAX): Likewise.
48792 (EOF): Use macro-int-constant. Require < 0.
48793 (NULL): Use macro-constant. Require == 0.
48794 (stdin): Require type to be FILE *.
48795 (stdout): Likewise.
48796 (stderr): Likewise.
48797 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
48798 macro-int-constant.
48799 (EXIT_SUCCESS): Likewise.
48800 (NULL): Use macro-constant. Require == 0.
48801 (RAND_MAX): Use macro-int-constant.
48802 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
48803 [C99-based standards] (strtof): Require function.
48804 [C99-based standards] (strtold): Likewise.
48805 [C99-based standards] (strtoll): Likewise.
48806 [C99-based standards] (strtoull): Likewise.
48807 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48808 [ISO || ISO99 || ISO11] (limits.h): Likewise.
48809 [ISO || ISO99 || ISO11] (math.h): Likewise.
48810 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
48811 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48812 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48814 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
48817 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
48818 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
48819 * intl/dgettext.c (DCGETTEXT): Likewise.
48820 * intl/gettext.c (DCGETTEXT): Likewise.
48821 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
48822 * posix/regex_internal.h (gettext): Likewise.
48823 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
48824 Remove declaration.
48825 * include/argz.h (__argz_count_internal)
48826 (__argz_stringify_internal): Remove declaration.
48827 (__argz_count, __argz_stringify): Declare hidden proto.
48828 * intl/dcgettext.c: Remove use of INTDEF.
48829 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
48830 * string/argz-stringify.c: Likewise.
48831 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48832 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48833 Declare hidden proto.
48834 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48835 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48836 Declare hidden proto.
48837 * include/stdio.h (__asprintf_internal): Don't declare.
48838 (__asprintf): Don't define as macro. Declare hidden proto.
48839 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
48840 (__fsetlocking): Declare hidden proto.
48841 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
48842 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
48844 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
48845 (_IO_setlinebuf): Remove use of INTUSE.
48846 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
48847 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
48848 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
48849 Remove declaration.
48850 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
48851 (_IO_do_flush): Remove use of INTUSE.
48852 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
48853 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
48854 (_IO_adjust_column, _IO_least_wmarker)
48855 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
48856 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
48857 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
48858 (_IO_default_doallocate, _IO_wdefault_doallocate)
48859 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
48860 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
48861 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
48862 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
48863 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
48864 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
48865 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
48866 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
48867 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
48868 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
48869 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
48870 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
48871 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
48873 (_IO_flush_all_internal, _IO_adjust_column_internal)
48874 (_IO_default_uflow_internal, _IO_default_finish_internal)
48875 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
48876 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
48877 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
48878 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
48879 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
48880 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
48881 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
48882 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
48883 (_IO_file_close_internal, _IO_file_close_it_internal)
48884 (_IO_file_underflow_internal, _IO_file_overflow_internal)
48885 (_IO_file_init_internal, _IO_file_attach_internal)
48886 (_IO_file_fopen_internal, _IO_file_read_internal)
48887 (_IO_file_sync_internal, _IO_file_seek_internal)
48888 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
48889 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
48890 (_IO_str_underflow_internal, _IO_str_overflow_internal)
48891 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
48892 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
48893 (_IO_list_all_internal, _IO_link_in_internal)
48894 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
48895 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
48896 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
48897 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
48898 (_IO_do_write_internal, _IO_padn_internal)
48899 (_IO_getline_info_internal, _IO_getline_internal)
48900 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
48901 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
48902 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
48903 (_IO_vfscanf_internal, _IO_vfprintf_internal)
48904 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
48905 (_IO_init_internal, _IO_un_link_internal): Don't declare.
48906 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
48907 with libc_hidden_ver, remove use of INTUSE.
48908 * libio/genops.c: Likewise.
48909 * libio/freopen.c: Likewise.
48910 * libio/freopen64.c: Likewise.
48911 * libio/iofclose.c: Likewise.
48912 * libio/iofdopen.c: Likewise.
48913 * libio/iofflush.c: Likewise.
48914 * libio/iofflush_u.c: Likewise.
48915 * libio/iofgets.c: Likewise.
48916 * libio/iofgets_u.c: Likewise.
48917 * libio/iofopen.c: Likewise.
48918 * libio/iofopncook.c: Likewise.
48919 * libio/iofread.c: Likewise.
48920 * libio/iofread_u.c: Likewise.
48921 * libio/ioftell.c: Likewise.
48922 * libio/iofwrite.c: Likewise.
48923 * libio/iogetline.c: Likewise.
48924 * libio/iogets.c: Likewise.
48925 * libio/iogetwline.c: Likewise.
48926 * libio/iopadn.c: Likewise.
48927 * libio/iopopen.c: Likewise.
48928 * libio/ioseekoff.c: Likewise.
48929 * libio/ioseekpos.c: Likewise.
48930 * libio/iosetbuffer.c: Likewise.
48931 * libio/iosetvbuf.c: Likewise.
48932 * libio/ioungetc.c: Likewise.
48933 * libio/ioungetwc.c: Likewise.
48934 * libio/iovdprintf.c: Likewise.
48935 * libio/iovsprintf.c: Likewise.
48936 * libio/iovsscanf.c: Likewise.
48937 * libio/memstream.c: Likewise.
48938 * libio/obprintf.c: Likewise.
48939 * libio/oldfileops.c: Likewise.
48940 * libio/oldiofclose.c: Likewise.
48941 * libio/oldiofdopen.c: Likewise.
48942 * libio/oldiofopen.c: Likewise.
48943 * libio/oldiopopen.c: Likewise.
48944 * libio/oldstdfiles.c: Likewise.
48945 * libio/putc.c: Likewise.
48946 * libio/setbuf.c: Likewise.
48947 * libio/setlinebuf.c: Likewise.
48948 * libio/stdfiles.c: Likewise.
48949 * libio/strops.c: Likewise.
48950 * libio/vasprintf.c: Likewise.
48951 * libio/vscanf.c: Likewise.
48952 * libio/vsnprintf.c: Likewise.
48953 * libio/vswprintf.c: Likewise.
48954 * libio/wfiledoalloc.c: Likewise.
48955 * libio/wfileops.c: Likewise.
48956 * libio/wgenops.c: Likewise.
48957 * libio/wmemstream.c: Likewise.
48958 * libio/wstrops.c: Likewise.
48959 * libio/__fpurge.c: Likewise.
48960 * libio/__fsetlocking.c: Likewise.
48961 * assert/assert.c: Likewise.
48962 * debug/fgets_chk.c: Likewise.
48963 * debug/fgets_u_chk.c: Likewise.
48964 * debug/fread_chk.c: Likewise.
48965 * debug/fread_u_chk.c: Likewise.
48966 * debug/gets_chk.c: Likewise.
48967 * debug/obprintf_chk.c: Likewise.
48968 * debug/vasprintf_chk.c: Likewise.
48969 * debug/vdprintf_chk.c: Likewise.
48970 * debug/vsnprintf_chk.c: Likewise.
48971 * debug/vsprintf_chk.c: Likewise.
48972 * malloc/mtrace.c: Likewise.
48973 * misc/error.c: Likewise.
48974 * misc/syslog.c: Likewise.
48975 * stdio-common/asprintf.c: Likewise.
48976 * stdio-common/fxprintf.c: Likewise.
48977 * stdio-common/getw.c: Likewise.
48978 * stdio-common/isoc99_fscanf.c: Likewise.
48979 * stdio-common/isoc99_scanf.c: Likewise.
48980 * stdio-common/isoc99_vfscanf.c: Likewise.
48981 * stdio-common/isoc99_vscanf.c: Likewise.
48982 * stdio-common/isoc99_vsscanf.c: Likewise.
48983 * stdio-common/printf-prs.c: Likewise.
48984 * stdio-common/printf_fp.c: Likewise.
48985 * stdio-common/printf_fphex.c: Likewise.
48986 * stdio-common/printf_size.c: Likewise.
48987 * stdio-common/putw.c: Likewise.
48988 * stdio-common/scanf.c: Likewise.
48989 * stdio-common/sprintf.c: Likewise.
48990 * stdio-common/tmpfile.c: Likewise.
48991 * stdio-common/vfprintf.c: Likewise.
48992 * stdio-common/vfscanf.c: Likewise.
48993 * stdlib/strfmon_l.c: Likewise.
48994 * sunrpc/openchild.c: Likewise.
48995 * sunrpc/xdr_stdio.c: Likewise.
48996 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
48997 * sysdeps/mach/hurd/tmpfile.c: Likewise.
48999 2012-05-24 Roland McGrath <roland@hack.frob.com>
49001 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49003 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
49004 in the third column, to generate for the shared library an IFUNC
49005 that uses _dl_vdso_vsym.
49006 * Makerules (COMPILE.c, compile-stdin.c): New variables.
49007 * Makeconfig (object-suffixes-noshared): New variable.
49009 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
49010 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
49011 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
49012 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
49015 * include/sys/time.h (__gettimeofday): Remove macro.
49016 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
49017 * time/gettimeofday.c (__gettimeofday): Remove #undef.
49019 (__gettimeofday): Add libc_hidden_def.
49020 (gettimeofday): Add libc_hidden_weak.
49021 * sysdeps/mach/gettimeofday.c: Likewise.
49022 * sysdeps/posix/gettimeofday.c: Likewise.
49023 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
49024 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
49025 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
49026 (__gettimeofday_internal): Remove strong_alias.
49027 (__gettimeofday): Add libc_hidden_def.
49028 (gettimeofday): Add libc_hidden_weak.
49029 * sysdeps/unix/syscalls.list (gettimeofday):
49030 Remove __gettimeofday_internal alias.
49032 2012-05-24 Daniel Jacobowitz <drow@false.org>
49033 H.J. Lu <hongjiu.lu@intel.com>
49036 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
49037 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
49038 (largebin_index_32_big): New.
49039 (largebin_index): Use it for 16-byte alignment.
49040 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
49041 correction with front_misalign.
49043 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
49045 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
49046 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
49050 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
49052 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
49054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
49056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
49058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
49060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
49064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
49066 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
49068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
49071 * scripts/data/c++-types-x32-linux-gnu.data: New file.
49072 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
49074 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49078 * math/libm-test.inc (exp_test): Add test from bug 14036.
49079 (pow_test): Add test from bug 10846.
49081 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
49083 (special_function): Do not include flags in test name.
49084 (parse_args): Likewise.
49085 * sysdeps/i386/fpu/libm-test-ulps: Update.
49086 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49087 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49088 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49091 * math/gen-libm-test.pl (%beautify): Add entries for underflow
49093 * math/libm-test.inc ("Philosophy"): Update comment about
49095 (UNDERFLOW_EXCEPTION): New macro.
49096 (UNDERFLOW_EXCEPTION_OK): Likewise.
49097 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
49098 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
49099 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
49100 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
49101 (INVALID_EXCEPTION_OK): Update value.
49102 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49103 (OVERFLOW_EXCEPTION_OK): Likewise.
49104 (IGNORE_ZERO_INF_SIGN): Likewise.
49105 (test_exceptions): Handle underflow exceptions.
49106 (acos_test): Update for underflow exception expectations.
49107 (cexp_test): Likewise.
49108 (clog_test): Likewise.
49109 (clog10_test): Likewise.
49110 (csqrt_test): Likewise.
49111 (ctan_test): Likewise.
49112 (ctanh_test): Likewise.
49113 (exp_test): Likewise.
49114 (exp10_test): Likewise.
49115 (exp2_test): Likewise.
49116 (expm1_test): Likewise.
49117 (fma_test): Likewise.
49118 (j0_test): Likewise.
49119 (jn_test): Likewise.
49120 (nexttoward_test): Likewise.
49121 (pow_test): Likewise.
49122 (scalbn_test): Likewise.
49123 (scalbln_test): Likewise.
49124 (tan_test): Likewise.
49125 (y1_test): Likewise.
49126 * sysdeps/i386/fpu/libm-test-ulps: Update.
49127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49129 2012-05-23 David S. Miller <davem@davemloft.net>
49131 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49132 (__libc_sigaction): Remove unused local variables.
49134 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
49136 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
49138 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
49140 mktime: avoid signed integer overflow
49141 * time/mktime.c (__mktime_internal): Do not mishandle the case
49142 where diff == INT_MIN.
49144 mktime: simplify computation of average
49145 * time/mktime.c (ranged_convert): Use new time_t_avg function
49146 instead of rolling our own (probably-slower) code.
49148 mktime: do not assume signed right shift propagates sign bit
49149 * time/mktime.c (isdst_differ): New static function.
49150 (__mktime_internal): No need to normalize tm_isdst now.
49151 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
49154 mktime: merge another wrapv change from gnulib
49155 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
49156 from some compilers.
49158 mktime: remove incorrect attempt at unusual arithmetics
49159 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
49160 The code didn't really work on such machines anyway.
49161 (TYPE_MINIMUM): Assume two's complement.
49162 (twos_complement_arithmetic): Verify that long_int and time_t
49163 are two's complement (or unsigned, in the latter case).
49165 mktime: check signed shifts on long_int and time_t, too
49166 * time/mktime.c (SHR): Check that shifts work as desired
49167 on the types long_int and time_t too, as SHR is used on
49170 mktime: do not assume 'long' is wide enough
49171 * time/mktime.c (verify): Move decl up.
49172 (long_int): New type.
49173 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
49174 to remove assumption in the code that 'long' is wide enough to
49175 store year values. This assumption is not true on x32 and on
49176 some non-glibc platforms.
49178 mktime: merge wrapv change from gnulib
49179 * time/mktime.c (WRAPV): New macro.
49180 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
49181 (guess_time_tm, __mktime_internal): Do not assume that signed
49182 integer overflow wraps around; modern compilers generate code
49183 where this assumption is no longer valid.
49185 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
49187 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49188 Replace "jmp L(pseudo_end)" with "ret".
49189 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
49192 2012-05-23 Andreas Jaeger <aj@suse.de>
49194 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
49195 * sysdeps/unix/sysv/linux/poll.c: Remove file.
49197 2012-05-23 Andreas Jaeger <aj@suse.de>
49198 Maximilian Attems <max@stro.at>
49200 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
49203 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
49205 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
49206 code so that pseudo_end is just ret and the stack pointer is
49207 correct also for static library in error case.
49209 2012-05-23 Joseph Myers <joseph@codesourcery.com>
49211 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
49212 move to syscalls.list.
49213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
49214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
49215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
49216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
49218 * manual/install.texi (Running make install): Do not mention Linux
49219 kernel version for which pt_chown is not needed.
49220 (Linux): Do not mention problems with nscd with 2.0 kernels.
49221 * INSTALL: Regenerated.
49223 2012-05-23 Andreas Jaeger <aj@suse.de>
49225 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
49226 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
49228 * sysdeps/unix/sysv/linux/s390/bits/mman.h
49229 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49230 * sysdeps/unix/sysv/linux/sh/bits/mman.h
49231 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49232 * sysdeps/unix/sysv/linux/i386/bits/mman.h
49233 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49234 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
49235 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49236 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
49237 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
49238 * sysdeps/unix/sysv/linux/bits/in.h
49239 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
49241 2012-05-22 Roland McGrath <roland@hack.frob.com>
49243 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
49244 (PREPARE_VERSION): Just use assert instead, it will be elided
49245 under [NDEBUG] anyway.
49247 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
49249 * sysdeps/unix/sysv/linux/Makefile: Include
49250 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
49251 (sysdep_routines): Remove sysctl.
49252 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
49253 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
49254 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
49255 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
49256 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
49258 2012-05-22 Andreas Jaeger <aj@suse.de>
49260 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
49261 that pseudo_end is just ret and the stack pointer is correct also
49262 for static library in error case.
49264 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
49267 * nss/nsswitch.c (defconfig_entries): New variable.
49268 (__nss_database_lookup): Don't leak defconfig entries.
49269 (nss_parse_service_list): Don't leak on error paths.
49270 (free_database_entries): New function.
49271 (free_defconfig): New function.
49272 (free_mem): Move common code to free_database_entries.
49274 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
49276 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
49278 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
49280 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
49281 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
49282 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
49284 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
49285 (INTERNAL_SYSCALL_TYPES): Likewise.
49286 (LOAD_ARGS_TYPES_[1-6]): Likewise.
49287 (LOAD_REGS_TYPES_[1-6]): Likewise.
49288 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
49289 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
49291 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49293 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
49294 copysignl for GLIBC_2_0.
49295 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
49296 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
49297 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
49298 logbl for GLIBC_2_0.
49299 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
49300 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
49302 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
49304 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
49305 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
49307 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49310 * time/mktime.c: Update copyright years.
49312 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
49314 mktime: merge comment-quoting-style change from gnulib
49315 * time/mktime.c: Quote 'like this' in comments.
49316 The GNU coding standards suggest that we no longer quote `like this',
49317 as "`" and "'" are typically rendered asymmetrically nowadays.
49318 The typical gnulib style is to quote 'like this' when quoting
49319 code, and "like this" when quoting English.
49321 * time/mktime.c (compile-command): Add "-I.".
49323 mktime: merge mktime-internal.h change from gnulib
49324 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
49326 mktime: merge time_r change from gnulib
49327 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
49329 mktime: merge DEBUG change from gnulib
49330 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
49331 case system <time.h> has a #define.
49333 mktime: merge <sys/types.h> change from gnulib
49334 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
49335 since <time.t> is now guaranteed to define time_t.
49337 mktime: merge HAVE_CONFIG_H change from gnulib
49338 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
49340 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
49342 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49345 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
49347 (struct rusage): Use anonymous union to pad each field to
49350 2012-05-21 David S. Miller <davem@davemloft.net>
49352 * Makefules (o-iterator): Remove .s cases.
49353 (compile-command.s): Delete.
49354 (COMPILE.s): Delete.
49355 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
49357 2012-05-21 Joseph Myers <joseph@codesourcery.com>
49359 * configure.in (libc_cv_predef_stack_protector): Only consider
49360 "foobar" and "__stack_chk_fail" lines in libc_undefs.
49361 * configure: Regenerated.
49363 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
49365 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49366 New macro. Use R*LP on int and pointer.
49367 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
49368 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
49369 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
49370 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
49372 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
49373 [__WORDSIZE_TIME64_COMPAT32] instead of
49374 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
49375 (struct utmp): Likewise.
49376 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
49377 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
49379 (__WORDSIZE_TIME64_COMPAT32): This.
49380 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
49381 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
49382 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
49383 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
49384 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
49385 (__WORDSIZE_TIME64_COMPAT32): New macro.
49387 2012-05-21 Andreas Jaeger <aj@suse.de>
49389 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
49390 only if [SHARED]. Add prototype for __wcschr_ia32.
49392 2012-05-21 Roland McGrath <roland@hack.frob.com>
49394 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
49395 of %rbp unmolested in the jmp_buf while mangling the low bits.
49396 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
49397 unmolested high bits of %rbp while demangling the low bits.
49398 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49400 2012-05-21 Andreas Jaeger <aj@suse.de>
49402 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
49403 * sunrpc/svc_simple.c: Use it for registerrpc.
49404 * sunrpc/xcrypt.c: Use it for passwd2des.
49406 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
49408 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
49410 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
49411 Don't define if [__SYSCALL_WORDSIZE != 32].
49412 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
49415 2012-05-21 Bruno Haible <bruno@clisp.org>
49416 Andreas Jaeger <aj@suse.de>
49418 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
49419 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
49420 inptr and inend for must_buffer_ch.
49421 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
49422 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
49423 * stdio-common/Makefile (tests): Remove bug15.
49424 (bug15-ENV): Remove macro.
49425 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
49428 2012-05-19 Andreas Jaeger <aj@suse.de>
49429 Roland McGrath <roland@hack.frob.com>
49431 * manual/contrib.texi: Completely rewritten. It contains now an
49432 alphabetical list of contributors and their contributions.
49434 2012-05-21 Richard Henderson <rth@twiddle.net>
49436 * misc/getauxval.c (__getauxval): Use unsigned long int.
49437 * misc/sys/auxv.h: Include <sys/cdefs.h>.
49438 (getauxval): Use unsigned long int.
49440 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
49442 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49444 2012-05-21 Roland McGrath <roland@hack.frob.com>
49446 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
49447 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
49448 __alignof__ (long double).
49450 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49454 2012-05-20 Richard Henderson <rth@twiddle.net>
49456 * misc/getauxval.c: New file.
49457 * misc/sys/auxv.h: New file.
49458 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
49459 (routines): Add getauxval.
49460 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
49461 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
49462 * elf/dl-sysdep.c (_dl_auxv): Remove.
49463 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
49464 * elf/dl-support.c (_dl_auxv): New variable.
49465 (_dl_aux_init): Initialize it.
49466 * manual/startup.texi (Auxiliary Vector): New node.
49467 * sysdeps/generic/bits/hwcap.h: New file.
49468 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
49469 * sysdeps/powerpc/sysdep.h: ... here. Include it.
49470 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
49471 * sysdeps/sparc/sysdep.h: ... here. Include it.
49472 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
49473 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
49474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
49477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
49478 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
49479 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
49480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49482 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
49483 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
49485 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49489 2012-05-19 David S. Miller <davem@davemloft.net>
49491 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49493 2012-05-19 Joseph Myers <joseph@codesourcery.com>
49496 * math/s_ccosh.c: Include <float.h>
49497 (__ccosh): Avoid internal overflow calculating sinh and cosh
49498 values before multiplying by sin and cos values.
49499 * math/s_ccoshf.c: Likewise.
49500 * math/s_ccoshl.c: Likewise.
49501 * math/s_csin.c: Likewise.
49502 * math/s_csinf.c: Likewise.
49503 * math/s_csinl.c: Likewise.
49504 * math/s_csinh.c: Likewise.
49505 * math/s_csinhf.c: Likewise.
49506 * math/s_csinhl.c: Likewise.
49507 * math/libm-test.inc (ccos_test): Add more tests.
49508 (ccosh_test): Likewise.
49509 (csin_test): Likewise.
49510 (csinh_test): Likewise.
49511 * sysdeps/i386/fpu/libm-test-ulps: Update.
49512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49514 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
49516 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
49517 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
49519 * sysdeps/x86_64/x32/_itoa.h: Add comment.
49521 2012-05-19 Joseph Myers <joseph@codesourcery.com>
49523 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
49524 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
49525 * sysdeps/powerpc/soft-fp/Versions: Likewise.
49526 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
49527 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
49528 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
49529 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
49530 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
49531 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
49532 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
49533 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
49534 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
49535 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
49536 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
49537 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
49538 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
49539 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
49540 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
49541 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
49542 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
49543 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
49544 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
49545 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
49546 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
49547 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
49548 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
49549 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
49550 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
49551 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
49552 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
49553 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
49555 2012-05-18 Andreas Jaeger <aj@suse.de>
49557 * csu/.gitignore: Delete.
49559 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
49561 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
49562 (timex): Use __syscall_slong_t.
49564 2012-05-18 Andreas Jaeger <aj@suse.de>
49565 Carlos O'Donell <carlos_odonell@mentor.com>
49567 * manual/install.texi (Configuring and compiling): Update
49568 description about files modified in the source directory.
49569 * INSTALL: Regenerated.
49571 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
49573 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
49574 value. Use "or" to set return value to -1.
49575 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
49576 negate return value.
49578 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49580 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
49581 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
49582 failure if the compiler has Graphite support disabled.
49583 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
49585 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
49586 (CFLAGS-memmove.c): Likewise.
49587 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
49590 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
49592 * sysdeps/x86_64/x32/_itoa.h: New file.
49594 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
49595 getdents system call only if kernel and user dirents have the
49596 same d_ino and d_off.
49598 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49599 LLONG_MAX != LONG_MAX.
49600 (_itoa_word): Use _ITOA_WORD_TYPE on value.
49601 (_fitoa_word): Likewise.
49603 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
49605 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
49606 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
49607 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
49609 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
49610 include <bits/wordsize.h>. Check __x86_64__ instead of
49612 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
49613 if __x86_64__ is defined. Use anonymous union on fpstate.
49615 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
49618 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
49620 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
49621 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
49622 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
49623 Refer to _rtld_local_ro instead of _rtld_global_ro.
49624 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
49626 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
49628 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
49630 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
49631 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
49632 of _rtld_global, and rtld_progname instead of _dl_argv[0].
49635 * sysdeps/powerpc/powerpc32/dl-machine.c
49636 (__elf_machine_runtime_setup) [PROF]: Don't reference
49639 2012-05-18 Andreas Jaeger <aj@suse.de>
49641 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
49642 function only available for GCCs before 3.4 since GCC 3.4
49643 introduced a builtin.
49645 (llrintf): Likewise.
49646 (llrint): Likewise.
49653 (nearbyint): Likewise.
49654 (nearbyintf): Likewise.
49658 (floorf): Likewise.
49660 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
49662 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
49663 on both fields and cast pointer to __syscall_ulong_t.
49665 * bits/types.h (__fsword_t): New type.
49666 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49667 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
49668 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49669 (__FSWORD_T_TYPE): Likewise.
49670 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49671 (__FSWORD_T_TYPE): Likewise.
49672 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49673 (__FSWORD_T_TYPE): Likewise.
49674 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
49675 (__FSWORD_T_TYPE): Likewise.
49676 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
49677 __SWORD_TYPE with __fsword_t.
49678 (statfs64): Likewise.
49680 2012-05-17 David S. Miller <davem@davemloft.net>
49682 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
49684 2012-05-17 Andreas Jaeger <aj@suse.de>
49686 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
49689 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
49691 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
49693 2012-05-17 Andreas Jaeger <aj@suse.de>
49695 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
49698 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
49700 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
49702 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
49704 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
49705 * sysdeps/x86_64/tst-mallocalign1.c: New file.
49707 2012-05-17 Andreas Jaeger <aj@suse.de>
49708 Carlos O'Donell <carlos_odonell@mentor.com>
49711 * sysdeps/x86_64/multiarch/init-arch.h
49712 (bit_YMM_Usable): Rename to...
49713 (bit_AVX_Usable): ... this.
49714 (bit_FMA4_Usable): New macro.
49715 (bit_XMM_state): New macro.
49716 (bit_YMM_state): New macro.
49717 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49718 [__ASSEMBLER__] (index_AVX_Usable): ... this.
49719 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49720 (CPUID_OSXSAVE): New macro.
49721 (CPUID_AVX): New macro.
49722 (CPUID_FMA4): New macro.
49723 (index_YMM_Usable): Rename to...
49724 (index_AVX_Usable): ... this.
49725 (HAS_AVX): Use HAS_ARCH_FEATURE.
49726 (HAS_FMA4): Likewise.
49727 (HAS_YMM_USABLE): Remove.
49728 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49729 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
49731 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
49732 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
49733 * sysdeps/x86_64/multiarch/Makefile: Likewise.
49734 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
49735 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
49737 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
49739 * math/libm-test.c: Support platforms without multiple rounding modes.
49740 * math/bug-nextafter.c: Support platforms without FP exceptions.
49741 * math/bug-nexttoward.c: Likewise.
49742 * math/test-fenv.c: Likewise.
49743 * math/test-misc.c: Likewise.
49744 * stdlib/bug-getcontext.c: Likewise.
49746 2012-05-17 Andreas Jaeger <aj@suse.de>
49748 * manual/examples/search.c (critter_cmp): Change signature to
49750 * manual/string.texi (Collation Functions): Likewise.
49752 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
49754 * bits/types.h: Fold copyright years.
49755 * bits/typesizes.h: Likewise.
49756 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
49757 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49758 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
49759 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
49760 * time/time.h: Likewise.
49762 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
49765 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
49766 in instead of returning them. Return void.
49767 (__libc_mallinfo): Accumulate over all arenas.
49768 (__malloc_stats): Adjust for change in int_mallinfo interface.
49770 2012-05-16 Roland McGrath <roland@hack.frob.com>
49773 * configure.in (NM): Add AC_CHECK_TOOL for it.
49774 (libc_extra_cflags): New substituted variable.
49775 Check for -fstack-protector being used implicitly.
49776 * configure: Regenerated.
49777 * config.make.in (config-extra-cflags): New variable,
49778 gets @libc_extra_cflags@.
49779 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
49782 * configure.in: Check for _FORTIFY_SOURCE being predefined.
49783 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
49784 * configure: Regenerated.
49785 * config.make.in (CPPUNDEFS): New substituted variable.
49786 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
49787 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
49788 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
49790 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
49792 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
49793 (mq_attr): Use __syscall_slong_t.
49795 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
49797 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
49798 Check __x86_64__ instead of __WORDSIZE.
49799 (_STAT_VER_LINUX): Likewise.
49800 (stat): Check __x86_64__ instead of __WORDSIZE. Use
49801 __syscall_ulong_t and __syscall_slong_t.
49802 (stat64): Likewise.
49804 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
49806 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
49808 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
49810 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
49812 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
49814 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
49817 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
49818 include <bits/wordsize.h>. Check __x86_64__ instead of
49820 (greg_t): Use "__extension__ long long int" if __x86_64__ is
49822 (mcontext_t): Replace "unsigned long" with "unsigned long long".
49824 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
49825 include <bits/wordsize.h>. Check __x86_64__ instead of
49827 (user_regs_struct): Use "__extension__ unsigned long long"
49828 instead of "unsigned long" if __x86_64__ is defined.
49829 (user): Likewise. Pad after pointer field if __ILP32__ is
49832 2012-05-16 Joseph Myers <joseph@codesourcery.com>
49834 * configure.in (makeinfo): Require version 4.5 or later. Allow
49836 * configure: Regenerated.
49837 * manual/install.texi (texinfo): Increase version requirement to
49839 * INSTALL: Regenerated.
49841 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
49843 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
49845 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
49847 * sysdeps/x86_64/x32/ffs.c: New file.
49849 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
49851 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
49852 defined. Use __syscall_ulong_t.
49853 (shminfo): Use __syscall_ulong_t.
49854 (shm_info): Likewise.
49856 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
49859 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
49861 (msgqnum_t): Use __syscall_ulong_t.
49862 (msglen_t): Likewise.
49863 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
49866 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
49867 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
49869 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
49871 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
49872 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
49874 * sysvipc/sys/msg.h (msgbuf): Replace long int with
49877 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
49878 include <bits/wordsize.h>. Check __x86_64__ instead of
49881 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
49882 "unsigned long long int" if __x86_64__ is defined.
49883 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
49885 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
49886 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
49887 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
49889 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
49891 (GET_PC): Cast to uintptr_t first.
49892 (GET_FRAME): Likewise.
49893 (GET_STACK): Likewise.
49895 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
49896 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
49897 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
49898 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
49899 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
49900 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
49901 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
49902 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
49903 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
49904 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
49905 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
49906 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
49907 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49908 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
49909 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
49910 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
49911 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
49912 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
49913 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
49914 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
49915 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
49916 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
49917 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
49918 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
49919 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
49920 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
49921 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
49922 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
49923 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
49925 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
49927 * Makerules (+depfiles): Also collect depfiles from .oS in
49929 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
49930 .oS, $(libnldbl-routines)).
49932 * Makerules (native-compile-mkdep-flags): Define.
49933 * sunrpc/Makefile (extra-objs): Add $(addprefix
49934 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
49935 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
49936 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
49937 calling $(make-target-directory).
49939 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49941 * bits/types.h (__snseconds_t): Removed.
49942 * time/time.h (struct timespec): Replace __snseconds_t with
49944 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
49945 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
49947 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49948 (__SNSECONDS_T_TYPE): Likewise.
49949 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49950 (__SNSECONDS_T_TYPE): Likewise.
49951 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49952 (__SNSECONDS_T_TYPE): Likewise.
49954 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49956 * sysdeps/mach/hurd/bits/typesizes.h
49957 (__SYSCALL_SLONG_TYPE): New macro.
49958 (__SYSCALL_ULONG_TYPE): Likewise.
49960 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49962 * bits/types.h (__syscall_slong_t): New type.
49963 (__syscall_ulong_t): Likewise.
49965 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
49966 (__SYSCALL_ULONG_TYPE): Likewise.
49967 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49968 (__SYSCALL_SLONG_TYPE): Likewise.
49969 (__SYSCALL_ULONG_TYPE): Likewise.
49970 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49971 (__SYSCALL_SLONG_TYPE): Likewise.
49972 (__SYSCALL_ULONG_TYPE): Likewise.
49973 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49974 (__SYSCALL_SLONG_TYPE): Likewise.
49975 (__SYSCALL_ULONG_TYPE): Likewise.
49977 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49979 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
49980 Add sigaltstack-offsets.sym.
49981 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
49982 <sigaltstack-offsets.h>.
49983 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
49984 longjmp_msg pointer.
49985 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
49986 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
49988 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
49990 2012-05-15 Joseph Myers <joseph@codesourcery.com>
49992 * elf/stackguard-macros.h: Remove file.
49993 * sysdeps/generic/stackguard-macros.h: New file.
49994 * sysdeps/i386/stackguard-macros.h: Likewise.
49995 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49996 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49997 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49998 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49999 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50000 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50001 * sysdeps/x86_64/stackguard-macros.h: Likewise.
50002 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
50003 <elf/stackguard-macros.h>.
50006 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
50007 __aligned__ in attribute.
50008 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
50009 (gregset_t): Likewise.
50011 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50013 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
50014 * sysdeps/x86_64/64/Implies-after: Here. New file.
50015 * sysdeps/x86_64/x32/Implies-after: New file.
50017 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50019 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
50020 and access return value for _dl_profile_fixup. Use R10_LP to
50023 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50025 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
50027 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50029 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
50030 * sysdeps/x86_64/x32/sysdep.h: New file.
50032 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50034 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
50035 * sysdeps/x86_64/setjmp.S: Likewise.
50037 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50039 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
50040 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
50041 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
50042 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
50043 remove unused global constant.
50045 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
50047 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
50048 include of <not-cancel.h>.
50050 2012-05-15 Roland McGrath <roland@hack.frob.com>
50052 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
50054 2012-05-15 Jeff Law <law@redhat.com>
50055 Andreas Jaeger <aj@suse.de>
50058 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
50060 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
50061 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
50062 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
50063 code changing __hst_map_handle.map.
50065 2012-05-15 Roland McGrath <roland@hack.frob.com>
50067 * configure.in (sysnames): Look for Implies-before and Implies-after
50069 * configure: Regenerated.
50071 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50073 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
50074 8-byte data alignment with LP_SIZE alignment.
50076 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50078 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
50081 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50083 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
50085 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50087 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
50088 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
50089 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
50091 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
50093 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50095 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
50096 (stackinfo_sub_sp): Likewise.
50098 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50100 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
50103 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50105 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
50108 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50110 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
50113 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50115 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
50117 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50119 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
50120 into R11_LP and load __x86_64_shared_cache_size_half into
50123 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50125 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
50128 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50130 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
50132 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
50134 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
50136 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
50137 powerpc32/power7/fpu/s_logb.c via #include.
50138 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
50139 powerpc32/power7/fpu/s_logbf.c via #include.
50140 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
50141 powerpc32/power7/fpu/s_logbl.c via #include.
50143 2012-05-15 Joseph Myers <joseph@codesourcery.com>
50145 * README.libm: Remove file.
50147 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
50149 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
50150 count for x32. Use R*_LP and omit operand-size suffix.
50152 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
50154 * shlib-versions: Move x86_64-.*-linux.* entries to ...
50155 * sysdeps/x86_64/64/shlib-versions: Here. New file.
50156 * sysdeps/x86_64/x32/shlib-versions: New file.
50158 2012-05-14 Roland McGrath <roland@hack.frob.com>
50160 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
50161 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
50162 Use _dl_fatal_printf instead.
50164 2012-05-14 Joseph Myers <joseph@codesourcery.com>
50166 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
50167 set if not set by the user. Do not allow for being unset.
50168 * sysdeps/unix/sysv/linux/configure: Regenerated.
50170 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
50172 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
50173 the `q' suffix from lea and replace .quad with ASM_ADDR.
50175 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
50177 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
50178 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
50180 (PTR_DEMANGLE): Likewise.
50182 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
50184 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
50186 (ASM_ADDR): Likewise.
50187 (RAX_LP): Likewise.
50188 (RBP_LP): Likewise.
50189 (RBX_LP): Likewise.
50190 (RCX_LP): Likewise.
50191 (RDI_LP): Likewise.
50192 (RSI_LP): Likewise.
50193 (RSP_LP): Likewise.
50196 (R10_LP): Likewise.
50197 (R10_LP): Likewise.
50198 (R11_LP): Likewise.
50199 (R12_LP): Likewise.
50200 (R13_LP): Likewise.
50201 (R14_LP): Likewise.
50202 (R15_LP): Likewise.
50204 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
50206 * sysdeps/x86_64/x32/dl-machine.h: New file.
50208 2012-05-14 Andreas Jaeger <aj@suse.de>
50210 * manual/Makefile (subdir): Remove export of subdir.
50211 (all): Remove target.
50212 (.PHONY): Remove all from list.
50213 (mkinstalldirs): Remove.
50214 (.PHONY): Remove installdirs from list.
50215 ($(inst_infodir)/libc.info): Use make-target-directory.
50216 (installdirs): Remove.
50217 (subdir_%): Remove.
50218 (glibc-targets): Remove.
50221 ($(objpfx)stubs ../po/manual.pot): Remove.
50222 ($(objpfx)stamp%): Remove.
50223 (make-target-directory): Remove.
50224 (subdir_install): Remove.
50225 (routines): Remove.
50232 * manual/.gitignore: Remove, it's not needed anymore.
50233 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
50235 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
50237 (texis): Renamed to $(objpfx)texis.
50238 (texis-path): New, contains path to generated files.
50239 (chapters.%): Use texis-path for complete path, add extra argument
50241 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
50242 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
50243 (summary,texi, stamp-summary): Use complete path of
50244 files. Generate files in build dir.
50245 (dir-add.texi): Build in build dir.
50246 (libm-err.texi,stamp-libm-err): Likewise.
50247 (version.texi, stamp-version): Likewise.
50248 (.%c.texi): Likewise.
50249 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
50250 (mostlyclean): Remove target.
50251 (realclean): Remove target.
50252 (generated): Add new variable with contents from mostlyclean and
50253 realclean, remove entries duplicated in common-mostlyclean, add
50254 stamp-libm-err and stamp-version.
50255 (generated-dirs): Add libc directory.
50256 ($(inst_infodir)/libc.info): Install files from build dir.
50258 * manual/install.texi (Configuring and compiling): Adjust since
50259 the info files are not part of the tar ball anymore.
50261 2012-05-14 Andreas Jaeger <aj@suse.de>
50263 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
50266 2012-05-14 Joseph Myers <joseph@codesourcery.com>
50269 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
50270 to 2.2.0 where earlier.
50271 * sysdeps/unix/sysv/linux/configure: Regenerated.
50272 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
50273 Remove conditional code.
50274 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
50275 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
50276 Remove conditional code.
50277 [!__NR_lchown]: Likewise.
50278 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50279 [__NR_lchown]: Likewise.
50280 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
50281 comment referencing __ASSUME_LCHOWN_SYSCALL.
50282 * sysdeps/unix/sysv/linux/i386/sigaction.c
50283 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50284 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50285 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
50286 Remove conditional code.
50287 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
50288 (__protocol_available): Remove #if 0 code.
50289 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
50291 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
50292 * sysdeps/unix/sysv/linux/kernel-features.h
50293 (__ASSUME_GETCWD_SYSCALL): Don't define.
50294 (__ASSUME_REALTIME_SIGNALS): Likewise.
50295 (__ASSUME_PREAD_SYSCALL): Likewise.
50296 (__ASSUME_PWRITE_SYSCALL): Likewise.
50297 (__ASSUME_POLL_SYSCALL): Likewise.
50298 (__ASSUME_LCHOWN_SYSCALL): Likewise.
50299 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
50301 (__ASSUME_SIOCGIFNAME): Don't define.
50302 (__ASSUME_MSG_NOSIGNAL): Likewise.
50303 (__ASSUME_SENDFILE): Define unconditionally.
50304 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
50305 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
50307 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
50308 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
50309 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50310 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50311 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
50312 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50313 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
50315 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50316 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
50318 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50319 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
50321 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50322 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
50324 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50325 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
50327 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50328 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
50330 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50331 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
50333 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50334 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
50336 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50337 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50338 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
50339 Remove conditional code.
50340 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50341 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50342 Remove conditional code.
50343 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50344 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
50345 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
50346 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50347 Remove conditional code.
50348 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50349 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
50350 Remove conditional code.
50351 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50352 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
50353 Remove conditional code.
50354 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50355 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50356 Remove conditional code.
50357 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50358 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50359 Remove conditional code.
50360 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50361 * sysdeps/unix/sysv/linux/sh/pwrite64.c
50362 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50363 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50364 * sysdeps/unix/sysv/linux/sigaction.c
50365 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50366 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50367 * sysdeps/unix/sysv/linux/sigpending.c
50368 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50369 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50370 * sysdeps/unix/sysv/linux/sigprocmask.c
50371 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50372 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50373 * sysdeps/unix/sysv/linux/sigsuspend.c
50374 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50375 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50376 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50377 (__libc_missing_rt_sigs): Remove.
50378 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
50379 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
50380 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
50381 Remove conditional code.
50382 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
50383 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
50385 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
50386 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
50387 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
50388 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
50390 2012-05-14 Andreas Jaeger <aj@suse.de>
50392 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
50393 it's not used in glibc.
50394 (__coshm1): Likewise.
50395 (__acosh1p): Likewise.
50398 * manual/string.texi (Copying and Concatenation): Add missing
50399 variable in concat example.
50400 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
50402 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
50405 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
50406 __builtin_clzl with __builtin_clzll.
50408 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
50411 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
50414 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50416 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
50417 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
50418 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
50419 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
50421 2012-05-14 Mike Frysinger <vapier@gentoo.org>
50423 * NEWS: Update ia64 info.
50425 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
50427 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
50430 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
50432 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
50433 * sysdeps/unix/syscalls.list (dup3): Likewise.
50434 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
50435 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
50437 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
50439 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
50440 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
50442 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
50444 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
50446 (TLS_IE): Use mov/add instead of movq/addq to load thread
50448 (TLS_GD_PREFIX): New.
50451 2012-05-11 David S. Miller <davem@davemloft.net>
50453 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
50454 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
50455 (_FPU_SETCW): Likewise.
50457 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
50459 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
50460 is 32-byte aligned.
50462 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
50465 * iconvdata/gb18030.c: Update tables.
50466 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
50467 characters specially.
50468 (BODY for TO_LOOP): Add encoding of missing ranges.
50470 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
50473 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
50474 * sysdeps/mach/hurd/dup3.c: Likewise.
50475 * sysdeps/mach/hurd/readlinkat.c: Likewise.
50476 * sysdeps/powerpc/memmove.c:: Likewise.
50478 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
50480 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
50481 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
50483 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
50485 * elf/elf.h (R_X86_64_RELATIVE64): New.
50486 (R_X86_64_NUM): Updated.
50487 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50488 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
50489 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
50490 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
50491 tst-quad1pie tst-quad2pie
50492 (modules-names): Add tst-quadmod1 tst-quadmod2.
50493 ($(objpfx)tst-quad1): New dependency.
50494 ($(objpfx)tst-quad2): Likewise.
50495 ($(objpfx)tst-quad1pie): Likewise.
50496 ($(objpfx)tst-quad2pie): Likewise.
50497 * sysdeps/x86_64/tst-quad1.c: New file.
50498 * sysdeps/x86_64/tst-quad1pie.c: New file.
50499 * sysdeps/x86_64/tst-quad2.c: Likewise.
50500 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
50501 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
50502 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
50503 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
50504 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
50506 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
50508 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
50509 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
50510 * streams/stropts.h (t_scalar_t): Define type.
50512 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
50513 (_PATH_PRESERVE): Set to "/var/lib".
50514 (_PATH_RWHODIR): Set to "/var/spool/rwho".
50516 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
50519 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
50520 if __dir_mkfile succeeded.
50522 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
50523 checking for _hurd_dtablesize. Unlock it right after having
50524 finished _hurd_dtable allocation.
50526 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
50528 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
50529 * sysdeps/mach/hurd/configure: Regenerated.
50530 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
50531 special-casing to...
50532 * sysdeps/gnu/configure.in: ... this new file.
50533 * sysdeps/unix/sysv/linux/configure: Regenerated.
50534 * sysdeps/gnu/configure: New generated file.
50536 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
50537 for Linux: use nsec instead of usec, as well as:
50538 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
50539 members of type struct timespec.
50540 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
50542 (struct stat64): Likewise.
50543 (_STATBUF_ST_NSEC): New macro.
50544 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
50546 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50547 __strtoul_internal rather than strtoul.
50549 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
50551 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
50554 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
50556 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
50557 which preserves existing values.
50558 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
50560 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
50562 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
50563 TIMEOUT values. Return EINVAL for NFDS values either negative or
50564 greater than FD_SETSIZE.
50566 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
50568 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
50569 allocated, call __vm_protect to finish enabling the existing space, and
50570 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
50571 allocate the remainder.
50573 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
50575 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
50576 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
50578 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
50580 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
50581 sysdeps/mach/hurd/readlink.c.
50583 * posix/tst-sysconf.c (posix_options): Only use
50584 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
50585 _POSIX_SYNCHRONIZED_IO when they are defined
50586 * sysdeps/mach/hurd/bits/posix_opt.h:
50587 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
50588 (_XOPEN_REALTIME): Undefine macro.
50589 (_XOPEN_REALTIME_THREADS): Undefine macro.
50590 (_XOPEN_SHM): Undefine macro.
50591 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
50593 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
50595 (_POSIX_ASYNC_IO): Undefine macro.
50596 (_POSIX_PRIORITIZED_IO): Undefine macro.
50597 (_POSIX_SPIN_LOCKS): Define macro to -1.
50599 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
50600 SA_NODEFER, SA_RESETHAND.
50601 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
50602 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
50605 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
50607 * elf/Makefile (pldd-modules): Define unconditionally.
50609 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
50611 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
50613 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
50615 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
50616 Return ENOENT when name is empty.
50617 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
50619 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
50621 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
50623 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
50625 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
50627 Fix mlock in all cases except non-readable pages.
50628 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
50629 instead of VM_PROT_ALL as parameter to __vm_wire function.
50631 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
50632 (__mkdir): When path is `/', just fail with EEXIST.
50633 * sysdeps/mach/hurd/mkdirat.c: Likewise.
50635 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
50637 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
50638 <sys/uio.h> (for writev).
50639 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
50640 and <sys/param.h> (for MIN).
50642 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
50644 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
50645 REQUESTED_TIME. Properly set the remaining time and return EINTR
50648 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
50650 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
50651 Depend on against $(link-rpcuserlibs).
50653 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
50655 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
50656 (__libc_stack_end): Do not use attribute_relro.
50657 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50658 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
50659 to libthread-provided value.
50660 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
50663 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
50666 * bits/libc-lock.h (__libc_once_get): New macro.
50667 * sysdeps/mach/bits/libc-lock.h: Likewise.
50668 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
50669 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
50670 instead of using implementation details.
50672 * libio/fileops.c: Unconditionally include <kernel-features.h>.
50673 * libio/freopen.c: Likewise.
50674 * libio/freopen64.c: Likewise.
50675 * misc/syslog.c: Likewise.
50676 * nscd/connections.c: Likewise.
50677 * nscd/netgroupcache.c: Likewise.
50678 * sysdeps/posix/getcwd.c: Likewise.
50680 2012-05-10 Roland McGrath <roland@hack.frob.com>
50682 * math/w_ilogbf.c: Add #include <limits.h>.
50684 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
50686 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
50687 path instead of returning without unlocking.
50689 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
50690 immediate-write ioctls.
50691 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
50693 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
50695 * sysdeps/mach/hurd/i386/init-first.c (init): Use
50696 __builtin_frame_address instead of making assumptions about the
50697 location of the return address relative to DATA. Force early load of
50698 the return address.
50699 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
50700 __builtin_frame_address.
50703 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
50704 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
50705 implement dup3 and do some further code clean-ups.
50706 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
50707 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
50709 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
50711 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
50713 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50714 HURD_CRITICAL_END around holding _hurd_dtable_lock.
50715 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50716 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50717 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50720 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50721 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
50722 when handler == SIG_ERR, not when handler != SIG_ERR.
50724 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
50726 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50727 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50730 accept4 for GNU Hurd.
50731 * include/sys/socket.h (__libc_accept4): New prototype.
50732 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
50733 to implement __libc_accept4.
50734 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
50736 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
50738 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
50739 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
50740 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
50741 signal-defines.sym.
50743 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
50745 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
50747 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
50749 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
50750 assertion on O_CLOEXEC flag.
50751 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
50752 * hurd/intern-fd.c: Likewise.
50753 * hurd/port2fd.c: Likewise.
50755 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
50758 * bits/in.h (IPV6_PKTINFO): Define new macro.
50759 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
50761 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50766 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50767 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50768 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
50769 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50770 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50771 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50772 * math/libm-test.inc (logb_test) : Additional logb tests.
50774 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
50775 Andreas Jaeger <aj@suse.de>
50777 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
50778 * configure: Regenerated.
50779 * config.h.in (LINK_OBSOLETE_RPC): New macro.
50780 * config.make.in (link-obsolete-rpc): New substituted variable.
50781 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
50782 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
50783 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50784 (shared-only-routines): Don't set it under [link-obsolete-rpc],
50785 so that libc.a contains the symbols.
50786 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50787 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
50788 * sunrpc/auth_none.c: Likewise.
50789 * sunrpc/auth_unix.c: Likewise.
50790 * sunrpc/authdes_prot.c: Likewise.
50791 * sunrpc/authuxprot.c: Likewise.
50792 * sunrpc/clnt_gen.c: Likewise.
50793 * sunrpc/clnt_perr.c: Likewise.
50794 * sunrpc/clnt_raw.c: Likewise.
50795 * sunrpc/clnt_simp.c: Likewise.
50796 * sunrpc/clnt_tcp.c: Likewise.
50797 * sunrpc/clnt_udp.c: Likewise.
50798 * sunrpc/clnt_unix.c: Likewise.
50799 * sunrpc/des_crypt.c: Likewise.
50800 * sunrpc/des_soft.c: Likewise.
50801 * sunrpc/get_myaddr.c: Likewise.
50802 * sunrpc/key_call.c: Likewise.
50803 * sunrpc/key_prot.c: Likewise.
50804 * sunrpc/netname.c: Likewise.
50805 * sunrpc/pm_getmaps.c: Likewise.
50806 * sunrpc/pm_getport.c: Likewise.
50807 * sunrpc/pmap_clnt.c: Likewise.
50808 * sunrpc/pmap_prot.c: Likewise.
50809 * sunrpc/pmap_prot2.c: Likewise.
50810 * sunrpc/pmap_rmt.c: Likewise.
50811 * sunrpc/publickey.c: Likewise.
50812 * sunrpc/rpc_cmsg.c: Likewise.
50813 * sunrpc/rpc_common.c: Likewise.
50814 * sunrpc/rpc_dtable.c: Likewise.
50815 * sunrpc/rpc_prot.c: Likewise.
50816 * sunrpc/rpc_thread.c: Likewise.
50817 * sunrpc/rtime.c: Likewise.
50818 * sunrpc/svc.c: Likewise.
50819 * sunrpc/svc_auth.c: Likewise.
50820 * sunrpc/svc_raw.c: Likewise.
50821 * sunrpc/svc_run.c: Likewise.
50822 * sunrpc/svc_tcp.c: Likewise.
50823 * sunrpc/svc_udp.c: Likewise.
50824 * sunrpc/svc_unix.c: Likewise.
50825 * sunrpc/svcauth_des.c: Likewise.
50826 * sunrpc/xcrypt.c: Likewise.
50827 * sunrpc/xdr.c: Likewise.
50828 * sunrpc/xdr_array.c: Likewise.
50829 * sunrpc/xdr_float.c: Likewise.
50830 * sunrpc/xdr_intXX_t.c: Likewise.
50831 * sunrpc/xdr_mem.c: Likewise.
50832 * sunrpc/xdr_rec.c: Likewise.
50833 * sunrpc/xdr_ref.c: Likewise.
50834 * sunrpc/xdr_sizeof.c: Likewise.
50835 * sunrpc/xdr_stdio.c: Likewise.
50837 2012-05-10 Roland McGrath <roland@hack.frob.com>
50839 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
50840 change. Update copyright years.
50842 2012-05-10 Joseph Myers <joseph@codesourcery.com>
50844 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
50846 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
50847 Joseph Myers <joseph@codesourcery.com>
50848 Paul Pluzhnikov <ppluzhnikov@google.com>
50851 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
50853 [cross-compiling] (extra-libs): Likewise.
50854 [cross-compiling] (extra-libs-others): Likewise.
50855 [cross-compiling] (librpcsvc-routines): Likewise.
50856 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
50857 [cross-compiling] (omit-deps): Likewise.
50858 (sunrpc-CPPFLAGS): New variable.
50859 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
50860 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
50861 (cross-rpcgen-objs): New variable.
50862 (extra-objs): Append $(cross-rpcgen-objs).
50863 ($(cross-rpcgen-objs)): New rule.
50864 ($(objpfx)cross-rpcgen): Likewise.
50865 (rpcgen-cmd): Define to use $(built-program-file). Expand
50867 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
50868 ($(objpfx)x%.stmp): Likewise.
50869 * sunrpc/proto.h [IS_IN_build] (_): Define.
50870 [IS_IN_build] (_libc_intl_domainname): Likewise.
50872 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
50874 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
50875 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
50876 and R_X86_64_TPOFF64.
50878 2012-05-10 Joseph Myers <joseph@codesourcery.com>
50880 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
50881 sysdeps/unix/sysv/syscalls.list.
50884 * sysdeps/unix/sysv/syscalls.list: Remove file.
50886 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
50889 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
50890 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
50891 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
50892 (__LC_IDENTIFICATION): Make these macros useful in #if
50893 expressions, as required by C99.
50895 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
50897 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
50898 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
50901 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
50903 * stdlib/longlong.h: Updated from GCC.
50905 2012-05-09 Andreas Jaeger <aj@suse.de>
50907 * nscd/nscd.c (run_modes): Make named enum, reorder so that
50908 default is first entry.
50909 (run_mode): Set type.
50910 (main): Remove informal message about syslog.
50911 (options): Fix typo.
50914 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
50917 (llrintf): Likewise.
50918 (llrint): Likewise.
50921 (nearbyint): Likewise.
50922 (nearbyintf): Likewise.
50924 2012-05-09 Andreas Jaeger <aj@suse.de>
50925 Pedro Alves <palves@redhat.com>
50927 * nscd/nscd.c (run_mode): Use enum.
50928 (main): Cleanup coding style issue.
50930 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
50931 Andreas Jaeger <aj@suse.de>
50933 * nscd/nscd.c (go_background): Replaced with...
50934 (run_mode): ... this.
50935 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
50936 (options): Add -F --foreground.
50937 (main): Implement it.
50938 (parse_opt): Parse it.
50940 2012-05-09 Andreas Jaeger <aj@suse.de>
50943 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
50944 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
50945 -Wconversion warning.
50946 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
50949 2012-05-09 Joseph Myers <joseph@codesourcery.com>
50951 * conform/data/locale.h-data (NULL): Use macro-constant. Require
50953 (LC_ALL): Use macro-int-constant.
50954 (LC_COLLATE): Likewise.
50955 (LC_CTYPE): Likewise.
50956 (LC_MESSAGES): Likewise.
50957 (LC_MONETARY): Likewise.
50958 (LC_NUMERIC): Likewise.
50959 (LC_TIME): Likewise.
50960 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
50961 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50962 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50963 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
50965 [C99-based standards] (float_t): Expect type.
50966 [C99-based standards] (double_t): Expect type.
50967 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
50969 [C99-based standards] (HUGE_VALL): Likewise.
50970 [C99-based standards] (INFINITY): Likewise.
50971 [C99-based standards] (NAN): Likewise.
50972 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
50973 [C99-based standards] (FP_NAN): Likewise.
50974 [C99-based standards] (FP_NORMAL): Likewise.
50975 [C99-based standards] (FP_SUBNORMAL): Likewise.
50976 [C99-based standards] (FP_ZERO): Likewise.
50977 [C99-based standards] (FP_FAST_FMA): Use
50978 optional-macro-int-constant. Specify type. Require == 1.
50979 [C99-based standards] (FP_FAST_FMAF): Likewise.
50980 [C99-based standards] (FP_FAST_FMAL): Likewise.
50981 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
50982 [C99-based standards] (FP_ILOGBNAN): Likewise.
50983 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
50985 [C99-based standards] (MATH_ERREXCEPT): Likewise.
50986 [C99-based standards] (math_errhandling): Specify type.
50987 [ISO99 || ISO11] (signgam): Do not allow.
50988 [non-C99-based standards] (copysignf): Do not allow.
50989 [non-C99-based standards] (exp2f): Likewise.
50990 [non-C99-based standards] (log2f): Likewise.
50991 [non-C99-based standards] (modff): Allow.
50992 [non-C99-based standards] (erff): Do not allow.
50993 [non-C99-based standards] (erfcf): Likewise.
50994 [non-C99-based standards] (gammaf): Likewise.
50995 [non-C99-based standards] (hypotf): Likewise.
50996 [non-C99-based standards] (j0f): Likewise.
50997 [non-C99-based standards] (j1f): Likewise.
50998 [non-C99-based standards] (jnf): Likewise.
50999 [non-C99-based standards] (lgammaf): Likewise.
51000 [non-C99-based standards] (tgammaf): Likewise.
51001 [non-C99-based standards] (y0f): Likewise.
51002 [non-C99-based standards] (y1f): Likewise.
51003 [non-C99-based standards] (ynf): Likewise.
51004 [non-C99-based standards] (isnanf): Likewise.
51005 [non-C99-based standards] (acoshf): Likewise.
51006 [non-C99-based standards] (asinhf): Likewise.
51007 [non-C99-based standards] (atanhf): Likewise.
51008 [non-C99-based standards] (cbrtf): Likewise.
51009 [non-C99-based standards] (expm1f): Likewise.
51010 [non-C99-based standards] (ilogbf): Likewise.
51011 [non-C99-based standards] (log1pf): Likewise.
51012 [non-C99-based standards] (logbf): Likewise.
51013 [non-C99-based standards] (nextafterf): Likewise.
51014 [non-C99-based standards] (remainderf): Likewise.
51015 [non-C99-based standards] (rintf): Likewise.
51016 [non-C99-based standards] (scalbf): Likewise.
51017 [non-C99-based standards] (copysignl): Likewise.
51018 [non-C99-based standards] (exp2l): Likewise.
51019 [non-C99-based standards] (log2l): Likewise.
51020 [non-C99-based standards] (modfl): Allow.
51021 [non-C99-based standards] (erfl): Do not allow.
51022 [non-C99-based standards] (erfcl): Likewise.
51023 [non-C99-based standards] (gammal): Likewise.
51024 [non-C99-based standards] (hypotl): Likewise.
51025 [non-C99-based standards] (j0l): Likewise.
51026 [non-C99-based standards] (j1l): Likewise.
51027 [non-C99-based standards] (jnl): Likewise.
51028 [non-C99-based standards] (lgammal): Likewise.
51029 [non-C99-based standards] (tgammal): Likewise.
51030 [non-C99-based standards] (y0l): Likewise.
51031 [non-C99-based standards] (y1l): Likewise.
51032 [non-C99-based standards] (ynl): Likewise.
51033 [non-C99-based standards] (isnanl): Likewise.
51034 [non-C99-based standards] (acoshl): Likewise.
51035 [non-C99-based standards] (asinhl): Likewise.
51036 [non-C99-based standards] (atanhl): Likewise.
51037 [non-C99-based standards] (cbrtl): Likewise.
51038 [non-C99-based standards] (expm1l): Likewise.
51039 [non-C99-based standards] (ilogbl): Likewise.
51040 [non-C99-based standards] (log1pl): Likewise.
51041 [non-C99-based standards] (logbl): Likewise.
51042 [non-C99-based standards] (nextafterl): Likewise.
51043 [non-C99-based standards] (remainderl): Likewise.
51044 [non-C99-based standards] (rintl): Likewise.
51045 [non-C99-based standards] (scalbl): Likewise.
51046 [ISO || ISO99 || ISO11] (*_t): Do not allow.
51047 [non-C99-based standards] (FP_*): Do not allow.
51048 [C99-based standards] (FP_*): Change to
51049 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51050 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51052 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
51053 (SIG_ERR): Likewise.
51054 [X/Open-based standards] (SIG_HOLD): Likewise.
51055 (SIG_IGN): Likewise.
51056 (SIGABRT): Use macro-int-constant. Specify type. Require
51058 (SIGFPE): Likewise.
51059 (SIGILL): Likewise.
51060 (SIGINT): Likewise.
51061 (SIGSEGV): Likewise.
51062 (SIGTER): Likewise.
51063 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
51064 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
51065 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
51066 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
51067 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
51068 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
51069 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
51070 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
51071 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
51072 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
51073 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
51074 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
51075 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
51076 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
51077 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
51078 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
51079 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
51080 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
51081 [X/Open-based standards] (SIGTRAP): Likewise.
51082 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
51083 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
51084 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
51085 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
51086 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51089 2012-05-08 Ian Wienand <ianw@vmware.com>
51092 * time/tzset.c (__tzset_parse_tz): Update default rules for
51093 daylight time changes in the Energy Policy Act of 2005.
51095 2012-05-09 Andreas Jaeger <aj@suse.de>
51098 * elf/ldconfig.c (parse_conf): Change string to make clear that
51099 ldconfig only issued a warning if ld.so.conf does not exist.
51101 2012-05-08 David S. Miller <davem@davemloft.net>
51103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
51104 movxtod instead of popping the value on the stack.
51106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51108 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
51110 * config.h.in: Add HAVE_ARM_PCS_VFP.
51112 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
51115 * include/features.h: Warn if user requests __FORTIFY_SOURCE
51116 checking but the checks are disabled for any reason.
51118 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
51120 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
51121 and ELF64_R_TYPE with ELFW(R_TYPE).
51123 2012-05-08 Joseph Myers <joseph@codesourcery.com>
51125 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
51126 (ulimit): Likewise.
51128 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
51129 (settimeofday): Likewise.
51131 2012-05-08 Mike Frysinger <vapier@gentoo.org>
51133 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
51134 a struct th_u2 inside the union, and move tu_block/tu_code into
51135 a new th_u3 union of tu_block/tu_code inside of that. Move
51136 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
51137 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
51138 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
51139 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
51140 (th_stuff): Change to th_u1.tu_stuff.
51142 (th_msg): Change to th_u1.th_u2.tu_data.
51144 2012-05-07 David S. Miller <davem@davemloft.net>
51146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51149 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
51150 (SETUP_PIC_REG): Use it.
51151 (SETUP_PIC_REG_LEAF): Use it.
51153 2012-05-07 Joseph Myers <joseph@codesourcery.com>
51157 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51159 (EXPL_FINITE): Likewise.
51160 (FLDLOG): Likewise.
51161 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51162 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51164 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51166 (EXPL_FINITE): Likewise.
51167 (FLDLOG): Likewise.
51168 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
51169 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
51171 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
51172 test of -max_value argument for long double.
51173 * sysdeps/i386/fpu/libm-test-ulps: Update.
51174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51176 2012-05-06 David S. Miller <davem@davemloft.net>
51178 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
51179 quad soft-float symbols whose references which are compiler
51181 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51183 2012-05-06 Joseph Myers <joseph@codesourcery.com>
51187 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51189 (EXPL_FINITE): Likewise.
51190 (FLDLOG): Likewise.
51193 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
51194 Adjust comments for base varying.
51195 (__expl_finite): Change alias to EXPL_FINITE.
51196 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
51198 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
51199 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
51200 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51201 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
51202 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
51204 (EXPL_FINITE): Likewise.
51205 (FLDLOG): Likewise.
51208 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
51209 Adjust comments for base varying.
51210 (__expl_finite): Change alias to EXPL_FINITE.
51211 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
51213 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51216 * math/libm-test.inc (check_float_internal): Correct ulp
51217 calculation for subnormal expected results.
51219 2012-05-06 Andreas Jaeger <aj@suse.de>
51221 * Makeconfig (+math-flags): New, set to -frounding-math.
51222 (+cflags): Add +math-flags so that all of glibc gets compiled with
51225 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
51227 2012-05-05 Joseph Myers <joseph@codesourcery.com>
51229 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
51235 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
51236 (__ieee754_expl): Allow for and saturate large arguments.
51237 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
51238 (u_threshold): Likewise.
51239 (__exp): Call __ieee754_exp before checking for overflow and
51241 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
51242 (u_threshold): Likewise.
51243 (__expf): Call __ieee754_expf before checking for overflow and
51245 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
51246 (u_threshold): Likewise.
51247 (__expl): Call __ieee754_expl before checking for overflow and
51249 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
51250 (__ieee754_expl): Allow for and saturate large arguments.
51251 * math/libm-test.inc (exp_test): Add another test. Do not allow
51252 missing overflow exception on overflow.
51253 (expm1_test): Do not allow missing overflow exception on overflow.
51255 * sysdeps/i386/fpu/e_expl.c: Move to ...
51256 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
51257 rather than using inline asm.
51258 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
51259 * sysdeps/x86_64/fpu/e_expl.S: Copy from
51260 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
51262 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
51265 (signal): Likewise.
51269 2012-05-04 Joseph Myers <joseph@codesourcery.com>
51271 * sysdeps/unix/syscalls.list (adjtime): Add entry from
51272 sysdeps/unix/common/syscalls.list.
51273 (fchmod): Likewise.
51274 (fchown): Likewise.
51275 (ftruncate): Likewise.
51276 (getrusage): Likewise.
51277 (gettimeofday): Likewise.
51278 (setpgid): Likewise.
51279 (setregid): Likewise.
51280 (setreuid): Likewise.
51281 (sigaction): Likewise.
51282 (truncate): Likewise.
51283 (vhangup): Likewise.
51284 * sysdeps/unix/common/syscalls.list: Remove file.
51285 * sysdeps/unix/bsd/Implies: Don't include unix/common.
51286 * sysdeps/unix/sysv/linux/Implies: Likewise.
51288 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
51290 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
51291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
51292 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
51294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51296 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
51298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
51299 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
51301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
51302 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
51304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
51305 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
51307 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
51308 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
51310 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
51311 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
51313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
51314 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
51316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51318 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
51320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
51322 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
51324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
51325 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
51327 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
51329 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
51331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
51333 2012-05-04 Joseph Myers <joseph@codesourcery.com>
51335 * sysdeps/unix/common/bits/dirent.h: Remove file.
51336 * sysdeps/unix/common/bits/fcntl.h: Likewise.
51338 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
51339 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
51340 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
51341 * sysdeps/unix/bsd/isatty.c: Likewise.
51342 * sysdeps/unix/bsd/tcdrain.c: Likewise.
51343 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
51344 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
51346 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51349 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
51350 long double comparison inaccuracies.
51351 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
51352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51354 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
51356 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
51357 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
51359 2012-05-04 Joseph Myers <joseph@codesourcery.com>
51362 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
51363 nonzero digits before rounding a hex value.
51364 * stdlib/tst-strtod.c (tests): Add another test.
51366 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51368 * sysdeps/s390/fpu/libm-test-ulps: Update.
51370 2012-05-03 Andreas Jaeger <aj@suse.de>
51372 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
51373 does not get optimized out.
51374 (malloc_opt_barrier): New.
51376 2012-05-03 Andreas Jaeger <aj@suse.de>
51377 Roland McGrath <roland@hack.frob.com>
51379 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
51380 intermediate file deletion.
51381 (generated): Add .symlist files.
51383 2012-05-03 Joseph Myers <joseph@codesourcery.com>
51386 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
51387 Redirect under this condition.
51388 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51389 [__USE_GNU] (__dprintf_chk): Not under this condition.
51390 [__USE_GNU] (__vdprintf_chk): Likewise.
51391 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
51392 under this condition.
51393 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51394 [__USE_XOPEN2K8] (dprintf): Define under this condition.
51395 [__USE_XOPEN2K8] (vdprintf): Likewise.
51396 [__USE_GNU] (__dprintf_chk): Not under this condition.
51397 [__USE_GNU] (__vdprintf_chk): Likewise.
51398 [__USE_GNU] (dprintf): Likewise.
51399 [__USE_GNU] (vdprintf): Likewise.
51401 2012-05-03 Roland McGrath <roland@hack.frob.com>
51403 * elf/Makefile (common-generated): Set this instead of generated for
51404 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
51405 $(all-built-dso)-derived lists.
51407 2012-05-03 Andreas Jaeger <aj@suse.de>
51409 * sysdeps/i386/fpu/libm-test-ulps: Update.
51412 * FAQ.in: Likewise.
51413 * scripts/gen-FAQ.pl: Likewise.
51414 * manual/install.texi (Installation): Point to online location of
51416 * Makefile (files-for-dist): Remove FAQ.
51419 2012-05-02 Allan McRae <allan@archlinux.org>
51421 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
51422 (LDFLAGS-reldepmod5.so): Likewise.
51423 (LDFLAGS-reldep6mod1.so): Likewise.
51424 (LDFLAGS-reldep6mod4.so): Likewise.
51425 (LDFLAGS-reldep8mod3.so): Likewise.
51426 (LDFLAGS-unload4mod1.so): Likewise.
51427 (LDFLAGS-unload4mod2.so): Likewise.
51428 (LDFLAGS-tst-initorder): Likewise.
51429 (LDFLAGS-tst-initordera2.so): Likewise.
51430 (LDFLAGS-tst-initordera3.so): Likewise.
51431 (LDFLAGS-tst-initordera4.so): Likewise.
51432 (LDFLAGS-tst-initorderb2.so): Likewise.
51433 (LDFLAGS-noload): Likewise.
51434 (LDFLAGS-next): Likewise.
51435 (LDFLAGS-order2mod1.so): Likewise.
51436 (LDFLAGS-order2mod2.so): Likewise.
51437 (LDFLAGS-tst-initorder2): Likewise.
51438 (LDFLAGS-tst-initorder2a.so): Likewise.
51439 (LDFLAGS-tst-initorder2b.so): Likewise.
51440 (LDFLAGS-tst-initorder2c.so): Likewise.
51441 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
51443 2012-05-02 David S. Miller <davem@davemloft.net>
51445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51447 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
51450 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
51452 2012-05-02 Andreas Jaeger <aj@suse.de>
51454 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
51455 since we manipulate rounding mode.
51456 (CPPFLAGS-test-idouble.c): Likewise.
51457 (CPPFLAGS-test-ifloat.c): Likewise.
51458 (CFLAGS-test-ldouble.c): Likewise.
51459 (CFLAGS-test-double.c): Likewise.
51460 (CFLAGS-test-float.c): Likewise.
51461 (CFLAGS-test-misc.c): Likewise.
51462 (CFLAGS-test-test-fenv.c): Likewise.
51464 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51468 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
51469 comparisons to determine direction to adjust input.
51471 2012-05-01 Roland McGrath <roland@hack.frob.com>
51473 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
51474 output to the target.
51476 * scripts/localplt.awk: New file.
51477 * elf/Makefile ($(objpfx)check-localplt): Target removed.
51478 (check-localplt-CFLAGS): Variable removed.
51479 ($(all-built-dso:=.jmprel)): New static pattern rule.
51480 (generated): Add those targets.
51481 (localplt-built-dso): New variable.
51482 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
51484 * elf/check-localplt.c: File removed.
51486 * scripts/check-execstack.awk: New file.
51487 * elf/Makefile ($(objpfx)check-execstack): Target removed.
51488 (check-execstack-CFLAGS): Variable removed.
51489 ($(objpfx)check-execstack.h): Target removed.
51490 ($(objpfx)execstack-default): New target.
51491 (generated): Add that instead of check-execstack.h.
51492 ($(all-built-dso:=.phdr)): New static pattern rule.
51493 (generated): Add those targets.
51494 * elf/check-execstack.c: File removed.
51496 * scripts/check-textrel.awk: New file.
51497 * elf/Makefile ($(objpfx)check-textrel): Target removed.
51498 (check-textrel-CFLAGS): Variable removed.
51499 (all-built-dso): Use := to define.o
51500 ($(all-built-dso:=.dyn)): New static pattern rule.
51501 (generated): Add those targets.
51502 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
51503 * config.make.in (READELF): New substituted variable.
51504 * elf/check-textrel.c: File removed.
51506 2012-05-01 Joseph Myers <joseph@codesourcery.com>
51508 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51510 * conform/data/ctype.h-data [C99-based standards] (isblank):
51512 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
51513 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
51514 [ISO || ISO99 || ISO11] (*_t): Do not allow.
51515 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
51516 Specify type. Require positive value.
51517 (EILSEQ): Likewise.
51518 (ERANGE): Likewise.
51519 [ISO || POSIX] (EILSEQ): Do not expect.
51520 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
51521 Specify type. Require positive value.
51522 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
51523 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
51524 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
51525 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
51526 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
51527 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
51528 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
51529 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
51530 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
51531 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
51532 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
51533 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
51534 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
51535 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
51536 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
51537 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
51538 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
51539 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
51540 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
51541 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
51542 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
51543 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
51544 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
51545 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
51546 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
51547 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
51548 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
51549 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
51550 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
51551 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
51552 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
51553 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
51554 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
51555 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
51556 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
51557 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
51558 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
51559 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
51560 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
51561 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
51562 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
51563 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
51564 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
51565 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
51566 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
51567 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
51568 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
51569 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
51570 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
51571 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
51572 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
51573 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
51574 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
51575 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
51576 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
51577 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
51578 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
51579 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
51580 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
51581 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
51582 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
51583 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
51584 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
51585 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
51586 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
51587 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
51588 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
51589 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
51590 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
51591 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
51592 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
51593 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
51594 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
51595 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
51596 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
51597 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
51598 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
51600 (FLT_ROUNDS): Expect as macro, not constant.
51601 (FLT_MANT_DIG): Use macro-int-constant.
51602 (DBL_MANT_DIG): Likewise.
51603 (LDBL_MANT_DIG): Likewise.
51604 (FLT_DIG): Likewise.
51605 (DBL_DIG): Likewise.
51606 (LDBL_DIG): Likewise.
51607 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
51608 (DBL_MIN_EXP): Likewise.
51609 (LDBL_MIN_EXP): Likewise.
51610 (FLT_MAX_EXP): Use macro-int-constant.
51611 (DBL_MAX_EXP): Likewise.
51612 (LDBL_MAX_EXP): Likewise.
51613 (FLT_MAX_10_EXP): Likewise.
51614 (DBL_MAX_10_EXP): Likewise.
51615 (LDBL_MAX_10_EXP): Likewise.
51616 (FLT_MAX): Use macro-constant.
51617 (DBL_MAX): Likewise.
51618 (LDBL_MAX): Likewise.
51619 (FLT_EPSILON): Use macro-constant. Give upper bound.
51620 (DBL_EPSILON): Likewise.
51621 (LDBL_EPSILON): Likewise.
51622 (FLT_MIN): Likewise.
51623 (DBL_MIN): Likewise.
51624 (LDBL_MIN): Likewise.
51625 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
51626 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
51627 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
51628 [ISO11] (FLT_HAS_SUBNORM): Likewise.
51629 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
51630 [ISO11] (DBL_DECIMAL_DIG): Likewise.
51631 [ISO11] (FLT_DECIMAL_DIG): Likewise.
51632 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
51633 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
51634 [ISO11] (FLT_TRUE_MIN): Likewise.
51635 [ISO11] (LDBL_TRUE_MIN): Likewise.
51636 [ISO || ISO99 || ISO11] (*_t): Do not allow.
51637 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
51638 (SCHAR_MIN): Use macro-int-constant. Specify type.
51639 (SCHAR_MAX): Likewise.
51640 (UCHAR_MAX): Likewise.
51641 (CHAR_MIN): Likewise.
51642 (CHAR_MAX): Likewise.
51643 (MB_LEN_MAX): Use macro-int-constant.
51644 (SHRT_MIN): Use macro-int-constant. Specify type.
51645 (SHRT_MAX): Likewise.
51646 (USHRT_MAX): Likewise.
51647 (INT_MAX): Likewise.
51648 (INT_MIN): Use macro-int-constant. Specify type. Make upper
51650 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
51652 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
51654 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
51655 bound negative. Suffix upper bound with "L".
51656 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
51658 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
51660 [C99-based standards] (LLONG_MAX): Likewise.
51661 [C99-based standards] (ULLONG_MAX): Likewise.
51662 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
51664 [ISO11] (max_align_t): Require type.
51665 [ISO || ISO99 || ISO11] (*_t): Do not allow.
51667 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
51668 from $CFLAGS, without defining away __attribute__ calls.
51669 (checknamespace): Use $CFLAGS_namespace.
51671 * conform/conformtest.pl (@keywords): Only include C99 keywords
51672 for standards based on C99 or C11.
51674 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
51676 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
51679 * conform/conformtest.pl: Handle "macro-int-constant" and test for
51680 usability of symbols in #if.
51682 * conform/conformtest.pl: If macro or constant types start
51683 "promoted:", expect the symbol to be of the following type
51684 promoted by the integer promotions.
51686 * conform/conformtest.pl: Parse all "constant" and "macro" lines
51687 in one place. Also handle "macro-constant".
51689 * conform/conformtest.pl: Only accept expected macro values with
51690 "==". Parse all "macro" lines in one place.
51691 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
51693 * conform/conformtest.pl: Handle braced types on "constant" lines
51694 instead of handling "typed-constant".
51695 * conform/data/signal.h-data: Use "constant" instead of
51698 * conform/conformtest.pl: Handle "optional-" at start of lines in
51699 one place rather than duplicating several cases. Handle each
51700 format of "macro" line with initial "optional-".
51702 * conform/conformtest.pl: Only accept expected constant or
51703 optional-constant values with "==". Parse all "constant" lines in
51704 one place. Parse all "optional-constant" lines in one place.
51705 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
51706 * conform/data/fmtmsg.h-data: Likewise.
51707 * conform/data/netinet/in.h-data: Likewise.
51708 * conform/data/tar.h-data: Likewise.
51709 * conform/data/limits.h-data: Use "==" form on "constant" and
51710 "optional-constant" lines.
51712 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
51713 Use -std=c99 for XOPEN2K.
51714 (@knownproblems): Remove.
51715 (newtoken): Don't check %isknown.
51717 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51718 Do not expect macro.
51719 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51720 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51721 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51722 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51723 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51724 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51725 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51726 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51727 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51728 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51729 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51730 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
51731 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
51732 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
51733 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
51734 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
51735 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
51736 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51737 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
51738 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
51739 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
51740 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51741 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
51742 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
51743 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
51744 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
51745 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51746 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
51747 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
51748 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
51749 [XPG3] (acosh): Likewise.
51750 [XPG3] (asinh): Likewise.
51751 [XPG3] (atanh): Likewise.
51752 [XPG3] (cbrt): Likewise.
51753 [XPG3] (expm1): Likewise.
51754 [XPG3] (ilogb): Likewise.
51755 [XPG3] (log1p): Likewise.
51756 [XPG3] (logb): Likewise.
51757 [XPG3] (nextafter): Likewise.
51758 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
51759 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
51760 [XPG3] (remainder): Likewise.
51761 [XPG3] (rint): Likewise.
51762 [XPG3 || XPG4 || UNIX98] (round): Likewise.
51763 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
51764 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
51765 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
51766 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
51767 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
51768 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
51769 [UNIX98 || XOPEN2K] (scalb): Expect.
51770 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
51771 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
51772 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
51773 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
51774 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
51775 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
51776 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
51777 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
51778 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
51779 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
51780 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
51781 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
51782 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
51783 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
51784 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
51785 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
51786 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
51787 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
51788 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
51789 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
51790 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
51791 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
51792 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
51793 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
51794 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
51795 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
51796 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
51797 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
51798 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
51799 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
51800 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
51801 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
51802 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
51803 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
51804 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
51805 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
51806 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
51807 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
51808 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
51809 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
51810 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
51811 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
51812 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
51813 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
51814 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
51815 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
51816 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
51817 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
51818 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
51819 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
51820 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
51821 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
51822 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
51823 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
51824 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
51825 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
51826 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
51827 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
51828 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
51829 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
51830 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
51831 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
51832 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
51833 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
51834 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
51835 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
51836 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
51837 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
51838 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
51839 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
51840 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
51841 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
51842 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
51843 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
51844 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
51845 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
51846 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
51847 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
51848 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
51849 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
51850 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
51851 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
51852 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
51853 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
51854 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
51855 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
51856 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
51857 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
51858 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
51859 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
51860 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
51861 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
51862 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
51863 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
51864 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
51865 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
51866 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
51867 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
51868 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
51869 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
51870 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
51871 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
51872 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
51873 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
51874 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
51875 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
51876 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
51877 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
51878 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
51879 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
51880 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
51881 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
51882 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
51883 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
51884 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
51885 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
51886 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
51887 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
51888 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
51889 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
51890 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
51891 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
51892 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
51893 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
51894 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
51895 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
51896 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
51897 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
51898 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
51899 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
51900 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
51901 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
51902 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
51903 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
51904 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
51905 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
51906 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
51908 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
51909 _XOPEN_SOURCE_EXTENDED for XPG4.
51911 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
51913 * Makeconfig (localtime): Remove variable.
51914 (inst_localtime-file): Likewise.
51916 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
51918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
51920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
51924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
51928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
51930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
51934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51937 2012-05-01 Joseph Myers <joseph@codesourcery.com>
51941 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
51942 comparisons to determine direction to adjust input.
51943 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
51944 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
51945 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
51947 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
51949 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51951 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
51952 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
51954 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
51956 * math/libm-test.inc (nexttoward_test): Add more tests.
51958 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
51961 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
51962 in version GLIBC_2.1, not GLIBC_2.0.
51963 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
51966 2012-04-30 Joseph Myers <joseph@codesourcery.com>
51969 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
51971 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51972 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
51973 * math/libm-test.inc (acos_test): Add more tests.
51974 (asin_test): Likewise.
51975 * sysdeps/i386/fpu/libm-test-ulps: Update.
51976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51979 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
51981 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
51982 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51983 * math/libm-test.inc (acos_test_tonearest): New function.
51984 (acos_test_towardzero): Likewise.
51985 (acos_test_downward): Likewise.
51986 (acos_test_upward): Likewise.
51987 (asin_test_tonearest): Likewise.
51988 (asin_test_towardzero): Likewise.
51989 (asin_test_downward): Likewise.
51990 (asin_test_upward): Likewise.
51991 (main): Call the new functions.
51992 * sysdeps/i386/fpu/libm-test-ulps: Update.
51993 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51997 * math/e_exp10.c: Include <float.h>.
51998 (__ieee754_exp10): Handle underflow here rather than multiplying
51999 large negative argument by M_LN10.
52000 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
52002 * math/e_exp10l.c: Include <float.h>.
52003 (__ieee754_exp10l): Handle underflow here rather than multiplying
52004 large negative argument by M_LN10l.
52005 * math/libm-test.inc (exp10_test): Add another test. Do not allow
52006 spurious overflow exception on underflow.
52008 2012-04-29 Marek Polacek <polacek@redhat.com>
52010 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
52011 (__fortify_function): New macro.
52012 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
52013 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
52014 __extern_always_inline.
52015 * libio/bits/stdio2.h: Likewise.
52016 * libio/bits/stdio.h: Likewise.
52017 * string/string.h: Likewise.
52018 * string/bits/string3.h: Likewise.
52019 * include/stdio.h: Likewise.
52020 * stdlib/bits/stdlib.h: Likewise.
52021 * stdlib/stdlib.h: Likewise.
52022 * rt/bits/mqueue2.h: Likewise.
52023 * rt/mqueue.h: Likewise.
52024 * posix/bits/unistd.h: Likewise.
52025 * posix/unistd.h: Likewise.
52026 * io/bits/poll2.h: Likewise.
52027 * io/bits/fcntl2.h: Likewise.
52028 * io/fcntl.h: Likewise.
52029 * io/sys/poll.h: Likewise.
52030 * misc/bits/syslog.h: Likewise.
52031 * misc/bits/syslog-ldbl.h: Likewise.
52032 * misc/sys/syslog.h: Likewise.
52033 * socket/bits/socket2.h: Likewise.
52034 * socket/sys/socket.h: Likewise.
52035 * debug/tst-chk1.c: Likewise.
52036 * wcsmbs/bits/wchar2.h: Likewise.
52037 * wcsmbs/bits/wchar-ldbl.h: Likewise.
52038 * wcsmbs/wchar.h: Likewise.
52040 2012-04-29 Andreas Jaeger <aj@suse.de>
52042 * Makerules (tests): Remove enable-check-abi protection.
52043 (check-abi-warn): Remove.
52044 (check-abi-%): Remove check-abi-warn usage.
52046 * configure.in: Remove check-abi configure option.
52047 * configure: Regenerated.
52048 * config.make.in (enable-check-abi): Remove.
52050 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
52053 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
52054 double functions to double *_finite functions.
52057 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
52058 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
52060 * stdio-common/Makefile (tests): Add tst-sprintf3.
52061 * stdio-common/tst-sprintf3.c: New file.
52063 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
52064 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
52066 2012-04-28 Joseph Myers <joseph@codesourcery.com>
52068 * conform/conformtest.pl: Remove duplicate typed-constant
52071 2012-04-28 David S. Miller <davem@davemloft.net>
52073 * Makerules (%.abilist): Add vpath on sysdep_dirs.
52074 (check-abi-%): Remove AWK script prerequisite and explicit
52076 (check-abi): Rewrite to just diff the symlist with the abilist.
52077 (config-tls, config-abi-config): Delete, no longer used.
52078 (update-abi-%): Remove AWK script and explicit abilist directory.
52079 (update-abi): Rewrite to simply compare and conditionally copy the
52080 symlist and the sysdep abilist file. Remove update-abi-config
52082 * abilist/ld.abilist: Remove.
52083 * abilist/libBrokenLocale.abilist: Remove.
52084 * abilist/libanl.abilist: Remove.
52085 * abilist/libcrypt.abilist: Remove.
52086 * abilist/libdl.abilist: Remove.
52087 * abilist/librt.abilist: Remove.
52088 * abilist/libthread_db.abilist: Remove.
52089 * abilist/libutil.abilist: Remove.
52090 * scripts/extract-abilist.awk: Remove.
52091 * scripts/merge-abilist.awk: Remove.
52092 * sysdeps/generic/libcidn.abilist: New file.
52093 * sysdeps/generic/libnss_compat.abilist: New file.
52094 * sysdeps/generic/libnss_db.abilist: New file.
52095 * sysdeps/generic/libnss_dns.abilist: New file.
52096 * sysdeps/generic/libnss_files.abilist: New file.
52097 * sysdeps/generic/libnss_hesiod.abilist: New file.
52098 * sysdeps/generic/libnss_nis.abilist: New file.
52099 * sysdeps/generic/libnss_nisplus.abilist: New file.
52100 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
52101 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
52102 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
52104 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
52105 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
52106 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
52107 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
52108 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
52109 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
52110 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
52111 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
52112 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
52114 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
52115 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
52116 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
52117 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
52119 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
52120 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
52121 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
52122 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
52123 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
52124 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
52126 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
52127 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
52128 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
52130 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
52131 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
52133 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
52135 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
52137 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
52139 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
52141 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
52143 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
52145 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
52147 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
52149 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
52151 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
52153 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
52155 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
52157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
52159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
52161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
52163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
52165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
52167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
52169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
52171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
52173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
52177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
52179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
52181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
52183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
52184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
52186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
52188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
52190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
52192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
52194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
52196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
52198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
52202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
52204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
52206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
52208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
52209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
52211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
52213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
52215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
52217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
52219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
52221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
52223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
52227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
52229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
52231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
52233 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
52234 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
52235 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
52237 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
52238 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
52239 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
52240 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
52241 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
52242 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
52243 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
52244 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
52245 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
52246 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
52247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
52248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
52250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
52252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
52254 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
52256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
52258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
52260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
52262 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
52264 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
52266 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
52268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
52270 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
52272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
52273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
52275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
52277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
52279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
52281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
52283 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
52285 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
52287 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
52289 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
52291 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
52293 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
52295 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
52298 2012-04-28 Joseph Myers <joseph@codesourcery.com>
52300 * conform/conformtest.pl: Fix typo in handling typed-constant from
52303 2012-04-27 Joseph Myers <joseph@codesourcery.com>
52305 * README: Cut down references to pre-2.6 Linux kernels and
52306 Linuxthreads. Update lists of configurations in libc and ports
52307 and sort alphabetically. Say "or newer" with Linux kernel version
52310 * config.h.in [IS_IN_build]: Allow compiling without optimization.
52312 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
52315 * math/libm-test.inc (logb_test_downward): New test to expose
52316 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
52319 2012-04-27 Joseph Myers <joseph@codesourcery.com>
52322 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
52324 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
52325 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
52327 2012-04-26 Joseph Myers <joseph@codesourcery.com>
52329 * sysdeps/unix/i386/brk.S: Remove file.
52330 * sysdeps/unix/i386/dl-brk.S: Likewise.
52331 * sysdeps/unix/i386/pipe.S: Likewise.
52332 * sysdeps/unix/i386/sigreturn.S: Likewise.
52333 * sysdeps/unix/i386/syscall.S: Likewise.
52334 * sysdeps/unix/i386/vfork.S: Likewise.
52335 * sysdeps/unix/i386/wait.S: Likewise.
52337 * sysdeps/unix/common/tcsendbrk.c: Move to ...
52338 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
52340 * configure.in (arm*-none*): Do not allow without
52341 --enable-hacker-mode.
52342 (netbsd*): Remove case setting base_os.
52343 (386bsd*): Likewise.
52344 (freebsd*): Likewise.
52347 (sunos*): Likewise.
52348 (ultrix*): Likewise.
52349 (newsos*): Likewise.
52350 (dynix*): Likewise.
52356 (minix*): Likewise.
52357 (irix4*): Likewise.
52358 (irix6*): Likewise.
52359 (solaris[2-9]*): Likewise.
52361 * configure: Regenerated.
52363 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52366 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
52367 overflow or cancellation in calculating denominator.
52368 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
52369 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
52370 down expression to avoid unexpected rounding in newer GCCs.
52371 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
52373 2012-04-26 David S. Miller <davem@davemloft.net>
52375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
52376 long-double compat symbols.
52377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
52381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
52383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
52384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
52385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
52386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
52387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
52388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
52389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52391 2012-04-25 David S. Miller <davem@davemloft.net>
52393 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
52394 HWCAP_* values only after the memory barriers have been defined.
52395 (atomic_full_barrier): Define.
52396 (atomic_read_barrier): Define.
52397 (atomic_write_barrier): Define.
52399 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
52401 * shlib-versions: Add libgcc_s version information.
52402 * sysdeps/generic/libgcc_s.h: Remove.
52403 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
52405 * sysdeps/gnu/unwind-resume.c: Likewise.
52406 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
52408 2012-04-25 David S. Miller <davem@davemloft.net>
52410 * sysdeps/unix/sparc/brk.S: Delete.
52411 * sysdeps/unix/sparc/dl-brk.S: Delete.
52412 * sysdeps/unix/sparc/pipe.S: Delete.
52413 * sysdeps/unix/sparc/sysdep.S: Delete.
52414 * sysdeps/unix/sparc/sysdep.h: Delete.
52415 * sysdeps/unix/sparc/vfork.S: Delete.
52416 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
52417 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
52418 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
52419 (ret_ERRVAL, r0, r1, MOVE): Define.
52420 (JUMPTARGET): Remove.
52421 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
52422 sysdeps/unix/sparc/sysdep.h
52423 (ENTRY, END): Remove.
52424 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52426 2012-04-25 Joseph Myers <joseph@codesourcery.com>
52428 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
52429 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
52432 * timezone/README: Update upstream location and email address for
52434 * timezone/zdump.c: Update from tzcode 2012b.
52435 * timezone/zic.c: Likewise.
52437 * configure.in (libc_cv_as_needed): Remove test.
52438 * configure: Regenerated.
52439 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
52440 conditional definition.
52441 [$(have-as-needed) != yes] (no-as-needed): Likewise.
52442 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
52443 * config.make.in (have-as-needed): Remove variable.
52445 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
52446 Paul Pluzhnikov <ppluzhnikov@google.com>
52448 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
52451 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
52453 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
52454 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
52455 * sysdeps/sh/strlen.S: Likewise.
52457 2012-04-24 Joseph Myers <joseph@codesourcery.com>
52459 * sysdeps/unix/fork.S: Remove file.
52460 * sysdeps/unix/i386/fork.S: Likewise.
52461 * sysdeps/unix/sparc/fork.S: Likewise.
52463 * sysdeps/unix/system.c: Remove file.
52464 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
52466 * sysdeps/unix/getegid.S: Remove file.
52467 * sysdeps/unix/geteuid.S: Likewise.
52469 2012-04-24 Roland McGrath <roland@hack.frob.com>
52471 * scripts/check-localplt.awk: New file.
52472 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
52474 * scripts/data/localplt-generic.data: Add a comment.
52476 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
52477 NODE when __dir_mkfile failed.
52478 * sysdeps/mach/hurd/symlinkat.c: Likewise.
52479 Reported by Ludovic Courtès <ludo@gnu.org>.
52481 2012-04-24 Andreas Jaeger <aj@suse.de>
52483 * Makerules (common-clean): Also remove gen-as-const-headers
52486 2012-04-24 Joseph Myers <joseph@codesourcery.com>
52488 * Makerules (native-compile): Do not change working directory for
52489 build. Use $(OUTPUT_OPTION) in command.
52490 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
52492 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52495 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
52496 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
52497 * math/libm-test.inc (floor_test): Add more tests.
52498 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
52500 2012-04-24 Joseph Myers <joseph@codesourcery.com>
52502 * sysdeps/unix/getdents.c: Remove file.
52503 * sysdeps/unix/sysv/getdents.c: Likewise.
52504 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
52506 * sysdeps/unix/syscalls.list (madvise): Add syscall from
52507 sysdeps/unix/mman/syscalls.list.
52509 (mprotect): Likewise.
52511 (munmap): Likewise.
52512 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
52513 * sysdeps/unix/mman/syscalls.list: Remove.
52514 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
52516 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
52517 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
52518 * configure: Regenerated.
52519 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
52520 $(libgcc_s_suffix).
52521 * config.make.in (libgcc_s_suffix): Remove variable.
52523 2012-04-23 Joseph Myers <joseph@codesourcery.com>
52525 * sysdeps/unix/sysv/gethostname.c: Move to ...
52526 * sysdeps/posix/gethostname.c: ... here.
52528 * sysdeps/unix/execve.S: Remove file.
52530 * sysdeps/unix/_exit.S: Remove file.
52532 2012-04-23 Andreas Jaeger <aj@suse.de>
52535 * manual/Makefile: Remove make dist support, there's no
52536 need for a stand-alone documentation tar ball.
52537 (TEXI2DVI): Define always, it's not in Makeconfig.
52540 (edition): Removed.
52541 (glibc-doc-$(edition).tar): Removed
52545 (ETAGS): Remove, it's in Makeconfig.
52546 (move-if-change): Remove, it's in Makeconfig.
52548 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
52551 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
52552 (strtod, strtof, strtold, strtol, strtoul, strtoq)
52553 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
52554 (strtod_l, strtof_l, strtold_l): Remove __wur.
52555 It is not necessarily an error to ignore strtol's return value.
52556 One can reliably look at the stored endptr to decide whether
52557 the number had valid syntax.
52559 2012-04-21 Andreas Jaeger <aj@suse.de>
52562 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
52564 2012-04-21 Joseph Myers <joseph@codesourcery.com>
52566 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
52567 * sysdeps/unix/sysv/Versions: Remove file.
52569 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
52572 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52574 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
52577 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
52578 version from __vm86.
52580 2012-04-20 Joseph Myers <joseph@codesourcery.com>
52582 * sysdeps/unix/common/lxstat.c: Remove file.
52583 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
52585 * sysdeps/unix/sysv/Makefile: Remove file.
52587 * sysdeps/unix/sysv/direct.h: Remove file.
52589 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
52590 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
52591 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
52592 * sysdeps/unix/sysv/bits/signum.h: Likewise.
52593 * sysdeps/unix/sysv/bits/stat.h: Likewise.
52594 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
52595 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
52597 * sysdeps/unix/sysv/setrlimit.c: Remove file.
52599 * sysdeps/unix/xmknod.c: Remove file.
52600 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
52602 * sysdeps/unix/sysv/settimeofday.c: Remove file.
52604 * sysdeps/unix/sysv/i386/time.S: Remove file.
52606 * sysdeps/unix/fxstat.c: Remove file.
52607 * sysdeps/unix/xstat.c: Likewise.
52608 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
52610 * sysdeps/unix/sysv/sigaction.c: Remove file.
52612 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
52613 (sysdep_headers): Remove variable.
52614 [termio.h not in sysdep_headers] (generated): Likewise.
52615 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
52616 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
52617 * sysdeps/unix/sysv/tcdrain.c: Likewise.
52618 * sysdeps/unix/sysv/tcflow.c: Likewise.
52619 * sysdeps/unix/sysv/tcflush.c: Likewise.
52620 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
52621 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
52622 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
52623 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
52624 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
52626 * sysdeps/unix/siglist.c: Remove file.
52628 * sysdeps/unix/getppid.S: Remove file.
52630 * sysdeps/unix/mkdir.c: Remove file.
52631 * sysdeps/unix/rmdir.c: Likewise.
52633 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
52635 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
52637 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
52638 errlist-compat value.
52640 2012-04-18 David S. Miller <davem@davemloft.net>
52642 * sysdeps/generic/memcopy.h (reg_char): Delete.
52643 * debug/strcat_chk.c: Use char, not reg_char.
52644 * debug/strcpy_chk.c: Likewise.
52645 * debug/strncat_chk.c: Likewise.
52646 * debug/strncpy_chk.c: Likewise.
52647 * string/memchr.c: Likewise.
52648 * string/memrchr.c: Likewise.
52649 * string/rawmemchr.c: Likewise.
52650 * string/strcat.c: Likewise.
52651 * string/strchr.c: Likewise.
52652 * string/strchrnul.c: Likewise.
52653 * string/strcmp.c: Likewise.
52654 * string/strcpy.c: Likewise.
52655 * string/strncat.c: Likewise.
52656 * string/strncmp.c: Likewise.
52657 * string/strncpy.c: Likewise.
52659 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
52661 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
52662 __builtin_memcopy is called when src and dest ranges are known to not
52665 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
52667 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
52668 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
52669 fwd_align_merge macro call.
52670 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
52671 bwd_align_merge macro call.
52672 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52674 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
52676 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
52677 bwd_align_merge macros.
52678 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
52679 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
52680 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52682 2012-04-18 David S. Miller <davem@davemloft.net>
52684 * sysdeps/sparc/sparc64/memcopy.h: Delete.
52686 2012-04-18 Andreas Jaeger <aj@suse.de>
52689 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
52690 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52691 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52693 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
52694 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
52695 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52697 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
52698 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
52699 Adjust for changed ldbl-128 files.
52701 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
52702 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
52703 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52705 2012-04-17 David S. Miller <davem@davemloft.net>
52707 * sysdeps/sparc/sparc32/memcopy.h: Delete.
52709 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
52711 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
52712 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
52713 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52714 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52715 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52716 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52718 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52721 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52722 * math/libm-test.inc: Add ilogb errno and exception tests.
52723 * math/w_ilogb.c: New file: ilogb wrapper.
52724 * math/w_ilogbf.c: New file: ilogbf wrapper.
52725 * math/w_ilogbl.c: New file: ilogbl wrapper.
52726 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52727 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52728 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52729 exception being thrown with 0.0 as argument.
52730 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
52731 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
52732 exception being thrown with 0.0 as argument.
52733 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
52734 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52735 exception being thrown with 0.0 as argument.
52736 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52737 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52738 exception being thrown with 0.0 as argument.
52739 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
52740 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
52741 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
52742 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
52743 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
52744 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
52745 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
52746 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
52747 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
52749 2012-04-17 Petr Baudis <pasky@ucw.cz>
52751 * include/sys/uio.h: Change __vector to __iovec to avoid clash
52754 2012-04-16 Marek Polacek <polacek@redhat.com>
52756 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
52758 2012-04-16 Marek Polacek <polacek@redhat.com>
52760 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
52761 operands of fdivp instruction.
52763 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
52765 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
52766 * elf/tst-auditmod3b.c: Likewise.
52767 * elf/tst-auditmod4b.c: Likewise.
52768 * elf/tst-auditmod5b.c: Likewise.
52769 * elf/tst-auditmod6b.c: Likewise.
52770 * elf/tst-auditmod6c.c: Likewise.
52771 * elf/tst-auditmod7b.c: Likewise.
52772 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
52773 * sysdeps/x86_64/preconfigure.in: Likewise.
52774 * sysdeps/x86_64/preconfigure: Regenerated.
52776 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
52778 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
52781 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
52783 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52784 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
52786 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
52789 * locale/iso-639.def: Fix gl language name. Spotted by
52792 2012-04-12 Roland McGrath <roland@hack.frob.com>
52795 * libio/libio.h (__io_write_fn): Update comment.
52797 2012-04-12 Petr Baudis <pasky@ucw.cz>
52800 * stdio.texi (Hook Functions): The user provided writer function
52801 is not allowed to return -1.
52803 2012-04-11 David S. Miller <davem@davemloft.net>
52805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52807 2012-04-11 Mike Frysinger <vapier@gentoo.org>
52809 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
52810 Add a leading slash to rtkaio.
52812 2012-04-11 Jim Meyering <meyering@redhat.com>
52815 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
52816 It is not necessarily an error to ignore fwrite's return
52817 value. One can reliably use ferror to test for errors after
52820 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
52822 * bits/types.h (__snseconds_t): New type.
52823 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
52825 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
52826 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52827 (__SNSECONDS_T_TYPE): Likewise.
52828 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52829 (__SNSECONDS_T_TYPE): Likewise.
52830 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52831 (__SNSECONDS_T_TYPE): Likewise.
52833 2012-04-10 Andreas Jaeger <aj@suse.de>
52836 * manual/time.texi (Processor Time): Return type of times is
52837 elapsed real time since an arbitrary point in the past.
52838 (CPU Time): Move CLK_TCK from here...
52839 (Processor Time): ...to here. Correct description.
52840 * manual/conf.texi (Constants for Sysconf): Correct description of
52843 2012-04-10 David S. Miller <davem@davemloft.net>
52846 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
52847 where the is a gap between DT_REL(A) and DT_JMPREL.
52849 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
52851 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
52852 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52853 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52855 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
52857 * elf/dl-support.c (_dl_inhibit_cache): New variable.
52858 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
52859 (dl_main): Handle --inhibit-cache.
52860 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
52862 * elf/dl-load.c (_dl_map_object): Use it.
52863 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
52865 2012-04-09 Joseph Myers <joseph@codesourcery.com>
52868 * sysdeps/i386/fpu/e_powl.S (p78): New object.
52869 (__ieee754_powl): Saturate large exponents rather than testing for
52870 overflow of y*log2(x).
52871 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52872 * math/libm-test.inc (pow_test): Do not permit spurious overflow
52876 * math/s_ctan.c: Include <float.h>.
52877 (__ctan): Avoid internal overflow or cancellation in calculating
52879 * math/s_ctanf.c: Likewise.
52880 * math/s_ctanl.c: Likewise.
52881 * math/s_ctanh.c: Likewise.
52882 * math/s_ctanhf.c: Likewise.
52883 * math/s_ctanhl.c: Likewise.
52884 * math/libm-test.inc (ctan_test): Add more tests.
52885 (ctanh_test): Likewise.
52886 * sysdeps/i386/fpu/libm-test-ulps: Update.
52887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52889 2012-04-09 Andreas Jaeger <aj@suse.de>
52892 * manual/filesys.texi (Directory Entries): Mention that d_namlen
52893 is an optional BSD extension.
52896 * manual/stdio.texi (Opening Streams): Document additional fopen
52899 2012-04-09 Roland McGrath <roland@hack.frob.com>
52901 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
52902 %eax without telling the compiler.
52904 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
52907 * manual/install.texi: Use sourceware.org.
52909 2012-04-09 Joseph Myers <joseph@codesourcery.com>
52912 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
52913 (__ieee754_pow): Generate overflow and underflow using huge*huge
52914 and tiny*tiny rather than just returning constant infinity or zero
52915 for large exponents.
52916 * math/libm-test.inc (pow_test): Require overflow exceptions for
52917 applicable cases of large exponents.
52920 * sysdeps/i386/fpu/e_pow.S (p10): New object.
52921 (__ieee754_pow): Use iterative multiplication algorithm only for
52922 integer exponents with absolute value below 1024. Check for odd
52923 integer exponents when using algorithm for real exponents.
52924 * math/libm-test.inc (pow_test): Add more tests.
52925 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52927 2012-04-08 Joseph Myers <joseph@codesourcery.com>
52930 * math/libm-test.inc (exp_test): Do not allow overflow exception
52933 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
52936 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
52937 instead of __kernel_standard_f.
52939 2012-04-08 Mike Frysinger <vapier@gentoo.org>
52941 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
52942 * sysdeps/x86_64/memset_chk.S: Likewise.
52944 2012-04-08 Andreas Jaeger <aj@suse.de>
52947 * manual/startup.texi (Environment Access): Describe return value
52948 for putenv and setenv.
52951 * manual/filesys.texi (Directory Entries): Add description for
52955 * manual/filesys.texi (Directory Entries): Clarify that it's file
52956 system not operating system in the description of DT_UNKNOWN.
52959 * manual/syslog.texi (closelog): Fix reference, it's openlog.
52961 2012-04-08 Stephen Compall <s11@member.fsf.org>
52964 * manual/llio.texi (Opening and Closing Files): Add cross
52965 reference to explain mode argument.
52967 2012-04-07 Mike Frysinger <vapier@gentoo.org>
52969 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
52970 * sysdeps/x86_64/memset_chk.S: Likewise.
52972 2012-04-07 David S. Miller <davem@davemloft.net>
52974 * elf/elf.h (R_SPARC_WDISP10): Define.
52975 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
52977 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
52978 R_SPARC_SIZE64 and R_SPARC_H34.
52980 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
52982 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
52983 conditions and remove no longer applicable assertion.
52985 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
52987 * bits/byteswap.h: Include <features.h>.
52988 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52989 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52991 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
52993 * bits/byteswap.h (__bswap_16): Removed.
52994 Include <bits/byteswap-16.h> to get __bswap_16.
52995 * sysdeps/i386/bits/byteswap.h: Likewise.
52996 * sysdeps/s390/bits/byteswap.h: Likewise.
52997 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52998 * bits/byteswap-16.h: New file.
52999 * sysdeps/i386/bits/byteswap-16.h: Likewise.
53000 * sysdeps/s390/bits/byteswap-16.h: Likewise.
53001 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
53002 * string/Makefile (headers): Add bits/byteswap-16.h.
53004 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53007 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
53009 * nss/Makefile (tests-static, tests): Add tst-nss-static.
53010 * nss/tst-nss-static.c: New.
53012 2012-04-06 Robert Millan <rmh@gnu.org>
53015 * manual/llio.texi (File Position Primitive): lseek
53016 refers to WHENCE when it really means OFFSET.
53018 2012-04-06 Andreas Jaeger <aj@suse.de>
53020 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
53021 strncmp declarations.
53023 * abilist/libc.abilist: Add __poll and __ppoll.
53025 2012-04-05 David S. Miller <davem@davemloft.net>
53027 * scripts/check-local-headers.sh: Accept a host triplet in the
53028 path matched by the exclude regexp.
53030 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
53032 * sysdeps/powerpc/powerpc32/dl-machine.h
53033 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
53034 * sysdeps/s390/s390-32/dl-machine.h
53035 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53036 * sysdeps/sparc/sparc32/dl-machine.h
53037 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53038 * sysdeps/sparc/sparc64/dl-machine.h
53039 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53041 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
53043 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
53044 undefined symbol errors.
53046 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
53049 2012-04-05 Michael Matz <matz@suse.de>
53052 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
53054 2012-04-05 Andreas Jaeger <aj@suse.de>
53057 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
53060 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53062 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
53063 which ROUND is no valid rounding mode.
53065 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53067 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
53069 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
53071 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53073 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
53074 an exception using FPU order intentionally.
53076 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53078 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
53079 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
53080 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
53081 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
53083 2012-04-05 Simon Josefsson <simon@josefsson.org>
53086 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
53087 EINVAL when BUFLEN is too smal.
53089 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
53092 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
53093 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
53095 2012-04-03 Andreas Jaeger <aj@suse.de>
53098 * manual/setjmp.texi (System V contexts): Fix sentence.
53101 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
53102 New macro for this case.
53103 [!__GNUC__] (__bswap_64): New inline function for this case.
53104 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53105 * bits/byteswap.h: Likewise.
53106 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
53107 ull, guard with __GLIBC_HAVE_LONG_LONG.
53109 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
53110 __GLIBC_HAVE_LONG_LONG.
53112 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
53113 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
53115 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53118 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
53119 inptr and inend, rather than using last_ch.
53121 2012-04-02 David S. Miller <davem@davemloft.net>
53123 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
53124 * stdio-common/printf-parse.h (read_int): Change return type to
53125 'int', return -1 on INT_MAX overflow.
53126 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
53127 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
53128 overflows INT_MAX. Check for overflow of in-format-string precision
53129 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
53130 SIZE_MAX not INT_MAX for integer overflow test.
53131 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
53132 skip the construct in the format string but do not record anything.
53133 * stdio-common/bug22.c: Adjust to test both width/prevision
53134 INT_MAX overflow as well as total length INT_MAX overflow. Check
53135 explicitly for proper errno values.
53137 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
53139 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
53141 * string/test-strcmp.c [! WIDE]: Likewise.
53142 * time/tst-mktime2.c: Likewise for INT_MAX.
53143 * string/test-string.h: #include <sys/param.h> for MIN.
53145 * csu/init-first.c (__libc_init_first): Call __ctype_init.
53146 * sysdeps/i386/init-first.c (init): Likewise.
53147 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
53148 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
53149 * sysdeps/sh/init-first.c (init): Likewise.
53151 2012-04-01 Ulrich Drepper <drepper@gmail.com>
53153 * po/ru.po: Update from translation team.
53154 * po/vi.po: Likewise.
53156 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
53158 * resolv/nss_dns/dns-host.c: Merge copyright years.
53160 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53162 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53163 Optimize memcpy with prefetch if
53164 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
53165 src, dst pointers have unequal 16 byte alignments.
53167 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
53170 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
53171 from a CNAME entry and return the minimum ttl for the query.
53172 (gaih_getanswer_slice): Likewise.
53174 2012-03-30 Jeff Law <law@redhat.com>
53176 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
53178 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
53179 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
53181 * resolv/nss_dns/dns-host.c: Update copyright year.
53183 2012-03-30 Ulrich Drepper <drepper@gmail.com>
53185 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
53186 requests to save a system call. Fix check that all bytes are sent.
53188 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
53189 comments for sendmmsg.
53191 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53194 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
53195 with only 1 character between 0x0041 and 0x01b0.
53196 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
53197 * wcsmbs/tst-mbsnrtowcs.c: New file.
53199 2012-03-29 David S. Miller <davem@davemloft.net>
53201 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
53202 small copies by hand.
53204 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
53207 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
53208 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
53211 2012-03-28 David S. Miller <davem@davemloft.net>
53213 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
53214 that branches into memcpy.
53215 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
53216 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
53217 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
53218 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
53219 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
53221 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
53222 implementation too.
53223 * sysdeps/sparc/mempcpy.S: New file.
53225 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
53226 the IFUNC routine in the libc case.
53227 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53229 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
53230 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
53231 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
53232 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
53233 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
53234 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
53235 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
53236 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
53238 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
53239 loop to 256 bytes instead of 64 bytes and fix test signedness.
53241 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
53242 * sysdeps/sparc/sparc32/Makefile: rather than here...
53243 * sysdeps/sparc/sparc64/Makefile: and here.
53245 2012-03-28 Ulrich Drepper <drepper@gmail.com>
53247 * malloc/mallocbug.c: Avoid warnings about unused variables.
53249 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
53252 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
53253 in the right place. Discard and retry query if response is
53254 larger than input buffer size.
53256 2012-03-28 Joseph Myers <joseph@codesourcery.com>
53261 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
53262 x for large integer exponent.
53263 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
53264 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
53265 sign of result as needed afterwards.
53266 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
53267 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
53268 result for underflowing pow the same as for overflow.
53269 (__kernel_standard_l): Handle powl overflow and underflow here
53270 rather than calling __kernel_standard.
53271 * math/libm-test.inc (pow_test): Add more tests.
53286 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
53287 * sysdeps/ieee754/k_standard.c: Include <float.h>.
53288 (__kernel_standard_l): New function.
53289 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
53291 * math/w_acosl.c (__acosl): Likewise.
53292 * math/w_asinl.c (__asinl): Likewise.
53293 * math/w_atan2l.c (__atan2l): Likewise.
53294 * math/w_atanhl.c (__atanhl): Likewise.
53295 * math/w_coshl.c (__coshl): Likewise.
53296 * math/w_exp10l.c (__exp10l): Likewise.
53297 * math/w_exp2l.c (__exp2l): Likewise.
53298 * math/w_fmodl.c (__fmodl): Likewise.
53299 * math/w_hypotl.c (__hypotl): Likewise.
53300 * math/w_j0l.c (__j0l, __y0l): Likewise.
53301 * math/w_j1l.c (__j1l, __y1l): Likewise.
53302 * math/w_jnl.c (__jnl, __ynl): Likewise.
53303 * math/w_lgammal.c (__lgammal): Likewise.
53304 * math/w_log10l.c (__log10l): Likewise.
53305 * math/w_log2l.c (__log2l): Likewise.
53306 * math/w_logl.c (__logl): Likewise.
53307 * math/w_powl.c (__powl): Likewise.
53308 * math/w_remainderl.c (__remainderl): Likewise.
53309 * math/w_scalbl.c (sysv_scalbl): Likewise.
53310 * math/w_sinhl.c (__sinhl): Likewise.
53311 * math/w_sqrtl.c (__sqrtl): Likewise.
53312 * math/w_tgammal.c (__tgammal): Likewise.
53313 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
53314 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
53315 * math/libm-test.inc (acos_test): Add more tests.
53316 (acosh_test): Likewise.
53317 (asin_test): Likewise.
53318 (atanh_test): Likewise.
53319 (exp_test): Likewise.
53320 (exp10_test): Likewise.
53321 (exp2_test): Likewise.
53322 (expm1_test): Likewise.
53323 (lgamma_test): Likewise.
53324 (log_test): Likewise.
53325 (log10_test): Likewise.
53326 (log1p_test): Likewise.
53327 (log2_test): Likewise.
53328 (pow_test): Do not allow some spurious overflow exceptions.
53329 (sqrt_test): Add more tests.
53330 (tgamma_test): Likewise.
53331 (y0_test): Likewise.
53332 (y1_test): Likewise.
53333 (yn_test): Likewise.
53335 2012-03-27 Anton Blanchard <anton@samba.org>
53337 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
53339 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53340 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53341 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53343 2012-03-27 David S. Miller <davem@davemloft.net>
53345 * conform/Makefile: Run run-conformtest.sh using $(BASH).
53347 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
53348 have-as-vis3 check.
53350 2012-03-27 Andreas Jaeger <aj@suse.de>
53352 * sysdeps/x86_64/elf/configure.in: Moved to ...
53353 * sysdeps/x86_64/configure.in: ... here.
53354 * sysdeps/x86_64/elf/start.S: Moved to ...
53355 * sysdeps/x86_64/start.S: ... here.
53356 * sysdeps/x86_64/elf/configure: Delete.
53358 * sysdeps/x86_64/configure.in: Merge contents from
53359 sysdeps/i386/configure.in (without i686 check).
53361 * sysdeps/i386/elf/Versions: Merge into ...
53362 * sysdeps/i386/Versions: ... this.
53363 * sysdeps/i386/elf/Versions: Delete file.
53364 * sysdeps/i386/elf/start.S: Moved to ...
53365 * sysdeps/i386/start.S: ...here.
53366 * sysdeps/i386/elf/configure.in: Merge into...
53367 * sysdeps/i386/configure.in: ...here.
53368 * sysdeps/i386/elf/configure.in: Delete file.
53369 * sysdeps/i386/elf/configure: Delete file.
53371 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
53372 * debug/backtracesyms.c: ... here.
53373 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
53374 * debug/backtracesymsfd.c: ... here.
53375 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
53376 * sysdeps/generic/ifunc-sel.h: ... here.
53378 * sysdeps/unix/i386/start.c: Delete file.
53379 * sysdeps/unix/sparc/start.c: Delete file.
53380 * sysdeps/unix/start.c: Delete file.
53382 * sysdeps/sh/elf/configure.in: Moved to ...
53383 * sysdeps/sh/configure.in: ... here.
53384 * sysdeps/sh/elf/start.S: Moved to ...
53385 * sysdeps/sh/start.S: ... here.
53386 * sysdeps/sh/elf/configure: Delete file.
53388 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
53389 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
53390 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
53391 * sysdeps/powerpc/powerpc64/entry.h: ... here.
53392 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
53393 * sysdeps/powerpc/powerpc64/start.S: here.
53394 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
53395 * sysdeps/powerpc/powerpc64/Makefile: ... this.
53396 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
53397 * sysdeps/powerpc/powerpc64/configure.in: ... this.
53398 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
53400 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
53401 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
53402 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
53403 * sysdeps/powerpc/powerpc32/start.S: ... here.
53404 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
53405 * sysdeps/powerpc/powerpc32/configure.in: ... this.
53406 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
53408 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
53409 * sysdeps/powerpc/ifunc-sel.h: ... here.
53410 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
53411 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
53413 * sysdeps/sparc/elf/configure.in: Moved to ...
53414 * sysdeps/sparc/configure.in: ... here.
53415 * sysdeps/sparc/elf/configure: Delete file.
53416 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
53417 * sysdeps/sparc/sparc32/start.S: ... here.
53418 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
53419 * sysdeps/sparc/sparc64/start.S: ... here.
53420 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
53421 * sysdeps/sparc/sparc32/Makefile: ... this.
53422 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
53423 * sysdeps/sparc/sparc64/Makefile: ... this.
53425 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
53426 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
53427 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
53428 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
53429 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
53430 * sysdeps/s390/s390-32/setjmp.S: ... here.
53431 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
53432 * sysdeps/s390/s390-32/configure.in: ... here.
53433 * sysdeps/s390/s390-32/elf/configure: Delete file.
53434 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
53435 * sysdeps/s390/s390-32/start.S: ... here.
53437 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
53438 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
53439 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
53440 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
53441 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
53442 * sysdeps/s390/s390-64/setjmp.S: ... here.
53443 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
53444 * sysdeps/s390/s390-64/configure.in: ... here
53445 * sysdeps/s390/s390-64/elf/configure: Delete file.
53446 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
53447 * sysdeps/s390/s390-64/start.S: ... here.
53448 * sysdeps/s390/s390-64/elf/configure: Delete.
53450 * configure.in: Remove support for elf directories in sysdeps.
53452 * configure: Regenerated.
53453 * sysdeps/i386/configure: Regenerated.
53454 * sysdeps/powerpc/powerpc32/configure: Regenerated.
53455 * sysdeps/powerpc/powerpc64/configure: Regenerated.
53456 * sysdeps/s390/s390-32/configure: Regenerated.
53457 * sysdeps/s390/s390-64/configure: Regenerated.
53458 * sysdeps/sh/configure: Regenerated.
53459 * sysdeps/sparc/configure: Regenerated.
53460 * sysdeps/x86_64/configure: Regenerated.
53462 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
53464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53466 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
53467 denormal result into account.
53469 2012-03-25 Roland McGrath <roland@hack.frob.com>
53471 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
53472 Reported by Allan McRae <allan@archlinux.org>.
53474 2012-03-23 Jeff Law <law@redhat.com>
53476 * nss/getnssent.c (__nss_getent): Fix typo.
53478 2012-03-23 David S. Miller <davem@davemloft.net>
53480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53482 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
53484 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
53485 to pad to uint64_t for each field.
53486 (dl_tls_index): Replace unsigned long with uint64_t.
53488 2012-03-23 Daniel Jacobowitz <dmj@google.com>
53489 Paul Pluzhnikov <ppluzhnikov@google.com>
53492 * grp/Makefile (otherlibs): Don't set it.
53493 * inet/Makefile (otherlibs): Likewise.
53494 * login/Makefile (otherlibs): Likewise.
53495 * nscd/Makefile (otherlibs): Likewise.
53496 * posix/Makefile (otherlibs): Likewise.
53497 * pwd/Makefile (otherlibs): Likewise.
53498 * rt/Makefile (otherlibs): Likewise.
53499 * sunrpc/Makefile (otherlibs): Likewise.
53500 * nss/Makefile (otherlibs): Likewise.
53501 Add libnss_files to routines and static-only-routines.
53502 ($(objpfx)getent): Remove rule.
53503 * resolv/Makefile: Add libnss_dns and libresolv to routines and
53504 static-only-routines.
53506 2012-03-22 Joseph Myers <joseph@codesourcery.com>
53509 * math/s_cexp.c: Include <float.h>.
53510 (__cexp): Handle exp result overflowing not necessarily
53511 overflowing both real and imaginary parts of result.
53512 * math/s_cexpf.c: Likewise.
53513 * math/s_cexpl.c: Likewise.
53514 * math/libm-test.inc (cexp_test): Add more tests.
53515 * sysdeps/i386/fpu/libm-test-ulps: Update.
53516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53518 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
53520 * include/link.h (ELFW): New macro.
53521 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
53522 Replace ELF64_R_TYPE with ELFW(R_TYPE).
53524 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
53526 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
53529 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
53531 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
53533 (struct La_x32_retval): Likewise.
53535 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
53537 * sysdeps/x86_64/preconfigure.in: New file.
53538 * sysdeps/x86_64/preconfigure: New generated file.
53540 2012-03-22 Joseph Myers <joseph@codesourcery.com>
53543 * math/e_exp2l.c: Include <float.h>.
53544 (__ieee754_exp2l): Handle overflow and underflow cases
53545 separately. Only pass fractional part of argument to
53547 * math/libm-test.inc (exp2_test): Add more tests.
53549 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
53550 negating x to take absolute value.
53551 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
53553 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
53554 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
53556 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
53557 computing low part if x was negated.
53558 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
53560 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
53562 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
53563 la_x32_gnu_pltexit.
53564 (pltexit): Cast int_retval to ptrdiff_t.
53565 * elf/tst-auditmod3b.c: Likewise.
53566 * elf/tst-auditmod4b.c: Likewise.
53567 * elf/tst-auditmod5b.c: Likewise.
53568 * elf/tst-auditmod6b.c: Likewise.
53569 * elf/tst-auditmod6c.c: Likewise.
53570 * elf/tst-auditmod7b.c: Likewise.
53572 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
53573 and x32_gnu_pltexit.
53575 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
53576 __ELF_NATIVE_CLASS.
53577 (La_x32_regs): New macro.
53578 (La_x32_retval): Likewise.
53579 (la_x32_gnu_pltenter): New function prototype.
53580 (la_x32_gnu_pltexit): Likewise.
53582 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
53584 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
53587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53589 * configure.in (libc_cv_cc_nofma): Check for option to disable
53590 generation of FMA instructions.
53591 * configure: Regenerate.
53592 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
53593 * sysdeps/ieee754/dbl-64/Makefile: New file.
53594 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
53595 Remove brandred-fma4.
53596 (CFLAGS-brandred-fma4.c): Remove.
53597 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
53598 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
53600 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
53603 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
53605 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53606 LLONG_MAX != LONG_MAX.
53607 (_itoa_word): Use _ITOA_WORD_TYPE on value.
53608 (_fitoa_word): Likewise.
53609 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
53610 LLONG_MAX != LONG_MAX.
53611 * stdio-common/_itowa.h: Include <_itoa.h>.
53612 (_itowa_word): Use _ITOA_WORD_TYPE on value.
53613 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
53614 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
53615 only if not defined.
53616 (_ITOA_WORD_TYPE): Likewise.
53617 (_itoa_word): Use _ITOA_WORD_TYPE on value.
53618 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
53620 2012-03-21 David S. Miller <davem@davemloft.net>
53622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53624 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
53626 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
53627 of x86_64 when setting libc_cv_slibdir, libdir and
53629 * sysdeps/unix/sysv/linux/configure: Regenerated.
53631 2012-03-21 Joseph Myers <joseph@codesourcery.com>
53633 * manual/lang.texi (Old Varargs): Remove section.
53634 (How Variadic): Update menu.
53635 (va_start): Do not mention varargs.h.
53637 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
53638 Joseph Myers <joseph@codesourcery.com>
53640 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
53642 * configure: Regenerated.
53644 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
53646 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
53647 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
53650 2012-03-21 Joseph Myers <joseph@codesourcery.com>
53653 * Makefile (files-for-dist): Remove NOTES.
53654 (NOTES): Remove rule.
53655 * README: Don't refer to NOTES.
53656 * manual/creature.texi: Don't include macros.texi.
53657 * manual/intro.texi (creature.texi): Remove comment referring to
53660 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
53661 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
53662 * configure: Regenerated.
53663 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
53664 LIBC_TRY_CC_OPTION.
53665 (libc_cv_as_i686): Likewise.
53666 (libc_cv_cc_avx): Likewise.
53667 (libc_cv_cc_sse2avx): Likewise.
53668 (libc_cv_cc_fma4): Likewise.
53669 (libc_cv_cc_novzeroupper): Likewise.
53670 * sysdeps/i386/configure: Regenerated.
53673 * sysdeps/i386/fpu/s_cexp.S: Remove.
53674 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53675 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53676 * math/libm-test.inc (cexp_test): Add more tests.
53677 * sysdeps/i386/fpu/libm-test-ulps: Update.
53678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53680 2012-03-21 Allan McRae <allan@archlinux.org>
53682 * timezone/Makefile: Do not install iso3166.tab and zone.tab
53684 2012-03-21 Joseph Myers <joseph@codesourcery.com>
53687 * math/w_exp2.c: Do not include <float.h>.
53688 (o_threshold, u_threshold): Remove.
53689 (__exp2): Calculate result before checking finiteness and calling
53691 * math/w_exp2f.c: Likewise.
53692 * math/w_exp2l.c: Likewise.
53693 * math/libm-test.inc (exp2_test): Require overflow exception for
53697 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
53698 range of signed 64-bit integers before using fistpll. Remove
53699 checks for whether integers fit in mantissa bits.
53700 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
53701 the range of signed 32-bit integers before using fistpl. Remove
53702 checks for whether integers fit in mantissa bits.
53703 * sysdeps/i386/fpu/e_powl.S (p64): New object.
53704 (__ieee754_powl): Test for y outside the range of signed 64-bit
53705 integers before using fistpll. Reduce 64-bit values to 63-bit
53707 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
53708 divide-by-zero is raised for zero to large negative powers.
53709 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
53710 (__ieee754_powl): Test for y outside the range of signed 64-bit
53711 integers before using fistpll. Reduce 64-bit values to 63-bit
53713 * math/libm-test.inc (pow_test): Add more tests.
53715 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
53717 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53718 <stdio-common/_itoa.h>.
53719 * debug/segfault.c: Likewise.
53720 * elf/dl-cache.c: Likewise.
53721 * elf/dl-minimal.c: Likewise.
53722 * elf/dl-misc.c: Likewise.
53723 * elf/dl-sysdep.c: Likewise.
53724 * elf/dl-version.c: Likewise.
53725 * elf/rtld.c: Likewise.
53726 * hurd/hurdsock.c: Likewise.
53727 * hurd/lookup-retry.c: Likewise.
53728 * malloc/malloc.c: Likewise.
53729 * malloc/mtrace.c: Likewise.
53730 * nscd/nscd_getgr_r.c: Likewise.
53731 * nscd/nscd_getpw_r.c: Likewise.
53732 * nscd/nscd_getserv_r.c: Likewise.
53733 * posix/getopt_init.c: Likewise.
53734 * posix/wordexp.c: Likewise.
53735 * stdio-common/_itoa.c: Likewise.
53736 * stdio-common/printf_fphex.c: Likewise.
53737 * stdio-common/vfprintf.c: Likewise.
53738 * string/_strerror.c: Likewise.
53739 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
53740 * sysdeps/i386/i686/hp-timing.h: Likewise.
53741 * sysdeps/mach/_strerror.c: Likewise.
53742 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
53743 * sysdeps/mach/hurd/sethostid.c: Likewise.
53744 * sysdeps/mach/hurd/xmknodat.c: Likewise.
53745 * sysdeps/mach/xpg-strerror.c: Likewise.
53746 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53747 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53748 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
53749 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
53750 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53751 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
53752 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
53753 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53754 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
53755 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
53756 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
53757 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53758 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
53759 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53760 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53761 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
53762 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
53763 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
53764 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
53765 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
53766 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
53768 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
53770 * stdio-common/_itoa.h: Moved to ...
53771 * sysdeps/generic/_itoa.h: Here.
53773 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
53775 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
53776 instead of "_itoa.h" and "_itowa.h".
53777 * stdio-common/vfprintf.: Likewise.
53779 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
53781 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
53783 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
53784 (__signbit): Likwise.
53785 (llrintf): Likwise.
53788 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
53790 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
53793 2012-03-20 Joseph Myers <joseph@codesourcery.com>
53795 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
53796 OVERFLOW_EXCEPTION_OK.
53797 * math/libm-test.inc ("Philosophy"): Update comment about
53799 (OVERFLOW_EXCEPTION): Define.
53800 (OVERFLOW_EXCEPTION_OK): Likewise.
53801 (INVALID_EXCEPTION_OK): Renumber.
53802 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53803 (IGNORE_ZERO_INF_SIGN): Likewise.
53804 (test_exceptions): Handle FE_OVERFLOW.
53805 (exp10_test): Expect overflow exceptions.
53806 (exp2_test): Likewise.
53807 (expm1_test): Likewise.
53808 (nextafter_test): Likewise.
53809 (pow_test): Likewise.
53810 (scalbn_test): Likewise.
53811 (scalbln_test): Likewise.
53813 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
53815 * sysdeps/x86_64/bits/atomic.h
53816 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
53818 (atomic_exchange_acq): Likewise.
53819 (__arch_exchange_and_add_body): Likewise.
53820 (__arch_add_body): Likewise.
53821 (atomic_add_negative): Likewise.
53822 (atomic_add_zero): Likewise.
53824 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
53826 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
53827 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
53829 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
53831 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
53832 Check __x86_64__ instead of __WORDSIZE.
53834 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
53836 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
53838 2012-03-19 David S. Miller <davem@davemloft.net>
53840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53842 * sysdeps/sparc/fpu/fenv_private.h: New file.
53843 * sysdeps/sparc/fpu/math_private.h: Use it.
53844 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
53846 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
53847 (libc_feholdexcept_setroundl): Remove.
53848 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
53850 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
53851 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
53853 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
53855 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
53856 int64_t instead of long int.
53857 (INSERT_WORDS64): Likwise.
53859 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
53861 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
53862 _Unwind_GetCFA return to _Unwind_Ptr first.
53864 2012-03-19 Joseph Myers <joseph@codesourcery.com>
53867 * math/s_clog.c: Include <float.h>.
53868 (__clog): Scale large or subnormal inputs.
53869 * math/s_clogf.c: Likewise.
53870 * math/s_clogl.c: Likewise.
53871 * math/s_clog10.c: Include <float.h>.
53872 (M_LOG10_2): Define.
53873 (__clog10): Scale large or subnormal inputs.
53874 * math/s_clog10f.c: Likewise.
53875 * math/s_clog10l.c: Likewise.
53876 * math/libm-test.inc (clog_test): Add more tests.
53877 (clog10_test): Likewise.
53878 * sysdeps/i386/fpu/libm-test-ulps: Update.
53879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53882 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
53884 * math/libm-test.inc (atan2_test): Add another test.
53886 * Makerules (common-objdir-compile): Remove.
53887 * sysdeps/unix/Makefile (config-generated): Do not add
53888 $(unix-generated) to variable.
53889 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
53890 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
53892 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
53894 [generic bits/local_lim.h] (before-compile): Do not append to
53896 [generic bits/local_lim.h] (common-generated): Likewise.
53897 [generic sys/param.h] (before-compile): Do not append to variable.
53898 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
53899 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
53900 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
53901 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
53903 [generic sys/param.h] (sys/param.h-includes): Remove variable.
53904 [generic sys/param.h] (sys/param.h-includes): Remove rule.
53905 [generic sys/param.h] ($(addprefix
53906 $(common-objpfx),$(sys/param.h-includes))): Likewise.
53907 [generic sys/param.h] (common-generated): Do not append to
53909 [generic sys/param.h] (sysdep_headers): Likewise.
53910 [generic bits/errno.h] (before-compile): Do not append to
53912 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
53914 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
53915 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
53916 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
53917 [generic bits/errno.h] (common-generated): Do not append to
53919 [generic bits/ioctls.h] (before-compile): Do not append to
53921 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
53923 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
53924 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
53925 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
53927 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
53928 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
53929 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
53930 [generic bits/ioctls.h] (common-generated): Do not append to
53932 [generic sys/syscall.h] (syscall.h): Remove variable.
53933 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
53935 [generic sys/syscall.h] (before-compile): Do not append to
53937 [generic sys/syscall.h] (common-generated): Likewise.
53938 * sysdeps/unix/errnos-tmpl.c: Remove file.
53939 * sysdeps/unix/errnos.awk: Likewise.
53940 * sysdeps/unix/ioctls-tmpl.c: Likewise.
53941 * sysdeps/unix/ioctls.awk: Likewise.
53942 * sysdeps/unix/mk-local_lim.c: Likewise.
53943 * sysdeps/unix/snarf-ioctls: Likewise.
53945 2012-03-19 Richard Henderson <rth@twiddle.net>
53947 * sysdeps/i386/fpu/fenv_private.h: New file.
53948 * sysdeps/i386/fpu/math_private.h: Use it.
53949 (math_opt_barrier, math_force_eval): Remove.
53950 (libc_feholdexcept_setround_53bit): Remove.
53951 (libc_feupdateenv_53bit): Remove.
53952 * sysdeps/x86_64/fpu/math_private.h: Likewise.
53953 (math_opt_barrier, math_force_eval): Remove.
53954 (libc_feholdexcept): Remove.
53955 (libc_feholdexcept_setround): Remove.
53956 (libc_fetestexcept, libc_fesetenv): Remove.
53957 (libc_feupdateenv_test): Remove.
53958 (libc_feupdateenv, libc_feholdsetround): Remove.
53959 (libc_feresetround): Remove.
53961 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
53962 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
53964 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
53965 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
53966 (libc_feupdateenv_testl): New.
53967 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
53968 (libc_feupdateenv_testf): New.
53969 (libc_feupdateenv): Use libc_feupdateenv_test.
53970 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
53971 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
53973 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
53974 (libc_feholdsetroundf, libc_feholdsetroundl): New.
53975 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
53976 (libc_feresetround_noex): New.
53977 (libc_feresetround_noexf): New.
53978 (libc_feresetround_noexl): New.
53979 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
53980 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
53981 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
53982 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
53984 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53985 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
53987 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
53988 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
53989 SET_RESTORE_ROUND_NOEX.
53990 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
53991 SET_RESTORE_ROUND_NOEXF.
53992 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
53993 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
53994 (libc_feholdsetroundf): New.
53995 (libc_feresetround, libc_feresetroundf): New.
53997 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
53998 (libc_feholdexcept_setround_53bit): Convert from macro to function.
53999 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
54001 * sysdeps/generic/math_private.h: Include <fenv.h>.
54002 (default_libc_feholdexcept): New.
54003 (default_libc_feholdexcept_setround): New.
54004 (default_libc_fesetenv, default_libc_feupdateenv): New.
54005 (libc_feholdexcept): Only define if undefined.
54006 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
54007 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
54008 (libc_feholdexcept_setroundl): Likewise.
54009 (libc_feholdexcept_setround_53bit): Likewise.
54010 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
54011 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
54012 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
54013 (libc_feupdateenv_53bit): Likewise.
54014 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
54015 (libc_feholdexcept): Convert from macro to inline function.
54016 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
54017 (libc_fesetenv, libc_feupdateenv): Likewise.
54019 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
54020 not previously defined.
54021 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
54022 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
54023 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
54024 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
54025 * sysdeps/ieee754/flt-32/math_private.h: New file.
54026 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
54027 math_private.h below SET_FLOAT_WORD.
54028 (__isnan, __isinf_ns, __finite): Remove.
54029 (__isnanf, __isinf_nsf, __finitef): Remove.
54031 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
54033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54035 2012-03-17 David S. Miller <davem@davemloft.net>
54038 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
54041 2012-03-16 David S. Miller <davem@davemloft.net>
54043 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
54047 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
54049 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
54050 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
54051 sysdep_routines when subdir is sysvipc.
54052 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
54053 __getshmlba helper.
54055 * sysdeps/sparc/fpu/libm-test/ulps: Update.
54057 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54059 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
54062 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54064 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
54065 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
54066 (__lround): Renamed to ...
54067 (__llround): This. Replace long int with long long int.
54068 Define lround functions as aliases of llround functions.
54069 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
54071 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54073 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
54074 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
54075 adresses to uintptr_t. Replace "long int" and "unsigned long
54076 int" with "greg_t" on va_arg.
54078 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54080 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
54081 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
54083 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
54084 Move e_machine check before EI_CLASS check. Handle x32
54085 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
54086 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
54087 SKIP_EM_IA_64 and include
54088 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
54090 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
54091 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
54092 (add_system_dir): New macro.
54094 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
54095 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
54097 2012-03-16 Joseph Myers <joseph@codesourcery.com>
54108 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
54110 * math/w_j0f.c (j0f): Likewise.
54112 * math/w_j0l.c (__j0l): Likewise.
54114 * math/w_j1.c (j1): Likewise.
54116 * math/w_j1f.c (j1f): Likewise.
54118 * math/w_j1l.c (__j1l): Likewise.
54120 * math/w_jn.c (jn): Likewise.
54122 * math/w_jnf.c (jnf): Likewise.
54124 * math/w_jnl.c (__jnl): Likewise.
54126 * math/libm-test.inc (j0_test): Add more tests.
54127 (j1_test): Likewise.
54128 (jn_test): Likewise. Add trailing semicolon to existing test.
54129 (y0_test): Likewise.
54130 (y1_test): Likewise.
54131 * sysdeps/i386/fpu/libm-test-ulps: Update.
54132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54136 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
54137 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
54138 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
54139 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
54140 (__tanl): Set errno for infinite argument.
54141 * sysdeps/i386/fpu/mptan.c: Remove.
54142 * sysdeps/i386/fpu/s_tan.S: Likewise.
54143 * sysdeps/i386/fpu/s_tanl.S: Likewise.
54144 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
54145 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
54146 * math/libm-test.inc (tan_test): Add more tests and enable more
54147 tests for double and long double.
54148 * sysdeps/i386/fpu/libm-test-ulps: Update.
54149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54151 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
54153 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
54154 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
54156 2012-03-16 Roland McGrath <roland@hack.frob.com>
54158 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
54159 * configure.in: Use it for both main tree and add-ons.
54160 * configure: Regenerated.
54162 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54164 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
54166 2012-03-16 Joseph Myers <joseph@codesourcery.com>
54168 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
54172 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
54173 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
54174 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
54175 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
54176 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
54178 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
54179 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
54180 != 0 for prec == 2.
54181 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
54182 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
54183 * sysdeps/i386/fpu/s_cosl.S: Likewise.
54184 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
54185 * sysdeps/i386/fpu/s_sinl.S: Likewise.
54186 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
54187 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
54188 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
54189 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
54190 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
54191 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
54192 * math/libm-test.inc (cos_test): Add more tests and enable more
54193 tests for long double.
54194 (sin_test): Likewise.
54195 (sincos_test): Likewise.
54196 * sysdeps/i386/fpu/libm-test-ulps: Update.
54197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54199 2012-03-16 David S. Miller <davem@davemloft.net>
54201 * sysdeps/sparc/fpu/math_private.h: New file.
54203 2012-03-15 David S. Miller <davem@davemloft.net>
54205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
54207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
54208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
54210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
54211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
54212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
54213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
54214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
54215 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
54217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54219 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
54220 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
54222 * sysdeps/sparc/sparc-ifunc.h: New file.
54223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
54225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
54226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
54228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
54230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
54231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
54232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
54235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
54237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
54239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
54241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
54243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
54245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
54246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
54247 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
54248 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
54249 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
54250 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
54251 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
54252 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
54253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
54254 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
54255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
54256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
54257 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
54258 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
54259 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
54260 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
54261 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
54262 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
54263 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
54264 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
54265 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
54266 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
54268 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
54270 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
54272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54274 2012-03-15 Andreas Jaeger <aj@suse.de>
54277 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
54278 ieee754/flt-32 implementation for sin, cos and sincos.
54279 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
54280 * sysdeps/i386/fpu/s_cosf.S: Likewise.
54281 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
54282 * sysdeps/i386/fpu/s_sinf.S: Likewise.
54283 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
54284 ieee754/flt-32 implementation for tan.
54286 * math/libm-test.inc (cos_test): Enable some large input tests for
54288 (sin_test): Likewise.
54289 (sincos_test): Likewise.
54290 (tan_test): Add tests for large input.
54292 * sysdeps/i386/fpu/libm-test-ulps: Update.
54294 2012-03-15 Andreas Jaeger <aj@suse.de>
54297 * math/libm-test.inc (cos_test): Add more test cases.
54298 (sin_test): Likewise.
54299 (sincos_test): Likewise.
54301 2012-03-15 Andreas Jaeger <aj@suse.de>
54304 * math/libm-test.inc (cos_test): Add a test case for large input
54306 (sin_test): Likewise.
54307 (sincos_test): Likewise.
54309 2012-03-15 Andreas Jaeger <aj@suse.de>
54310 Joseph Myers <joseph@codesourcery.com>
54313 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
54314 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
54315 * sysdeps/i386/fpu/branred.c: Likewise.
54316 * sysdeps/i386/fpu/dosincos.c: Likewise.
54317 * sysdeps/i386/fpu/mpa.c: Likewise.
54318 * sysdeps/i386/fpu/s_cos.S: Likewise.
54319 * sysdeps/i386/fpu/s_sin.S: Likewise.
54320 * sysdeps/i386/fpu/s_sincos.S: Likewise.
54321 * sysdeps/i386/fpu/sincos32.c: Likewise.
54323 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
54325 (libc_feupdateenv_53bit): Define.
54326 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
54328 (libc_feupdateenv_53bit): Define.
54330 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
54331 53 bit (without extend i386 double precision).
54333 * math/libm-test.inc (sincos_test): Add tests for large input.
54337 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
54339 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
54341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54343 2012-03-15 David S. Miller <davem@davemloft.net>
54345 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
54346 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
54347 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
54348 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
54349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
54350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
54351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
54352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
54353 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
54354 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
54355 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
54356 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
54357 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
54358 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
54359 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
54360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
54362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
54363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
54365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
54366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
54368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
54369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
54371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
54372 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
54373 fmin/fmax sysdep routines.
54374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54376 2012-03-14 David S. Miller <davem@davemloft.net>
54378 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
54379 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
54380 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
54381 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
54382 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
54383 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
54384 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
54385 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
54386 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
54387 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
54388 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
54389 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
54390 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
54391 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
54392 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
54393 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
54394 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
54395 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
54396 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
54397 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
54398 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
54399 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
54400 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
54401 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
54402 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
54403 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
54404 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
54405 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
54406 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
54408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
54410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
54411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
54413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
54414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
54416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
54417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
54419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
54420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
54422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
54423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
54425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
54427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
54429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
54431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
54433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
54435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
54437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
54438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
54440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
54441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
54443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
54444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
54446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
54447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
54450 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54455 * sysdeps/sparc/configure.in: New file.
54456 * sysdeps/sparc/configure: Generate.
54457 * configure.in (libc_cv_sparc_as_vis3): Substitute.
54458 * configure: Regenerate.
54459 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
54460 * config.make.in (have-as-vis3): New.
54461 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
54462 available use -Av9d instead of -Av9a.
54463 * sysdeps/sparc/sparc64/Makefile: Likewise.
54464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
54465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
54467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
54469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
54471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
54473 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
54474 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
54475 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
54476 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
54477 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
54479 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
54480 fzeros/fnegs to load 0x80000000 into a float register instead of
54482 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
54484 2012-03-14 Joseph Myers <joseph@codesourcery.com>
54486 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54488 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
54489 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
54490 ($(inst_includedir)/bits/syscall.h): Remove rule.
54491 ($(objpfx)bits/syscall.d): Include instead of
54492 $(objpfx)syscall-list.d.
54493 (generated): Change syscall-list.h and syscall-list.d to
54494 bits/syscall.h and bits/syscall.d.
54496 2012-03-14 Roland McGrath <roland@hack.frob.com>
54499 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
54501 2012-03-14 Joseph Myers <joseph@codesourcery.com>
54504 * math/s_csqrt.c: Include <float.h>.
54505 (__csqrt): Scale large or subnormal inputs.
54506 * math/s_csqrtf.c: Likewise.
54507 * math/s_csqrtl.c: Likewise.
54508 * math/libm-test.inc (csqrt_test): Add more tests.
54509 * sysdeps/i386/fpu/libm-test-ulps: Update.
54510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54513 * math/libm-test.inc (hypot_test): Add more tests.
54515 2012-03-13 David S. Miller <davem@davemloft.net>
54518 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
54519 double-precision for the calculation instead of scaling.
54521 2012-03-13 Joseph Myers <joseph@codesourcery.com>
54523 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
54524 manipulate bits before adding and subtracting TWO52[sx].
54525 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
54526 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
54528 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
54530 2012-03-13 David S. Miller <davem@davemloft.net>
54532 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
54533 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
54534 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
54535 rtld-global-offsets.h
54536 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54538 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
54541 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
54543 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
54544 'err' in the ifdef scope in which it is actually used.
54546 * nss/nss_db/db-init.c: Include string.h
54548 2012-03-12 David S. Miller <davem@davemloft.net>
54550 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54551 masking out of the most significant byte of random value used.
54552 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54553 Fix coding style in previous change.
54555 * sysdeps/unix/sysv/linux/kernel-features.h
54556 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
54557 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
54559 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
54562 2012-03-11 David S. Miller <davem@davemloft.net>
54564 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54565 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
54566 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
54567 for 'resultvar' otherwise things get truncated on 64-bit.
54569 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54570 Fix masking out of the most significant byte of random value used.
54572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54574 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
54576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54578 2012-03-09 David S. Miller <davem@davemloft.net>
54580 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
54581 variables with appropriate CPP guards.
54582 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
54583 from the frame pointer, not the stack pointer. Correct layout
54584 comments. Fix test on resulting framesize and the management of
54585 the outregs buffer for pltexit. Preserve floating point return
54586 values across _dl_call_pltexit call.
54587 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
54588 framesize and the management of the outregs buffer for pltexit.
54589 Preserve floating point return values across _dl_call_pltexit
54591 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
54592 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
54593 (la_sparc64_gnu_pltexit): New functions.
54594 (print_exit): Fix format string for return register value.
54596 2012-03-10 Joseph Myers <joseph@codesourcery.com>
54598 * sunrpc/Makefile (others): Add rpcgen.
54599 ($(objpfx)rpcgen): Remove special build rule and dependency on
54601 * sunrpc/rpcgen.c: New file.
54603 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
54606 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
54607 * stdio-common/bug-vfprintf-nargs.c: Likewise.
54608 * sysdeps/i386/crti.S: Likewise.
54609 * sysdeps/i386/crtn.S: Likewise.
54610 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
54611 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
54612 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
54613 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
54614 * sysdeps/sh/crti.S: Likewise.
54615 * sysdeps/sh/crtn.S: Likewise.
54616 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54619 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
54621 * locale/programs/locfile-kw.gperf: Likewise.
54622 * locale/programs/charmap-kw.h: Regenerated.
54623 * locale/programs/locfile-kw.h: Likewise.
54626 * intl/plural.y: Replace FSF snail mail address with URL.
54627 * intl/plural.c: Regenerated.
54629 2012-03-09 Richard Henderson <rth@twiddle.net>
54631 * include/math_private.h: Remove file.
54632 * math/math_private.h: Move file ...
54633 * sysdeps/generic/math_private.h: ... here.
54635 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
54636 * sysdeps/powerpc/fpu/math_private.h: Likewise.
54637 * sysdeps/x86_64/fpu/math_private.h: Likewise.
54639 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
54640 and <math_private.h>.
54641 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54642 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54643 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54644 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54645 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54646 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
54647 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54648 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54649 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54650 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54651 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54652 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54653 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54654 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54655 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54656 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54657 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54658 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54659 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54660 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54661 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54662 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54663 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54664 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54665 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54666 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54667 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54668 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54669 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54670 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54671 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54672 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54673 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54674 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54675 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54676 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54677 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54678 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54679 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54680 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54681 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54682 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54683 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54684 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54685 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54686 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54687 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
54688 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54689 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54690 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54691 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54692 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
54693 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54694 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54695 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54696 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54697 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54698 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54699 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54700 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
54701 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54702 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54703 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54704 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54705 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
54706 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54707 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54708 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54709 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
54710 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
54711 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54712 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54713 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54714 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54715 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54716 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54717 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54718 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54719 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54720 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54721 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54722 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54723 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54724 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54725 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54726 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54727 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54728 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54729 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54730 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54731 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54732 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54733 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54734 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54735 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54736 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54737 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54738 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54739 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54740 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54741 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54742 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54743 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54744 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54745 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54746 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54747 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54748 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54749 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54750 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54751 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54752 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54753 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54754 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54755 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
54756 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54757 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54758 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54759 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54760 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54761 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54762 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54763 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54764 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
54765 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54766 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54767 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54768 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
54769 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54770 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
54771 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
54772 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54773 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54774 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
54775 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
54776 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54777 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54778 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54779 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
54780 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54781 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54782 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54783 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54784 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
54785 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
54786 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54787 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54788 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54789 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
54790 * sysdeps/ieee754/k_standard.c: Likewise.
54791 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54792 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54793 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54794 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54795 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54796 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54797 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54798 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54799 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54800 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54801 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54802 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54803 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54804 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54805 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54806 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54807 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54808 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54809 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54810 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
54811 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
54812 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
54813 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54814 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54815 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54816 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
54817 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54818 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54819 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54820 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54821 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54822 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54823 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54824 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54825 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54826 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54827 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54828 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
54829 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
54830 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54831 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54832 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54833 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54834 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54835 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54836 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54837 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54838 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54839 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54840 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54841 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54842 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54843 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54844 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
54845 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54846 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54847 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
54848 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
54849 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54850 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54851 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54852 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54853 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54854 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54855 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54856 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54857 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54858 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54859 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54860 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54861 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54862 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54863 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54864 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54865 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54866 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54867 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
54868 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54869 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54870 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54871 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54872 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54873 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54874 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54875 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
54876 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54877 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54878 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
54879 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54880 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54881 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
54882 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54883 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
54884 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54885 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54886 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54887 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
54888 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
54889 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
54890 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
54891 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54892 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54893 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54894 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54895 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
54896 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54897 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54898 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
54899 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
54900 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54901 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54902 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54903 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54904 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54905 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54906 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54907 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54908 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54909 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54910 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54911 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54912 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54913 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54914 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54915 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54916 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
54917 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54918 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54919 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54920 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54921 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54922 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54923 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54924 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54925 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54926 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54927 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
54928 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54929 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54930 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
54931 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
54932 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54933 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
54934 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
54935 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54936 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54937 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54938 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54939 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54940 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
54941 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54942 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54943 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54944 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54945 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
54946 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
54947 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54948 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54949 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54950 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54951 * sysdeps/ieee754/s_lib_version.c: Likewise.
54952 * sysdeps/ieee754/s_matherr.c: Likewise.
54953 * sysdeps/ieee754/s_signgam.c: Likewise.
54954 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54955 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54956 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
54957 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
54958 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
54959 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54960 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
54961 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
54962 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
54963 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
54964 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54965 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
54966 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54967 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54968 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
54969 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54970 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54971 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54972 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54973 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54974 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54976 2012-03-09 Joseph Myers <joseph@codesourcery.com>
54978 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
54979 * sunrpc/rpc_main.c: Likewise.
54980 * sunrpc/rpc_svcout.c: Likewise.
54982 2012-03-09 David S. Miller <davem@davemloft.net>
54984 * include/math_private.h: New file.
54986 2012-03-09 Joseph Myers <joseph@codesourcery.com>
54988 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
54989 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
54990 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
54991 from <bits/socket_type.h>.
54992 (enum __socket_type): Don't define here.
54993 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
54994 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54995 bits/socket_type.h.
54998 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
54999 checking __USE_GNU.
55001 * Makerules ($(inst_includedir)/%.h): New rule.
55002 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
55003 (install-others): Remove variable setting.
55004 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
55006 2012-03-08 Richard Henderson <rth@twiddle.net>
55008 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
55009 from macro to inline function; merge with the
55010 !__LIBC_INTERNAL_MATH_INLINES version.
55011 (__ieee754_sqrtf): Likewise.
55013 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
55014 to inline function.
55015 (__rintf, __floor, __floorf): Likewise.
55017 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
55018 macro to inline function.
55019 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
55021 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
55022 not <math/math_private.h>.
55024 2012-03-08 David S. Miller <davem@davemloft.net>
55026 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
55028 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
55030 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
55032 * resolv/gai_misc.c (handle_requests): Fix struct timespec
55034 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
55035 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
55037 2012-03-08 Ulrich Drepper <drepper@gmail.com>
55039 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
55040 be defined individually, they must be defined as a block. Define
55041 S for printing a string instead of hidint the different by using a
55042 macro for adding the 'l'.
55043 * stdio-common/tst-fphex-wide.c: Adjust.
55045 2012-03-07 Marek Polacek <polacek@redhat.com>
55047 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
55049 2012-03-08 Marek Polacek <polacek@redhat.com>
55052 * stdio-common/Makefile (tests): Add tst-fphex-wide.
55053 * stdio-common/tst-fphex.c: Define a few macros to make the
55054 test reusable. Use them.
55055 * stdio-common/tst-fphex-wide.c: New file.
55057 2012-03-08 Joseph Myers <joseph@codesourcery.com>
55060 * manual/macros.texi (gnusystems): New macro.
55061 (nongnusystems): Likewise.
55062 (gnulinuxhurdsystems): Likewise.
55063 (gnuhurdsystems): Likewise..
55064 (gnulinuxsystems): Likewise.
55065 * manual/charset.texi: Use new macros or @theglibc{} to refer to
55066 variants of the GNU system, not "GNU system".
55067 * manual/conf.texi: Likewise.
55068 * manual/errno.texi: Likewise. Update example of errno macro
55070 * manual/filesys.texi: Likewise.
55071 (getumask): Document as specific to GNU/Hurd.
55072 * manual/install.texi: Likewise. Reword some references to
55074 * manual/intro.texi: Likewise.
55075 * manual/io.texi: Likewise.
55076 (File Name Portability): Detail which constraints are inapplicable
55077 to all GNU systems and which are only inapplicable to GNU/Hurd.
55078 * manual/job.texi: Likewise.
55079 * manual/llio.texi: Likewise.
55080 (O_NOCTTY): Document as present on GNU/Linux.
55081 * manual/maint.texi: Likewise.
55082 * manual/memory.texi: Likewise.
55083 * manual/pattern.texi: Likewise.
55084 * manual/pipe.texi: Likewise.
55085 * manual/process.texi: Likewise.
55086 * manual/resource.texi: Likewise.
55087 (RUSAGE_CHILDREN): Remove statement about specifying a particular
55089 * manual/setjmp.texi: Likewise.
55090 * manual/signal.texi: Likewise.
55091 * manual/startup.texi: Likewise.
55092 * manual/stdio.texi: Likewise.
55093 * manual/terminal.texi: Likewise.
55094 (ONLCR): Document as POSIX.
55095 (OXTABS): Document availability on GNU/Linux as XTABS.
55096 (ONOEOT): Document availability separately from other bits.
55097 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
55098 * manual/time.texi: Likewise.
55099 * manual/users.texi: Likewise.
55100 * INSTALL: Regenerated.
55101 * sysdeps/gnu/errlist.c: Regenerated.
55103 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
55104 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
55105 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
55107 * configure: Regenerated.
55109 2012-03-07 Joseph Myers <joseph@codesourcery.com>
55111 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
55112 default includes instead of AC_HEADER_CHECK.
55113 * sysdeps/i386/configure: Regenerated.
55116 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
55117 * math/s_cacoshf.c (__cacoshf): Likewise.
55118 * math/s_cacoshl.c (__cacoshl): Likewise.
55119 * math/s_casinh.c (__casinh): Set signs of result from argument.
55120 * math/s_casinhf.c (__casinhf): Likewise.
55121 * math/s_casinhl.c (__casinhl): Likewise.
55122 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
55123 (casinh_test): Add more tests.
55124 * sysdeps/i386/fpu/libm-test-ulps: Update.
55125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55127 2012-03-07 Ulrich Drepper <drepper@gmail.com>
55129 * po/zh_TW.po: Update from translation team.
55131 * login/Makefile (distribute): Remove variable.
55132 * catgets/Makefile: Likewise.
55133 * mach/Makefile: Likewise.
55134 * malloc/Makefile: Likewise.
55135 * misc/Makefile: Likewise.
55136 * iconv/Makefile: Likewise.
55137 * nscd/Makefile: Likewise.
55138 * hurd/Makefile: Likewise.
55139 * manual/Makefile: Likewise.
55140 * locale/Makefile: Likewise.
55141 * intl/Makefile: Likewise.
55142 * conform/Makefile: Likewise.
55143 * nss/Makefile: Likewise.
55144 * time/Makefile: Likewise.
55145 * soft-fp/Makefile: Likewise.
55146 * dirent/Makefile: Likewise.
55147 * gmon/Makefile: Likewise.
55148 * po/Makefile: Likewise.
55149 * rt/Makefile: Likewise.
55150 * socket/Makefile: Likewise.
55151 * math/Makefile: Likewise.
55152 * signal/Makefile: Likewise.
55153 * debug/Makefile: Likewise.
55154 * elf/Makefile: Likewise.
55155 * timezone/Makefile: Likewise.
55156 * stdlib/Makefile: Likewise.
55157 * iconvdata/Makefile: Likewise.
55158 * sunrpc/Makefile: Likewise.
55159 * io/Makefile: Likewise.
55160 * argp/Makefile: Likewise.
55161 * inet/Makefile: Likewise.
55162 * hesiod/Makefile: Likewise.
55163 * grp/Makefile: Likewise.
55164 * csu/Makefile: Likewise.
55165 * wctype/Makefile: Likewise.
55166 * crypt/Makefile: Likewise.
55167 * libio/Makefile: Likewise.
55168 * string/Makefile: Likewise.
55169 * nis/Makefile: Likewise.
55170 * resolv/Makefile: Likewise.
55171 * stdio-common/Makefile: Likewise.
55172 * wcsmbs/Makefile: Likewise.
55173 * dlfcn/Makefile: Likewise.
55174 * posix/Makefile: Likewise.
55177 * timezone/Makefile: Don't install timezone files, just the programs
55180 2012-03-06 Ulrich Drepper <drepper@gmail.com>
55182 * nss/databases.def: Add missing gshadow entry.
55184 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
55186 2012-03-06 Marek Polacek <polacek@redhat.com>
55189 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
55190 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55191 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
55192 * stdio-common/tst-long-dbl-fphex.c: New file.
55194 2012-03-06 David S. Miller <davem@davemloft.net>
55196 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55197 (set_obp_int): New function.
55198 (get_obp_int): New function.
55199 (__get_clockfreq_via_dev_openprom): Likewise.
55200 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
55201 Avoid unused variable warnings on 'val' and use builtin_expect.
55202 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
55204 (INLINE_CLONE_SYSCALL): Likewise.
55206 2012-03-05 David S. Miller <davem@davemloft.net>
55208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55210 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
55212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55214 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
55215 only for |x| >= 40.
55216 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55218 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
55220 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
55221 Replace gettimeofday with __vdso_gettimeofday.
55223 * sysdeps/unix/sysv/linux/x86_64/init-first.c
55224 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
55225 __vdso_clock_gettime and __vdso_getcpu.
55227 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
55228 time with __vdso_time.
55230 2012-03-05 Joseph Myers <joseph@codesourcery.com>
55232 * manual/lang.texi (size_t): Note types to which size_t may be
55233 equivalent with the GNU C Library, but do not describe when
55234 differences between them are significant.
55236 2012-03-05 Andreas Jaeger <aj@suse.de>
55238 * sysdeps/i386/fpu/libm-test-ulps: Update.
55240 2012-03-05 Joseph Myers <joseph@codesourcery.com>
55243 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
55244 (__ieee754_pow): Save and restore rounding mode and use
55245 round-to-nearest for main computations.
55246 * math/libm-test.inc (pow_test_tonearest): New function.
55247 (pow_test_towardzero): Likewise.
55248 (pow_test_downward): Likewise.
55249 (pow_test_upward): Likewise.
55250 (main): Call the new functions.
55251 * sysdeps/i386/fpu/libm-test-ulps: Update.
55252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55255 * math/libm-test.inc (cosh_test_tonearest): New function.
55256 (cosh_test_towardzero): Likewise.
55257 (cosh_test_downward): Likewise.
55258 (cosh_test_upward): Likewise.
55259 (sinh_test_tonearest): Likewise.
55260 (sinh_test_towardzero): Likewise.
55261 (sinh_test_downward): Likewise.
55262 (sinh_test_upward): Likewise.
55263 (main): Call the new functions.
55264 * sysdeps/i386/fpu/libm-test-ulps: Update.
55265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55267 2012-03-05 Tom de Vries <tom@codesourcery.com>
55269 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
55270 default stack guard is set in last bytes.
55271 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
55273 2012-03-05 Kees Cook <keescook@chromium.org>
55275 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
55278 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
55279 possibly allocate from heap instead of stack.
55280 * stdio-common/bug-vfprintf-nargs.c: New file.
55281 * stdio-common/Makefile (tests): Add nargs overflow test.
55283 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
55285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55287 2012-03-03 Marek Polacek <polacek@redhat.com>
55289 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
55290 * math/math_private.h: Likewise.
55291 * stdlib/tst-strtod.c: Likewise.
55292 * sysdeps/i386/i486/bits/atomic.h: Likewise.
55293 * sysdeps/x86_64/bits/atomic.h: Likewise.
55295 2012-03-02 David S. Miller <davem@davemloft.net>
55297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
55298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
55299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
55300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
55301 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
55302 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
55303 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
55304 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
55306 2012-03-02 Roland McGrath <roland@hack.frob.com>
55309 * manual/examples/README: New file, says the example source files
55310 can be used under GPL>=2.
55311 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
55312 line containing just "*/".
55313 * manual/examples/add.c: Add copyright header (GPL>=2).
55314 * manual/examples/argp-ex1.c: Likewise.
55315 * manual/examples/argp-ex2.c: Likewise.
55316 * manual/examples/argp-ex3.c: Likewise.
55317 * manual/examples/argp-ex4.c: Likewise.
55318 * manual/examples/atexit.c: Likewise.
55319 * manual/examples/db.c: Likewise.
55320 * manual/examples/dir.c: Likewise.
55321 * manual/examples/dir2.c: Likewise.
55322 * manual/examples/execinfo.c: Likewise.
55323 * manual/examples/filecli.c: Likewise.
55324 * manual/examples/filesrv.c: Likewise.
55325 * manual/examples/fmtmsgexpl.c: Likewise.
55326 * manual/examples/genpass.c: Likewise.
55327 * manual/examples/inetcli.c: Likewise.
55328 * manual/examples/inetsrv.c: Likewise.
55329 * manual/examples/isockad.c: Likewise.
55330 * manual/examples/longopt.c: Likewise.
55331 * manual/examples/memopen.c: Likewise.
55332 * manual/examples/memstrm.c: Likewise.
55333 * manual/examples/mkfsock.c: Likewise.
55334 * manual/examples/mkisock.c: Likewise.
55335 * manual/examples/mygetpass.c: Likewise.
55336 * manual/examples/pipe.c: Likewise.
55337 * manual/examples/popen.c: Likewise.
55338 * manual/examples/rprintf.c: Likewise.
55339 * manual/examples/search.c: Likewise.
55340 * manual/examples/select.c: Likewise.
55341 * manual/examples/setjmp.c: Likewise.
55342 * manual/examples/sigh1.c: Likewise.
55343 * manual/examples/sigusr.c: Likewise.
55344 * manual/examples/stpcpy.c: Likewise.
55345 * manual/examples/strdupa.c: Likewise.
55346 * manual/examples/strftim.c: Likewise.
55347 * manual/examples/strncat.c: Likewise.
55348 * manual/examples/subopt.c: Likewise.
55349 * manual/examples/swapcontext.c: Likewise.
55350 * manual/examples/termios.c: Likewise.
55351 * manual/examples/testopt.c: Likewise.
55352 * manual/examples/testpass.c: Likewise.
55353 * manual/examples/timeval_subtract.c: Likewise.
55356 * manual/time.texi (Elapsed Time): Move timeval_subtract example
55358 * manual/timeval_subtract.c.texi: ... here, new file.
55360 2012-03-02 David S. Miller <davem@davemloft.net>
55362 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
55364 2012-03-02 Joseph Myers <joseph@codesourcery.com>
55367 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
55368 (__sin): Save and restore rounding mode and use round-to-nearest
55369 for all computations.
55370 (__cos): Save and restore rounding mode and use round-to-nearest
55371 for all computations.
55372 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
55374 (tan): Save and restore rounding mode and use round-to-nearest for
55376 * math/libm-test.inc (cos_test_tonearest): New function.
55377 (cos_test_towardzero): Likewise.
55378 (cos_test_downward): Likewise.
55379 (cos_test_upward): Likewise.
55380 (sin_test_tonearest): Likewise.
55381 (sin_test_towardzero): Likewise.
55382 (sin_test_downward): Likewise.
55383 (sin_test_upward): Likewise.
55384 (tan_test_tonearest): Likewise.
55385 (tan_test_towardzero): Likewise.
55386 (tan_test_downward): Likewise.
55387 (tan_test_upward): Likewise.
55388 (main): Call the new functions.
55389 * sysdeps/i386/fpu/libm-test-ulps: Update.
55390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55393 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
55394 small n, then large n, before computing and testing k+n.
55395 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
55396 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
55398 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
55400 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
55401 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
55402 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
55403 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
55404 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55405 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55406 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
55407 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
55408 * math/libm-test.inc (scalbn_test): Add more tests.
55409 (scalbln_test): Likewise.
55411 * manual/filesys.texi (mode_t): Describe constraints on size and
55412 signedness, not exact equivalence to a particular type.
55414 (ino64_t): Likewise.
55416 (nlink_t): Likewise.
55417 (blkcnt_t): Likewise.
55418 (blkcnt64_t): Likewise.
55419 * manual/llio.texi (off_t): Likewise.
55422 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
55423 (__ieee754_exp): Save and restore rounding mode and use
55424 round-to-nearest for all computations.
55425 * math/libm-test.inc (exp_test_tonearest): New function.
55426 (exp_test_towardzero): Likewise.
55427 (exp_test_downward): Likewise.
55428 (exp_test_upward): Likewise.
55429 (main): Call the new functions.
55430 * sysdeps/i386/fpu/libm-test-ulps: Update.
55431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55433 2012-03-01 Chris Demetriou <cgd@google.com>
55435 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
55436 have predictable order.
55438 2012-03-01 David S. Miller <davem@davemloft.net>
55440 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
55442 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
55443 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
55444 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
55445 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
55447 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
55448 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
55449 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
55450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
55451 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
55452 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
55453 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
55454 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
55455 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
55457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55459 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
55460 * sysdeps/sparc/fpu/libm-test-ulps: to here.
55461 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
55463 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
55464 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55465 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55466 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
55467 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
55468 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
55469 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
55470 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55471 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55472 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
55473 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
55474 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55475 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55476 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55477 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55478 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55479 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
55480 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
55481 * sysdeps/sparc/elf/configure: Regenerated.
55483 2012-03-01 Joseph Myers <joseph@codesourcery.com>
55485 * configure.in (AS, LD): Require binutils 2.20 or later.
55486 * configure: Regenerated.
55487 * manual/install.texi (Tools for Compilation): Give binutils 2.20
55488 as required minimum version.
55489 * INSTALL: Regenerated.
55493 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
55494 before squaring exponent.
55495 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
55496 bottom long double and 27 bits of top long double before squaring
55498 * math/libm-test.inc (erfc_test): Add more tests.
55499 * sysdeps/i386/fpu/libm-test-ulps: Update.
55500 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55503 2012-03-01 Kai Tietz <ktietz@redhat.com>
55505 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
55506 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
55507 containing bit-fields.
55508 * soft-fp/extended.h (_FP_UNION_E): Likewise.
55509 * soft-fp/single.h (_FP_UNION_S): Likewise.
55510 * soft-fp/double.h (_FP_UNION_D): Likewise.
55512 2012-02-29 Joseph Myers <joseph@codesourcery.com>
55515 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
55516 not include ../strcmp.S.
55517 [USE_AS_STRNCASECMP_L]: Likewise.
55518 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
55519 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
55520 * sysdeps/i386/i686/multiarch/strncase_l-c.c
55521 (__strncasecmp_l_ia32): Define as alias to
55522 __strncasecmp_l_nonascii.
55525 * math/libm-test.inc (expm1_test): Add test for bug 5794.
55526 * sysdeps/i386/fpu/libm-test-ulps: Update.
55527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55529 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
55530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55532 2012-02-29 Jeff Law <law@redhat.com>
55534 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
55535 out of bounds read.
55537 2012-02-29 Marek Polacek <polacek@redhat.com>
55540 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
55541 * elf/Makefile: Add rules to run tst-unused-dep.out.
55543 2012-02-28 David S. Miller <davem@davemloft.net>
55545 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
55546 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
55547 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
55548 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
55549 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
55550 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
55552 2012-02-29 Joseph Myers <joseph@codesourcery.com>
55554 * math/libm-test.inc (llround_test): Move one test from
55555 lround_test. Use TEST_f_L in moved test.
55556 (lround_test): Move misplaced test to llround_test. Add testcase
55559 2012-02-28 Ulrich Drepper <drepper@gmail.com>
55561 * sysdeps/x86_64/fpu/e_expf.S: New file.
55562 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
55564 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
55567 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
55568 of remain_len that may cause incomplete multi-byte character and
55570 * posix/bug-regex33.c: New file.
55571 * posix/Makefile (tests): Add bug-regex33.
55573 2012-02-28 Joseph Myers <joseph@codesourcery.com>
55575 * manual/macros.texi: New file.
55576 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
55577 * manual/libc.texinfo: Include macros.texi.
55578 * manual/creatute.texi: Likewise.
55579 * manual/install.texi: Likewise.
55580 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
55581 @glibcadj{} in references to the GNU C Library.
55582 * manual/charset.texi: Likewise.
55583 * manual/conf.texi: Likewise.
55584 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
55585 when not using those macros.
55586 * manual/creature.texi: Likewise.
55587 * manual/crypt.texi: Likewise.
55588 * manual/errno.texi: Likewise.
55589 * manual/filesys.texi: Likewise.
55590 * manual/header.texi: Likewise.
55591 * manual/install.texi: Likewise.
55592 * manual/intro.texi: Likewise.
55593 * manual/io.texi: Likewise.
55594 * manual/job.texi: Likewise.
55595 * manual/lang.texi: Likewise.
55596 * manual/libc.texiinfo: Likewise.
55597 * manual/llio.texi: Likewise.
55598 * manual/locale.texi: Likewise.
55599 * manual/maint.texi: Likewise.
55600 * manual/math.texi: Likewise.
55601 * manual/memory.texi: Likewise.
55602 * manual/message.texi: Likewise.
55603 * manual/nss.texi: Likewise.
55604 * manual/pattern.texi: Likewise.
55605 * manual/process.texi: Likewise.
55606 * manual/resource.texi: Likewise.
55607 * manual/search.texi: Likewise.
55608 * manual/setjmp.texi: Likewise.
55609 * manual/signal.texi: Likewise.
55610 * manual/socket.texi: Likewise.
55611 * manual/startup.texi: Likewise.
55612 * manual/stdio.texi: Likewise.
55613 * manual/string.texi: Likewise.
55614 * manual/sysinfo.texi: Likewise.
55615 * manual/syslog.texi: Likewise.
55616 * manual/terminal.texi: Likewise.
55617 * manual/time.texi: Likewise.
55618 * manual/users.texi: Likewise.
55619 * INSTALL: Regenerated.
55620 * NOTES: Regenerated.
55621 * sysdeps/gnu/errlist.c: Regenerated.
55623 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
55625 * include/dirent.h: Include <dirstream.h> before
55628 2012-02-28 David S. Miller <davem@davemloft.net>
55630 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
55631 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
55632 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
55633 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
55635 2012-02-27 David S. Miller <davem@davemloft.net>
55637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
55638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
55639 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
55640 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
55642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
55643 frame pointer instead of stack pointer relative arg slot.
55644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55645 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55646 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55648 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
55651 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
55653 2012-02-27 David S. Miller <davem@davemloft.net>
55655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
55656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
55659 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55660 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55661 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
55662 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
55664 2012-02-27 Joseph Myers <joseph@codesourcery.com>
55666 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
55667 later. Allow versions 5-9.
55668 * configure: Regenerated.
55669 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
55670 required minimum version and 4.6 as recommended version. Do not
55671 mention bugs in GCC 2.7 and 2.8.
55672 * INSTALL: Regenerated.
55674 2012-02-27 David S. Miller <davem@davemloft.net>
55676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
55677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
55678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
55679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
55680 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
55681 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
55682 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
55683 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
55685 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
55686 manipulate bits before adding and subtracting TWO112[sx].
55687 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55689 2012-02-27 Roland McGrath <roland@hack.frob.com>
55692 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
55693 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
55694 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
55695 being in POSIX, because they are in 1003.1-2008.
55697 * rt/tst-aio.c: Include <fcntl.h>.
55698 * rt/tst-aio7.c: Likewise.
55699 * rt/tst-aio64.c: Likewise.
55701 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
55703 2012-02-27 Joseph Myers <joseph@codesourcery.com>
55705 * manual/install.texi (--with-headers): Describe headers as
55706 interface headers, not private headers.
55707 (Specific advice for GNU/Linux systems): Describe use of headers
55708 from "make headers_install", not private headers from older
55710 * INSTALL: Regenerated.
55711 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
55713 * sysdeps/unix/sysv/linux/configure: Regenerated.
55715 * manual/llio.texi (fclean): Remove documentation.
55717 * manual/Makefile (libc-texi-generated): New variable. Include
55719 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55720 $(libc-texi-generated), not duplicated list of files.
55721 (version.texi, stamp-version): New rules.
55722 (realclean): Remove $(libc-texi-generated), not individual files
55723 from that list. Do not remove dir-add.texinfo.
55724 * manual/libc.texinfo: Comment out uses of edition numbers and
55725 references to printed manual. Remove last-updated dates.
55726 (EDITION): Comment out.
55728 (VERSION, UPDATED): Remove.
55729 (version.texi): Include.
55731 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
55733 * sysdeps/posix/spawni.c: Include <signal.h>.
55734 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
55735 * sysdeps/pthread/aio_fsync.c: Likewise.
55737 2012-02-26 Ulrich Drepper <drepper@gmail.com>
55739 * conform/Makefile (tests): Run only when not cross-compiling and
55740 when fast-check is not defined.
55742 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
55743 * conform/data/limits.h-data: Fixes for POSIX2008.
55744 * conform/run-conformtest.sh: Run all tests.
55745 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
55747 * include/bits/dlfcn.h: Likewise.
55748 * include/langinfo.h: Likewise.
55749 * include/monetary.h: Likewise.
55750 * include/sys/poll.h: Likewise.
55752 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
55754 * posix/spawn.h: Define __need_sigset_t.
55755 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
55756 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
55757 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
55758 to get sigevent_t only.
55759 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
55760 only for __USE_GNU.
55761 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55762 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55763 process_vm_writev only for __USE_GNU.
55764 * termios/termios.h: Declare tcgetsid also for POSIX2008.
55766 * conform/Makefile: For now ignore errors from run-conformtest.
55767 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
55768 POSIX to avoid namespace pollution. Don't prepend headers.
55769 * conform/data/aio.h-data: Fixes for POSIX testing.
55770 * conform/data/fcntl.h-data: Likewise.
55771 * conform/data/glob.h-data: Likewise.
55772 * conform/data/grp.h-data: Likewise.
55773 * conform/data/pthread.h-data: Likewise.
55774 * conform/data/pwd.h-data: Likewise.
55775 * conform/data/signal.h-data: Likewise.
55776 * conform/data/spawn.h-data: Likewise.
55777 * conform/data/stdio.h-data: Likewise.
55778 * conform/data/stdlib.h-data: Likewise.
55779 * conform/data/stropts.h-data: Likewise.
55780 * conform/data/sys/mman.h-data: Likewise.
55781 * conform/data/sys/stat.h-data: Likewise.
55782 * conform/data/sys/types.h-data: Likewise.
55783 * conform/data/sys/wait.h-data: Likewise.
55784 * conform/data/time.h-data: Likewise.
55785 * conform/data/unistd.h-data: Likewise.
55786 * conform/data/utime.h-data: Likewise.
55788 * io/sys/stat.h: fchmod was always in POSIX.
55789 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
55790 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
55791 * rt/aio.h: Define __need_timespec before including <time.h>.
55792 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
55793 struct. Add forward declaration of pthread_attr_t and use it in
55795 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55796 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55797 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
55798 always remove CLK_TCK definition.
55800 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
55802 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
55804 2012-02-25 Ulrich Drepper <drepper@gmail.com>
55806 * conform/run-conformtest.sh: New file.
55807 * conform/Makefile: Run run-conformtest for tests.
55808 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
55811 * conform/data/uchar.h-data: New file.
55812 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
55813 * conform/data/arpa/inet.h-data: Likewise.
55814 * conform/data/assert.h-data: Likewise.
55815 * conform/data/complex.h-data: Likewise.
55816 * conform/data/cpio.h-data: Likewise.
55817 * conform/data/ctype.h-data: Likewise.
55818 * conform/data/dirent.h-data: Likewise.
55819 * conform/data/dlfcn.h-data: Likewise.
55820 * conform/data/errno.h-data: Likewise.
55821 * conform/data/fcntl.h-data: Likewise.
55822 * conform/data/float.h-data: Likewise.
55823 * conform/data/fmtmsg.h-data: Likewise.
55824 * conform/data/fnmatch.h-data: Likewise.
55825 * conform/data/ftw.h-data: Likewise.
55826 * conform/data/glob.h-data: Likewise.
55827 * conform/data/grp.h-data: Likewise.
55828 * conform/data/iconv.h-data: Likewise.
55829 * conform/data/inttypes.h-data: Likewise.
55830 * conform/data/langinfo.h-data: Likewise.
55831 * conform/data/libgen.h-data: Likewise.
55832 * conform/data/limits.h-data: Likewise.
55833 * conform/data/locale.h-data: Likewise.
55834 * conform/data/math.h-data: Likewise.
55835 * conform/data/monetary.h-data: Likewise.
55836 * conform/data/mqueue.h-data: Likewise.
55837 * conform/data/ndbm.h-data: Likewise.
55838 * conform/data/net/if.h-data: Likewise.
55839 * conform/data/netdb.h-data: Likewise.
55840 * conform/data/netinet/in.h-data: Likewise.
55841 * conform/data/nl_types.h-data: Likewise.
55842 * conform/data/poll.h-data: Likewise.
55843 * conform/data/pthread.h-data: Likewise.
55844 * conform/data/pwd.h-data: Likewise.
55845 * conform/data/regex.h-data: Likewise.
55846 * conform/data/sched.h-data: Likewise.
55847 * conform/data/search.h-data: Likewise.
55848 * conform/data/semaphore.h-data: Likewise.
55849 * conform/data/setjmp.h-data: Likewise.
55850 * conform/data/signal.h-data: Likewise.
55851 * conform/data/spawn.h-data: Likewise.
55852 * conform/data/stdarg.h-data: Likewise.
55853 * conform/data/stdio.h-data: Likewise.
55854 * conform/data/stdlib.h-data: Likewise.
55855 * conform/data/string.h-data: Likewise.
55856 * conform/data/strings.h-data: Likewise.
55857 * conform/data/stropts.h-data: Likewise.
55858 * conform/data/sys/ipc.h-data: Likewise.
55859 * conform/data/sys/mman.h-data: Likewise.
55860 * conform/data/sys/msg.h-data: Likewise.
55861 * conform/data/sys/resource.h-data: Likewise.
55862 * conform/data/sys/select.h-data: Likewise.
55863 * conform/data/sys/sem.h-data: Likewise.
55864 * conform/data/sys/shm.h-data: Likewise.
55865 * conform/data/sys/socket.h-data: Likewise.
55866 * conform/data/sys/stat.h-data: Likewise.
55867 * conform/data/sys/statvfs.h-data: Likewise.
55868 * conform/data/sys/time.h-data: Likewise.
55869 * conform/data/sys/timeb.h-data: Likewise.
55870 * conform/data/sys/times.h-data: Likewise.
55871 * conform/data/sys/types.h-data: Likewise.
55872 * conform/data/sys/uio.h-data: Likewise.
55873 * conform/data/sys/un.h-data: Likewise.
55874 * conform/data/sys/utsname.h-data: Likewise.
55875 * conform/data/sys/wait.h-data: Likewise.
55876 * conform/data/syslog.h-data: Likewise.
55877 * conform/data/tar.h-data: Likewise.
55878 * conform/data/termios.h-data: Likewise.
55879 * conform/data/utime.h-data: Likewise.
55880 * conform/data/utmpx.h-data: Likewise.
55881 * conform/data/varargs.h-data: Likewise.
55882 * conform/data/wchar.h-data: Likewise.
55883 * conform/data/wctype.h-data: Likewise.
55884 * conform/data/wordexp.h-data: Likewise.
55886 * include/stropts.h: New file.
55887 * include/uchar.h: New file.
55888 * include/aio.h: Changes to allow conformtest.pl to use the headers.
55889 * include/assert.h: Likewise.
55890 * include/ctype.h: Likewise.
55891 * include/dirent.h: Likewise.
55892 * include/dlfcn.h: Likewise.
55893 * include/fcntl.h: Likewise.
55894 * include/fnmatch.h: Likewise.
55895 * include/glob.h: Likewise.
55896 * include/grp.h: Likewise.
55897 * include/libio.h: Likewise.
55898 * include/locale.h: Likewise.
55899 * include/math.h: Likewise.
55900 * include/net/if.h: Likewise.
55901 * include/netdb.h: Likewise.
55902 * include/netinet/in.h: Likewise.
55903 * include/pthread.h: Likewise.
55904 * include/pwd.h: Likewise.
55905 * include/regex.h: Likewise.
55906 * include/sched.h: Likewise.
55907 * include/search.h: Likewise.
55908 * include/setjmp.h: Likewise.
55909 * include/signal.h: Likewise.
55910 * include/stdio.h: Likewise.
55911 * include/stdlib.h: Likewise.
55912 * include/string.h: Likewise.
55913 * include/sys/cdefs.h: Likewise.
55914 * include/sys/mman.h: Likewise.
55915 * include/sys/msg.h: Likewise.
55916 * include/sys/resource.h: Likewise.
55917 * include/sys/select.h: Likewise.
55918 * include/sys/socket.h: Likewise.
55919 * include/sys/stat.h: Likewise.
55920 * include/sys/statvfs.h: Likewise.
55921 * include/sys/time.h: Likewise.
55922 * include/sys/times.h: Likewise.
55923 * include/sys/uio.h: Likewise.
55924 * include/sys/utsname.h: Likewise.
55925 * include/sys/wait.h: Likewise.
55926 * include/termios.h: Likewise.
55927 * include/time.h: Likewise.
55928 * include/ulimit.h: Likewise.
55929 * include/unistd.h: Likewise.
55930 * include/utime.h: Likewise.
55931 * include/wchar.h: Likewise.
55932 * include/wctype.h: Likewise.
55933 * include/wordexp.h: Likewise.
55935 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
55937 * time/time.h: TIME_UTC must be a macro.
55938 Make timespec_get available for ISO C11 only as well.
55940 2012-02-24 Ulrich Drepper <drepper@gmail.com>
55942 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
55943 Reported by Peng Haitao <penght@cn.fujitsu.com>.
55945 2012-02-24 Joseph Myers <joseph@codesourcery.com>
55947 * configure.in: Use -o not -a in test for unsupported multi-arch.
55949 2012-02-24 Joseph Myers <joseph@codesourcery.com>
55951 * manual/texinfo.tex: Update to version 2012-01-19.16.
55953 2012-02-24 Joseph Myers <joseph@codesourcery.com>
55955 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
55957 2012-02-24 Roland McGrath <roland@hack.frob.com>
55960 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
55961 * manual/fdl-1.3.texi: New file.
55962 * manual/fdl-1.1.texi: File removed.
55965 * manual/libc.texinfo (FDL_VERSION): New @set.
55966 Use it for mention of FDL in cover text.
55967 (Documentation License): Use it in @include file name.
55969 2012-02-22 Joseph Myers <joseph@codesourcery.com>
55970 Roland McGrath <roland@hack.frob.com>
55973 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
55974 (not LONG_LONG_MAX and LONG_LONG_MIN.
55975 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
55976 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
55978 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
55980 2012-02-22 Joseph Myers <joseph@codesourcery.com>
55984 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
55985 manipulate bits before adding and subtracting TWO23[sx].
55986 * math/libm-test.inc (nearbyint_test): Add more tests.
55988 2012-02-22 Joseph Myers <joseph@codesourcery.com>
55991 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
55992 bits before adding and subtracting TWO23[sx].
55993 * math/libm-test.inc (rint_test): Add more tests.
55994 (rint_test_tonearest): Likewise.
55995 (rint_test_towardzero): Likewise.
55996 (rint_test_downward): Likewise.
55997 (rint_test_upward: Likewise.
55999 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56002 * include/stdc-predef.h: New file. Extracted from features.h.
56003 * include/features.h: Include stdc-predef.h.
56004 * Makefile (headers): Add stdc-predef.h.
56005 * CONFORMANCE (Compiler limitations): Update.
56007 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56009 * manual/libc.texinfo (VERSION, UPDATED): Revert.
56011 2012-02-21 David S. Miller <davem@davemloft.net>
56013 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
56014 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56016 2012-02-20 David S. Miller <davem@davemloft.net>
56018 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
56019 using a normal save/restore sequence, rather than allocating a
56020 dummy stack frame just to store a frame pointer and restore.
56021 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56023 2012-02-21 Joseph Myers <joseph@codesourcery.com>
56025 * manual/install.texi: Fix stray word in line-wrapped comment.
56027 2012-02-20 David S. Miller <davem@davemloft.net>
56029 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
56030 both binutils and gcc support GOTDATA.
56032 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
56033 "rd %pc" in the PIC register setup sequences.
56035 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
56036 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
56037 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56038 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
56039 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56040 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
56041 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56042 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56043 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
56044 (SYSCALL_ERROR_HANDLER): Likewise.
56045 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56046 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56047 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
56048 (SYSCALL_ERROR_HANDLER): Likewise.
56050 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
56051 (HAVE_GCC_GOTDATA): New.
56052 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
56053 relocation support in both binutils and gcc.
56054 * sysdeps/sparc/elf/configure: Regenerate.
56056 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
56057 * sysdeps/sparc/sparc32/elf/configure: Delete.
56058 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
56059 * sysdeps/sparc/sparc64/elf/configure: Delete.
56060 * sysdeps/sparc/elf/configure.in: New file.
56061 * sysdeps/sparc/elf/configure: Generate.
56063 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
56064 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
56065 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56066 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
56067 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
56069 2012-02-21 Joseph Myers <joseph@codesourcery.com>
56071 * manual/install.texi: Do not mention specific glibc version
56073 * manual/libc.texinfo (VERSION, UPDATED): Update.
56074 (@copying): Use @copyright{} and range of years.
56076 2012-02-21 Joseph Myers <joseph@codesourcery.com>
56079 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
56080 [crti.S not in sysdirs] (generated): Do not append.
56081 [crti.S not in sysdirs] (omit-deps): Likewise.
56082 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
56083 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
56084 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
56085 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
56086 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
56088 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
56089 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
56090 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
56091 * csu/defs.awk: Remove file.
56092 * sysdeps/generic/initfini.c: Likewise.
56093 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
56095 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
56098 2012-02-20 Joseph Myers <joseph@codesourcery.com>
56100 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
56101 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
56102 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
56103 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
56104 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56105 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
56107 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
56108 (__EPOLL_PACKED): Define to empty if not defined by
56110 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
56111 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56114 2012-02-20 Joseph Myers <joseph@codesourcery.com>
56116 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
56117 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
56118 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
56119 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
56121 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
56122 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56125 2012-02-20 Joseph Myers <joseph@codesourcery.com>
56127 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
56129 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56130 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56131 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
56132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56134 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
56136 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56137 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56139 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
56141 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
56142 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
56144 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
56146 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
56149 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
56151 * math/w_acos.c: Use non-signaling floating-point comparisons.
56152 * math/w_acosf.c: Likewise.
56153 * math/w_acosh.c: Likewise.
56154 * math/w_acoshf.c: Likewise.
56155 * math/w_acoshl.c: Likewise.
56156 * math/w_acosl.c: Likewise.
56157 * math/w_asin.c: Likewise.
56158 * math/w_asinf.c: Likewise.
56159 * math/w_asinl.c: Likewise.
56160 * math/w_atanh.c: Likewise.
56161 * math/w_atanhf.c: Likewise.
56162 * math/w_atanhl.c: Likewise.
56163 * math/w_exp2.c: Likewise.
56164 * math/w_exp2f.c: Likewise.
56165 * math/w_exp2l.c: Likewise.
56166 * math/w_j0.c: Likewise.
56167 * math/w_j0f.c: Likewise.
56168 * math/w_j0l.c: Likewise.
56169 * math/w_j1.c: Likewise.
56170 * math/w_j1f.c: Likewise.
56171 * math/w_j1l.c: Likewise.
56172 * math/w_jn.c: Likewise.
56173 * math/w_jnf.c: Likewise.
56174 * math/w_log.c: Likewise.
56175 * math/w_log10.c: Likewise.
56176 * math/w_log10f.c: Likewise.
56177 * math/w_log10l.c: Likewise.
56178 * math/w_log2.c: Likewise.
56179 * math/w_log2f.c: Likewise.
56180 * math/w_log2l.c: Likewise.
56181 * math/w_logf.c: Likewise.
56182 * math/w_logl.c: Likewise.
56183 * math/w_sqrt.c: Likewise.
56184 * math/w_sqrtf.c: Likewise.
56185 * math/w_sqrtl.c: Likewise.
56186 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56187 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
56188 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56189 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56190 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56192 2012-02-19 Joseph Myers <joseph@codesourcery.com>
56195 * manual/string.texi (strnlen): Use correct parameter name in
56196 equivalent expression.
56198 2012-02-19 Joseph Myers <joseph@codesourcery.com>
56201 * manual/users.texi (seteuid): Consistently use neweuid for
56204 2012-02-19 Joseph Myers <joseph@codesourcery.com>
56207 * manual/nss.texi (Services in the NSS configuration): Correct
56208 list of services in example configuration file.
56210 2012-02-19 Nick Bowler <nbowler@draconx.ca>
56213 * manual/arith.texi: Remove statements about negative zero
56214 behaving identically to zero.
56216 2012-02-18 Joseph Myers <joseph@codesourcery.com>
56219 * manual/install.texi: Do not document upgrading from libc5.
56221 2012-02-18 Joseph Myers <joseph@codesourcery.com>
56224 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
56226 2012-02-18 David S. Miller <davem@davemloft.net>
56228 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
56229 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
56230 %o7 across the call.
56231 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
56233 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
56234 SETUP_PIC_REG_LEAF.
56235 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56236 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
56237 * sysdeps/sparc/crtn.S: Likewise.
56239 2012-02-17 Ulrich Drepper <drepper@gmail.com>
56241 * aout/Makefile: Remove.
56243 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
56246 * manual/examples/argp-ex1.c (main): Format definition in GNU
56248 * manual/examples/argp-ex2.c (main): Likewise.
56249 * manual/examples/argp-ex3.c (main): Likewise.
56250 * manual/examples/argp-ex4.c (main): Likewise.
56251 * manual/examples/longopt.c (main): Use new-style prototype
56253 * manual/examples/strncat.c (main): Specify return type and use
56254 (void) for arguments.
56255 * manual/examples/subopt.c (main): Use char **argv argument.
56257 2012-02-17 Joseph Myers <joseph@codesourcery.com>
56260 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
56263 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
56266 * manual/string.texi (strchr): Change when strchrnul is
56269 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
56272 * manual/locale.texi (setlocale): Document LOCPATH.
56274 2012-02-17 Joseph Myers <joseph@codesourcery.com>
56277 * manual/process.texi (execle): Move @dots{} before last argument.
56279 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
56282 * manual/charset.texi (Generic Charset Conversion): Fix typo
56283 (LC_TYPE -> LC_CTYPE).
56285 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
56288 * manual/arith.texi (scalbn): Use @var{} on parameter names.
56289 (scalbnf): Likewise.
56290 (scalbnl): Likewise.
56291 (scalbln): Likewise.
56292 (scalblnf): Likewise.
56293 (scalblnl): Likewise.
56294 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
56295 (vwarnx): Likewise.
56298 * manual/filesys.texi (telldir): Use braces around return type.
56299 * manual/llio.texi (mmap): Add space after comma.
56300 (mmap64): Likewise.
56301 * manual/math.texi (jn): Use @var{} on parameter names.
56307 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
56309 * manual/resource.texi (ulimit): Use @dots{} instead of literal
56311 (sched_get_priority_min): Remove semicolon on @deftypefun line.
56312 (sched_get_priority_max): Likewise.
56313 * manual/signal.texi (sigvec): Add space after comma.
56314 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
56316 (if_indextoname): Likewise.
56317 (if_freenameindex): Likewise.
56318 (sendto): Use ',' instead of '.' in prototype.
56319 * manual/startup.texi (syscall): Use @dots{} instead of literal
56321 * manual/stdio.texi (__fpending): Separate initial words of
56322 paragraph from @deftypefun line.
56323 * manual/syslog.texi (syslog): Use @dots{} instead of literal
56325 (vsyslog): Use @var{} on parameter names.
56326 * manual/terminal.texi (stty): Use @var{} on parameter names.
56327 * manual/users.texi (getutmp): Use @var{} on parameter names.
56328 (getutmpx): Likewise.
56330 2012-02-17 Joseph Myers <joseph@codesourcery.com>
56333 * manual/stdio.texi (fopen): Fix typos in description of
56336 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
56339 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
56340 get clock_id definition.
56342 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
56345 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
56346 (madvise): Cast every argument to void on its own.
56348 2012-02-17 Joseph Myers <joseph@codesourcery.com>
56351 * manual/startup.texi (Exit Status): Fix typo.
56353 2012-02-17 Joseph Myers <joseph@codesourcery.com>
56356 * manual/examples/argp-ex1.c: Include <stdlib.h>.
56357 * manual/examples/argp-ex2.c: Likewise.
56358 * manual/examples/argp-ex3.c: Likewise.
56360 2012-02-16 Richard Henderson <rth@redhat.com>
56362 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
56363 * sysdeps/s390/s390-32/initfini.c: Remove.
56364 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
56365 * sysdeps/s390/s390-64/initfini.c: Remove.
56367 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
56369 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
56370 compiler output for sysdeps/generic/initfini.c.
56371 * sysdeps/sh/elf/initfini.c: Remove file.
56373 2012-02-16 David S. Miller <davem@davemloft.net>
56376 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
56378 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
56379 * sysdeps/sparc/crti.S: New file.
56380 * sysdeps/sparc/crtn.S: New file.
56381 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
56382 * sysdeps/sparc/sparc64/Makefile: Likewise.
56384 2012-02-15 Mike Frysinger <vapier@gentoo.org>
56387 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
56389 2012-02-15 Roland McGrath <roland@hack.frob.com>
56392 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
56394 * mach/devstream.c (cookie_io_functions_t): Macro removed.
56395 (write, read, close): Likewise.
56396 Patch by Aurelien Jarno <aurelien@aurel32.net>.
56398 2012-02-15 Joseph Myers <joseph@codesourcery.com>
56400 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
56401 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
56402 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
56403 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
56405 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
56406 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56409 2012-02-14 Marek Polacek <polacek@redhat.com>
56411 * sysdeps/x86_64/crti.S: New file.
56412 * sysdeps/x86_64/crtn.S: New file.
56413 * sysdeps/x86_64/elf/initfini.c: Remove file.
56415 2012-02-13 Joseph Myers <joseph@codesourcery.com>
56417 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
56418 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
56419 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
56420 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
56422 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
56423 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56426 2012-02-13 Joseph Myers <joseph@codesourcery.com>
56428 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
56429 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
56430 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
56431 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
56433 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
56434 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56437 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
56439 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
56440 __feraiseexcept instead of feraiseexcept.
56442 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
56443 nanosleep invocations.
56444 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
56445 strings, and add error checking for a nanosleep invocations.
56447 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
56449 Replace FSF snail mail address with URLs, as per GNU coding standards.
56450 Most of the snail mail addresses were wrong anyway, and omitting
56451 them makes the source code easier to maintain. Almost all of the
56452 changes are to license notices and to locale LC_IDENTIFICATION
56453 addresses, except for this one:
56454 * manual/libc.texinfo: In "Published by", give the FSF's URL,
56455 not its snail mail address.
56457 2012-02-09 Richard Henderson <rth@twiddle.net>
56459 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
56460 of kernel-features.h.
56462 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
56464 2012-02-08 Marek Polacek <polacek@redhat.com>
56466 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
56467 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
56468 * sysdeps/gnu/_G_config.h: Likewise.
56469 * sysdeps/generic/_G_config.h: Likewise.
56471 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
56473 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
56475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56477 * sysdeps/powerpc/powerpc32/crti.S: New file.
56478 * sysdeps/powerpc/powerpc32/crtn.S: New file.
56479 * sysdeps/powerpc/powerpc64/crti.S: New file.
56480 * sysdeps/powerpc/powerpc64/crtn.S: New file.
56482 * Makeconfig (have-initfini): Don't set.
56483 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
56484 * configure.in (nopic_initfini): Don't substitute.
56485 * config.h.in (HAVE_INITFINI): Don't #undef.
56486 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
56487 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
56489 2012-02-08 Joseph Myers <joseph@codesourcery.com>
56491 Support crti.S and crtn.S provided directly by architectures.
56492 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
56493 [crti.S in sysdirs] (omit-deps): Likewise.
56494 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
56495 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
56496 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
56497 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
56498 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
56499 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
56500 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
56501 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
56502 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
56503 compiler output for sysdeps/generic/initfini.c.
56504 * sysdeps/i386/elf/Makefile: Remove file.
56505 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
56507 2012-02-07 Marek Polacek <polacek@redhat.com>
56509 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
56510 * sysdeps/gnu/_G_config.h: Likewise.
56511 * sysdeps/mach/hurd/_G_config.h: Likewise.
56513 2012-02-07 Marek Polacek <polacek@redhat.com>
56515 * math/Makefile (tests): Add tst-CMPLX2.
56516 * math/tst-CMPLX2.c: New file.
56518 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
56520 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56522 * math/libm-test.inc (jn_test): Add missing L suffix.
56524 2012-02-06 Marek Polacek <polacek@redhat.com>
56526 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
56527 * sysdeps/i386/fpu/e_powf.S: Likewise.
56528 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56529 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56530 * sysdeps/i386/fpu/e_acosh.S: Likewise.
56531 * sysdeps/i386/fpu/e_pow.S: Likewise.
56532 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56533 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56534 * sysdeps/i386/fpu/s_expm1.S: Likewise.
56535 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56536 * sysdeps/i386/fpu/e_log2.S: Likewise.
56537 * sysdeps/i386/fpu/e_log2l.S: Likewise.
56538 * sysdeps/i386/fpu/e_scalb.S: Likewise.
56539 * sysdeps/i386/fpu/e_powl.S: Likewise.
56540 * sysdeps/i386/fpu/s_log1p.S: Likewise.
56541 * sysdeps/i386/fpu/e_log10f.S: Likewise.
56542 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56543 * sysdeps/i386/fpu/e_logl.S: Likewise.
56544 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56545 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
56546 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56547 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56548 * sysdeps/i386/fpu/e_log2f.S: Likewise.
56549 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56550 * sysdeps/i386/fpu/e_log.S: Likewise.
56551 * sysdeps/i386/fpu/s_cexp.S: Likewise.
56552 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56553 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
56554 * sysdeps/i386/fpu/e_logf.S: Likewise.
56555 * sysdeps/i386/fpu/e_log10l.S: Likewise.
56556 * sysdeps/i386/fpu/e_atanh.S: Likewise.
56557 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
56558 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56559 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56560 * sysdeps/i386/fpu/e_log10.S: Likewise.
56561 * sysdeps/i386/fpu/s_frexp.S: Likewise.
56562 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56563 * sysdeps/i386/fpu/s_asinh.S: Likewise.
56564 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56565 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56566 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56567 * sysdeps/i386/asm-syntax.h: Likewise.
56568 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56569 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56570 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56571 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
56572 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
56573 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56574 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56575 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56576 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56577 * sysdeps/powerpc/sysdep.h: Likewise.
56578 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
56579 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56581 2012-02-06 Joseph Myers <joseph@codesourcery.com>
56584 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
56586 2012-02-06 Joseph Myers <joseph@codesourcery.com>
56588 * sysdeps/i386/sysdep.h: Include <features.h>.
56589 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
56592 2012-02-05 Joseph Myers <joseph@codesourcery.com>
56594 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
56596 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
56599 2012-02-03 Joseph Myers <joseph@codesourcery.com>
56601 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
56602 (SETUP_PIC_REG): Use GET_PC_THUNK.
56603 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
56606 2012-02-03 Joseph Myers <joseph@codesourcery.com>
56608 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
56609 for non-PIC compilation.
56610 (SETUP_PIC_REG): Add .p2align directive.
56611 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
56612 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
56613 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56614 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56615 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56616 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56617 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
56618 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56619 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56620 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56621 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56622 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56623 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56624 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56625 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56626 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56627 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56628 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56629 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56630 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56631 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56632 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56633 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56634 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56635 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56636 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56637 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56638 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56639 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56640 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56641 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56642 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56643 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56644 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56645 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56646 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56647 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56648 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56649 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56650 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56651 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56653 2012-02-03 Joseph Myers <joseph@codesourcery.com>
56655 * math/tst-CMPLX.c: Include <stdio.h>.
56657 2012-01-31 Joseph Myers <joseph@codesourcery.com>
56659 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
56661 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56662 * sysdeps/sparc/bits/mathdef.h: Likewise.
56664 2012-01-31 Marek Polacek <polacek@redhat.com>
56666 * libio/libio.h: Don't define _PARAMS.
56667 * locale/programs/config.h: Don't define PARAMS.
56668 * stdlib/strtol_l.c: Likewise.
56669 (__strtol_l): Remove PARAMS from the prototype.
56671 2012-01-31 Ulrich Drepper <drepper@gmail.com>
56673 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
56674 names. Just use the correct names. Remove unnecessary wrapper
56676 * malloc/arena.c: Likewise.
56677 * malloc/hooks.c: Likewise.
56679 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
56680 ARENA_TEST says not to. Simplify test for creation of a new arena.
56681 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
56683 2012-01-30 Ulrich Drepper <drepper@gmail.com>
56685 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
56687 (update_get_addr): New function.
56688 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
56689 GET_ADDR_MODULE parameter.
56691 2012-01-30 Joseph Myers <joseph@codesourcery.com>
56693 * crypt/cert.c: Remove __STDC__ conditionals.
56694 * crypt/crypt-entry.c: Likewise.
56695 * crypt/crypt_util.c: Likewise.
56696 * libio/filedoalloc.c: Likewise.
56697 * libio/fileops.c: Likewise.
56698 * libio/genops.c: Likewise.
56699 * libio/iofclose.c: Likewise.
56700 * libio/iofdopen.c: Likewise.
56701 * libio/iofopen.c: Likewise.
56702 * libio/iofopen64.c: Likewise.
56703 * libio/iogetdelim.c: Likewise.
56704 * libio/iopopen.c: Likewise.
56705 * libio/obprintf.c: Likewise.
56706 * libio/oldfileops.c: Likewise.
56707 * libio/oldiofclose.c: Likewise.
56708 * libio/oldiofdopen.c: Likewise.
56709 * libio/oldiofopen.c: Likewise.
56710 * libio/oldiopopen.c: Likewise.
56711 * libio/wfiledoalloc.c: Likewise.
56712 * libio/wgenops.c: Likewise.
56713 * locale/programs/xmalloc.c: Likewise.
56714 * misc/syslog.c: Likewise.
56715 * stdio-common/xbug.c: Likewise.
56716 * string/memchr.c: Likewise.
56717 * string/memcmp.c: Likewise.
56718 * string/memrchr.c: Likewise.
56719 * string/rawmemchr.c: Likewise.
56720 * sysdeps/posix/getcwd.c: Likewise.
56721 * time/strftime_l.c: Likewise.
56723 2012-01-30 Joseph Myers <joseph@codesourcery.com>
56725 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
56726 * config.make.in (config-cflags-sse2avx): Define.
56727 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56730 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
56732 * scripts/config.guess: Update from upstream config git repository.
56733 * scripts/config.sub: Likewise.
56735 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
56737 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
56739 (R_TILEPRO_*, R_TILEGX_*): New macros.
56741 * scripts/firstversions.awk: Fix bug in version range handling.
56743 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
56745 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
56747 * include/sys/epoll.h: New file.
56748 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
56751 2012-01-28 Ulrich Drepper <drepper@gmail.com>
56753 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
56754 Avoid unnecessary __WORDSIZE == 64 test.
56755 (fmaxf): Use VEX format if possible.
56760 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
56761 * math/math_private.h: Remove libc_fegetround* and
56763 * sysdeps/i386/configure.in: Check for -msse2avx.
56764 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
56765 also if SSE2AVX is defined.
56766 Remove libc_fegetround* and libc_fesetround*.
56767 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
56768 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
56769 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
56771 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56772 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56773 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56774 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56775 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56777 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
56779 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56781 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
56783 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56785 2012-01-27 Ulrich Drepper <drepper@gmail.com>
56788 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
56790 * Makeconfig (libm): Define.
56791 * elf/Makefile: Add rules to build and run tst-relsort1.
56792 * elf/tst-relsort1.c: New file.
56793 * elf/tst-relsort1mod1.c: New file.
56794 * elf/tst-relsort1mod2.c: New file.
56796 2012-01-27 Joseph Myers <joseph@codesourcery.com>
56798 * math/s_ldexp.c: Remove __STDC__ conditionals.
56799 * math/s_ldexpf.c: Likewise.
56800 * math/s_ldexpl.c: Likewise.
56801 * math/s_nextafter.c: Likewise.
56802 * math/s_nexttowardf.c: Likewise.
56803 * math/s_significand.c: Likewise.
56804 * math/s_significandf.c: Likewise.
56805 * math/s_significandl.c: Likewise.
56806 * math/w_jnl.c: Likewise.
56807 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56808 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56809 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56810 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56811 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56812 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56813 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
56814 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56815 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56816 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56817 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56818 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56819 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56820 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56821 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56822 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56823 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56824 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56825 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56826 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56827 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56828 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56829 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56830 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56831 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56832 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56833 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56834 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56835 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56836 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56837 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56838 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56839 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56840 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56841 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56842 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56843 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56844 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56845 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56846 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56847 * sysdeps/ieee754/k_standard.c: Likewise.
56848 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56849 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56850 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56851 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56852 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56853 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56854 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56855 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56856 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56857 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56858 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56859 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56860 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56861 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56862 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56863 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56864 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56865 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56866 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56867 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56868 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56869 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56870 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56871 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56872 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56873 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56874 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56875 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56876 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56877 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56878 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56879 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
56880 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56881 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56882 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56883 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56884 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
56885 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56886 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56887 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
56888 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
56889 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56890 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
56891 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
56892 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56893 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56894 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56895 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56896 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56897 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
56898 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
56899 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56900 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56901 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56902 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56903 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56904 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
56905 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56906 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56907 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56908 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56909 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56910 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56911 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56912 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56913 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56914 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56915 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56916 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56917 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56918 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56919 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56920 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56921 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56922 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56923 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56924 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56925 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56926 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56927 * sysdeps/ieee754/s_matherr.c: Likewise.
56928 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56929 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56930 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56931 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56933 2012-01-26 Joseph Myers <joseph@codesourcery.com>
56935 * crypt/md5.h: Remove __STDC__ conditionals.
56936 * libio/libioP.h: Likewise.
56937 * locale/programs/config.h: Likewise.
56938 * sysdeps/generic/sysdep.h: Likewise.
56939 * sysdeps/i386/asm-syntax.h: Likewise.
56940 * sysdeps/s390/asm-syntax.h: Likewise.
56941 * sysdeps/unix/sysdep.h: Likewise.
56942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
56943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56945 2012-01-26 Joseph Myers <joseph@codesourcery.com>
56947 * libio/libio.h: Remove __STDC__ conditionals.
56948 * malloc/obstack.h: Likewise.
56949 * math/complex.h: Likewise.
56950 * math/math.h: Likewise.
56951 * sysdeps/generic/_G_config.h: Likewise.
56952 * sysdeps/gnu/_G_config.h: Likewise.
56953 * sysdeps/mach/hurd/_G_config.h: Likewise.
56954 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56955 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56956 * sysdeps/sparc/bits/mathdef.h: Likewise.
56958 2012-01-26 Ulrich Drepper <drepper@gmail.com>
56961 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
56962 Clean up HAS_* macros.
56963 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
56964 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
56966 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
56968 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56969 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56970 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56971 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56972 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56974 2012-01-25 Joseph Myers <joseph@codesourcery.com>
56976 * elf/tst-unique3.cc (gets): Remove declaration.
56977 * elf/tst-unique3lib.cc (gets): Likewise.
56978 * elf/tst-unique3lib2.cc (gets): Likewise.
56979 * elf/tst-unique4.cc (gets): Likewise.
56981 2012-01-24 Ulrich Drepper <drepper@gmail.com>
56983 * include/stdio.h: Add C++ protection. Add gets declarations and
56985 * debug/tst-chk1.c: Don't declare gets here.
56986 * stdio-common/tst-gets.c: Likewise.
56988 2012-01-24 Joseph Myers <joseph@codesourcery.com>
56990 * posix/glob: Remove directory.
56992 2012-01-24 Joseph Myers <joseph@codesourcery.com>
56994 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
56996 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
56998 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
56999 of the non-standard EPFNOSUPPORT.
57001 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
57003 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
57004 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
57005 ANYWHERE set to 1 only on KERN_NO_SPACE error.
57007 2012-01-21 Ulrich Drepper <drepper@gmail.com>
57009 * wcsmbs/uchar.h: Test __STDC_VERSION__.
57011 2012-01-20 Ulrich Drepper <drepper@gmail.com>
57013 * nscd/aicache.c (addhstaiX): Do not cache negative results of
57015 * nscd/grpcache.c (cache_addgr): Likewise.
57016 * nscd/hstcache.c (cache_addhst): Likewise.
57017 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57018 * nscd/pwdcache.c (cache_addpw): Likewise.
57019 * nscd/servicescache.c (cache_addserv): Likewise.
57021 2012-01-16 Ulrich Drepper <drepper@gmail.com>
57023 * malloc/malloc.c: Various cleanups.
57024 * malloc/hooks.c: Likewise.
57026 * stdlib/Makefile (tests): Add bug-fmtmsg1.
57027 * stdlib/bug-fmtmsg1.c: New file.
57029 * stdlib/fmtmsg.c (init): Add missing unlock.
57030 Patch by Peng Haitao <penght@cn.fujitsu.com>.
57032 2012-01-12 Marek Polacek <polacek@redhat.com>
57034 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
57037 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
57039 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
57040 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
57041 macro to ensure uniqueness of label name.
57042 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57043 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57045 2012-01-11 Ulrich Drepper <drepper@gmail.com>
57047 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
57049 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
57050 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
57051 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57052 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
57054 2012-01-10 Ulrich Drepper <drepper@gmail.com>
57056 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
57058 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
57059 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
57060 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57062 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
57064 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
57065 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
57066 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57067 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
57069 * math/bits/math-finite.h: Add ldexp support.
57071 2012-01-10 Marek Polacek <polacek@redhat.com>
57073 * locale/programs/localedef.h (show_archive_content): Add noreturn
57076 2012-01-09 Ulrich Drepper <drepper@gmail.com>
57078 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
57080 2012-01-08 Ulrich Drepper <drepper@gmail.com>
57082 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
57084 * io/Makefile (headers): Add bits/poll2.h.
57086 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
57088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
57089 typo #include statement.
57091 2012-01-08 Ulrich Drepper <drepper@gmail.com>
57093 * include/sys/cdefs.h: Define __attribute_alloc_size.
57094 * catgets/gencat.c: Add alloc_size attribute and apply consistently
57095 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
57096 * elf/pldd.c: Likewise.
57097 * iconv/iconv_charmap.c: Likewise.
57098 * iconv/iconvconfig.c: Likewise.
57099 * iconv/strtab.c: Likewise.
57100 * locale/programs/locale.c: Likewise.
57101 * locale/programs/localedef.h: Likewise.
57102 * locale/programs/simple-hash.c: Likewise.
57103 * nscd/nscd.h: Likewise.
57104 * nss/makedb.c: Likewise.
57105 * sysdeps/generic/ldconfig.h: Likewise.
57106 * locale/programs/localedef.c: Remove xmalloc prototype.
57107 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
57109 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
57111 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
57114 2012-01-08 Ulrich Drepper <drepper@gmail.com>
57116 * math/Makefile (tests): Add tst-CMPLX.
57117 * math/tst-CMPLX.c: New file.
57119 * math/complex.h (CMPLXL): Fix typo.
57121 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
57122 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
57124 * debug/tst-chk1.c: Add poll and ppoll tests.
57125 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
57126 * include/sys/poll.h: Add hidden proto for ppoll.
57127 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
57128 * sysdeps/mach/hurd/ppoll.c: Likewise.
57129 * io/ppoll.c: Likewise.
57130 * debug/poll_chk.c: New file.
57131 * debug/ppoll_chk.c: New file.
57132 * include/bits/poll2.h: New file.
57133 * io/bits/poll2.h: New file.
57136 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
57138 * configure.in: static is always set to yes. Remove.
57139 * config.make.in: Don't set build-static.
57140 * Makeconfig: Remove use of build-static.
57141 * dlfcn/Makefile: Likewise.
57142 * elf/Makefile: Likewise.
57143 * math/Makefile: Likewise.
57144 * misc/Makefile: Likewise.
57145 * nptl/Makefile: Likewise.
57146 * sysdeps/mach/hurd/Makefile: Likewise.
57148 * configure.in: PWD_P is not used anymore.
57149 * config.make.in: Remove PWD_P entry.
57151 * configure.in: Remove last remnants of RANLIB.
57152 No need to check for signed size_t anymore.
57153 Don't set libc_commonpagesize and libc_relro_required here for Alpha
57155 Remove __builtin_expect test because we require at least gcc 3.4.
57156 * aclocal.m4: Likewise.
57158 * wcsmbs/mbrtoc16.c: Implement using towc function.
57159 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
57160 * wcsmbs/wcsmbsload.c: Likewise.
57161 * iconv/gconv_simple.c: Likewise.
57162 * iconv/gconv_int.h: Likewise.
57163 * iconv/gconv_builtin.h: Likewise.
57164 * iconv/iconv_prog.c: Remove CHAR16 handling.
57166 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
57168 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
57170 * configure.in: Remove --with-elf and --enable-bounded options.
57171 Dont set base_machine for ia64. More non-ELF conditions removed.
57172 Remove testing and setting of leading underscore information.
57173 * config.make.in (build-bounded): Set to no.
57174 * config.h.in: Remove NO_UNDERSCORES entry.
57175 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
57177 * csu/start.c: Remove !NO_UNDERSCORE code.
57178 * locale/localeinfo.h: Likewise.
57179 * sysdeps/generic/machine-gmon.h: Likewise.
57180 * sysdeps/generic/sysdep.h: Likewise.
57181 * sysdeps/i386/sysdep.h: Likewise.
57182 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57183 * sysdeps/mach/sysdep.h: Likewise.
57184 * sysdeps/s390/s390-32/sysdep.h: Likewise.
57185 * sysdeps/s390/s390-64/sysdep.h: Likewise.
57186 * sysdeps/sh/sysdep.h: Likewise.
57187 * sysdeps/sparc/sparc32/alloca.S: Likewise.
57188 * sysdeps/unix/i386/sysdep.S: Likewise.
57189 * sysdeps/unix/sparc/start.c: Likewise.
57190 * sysdeps/unix/sparc/sysdep.S: Likewise.
57191 * sysdeps/unix/sparc/sysdep.h: Likewise.
57192 * sysdeps/unix/start.c: Likewise.
57193 * sysdeps/unix/x86_64/sysdep.S: Likewise.
57194 * sysdeps/x86_64/sysdep.h: Likewise.
57196 2012-01-07 Ulrich Drepper <drepper@gmail.com>
57199 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
57201 * argp/argp-fmtstream.h: Use const instead __const.
57202 * argp/argp.h: Likewise.
57203 * assert/assert.h: Likewise.
57204 * bits/fenv.h: Likewise.
57205 * bits/sched.h: Likewise.
57206 * bits/sigset.h: Likewise.
57207 * bits/sigthread.h: Likewise.
57208 * catgets/nl_types.h: Likewise.
57209 * conform/data/pthread.h-data: Likewise.
57210 * crypt/crypt-private.h: Likewise.
57211 * crypt/crypt.h: Likewise.
57212 * crypt/crypt_util.c: Likewise.
57213 * ctype/ctype.h: Likewise.
57214 * debug/execinfo.h: Likewise.
57215 * debug/mbsnrtowcs_chk.c: Likewise.
57216 * debug/mbsrtowcs_chk.c: Likewise.
57217 * debug/wcsnrtombs_chk.c: Likewise.
57218 * debug/wcsrtombs_chk.c: Likewise.
57219 * debug/wcstombs_chk.c: Likewise.
57220 * dirent/dirent.h: Likewise.
57221 * dlfcn/dlfcn.h: Likewise.
57222 * elf/neededtest4.c: Likewise.
57223 * grp/grp.h: Likewise.
57224 * gshadow/gshadow.h: Likewise.
57225 * iconv/gconv.h: Likewise.
57226 * iconv/gconv_int.h: Likewise.
57227 * iconv/gconv_simple.c: Likewise.
57228 * iconv/iconv.h: Likewise.
57229 * iconv/loop.c: Likewise.
57230 * iconv/skeleton.c: Likewise.
57231 * include/aio.h: Likewise.
57232 * include/aliases.h: Likewise.
57233 * include/argz.h: Likewise.
57234 * include/arpa/inet.h: Likewise.
57235 * include/assert.h: Likewise.
57236 * include/dirent.h: Likewise.
57237 * include/dlfcn.h: Likewise.
57238 * include/execinfo.h: Likewise.
57239 * include/fcntl.h: Likewise.
57240 * include/fenv.h: Likewise.
57241 * include/glob.h: Likewise.
57242 * include/grp.h: Likewise.
57243 * include/libintl.h: Likewise.
57244 * include/mntent.h: Likewise.
57245 * include/netdb.h: Likewise.
57246 * include/pwd.h: Likewise.
57247 * include/rpc/netdb.h: Likewise.
57248 * include/sched.h: Likewise.
57249 * include/search.h: Likewise.
57250 * include/shadow.h: Likewise.
57251 * include/signal.h: Likewise.
57252 * include/stdio.h: Likewise.
57253 * include/stdlib.h: Likewise.
57254 * include/string.h: Likewise.
57255 * include/sys/socket.h: Likewise.
57256 * include/sys/stat.h: Likewise.
57257 * include/sys/statfs.h: Likewise.
57258 * include/sys/statvfs.h: Likewise.
57259 * include/sys/syslog.h: Likewise.
57260 * include/sys/time.h: Likewise.
57261 * include/sys/uio.h: Likewise.
57262 * include/time.h: Likewise.
57263 * include/unistd.h: Likewise.
57264 * include/utmp.h: Likewise.
57265 * include/wchar.h: Likewise.
57266 * include/wctype.h: Likewise.
57267 * inet/aliases.h: Likewise.
57268 * inet/arpa/inet.h: Likewise.
57269 * inet/netinet/ether.h: Likewise.
57270 * inet/netinet/in.h: Likewise.
57271 * intl/libintl.h: Likewise.
57272 * io/bits/fcntl2.h: Likewise.
57273 * io/fcntl.h: Likewise.
57274 * io/ftw.h: Likewise.
57275 * io/sys/poll.h: Likewise.
57276 * io/sys/stat.h: Likewise.
57277 * io/sys/statfs.h: Likewise.
57278 * io/sys/statvfs.h: Likewise.
57279 * io/utime.h: Likewise.
57280 * libio/bits/stdio.h: Likewise.
57281 * libio/bits/stdio2.h: Likewise.
57282 * libio/libio.h: Likewise.
57283 * libio/libioP.h: Likewise.
57284 * libio/stdio.h: Likewise.
57285 * locale/lc-ctype.c: Likewise.
57286 * locale/locale.h: Likewise.
57287 * login/utmp.h: Likewise.
57288 * malloc/arena.c: Likewise.
57289 * malloc/malloc.c: Likewise.
57290 * malloc/malloc.h: Likewise.
57291 * malloc/mcheck.c: Likewise.
57292 * malloc/mtrace.c: Likewise.
57293 * math/bits/mathcalls.h: Likewise.
57294 * math/fenv.h: Likewise.
57295 * math/math_private.h: Likewise.
57296 * misc/bits/error.h: Likewise.
57297 * misc/bits/syslog.h: Likewise.
57298 * misc/err.h: Likewise.
57299 * misc/error.h: Likewise.
57300 * misc/fstab.h: Likewise.
57301 * misc/mntent.h: Likewise.
57302 * misc/regexp.h: Likewise.
57303 * misc/search.h: Likewise.
57304 * misc/sgtty.h: Likewise.
57305 * misc/sys/mman.h: Likewise.
57306 * misc/sys/syslog.h: Likewise.
57307 * misc/sys/uio.h: Likewise.
57308 * misc/sys/xattr.h: Likewise.
57309 * misc/ttyent.h: Likewise.
57310 * nis/rpcsvc/ypclnt.h: Likewise.
57311 * nss/nss.h: Likewise.
57312 * posix/bits/unistd.h: Likewise.
57313 * posix/fnmatch.h: Likewise.
57314 * posix/glob.h: Likewise.
57315 * posix/sched.h: Likewise.
57316 * posix/spawn.h: Likewise.
57317 * posix/sys/wait.h: Likewise.
57318 * posix/unistd.h: Likewise.
57319 * posix/wordexp.h: Likewise.
57320 * pwd/pwd.h: Likewise.
57321 * resolv/netdb.h: Likewise.
57322 * resource/sys/resource.h: Likewise.
57323 * rt/aio.h: Likewise.
57324 * rt/bits/mqueue2.h: Likewise.
57325 * rt/mqueue.h: Likewise.
57326 * shadow/shadow.h: Likewise.
57327 * signal/signal.h: Likewise.
57328 * socket/send.c: Likewise.
57329 * socket/sendto.c: Likewise.
57330 * socket/sys/socket.h: Likewise.
57331 * stdio-common/printf.h: Likewise.
57332 * stdlib/bits/stdlib.h: Likewise.
57333 * stdlib/fmtmsg.h: Likewise.
57334 * stdlib/monetary.h: Likewise.
57335 * stdlib/stdlib.h: Likewise.
57336 * stdlib/ucontext.h: Likewise.
57337 * streams/stropts.h: Likewise.
57338 * string/argz.h: Likewise.
57339 * string/bits/string2.h: Likewise.
57340 * string/string.h: Likewise.
57341 * string/strings.h: Likewise.
57342 * sunrpc/rpc/auth.h: Likewise.
57343 * sunrpc/rpc/auth_des.h: Likewise.
57344 * sunrpc/rpc/clnt.h: Likewise.
57345 * sunrpc/rpc/netdb.h: Likewise.
57346 * sunrpc/rpc/pmap_clnt.h: Likewise.
57347 * sunrpc/rpc/xdr.h: Likewise.
57348 * sysdeps/generic/inttypes.h: Likewise.
57349 * sysdeps/generic/net/if.h: Likewise.
57350 * sysdeps/generic/sys/swap.h: Likewise.
57351 * sysdeps/gnu/net/if.h: Likewise.
57352 * sysdeps/gnu/utmpx.h: Likewise.
57353 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
57354 * sysdeps/i386/i486/bits/string.h: Likewise.
57355 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
57356 * sysdeps/s390/bits/string.h: Likewise.
57357 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
57358 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
57359 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
57360 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
57361 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
57362 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
57363 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
57364 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
57365 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
57366 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
57367 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
57368 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
57369 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
57370 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
57371 * sysdeps/unix/sysv/linux/readv.c: Likewise.
57372 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
57373 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
57374 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57375 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
57376 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
57377 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57378 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
57379 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
57380 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
57381 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
57382 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
57383 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
57384 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57385 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
57386 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
57387 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
57388 * sysvipc/sys/ipc.h: Likewise.
57389 * sysvipc/sys/msg.h: Likewise.
57390 * sysvipc/sys/sem.h: Likewise.
57391 * sysvipc/sys/shm.h: Likewise.
57392 * termios/termios.h: Likewise.
57393 * time/sys/time.h: Likewise.
57394 * time/time.h: Likewise.
57395 * wcsmbs/bits/wchar2.h: Likewise.
57396 * wcsmbs/uchar.h: Likewise.
57397 * wcsmbs/wchar.h: Likewise.
57398 * wctype/wctype.h: Likewise.
57401 * Makeconfig: Remove all but ELF support including AIX support.
57402 * Makerules: Likewise.
57403 * config.h.in: Likewise.
57404 * config.make.in: Likewise.
57405 * configure: Likewise.
57406 * configure.in: Likewise.
57407 * csu/Makefile: Likewise.
57408 * csu/version.c: Likewise.
57409 * debug/Makefile: Likewise.
57410 * dlfcn/Makefile: Likewise.
57411 * elf/Makefile: Likewise.
57412 * extra-lib.mk: Likewise.
57413 * iconv/Makefile: Likewise.
57414 * include/libc-symbols.h: Likewise.
57415 * include/shlib-compat.h: Likewise.
57416 * resolv/Makefile: Likewise.
57417 * resolv/res_libc.c: Likewise.
57418 * rt/Makefile: Likewise.
57419 * sysdeps/i386/asm-syntax.h: Likewise.
57420 * sysdeps/i386/sysdep.h: Likewise.
57421 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57422 * sysdeps/mach/sysdep.h: Likewise.
57423 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
57424 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
57425 * sysdeps/s390/asm-syntax.h: Likewise.
57426 * sysdeps/s390/s390-32/sysdep.h: Likewise.
57427 * sysdeps/s390/s390-64/sysdep.h: Likewise.
57428 * sysdeps/sh/sysdep.h: Likewise.
57429 * sysdeps/unix/sparc/sysdep.h: Likewise.
57430 * sysdeps/wordsize-32/divdi3.c: Likewise.
57431 * sysdeps/x86_64/sysdep.h: Likewise.
57433 * argp/Versions: Remove _argp_unlock_xxx.
57436 * abilist/ld.abilist: Update. Adjust for removal of tls option.
57437 * abilist/libBrokenLocale.abilist: Likewise.
57438 * abilist/libanl.abilist: Likewise.
57439 * abilist/libc.abilist: Likewise.
57440 * abilist/libcrypt.abilist: Likewise.
57441 * abilist/libdl.abilist: Likewise.
57442 * abilist/libm.abilist: Likewise.
57443 * abilist/libnsl.abilist: Likewise.
57444 * abilist/libpthread.abilist: Likewise.
57445 * abilist/libresolv.abilist: Likewise.
57446 * abilist/librt.abilist: Likewise.
57447 * abilist/libthread_db.abilist: Likewise.
57448 * abilist/libutil.abilist: Likewise.
57449 * abilist/libnss_db.abilist: New file.
57451 * scripts/abilist.awk: Add support for indirect functions.
57453 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
57455 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
57457 * shlib-versions: Remove entries for ports architectures.
57459 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
57461 * elf/stackguard-macros.h: Remove support for IA-64.
57462 * elf/tst-auditmod1.c: Likewise.
57463 * sysdeps/generic/ldsodefs.h: Likewise.
57465 * sysdeps/unix/sysv/linux/configure.in: Ports should define
57466 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
57470 * configure.in: Remove --enable-omitfp support.
57472 * config.make.in: Likewise.
57473 * Makeconfig: Likewise.
57474 * manual/install.texi: Likewise.
57476 In case anyone cares, the IA-64 architecture could move to ports.
57477 * sysdeps/ia64/*: Removed.
57478 * sysdeps/unix/sysv/linux/ia64/*: Removed.
57479 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
57482 * configure.in: Remove entries for unsupported architectures.
57485 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
57486 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
57488 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
57489 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
57490 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
57491 fall back to using wcrtomb.
57492 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
57493 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
57495 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
57496 * wcsmbs/tst-c16c32-1.c: New file.
57498 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
57501 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
57503 * elf/tst-unique3.cc: Add explicit declaration of gets.
57504 * elf/tst-unique3lib.cc: Likewise.
57505 * elf/tst-unique3lib2.cc: Likewise.
57506 * elf/tst-unique4.cc: Likewise.
57508 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
57510 2012-01-06 Joseph Myers <joseph@codesourcery.com>
57513 * assert/assert.h (static_assert): Don't define for C++.
57514 * libio/stdio.h (gets): Do declare for C++ <= C++11.
57515 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
57517 2012-01-03 Ulrich Drepper <drepper@gmail.com>
57519 * iconv/loop.c (single loop): Fix assertion in storing of
57522 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
57524 2012-01-01 Ulrich Drepper <drepper@gmail.com>
57526 * posix/getconf.c: Update copyright year.
57527 * nss/getent.c: Likewise.
57528 * nss/makedb.c: Likewise.
57529 * iconv/iconvconfig.c: Likewise.
57530 * iconv/iconv_prog.c: Likewise.
57531 * elf/ldconfig.c: Likewise.
57532 * elf/pldd.c: Likewise.
57533 * elf/sotruss.ksh: Likewise.
57534 * catgets/gencat.c: Likewise.
57535 * csu/version.c: Likewise.
57536 * elf/ldd.bash.in: Likewise.
57537 * elf/sprof.c (print_version): Likewise.
57538 * locale/programs/locale.c: Likewise.
57539 * locale/programs/localedef.c: Likewise.
57540 * login/programs/pt_chown.c: Likewise.
57541 * nscd/nscd.c (print_version): Likewise.
57542 * debug/xtrace.sh: Likewise.
57543 * malloc/memusage.sh: Likewise.
57544 * malloc/mtrace.pl: Likewise.
57545 * debug/catchsegv.sh: Likewise.
57547 2011-12-30 Jakub Jelinek <jakub@redhat.com>
57549 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
57552 2011-12-24 Ulrich Drepper <drepper@gmail.com>
57555 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
57556 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
57558 * iconv/gconv_int.h: Likewise.
57559 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
57560 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
57561 from libc for GLIBC_2.16.
57562 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
57563 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
57564 * wcsmbs/uchar.h: Really define mbstate_t.
57565 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
57566 * wcsmbs/c16rtomb.c: New file.
57567 * wcsmbs/mbrtoc16.c: New file.
57568 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
57569 for C/POSIX locale.
57570 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
57571 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
57573 * wcsmbs/wchar.h: Add missing __restrict.
57575 2011-12-23 Ulrich Drepper <drepper@gmail.com>
57578 * time/Makefile (routines): Add timespec_get.
57579 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
57580 * time/time.h: Define TIME_UTC and declare timespec_get. Define
57581 timespec for ISO C11.
57582 * time/timespec_get.c: New file.
57583 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
57584 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
57587 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
57588 * stdlib/stdlib.h: Declare aligned_alloc.
57589 * Versions.def: Add GLIBC_2.16 for libc.
57590 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
57593 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
57596 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
57600 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
57603 * assert/assert.h (static_assert): Define.
57605 * version.h: Update for 2.16 development version.
57608 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
57611 * version.h (RELEASE): Bump for 2.15 release.
57612 * include/features.h (__GLIBC_MINOR__): Bump to 15.
57614 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
57615 Patch by Marek Polacek <mpolacek@redhat.com>.
57617 * bits/byteswap.h: Protect long long constants with __extension__.
57618 * sysdeps/i386/bits/byteswap.h: Likewise.
57619 * sysdeps/ia64/bits/byteswap.h: Likewise.
57620 * sysdeps/s390/bits/byteswap.h: Likewise.
57621 * sysdeps/x86_64/bits/byteswap.h: Likewise.
57623 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57626 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
57627 destination buffer.
57628 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
57630 2011-12-23 Marek Polacek <polacek@redhat.com>
57632 * elf/dl-addr.c (determine_info): Add inline keyword.
57633 * elf/tst-auditmod4b.c (check_avx): Likewise.
57634 * elf/tst-auditmod6b.c (check_avx): Likewise.
57635 * elf/tst-auditmod6c.c (check_avx): Likewise.
57636 * elf/tst-auditmod7b.c (check_avx): Likewise.
57638 2011-12-23 Ulrich Drepper <drepper@gmail.com>
57640 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
57643 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57646 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
57647 processing for last bytes.
57649 2011-08-06 Bruno Haible <bruno@clisp.org>
57652 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
57653 U+0385, not to U+1FEE.
57656 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
57657 entry for U+00A5 U+0301.
57659 2011-12-22 Ulrich Drepper <drepper@gmail.com>
57662 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
57663 buffer for the output is too small.
57665 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
57669 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
57670 SSE flags if possible.
57672 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57675 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
57676 processing for last bytes.
57678 2011-12-22 Joseph Myers <joseph@codesourcery.com>
57680 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
57681 (syscall-list-default-options, syscall-list-default-condition)
57682 (syscall-list-includes): Define.
57683 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
57684 list of ABIs and options and #if conditions for each ABI. Do not
57685 handle common syscalls between ABIs specially.
57686 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
57688 (syscall-list-variants, syscall-list-32bit-options)
57689 (syscall-list-32bit-condition, syscall-list-64bit-options)
57690 (syscall-list-64bit-condition): Define.
57691 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
57692 (syscall-list-variants, syscall-list-32bit-options)
57693 (syscall-list-32bit-condition, syscall-list-64bit-options)
57694 (syscall-list-64bit-condition): Define.
57695 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
57697 (syscall-list-variants, syscall-list-32bit-options)
57698 (syscall-list-32bit-condition, syscall-list-64bit-options)
57699 (syscall-list-64bit-condition): Define.
57700 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
57702 (syscall-list-variants, syscall-list-32bit-options)
57703 (syscall-list-32bit-condition, syscall-list-64bit-options)
57704 (syscall-list-64bit-condition): Define.
57706 2011-12-22 Ulrich Drepper <drepper@gmail.com>
57708 * locale/iso-639.def: Add brx entry.
57711 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
57712 Proposed by Mariusz_Cukr <marcukr@op.pl>.
57714 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57715 __feraiseexcept_renamed.
57717 2011-12-21 Ulrich Drepper <drepper@gmail.com>
57720 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57721 EPOLLET with unsigned values.
57722 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57723 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57725 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57726 to large cancellation.
57727 * math/s_cacoshf.c: Likewise.
57728 * math/s_cacoshl.c: Likewise.
57730 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
57734 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
57735 * math/s_cacoshf.c: Likewise.
57736 * math/s_cacoshl.c: Likewise.
57738 2011-12-21 Ulrich Drepper <drepper@gmail.com>
57741 * iconv/gconv.h: Define __GCONV_SWAP.
57742 * iconvdata/unicode.c: The swap bit must be stored in __flags.
57743 * iconvdata/utf-16.c: Likewise.
57744 * iconvdata/utf-32.c: Likewise.
57746 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
57749 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
57750 numerator after shifting it by one limb.
57752 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
57754 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
57755 under [__USE_EXTERN_INLINES].
57757 2011-12-17 Ulrich Drepper <drepper@gmail.com>
57760 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
57762 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57764 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
57765 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
57767 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
57768 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
57769 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
57770 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
57771 for strncasecmp/strncasecmp_l compilation.
57772 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
57773 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
57775 2011-12-08 Marek Polacek <mpolacek@redhat.com>
57778 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
57781 2011-12-17 Ulrich Drepper <drepper@gmail.com>
57784 * time/tzfile.c (__tzfile_read): Check values from file header.
57786 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
57788 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
57789 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
57790 * powerpc/powerpc32/dl-start.S: Likewise.
57791 * powerpc/powerpc32/elf/start.S: Likewise.
57792 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57793 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
57794 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
57795 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
57796 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57797 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
57798 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
57799 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57800 * powerpc/powerpc32/fpu/s_round.S: Likewise.
57801 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57802 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57803 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57804 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
57805 * powerpc/powerpc32/memset.S: Likewise.
57806 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57807 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57808 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57809 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57810 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57811 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57812 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57813 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57814 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
57815 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
57816 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
57817 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57818 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57820 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57822 * math/libm-test.inc: Added more nearbyint tests.
57823 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
57824 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
57825 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
57826 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
57828 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
57830 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
57833 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57835 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
57836 Add wcscpy-ssse3 wcscpy-c.
57837 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
57838 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
57839 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
57840 * sysdeps/x86_64/wcschr.S: New file.
57841 * sysdeps/x86_64/wcsrchr.S: New file.
57842 * string/test-strcmp.c: Remove checking of wcscmp function for
57844 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
57845 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
57846 wcsrchr-sse2 wcsrchr-c.
57847 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
57848 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
57849 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
57850 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
57851 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
57852 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
57853 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
57854 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
57855 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
57856 * wcsmbc/wcschr.c (WCSCHR): New macro.
57858 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57860 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
57861 * wcsmbs/test-wcsrchr.c: New file.
57862 * string/test-strrchr.c: Add wcsrchr support.
57864 * wcsmbs/test-wcscpy.c: New file.
57865 * string/test-strcpy.c: Add wcscpy support.
57868 2011-12-10 Ulrich Drepper <drepper@gmail.com>
57870 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
57873 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
57876 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
57878 2011-12-04 Ulrich Drepper <drepper@gmail.com>
57880 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
57881 Minor optimizations.
57883 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
57884 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
57885 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
57887 2011-12-03 Ulrich Drepper <drepper@gmail.com>
57889 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
57890 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
57891 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
57892 for gcc to avoid warnings.
57893 * inet/Makefile (tests): Add tst-checks.
57894 * inet/tst-checks.c: New file.
57896 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
57899 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
57902 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
57903 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
57905 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
57907 2011-12-02 Ulrich Drepper <drepper@gmail.com>
57909 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
57912 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
57914 2011-11-29 Joseph Myers <joseph@codesourcery.com>
57916 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
57917 conditional on GCC version.
57918 (__arch_compare_and_exchange_val_8_acq)
57919 (__arch_compare_and_exchange_val_16_acq)
57920 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
57921 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
57922 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
57924 2011-12-02 Joseph Myers <joseph@codesourcery.com>
57926 * sysdeps/sh/backtrace.c: New file.
57928 2011-12-02 Andreas Schwab <schwab@redhat.com>
57930 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
57933 2011-12-01 Andreas Schwab <schwab@redhat.com>
57935 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
57936 falling back to utime.
57938 2011-11-30 Andreas Schwab <schwab@redhat.com>
57940 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
57941 expectations for float.
57943 2011-11-29 Andreas Schwab <schwab@redhat.com>
57945 * locale/weight.h (findidx): Add parameter len.
57946 * locale/weightwc.h (findidx): Likewise.
57947 * posix/fnmatch_loop.c (FCT): Adjust caller.
57948 * posix/regcomp.c (build_equiv_class): Likewise.
57949 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
57950 * posix/regexec.c (check_node_accept_bytes): Likewise.
57951 * string/strcoll_l.c (STRCOLL): Likewise.
57952 * string/strxfrm_l.c (STRXFRM): Likewise.
57954 2011-11-17 Ulrich Drepper <drepper@gmail.com>
57956 * Makefile.in: Remove CVSOPT handling.
57957 * configure.in: Remove use of AC_REVISION.
57958 * iconvdata/Makefile (distribute): No need to filter out CVS.
57959 * scripts/list-sources.sh: Remove CVS, subversion and monotone
57962 2011-11-16 Andreas Schwab <schwab@redhat.com>
57964 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
57965 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
57966 [USE_AS_STRNCASECMP_L]: Likewise.
57967 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
57968 NO_TLS_DIRECT_SEG_REFS.
57969 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
57970 Fix argument offsets for non-PIC.
57971 [USE_AS_STRNCASECMP_L]: Likewise.
57972 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
57973 NO_TLS_DIRECT_SEG_REFS.
57975 2011-11-15 Ulrich Drepper <drepper@gmail.com>
57977 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
57979 * locale/loadlocale.c (_nl_load_locale): Likewise.
57981 2011-11-15 Andreas Schwab <schwab@redhat.com>
57983 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
57984 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
57985 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
57986 (SYSCALL_GETTIME): Set errno on error.
57988 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
57989 count references to noai6ai_cached.
57991 2011-11-15 Ulrich Drepper <drepper@gmail.com>
57993 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
57995 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
57996 FD_CLOEXEC for /proc/self/maps.
57998 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
57999 FD_CLOEXEC for /proc/meminfo.
58001 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
58004 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
58005 FD_CLOEXEC for given file.
58007 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
58009 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
58010 FD_CLOEXEC for /etc/hosts.
58011 (_gethtent): Likewise.
58013 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
58015 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
58016 cancellation and set FD_CLOEXEC for /etc/netgroup.
58018 * nss/nss_files/files-key.c (search): Don't allow cancellation when
58019 reading /etc/publickey.
58021 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
58022 allow cancellation when reading /etc/group.
58024 * nss/nss_files/files-alias.c (internal_setent): Don't allow
58026 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
58028 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
58029 when using data file.
58031 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
58033 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
58034 (write_nis_obj): Use "c" and "e" in fopen.
58036 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
58038 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
58040 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
58042 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
58044 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
58047 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
58049 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
58051 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
58053 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
58054 file parsing and set FD_CLOEXEC.
58056 2011-11-14 Ulrich Drepper <drepper@gmail.com>
58058 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
58060 2011-11-14 Andreas Schwab <schwab@redhat.com>
58062 * malloc/arena.c (arena_get2): Don't call reused_arena when
58063 _int_new_arena failed.
58065 2011-11-14 Ulrich Drepper <drepper@gmail.com>
58067 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
58068 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
58069 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
58070 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58071 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58072 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
58073 to compile strcasecmp and strncasecmp.
58074 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
58075 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
58077 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
58079 2011-11-13 Ulrich Drepper <drepper@gmail.com>
58081 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
58082 locale-defines.sym to gen-as-const-headers.
58083 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
58084 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
58085 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
58086 to compile strcasecmp and strncasecmp.
58087 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
58088 strcasecmp_l and strncasecmp_l.
58089 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
58090 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
58091 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
58092 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
58093 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
58094 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
58095 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
58096 * sysdeps/i386/i686/multiarch/strncase.S: New file.
58097 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
58098 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
58099 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
58101 2011-11-12 Ulrich Drepper <drepper@gmail.com>
58103 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
58104 result of SYSDEP_GETTIME_CPU to retval.
58105 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
58106 parameter list to macro. Remove trailing semicolon. Adjust users.
58108 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
58111 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
58113 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
58115 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
58116 from unused variable.
58118 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
58120 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
58123 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
58126 * sunrpc/rpc_prot.c (rejected): Fix case value.
58128 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
58129 unsigned long long int to avoid warnings in shift.
58131 * posix/regex_internal.c (re_string_reconstruct): Actually use result
58133 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
58136 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
58137 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
58138 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
58140 * nis/nis_table.c (nis_list): Use variable of correct type for
58141 result of __follow_path call.
58143 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58145 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
58146 of math functions ceil, trunc, floor, round, and sqrt, when
58147 avaliable on the platform.
58148 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
58150 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58151 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58152 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58154 2011-10-30 Marek Polacek <mpolacek@redhat.com>
58156 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
58157 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58159 2011-11-11 Roland McGrath <roland@hack.frob.com>
58161 * include/unistd.h: Fix __readlink return type.
58162 Reported by Chris Metcalf <cmetcalf@tilera.com>.
58164 2011-11-11 Ulrich Drepper <drepper@gmail.com>
58166 * stdlib/ucontext.h: Undo last change for makecontext.
58168 2011-11-11 Andreas Schwab <schwab@redhat.com>
58170 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
58172 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
58173 * setjmp/setjmp.h: Mark functions as non-leaf.
58174 * setjmp/bits/setjmp2.h: Likewise.
58175 * stdlib/ucontext.h: Likewise.
58177 2011-11-10 Andreas Schwab <schwab@redhat.com>
58179 * malloc/arena.c (_int_new_arena): Don't increment narenas.
58180 (reused_arena): Don't check arena limit.
58181 (arena_get2): Atomically check arena limit.
58183 2011-11-08 Ulrich Drepper <drepper@gmail.com>
58185 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
58186 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
58188 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
58191 2011-11-07 Andreas Schwab <schwab@redhat.com>
58193 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
58194 handler when locking.
58196 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58197 Fix size of allocated buffer.
58199 2011-11-04 Andreas Schwab <schwab@redhat.com>
58202 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
58203 declarations for long double functions.
58204 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
58206 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
58208 2011-11-03 Andreas Schwab <schwab@redhat.com>
58210 * nscd/nscd.c (main): Don't start AVC thread until credentials are
58213 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
58216 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
58218 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
58220 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
58222 * include/alloca.h (stackinfo_alloca_round): Define.
58223 (extend_alloca): Use it.
58224 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
58225 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
58228 * scripts/check-local-headers.sh: Ignore libaudit.h.
58230 * nscd/Makefile (extra-objs): Make recursively expanded.
58232 2011-11-01 Ulrich Drepper <drepper@gmail.com>
58234 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
58235 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
58237 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
58238 * posix/tst-rfc3484-2.c: Likewise.
58239 * posix/tst-rfc3484-3.c: Likewise.
58241 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
58243 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
58245 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
58246 process_vm_writev from libc using GLIBC_2.15 version.
58248 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
58250 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
58252 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
58255 2011-10-31 Ulrich Drepper <drepper@gmail.com>
58258 * nss/getent.c (initgroups_keys): Show error message in case no group
58261 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
58262 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
58263 __bump_nl_timestamp.
58264 * nscd/connections (nscd_init): When host database is served open
58265 netlink socket and request notification about configuration changes.
58266 (main_loop_poll): Track netlink file descriptor and bump timestamp
58267 in case data becomes available.
58268 (main_loop_epoll): Likewise.
58269 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
58270 (database_pers_head): Add extra_data fileds.
58271 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
58272 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
58273 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
58275 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
58276 in6ai data, call __free_in6ai.
58277 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
58278 Add -DHAVE_NETLINK.
58279 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
58280 interface information. Reuse previous data if netlink timestamp
58282 (__bump_nl_timestamp): New function.
58283 (__free_in6ai): New function.
58285 2011-10-30 Ulrich Drepper <drepper@gmail.com>
58287 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
58288 close_not_cancel_no_status here.
58289 (__check_pf): Reorganize code a bit to not call close twice if OOM.
58291 2011-10-29 Ulrich Drepper <drepper@gmail.com>
58294 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
58297 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
58298 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
58299 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
58301 2011-07-03 Andreas Jaeger <aj@suse.de>
58304 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
58305 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
58306 * math/libm-test.inc (sin_test): Add test case.
58308 2011-10-29 Ulrich Drepper <drepper@gmail.com>
58311 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
58312 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58314 * elf/chroot_canon.c (chroot_canon): Cleanups.
58316 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
58319 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
58320 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58322 * string/test-strchr.c: Make usable for strchrnul testing.
58323 * string/test-strchrnul.c: New file.
58324 * string/Makefile (strop-tests): Add strchrnul.
58326 * po/it.po: Update from translation team.
58327 * po/es.po: Likewise.
58329 2011-10-28 Ulrich Drepper <drepper@gmail.com>
58331 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
58332 the three constants needed as parameters. Drop the others.
58333 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
58334 __m128i_strloadu_tolower.
58335 Create and initialize variable zero and use it in all the places
58336 where _mm_setzero_si128 was used.
58338 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
58339 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
58340 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
58341 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
58343 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
58344 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
58345 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
58346 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
58347 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
58348 __mpranred, __mptan.
58349 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
58350 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
58351 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
58352 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
58353 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
58354 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
58355 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
58356 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
58357 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
58359 2011-10-28 Andreas Schwab <schwab@redhat.com>
58361 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
58362 redefine if SHARED.
58363 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
58365 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
58366 wide char related routines to wcsmbs subdir.
58368 2011-10-27 Andreas Schwab <schwab@redhat.com>
58371 * misc/sys/cdefs.h (__THROWNL): Define.
58372 * posix/unistd.h: Use __THREADNL instead of __THREAD
58373 for memory synchronization functions.
58375 2011-10-26 Roland McGrath <roland@hack.frob.com>
58378 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
58380 * manual/stdio.texi (Obstack Streams): Node removed.
58382 2011-10-26 Andreas Schwab <schwab@redhat.com>
58384 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
58385 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58386 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58388 * math/math_private.h (math_force_eval): Allow non-addressable
58390 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
58392 2011-10-25 Ulrich Drepper <drepper@gmail.com>
58394 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
58395 file is not needed.
58397 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
58398 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
58399 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58400 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58401 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58402 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58403 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58404 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
58406 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
58407 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
58408 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
58409 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
58410 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
58411 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
58412 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
58413 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
58414 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
58415 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
58416 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
58417 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
58418 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
58419 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
58420 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
58421 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
58422 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
58423 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
58424 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
58426 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
58427 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
58429 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
58430 place. Use VEX encoding when compiling for AVX.
58432 2011-10-25 Andreas Schwab <schwab@redhat.com>
58434 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
58435 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58437 * string/test-strchr.c (do_test): Don't generate NUL bytes.
58439 2011-10-25 Ulrich Drepper <drepper@gmail.com>
58441 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
58442 useless if() expression.
58443 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58444 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58445 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58446 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58447 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58448 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58449 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58450 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58451 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58452 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58453 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58454 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58455 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
58456 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58457 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
58458 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58459 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58460 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58461 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
58463 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
58465 2011-10-25 Andreas Schwab <schwab@redhat.com>
58467 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
58469 * elf/dl-fini.c (_dl_sort_fini): Likewise.
58471 2011-10-25 Ulrich Drepper <drepper@gmail.com>
58473 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
58474 .text section. Avoid duplicate constants.
58475 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58476 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58477 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58478 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58479 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58480 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58481 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58482 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58483 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58484 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
58485 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58486 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58487 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
58488 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
58489 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58490 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
58491 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58492 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58493 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58494 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58495 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58496 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58497 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58498 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
58499 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
58500 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
58501 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
58502 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
58503 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
58504 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
58505 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
58506 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
58507 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58508 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
58509 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
58510 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
58511 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
58512 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
58513 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
58514 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
58515 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
58516 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
58517 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
58518 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
58519 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
58521 2011-10-24 Ulrich Drepper <drepper@gmail.com>
58523 * sysdeps/x86_64/dla.h: Move to ...
58524 * sysdeps/x86_64/fpu/dla.h: ...here.
58525 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
58526 situations. Use __builtin_fma only for gcc 4.6 and up.
58528 * config.make.in: Add have-mfma4 entry.
58529 * configure.in: Substitute libc_cv_cc_fma4.
58530 * math/Makefile (dbl-only-routines): Add sincostab.
58531 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
58532 Use __sincostab not sincos.
58533 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
58535 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58536 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58537 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58538 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
58540 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
58541 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
58542 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
58543 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
58545 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
58546 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
58548 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
58549 define aliases when function name is a macro.
58550 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
58551 sysdeps/ieee754/dbl-64/sincos.tbl.
58552 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
58553 fma4-enabled routines.
58554 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
58555 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
58556 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
58557 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
58558 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
58559 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
58560 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
58561 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
58562 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
58563 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
58564 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
58565 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
58566 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
58567 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
58568 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
58569 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
58570 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
58571 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
58572 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
58573 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
58574 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
58575 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
58576 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
58577 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
58578 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
58579 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
58580 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
58581 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
58582 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
58583 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
58585 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
58587 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58588 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58589 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58590 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58591 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58592 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58593 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58594 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58596 2011-10-24 Andreas Schwab <schwab@redhat.com>
58598 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
58600 2011-10-23 Ulrich Drepper <drepper@gmail.com>
58602 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
58604 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
58606 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
58608 * string/strnlen.c: Don't define STRNLEN, reverse logic.
58609 Remove unused variable magic_bits.
58610 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
58612 * string/strnlen.c: Define and use STRNLEN macro.
58613 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
58614 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
58615 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
58616 * wcsmbs/wcslen.c: Define and use WCSLEN.
58617 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
58618 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
58619 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
58620 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
58621 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
58622 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
58623 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58625 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58627 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58628 strnlen-sse2-no-bsf.
58629 Rename strlen-no-bsf to strlen-sse2-no-bsf.
58630 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
58631 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
58632 Add strnlen support.
58633 (USE_AS_STRNLEN): New macro.
58634 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
58635 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
58636 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
58637 * sysdeps/x86_64/wcslen.S: New file.
58639 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
58641 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58642 XMM-moves are used for copying on small sizes.
58644 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58646 * wcsmbs/Makefile (strop-tests): Add wcschr.
58647 * wcsmbs/test-wcschr.c: New file.
58648 * string/test-strchr.c: Update.
58649 Add wcschr support.
58652 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58654 * wcsmbs/Makefile (strop-tests): Add wcslen.
58655 * wcsmbs/test-wcslen.c: New file.
58656 * string/test-strlen.c: Update.
58657 Add wcslen support.
58660 2011-10-23 Ulrich Drepper <drepper@gmail.com>
58662 * po/it.po: Update from translation team.
58664 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58666 * sysdeps/x86_64/wcscmp.S: Update.
58667 Fix wrong comparison semantics.
58668 wcscmp shall use signed comparison not unsigned.
58669 Don't use substraction to avoid overflow bug.
58670 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
58671 * wcsmbc/wcscmp.c: Likewise.
58672 * string/test-strcmp.c: Likewise.
58673 Add new tests to check cases with negative values.
58675 2011-10-23 Ulrich Drepper <drepper@gmail.com>
58677 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
58678 * sysdeps/x86_64/dla.h: ...here. New file.
58679 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
58680 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58681 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58682 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58683 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58684 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58685 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58686 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58687 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58689 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
58691 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
58692 __ynl_finite aliases.
58694 2011-10-22 Ulrich Drepper <drepper@gmail.com>
58696 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58698 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
58700 [DLA_FMA] (EMULV): Use DLA_FMA.
58701 [DLA_FMA] (MUL12): Use EMULV.
58702 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
58703 that are not needed.
58704 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58705 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58706 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58707 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58708 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58709 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58710 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58712 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
58714 * math/s_nan.c: Undef __nan.
58715 * math/s_nanf.c: Undef __nanf.
58716 * math/s_nanl.c: Undef __nanl.
58717 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58720 2011-10-22 Ulrich Drepper <drepper@gmail.com>
58722 * math/s_catan.c: Add branch predictions.
58723 * math/s_catanf.c: Likewise.
58724 * math/s_catanh.c: Likewise.
58725 * math/s_catanhf.c: Likewise.
58726 * math/s_catanhl.c: Likewise.
58727 * math/s_catanl.c: Likewise.
58728 * math/s_cexp.c: Likewise.
58729 * math/s_cexpf.c: Likewise.
58730 * math/s_cexpl.c: Likewise.
58731 * math/s_clog.c: Likewise.
58732 * math/s_clog10.c: Likewise.
58733 * math/s_clog10f.c: Likewise.
58734 * math/s_clog10l.c: Likewise.
58735 * math/s_clogf.c: Likewise.
58736 * math/s_clogl.c: Likewise.
58737 * math/s_csqrt.c: Likewise.
58738 * math/s_csqrtf.c: Likewise.
58739 * math/s_csqrtl.c: Likewise.
58740 * math/s_ctanf.c: Likewise.
58741 * math/s_ctanh.c: Likewise.
58742 * math/s_ctanhf.c: Likewise.
58743 * math/s_ctanhl.c: Likewise.
58744 * math/s_ctanl.c: Likewise.
58746 * math/math_private.h: Define __nan, __nanf, __nanl.
58747 * math/s_cacosh.c: Include <math_private.h>.
58748 * math/s_cacoshl.c: Likewise.
58749 * math/s_casinh.c: Likewise.
58750 * math/s_casinhf.c: Likewise.
58751 * math/s_casinhl.c: Likewise.
58752 * math/s_ccos.c: Rely entire on ccosh.
58753 * math/s_ccosf.c: Rely entire on ccoshf.
58754 * math/s_ccosl.c: Rely entirely on ccoshl.
58755 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
58756 Remove tests for FE_INVALID.
58757 * math/s_ccoshf.c: Likewise.
58758 * math/s_ccoshl.c: Likewise.
58759 * math/s_csin.c: Likewise.
58760 * math/s_csinf.c: Likewise.
58761 * math/s_csinh.c Likewise.
58762 * math/s_csinhf.c: Likewise.
58763 * math/s_csinhl.c: Likewise.
58764 * math/s_csinl.c: Likewise.
58765 * math/s_ctan.c: Likewise.
58766 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
58767 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
58768 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
58770 2011-10-21 Ulrich Drepper <drepper@gmail.com>
58772 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
58773 compilation problems.
58775 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
58778 2011-10-20 Ulrich Drepper <drepper@gmail.com>
58780 * sysdeps/i386/configure.in: Test for -mfma4 option.
58781 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
58782 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
58783 COMMON_CPUID_INDEX_80000001.
58784 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
58785 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
58786 use it if FMA3 is not supported.
58787 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
58789 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
58790 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58792 2011-10-20 Andreas Schwab <schwab@redhat.com>
58795 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
58796 it would create a cycle with a link time dependency.
58798 2011-10-19 Ulrich Drepper <drepper@gmail.com>
58800 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
58802 * string/Makefile (strop-tests): Add rawmemchr.
58803 * string/test-rawmemchr.c: New file.
58805 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
58806 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
58807 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
58808 when compiling str{,n}casecmp and when AVX is available. Hook up
58809 new optimized code in initializers.
58811 2011-10-19 Andreas Schwab <schwab@redhat.com>
58813 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
58814 __feraiseexcept instead of feraiseexcept.
58816 2011-10-18 Ulrich Drepper <drepper@gmail.com>
58818 * math/math_private.h: Define defaults for libc_fetestexcept and
58820 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
58821 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
58822 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58823 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58824 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58825 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58826 libc_fetestexcept and libc_feupdateenv.
58828 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
58829 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
58830 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
58831 * sysdeps/x86_64/fpu/math_private.h: Define special version of
58832 libc_feholdexcept_setround.
58834 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
58835 Add s_nearbyint-c and s_nearbyintf-c.
58836 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
58837 nearbyintf inlines.
58838 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
58839 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
58840 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
58841 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
58843 * math/math_private.h: Define defaults for libc_fegetround,
58844 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
58845 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
58846 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
58847 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
58848 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
58849 standard functions.
58850 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58851 Remove comments and hacks for old compiler versions.
58852 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58853 libc_fegetround, libc_fesetround, libc_feholdexcept, and
58854 libc_feholdexceptl.
58856 2011-10-18 Andreas Schwab <schwab@redhat.com>
58858 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
58859 (__feraiseexcept_renamed): Add __NTH.
58860 (feraiseexcept): Add __NTH. Rename local variables to fix
58861 namespace violations.
58863 2011-10-17 Ulrich Drepper <drepper@gmail.com>
58865 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
58867 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
58869 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
58870 recently added interfaces.
58871 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
58873 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
58874 about macro parameter expansion.
58876 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
58877 __NO_MATH_INLINES is defined. Cleanups.
58879 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
58880 and __floorf is target has SSE4.1.
58881 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
58882 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
58883 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
58884 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
58886 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
58888 (floorf): Likewise.
58890 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
58892 2011-10-17 Andreas Schwab <schwab@redhat.com>
58894 * misc/sys/cdefs.h: Fix last change.
58896 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
58899 2011-10-16 Ulrich Drepper <drepper@gmail.com>
58901 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
58903 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
58904 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58905 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58906 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58907 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58908 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
58909 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58910 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58911 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
58912 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
58913 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
58914 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
58915 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
58916 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
58917 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
58918 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
58919 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
58920 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
58921 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
58922 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
58923 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
58924 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
58926 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
58927 ceil, ceilf, floor, floorf.
58929 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
58930 Perform IRELATIVE relocations last.
58932 * elf/do-rel.h: Add another parameter nrelative, replacing the
58933 local variable with the same name. Change name of the function
58934 to end in Rel or Rela (uppercase).
58935 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
58936 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
58937 elf_dynamic_do_##reloc function.
58939 2011-10-15 Ulrich Drepper <drepper@gmail.com>
58941 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
58942 is sufficient, at least on modern CPUs.
58944 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
58946 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
58947 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
58949 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
58951 * math/bits/math-finite.h: Add entries for exp.
58952 * math/e_expl.c: Add __*_finite alias.
58953 * sysdeps/i386/fpu/e_exp.S: Likewise.
58954 * sysdeps/i386/fpu/e_expf.S: Likewise.
58955 * sysdeps/i386/fpu/e_expl.c: Likewise.
58956 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58957 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58958 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58959 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58960 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
58961 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58962 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58964 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
58965 is sufficient, at least on modern CPUs.
58967 * ctype/ctype-info.c (__ctype_init): Define.
58968 * include/ctype.h (__ctype_init): Declare.
58969 (__ctype_b_loc): The variable is always initialized.
58970 (__ctype_toupper_loc): Likewise.
58971 (__ctype_tolower_loc): Likewise.
58972 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
58973 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
58975 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
58977 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
58979 * configure.in: Also look in $cxxmachine/include for C++ system
58982 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58984 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
58985 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
58986 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
58987 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
58988 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
58989 (USE_AS_WMEMCMP): New macro.
58991 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
58992 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
58993 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
58994 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
58995 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58996 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
58997 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
58998 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
58999 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
59000 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
59001 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
59002 (USE_AS_WMEMCMP): New macro.
59003 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
59004 * sysdeps/string/test-memcmp.c: Update.
59005 Fix simple_wmemcmp.
59007 * wcsmbs/wmemcmp.c: Update.
59008 (WMEMCMP): New macro.
59011 2011-10-12 Andreas Jaeger <aj@suse.de>
59014 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
59016 2011-10-15 Ulrich Drepper <drepper@gmail.com>
59018 * libio/iofwide.c (do_length): Avoid warning.
59020 * ctype/ctype.h (__isctype_f): Add missing __THROW.
59022 2011-10-14 Ulrich Drepper <drepper@gmail.com>
59024 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
59026 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
59027 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
59028 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
59029 * sysdeps/i386/i686/fpu/e_log.S: New file.
59030 * sysdeps/i386/i686/fpu/e_logf.S: New file.
59031 * sysdeps/i386/i686/fpu/e_logl.S: New file.
59033 * ctype/ctype.h: Add support for inlined isXXX functions when
59034 compiling C++ code.
59036 2011-10-14 Andreas Schwab <schwab@redhat.com>
59038 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59040 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
59042 2011-10-13 Roland McGrath <roland@hack.frob.com>
59045 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
59047 2011-10-13 Andreas Schwab <schwab@redhat.com>
59049 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
59050 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
59053 * sysdeps/x86_64/memrchr.S: Check for zero size.
59055 * string/stratcliff.c: Add memrchr tests.
59057 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59059 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59060 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
59061 rawmemchr-sse2 rawmemchr-sse2-bsf.
59062 * sysdeps/i386/i686/multiarch/memchr.S: New file.
59063 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
59064 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
59065 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
59066 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
59067 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
59068 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
59069 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
59070 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
59071 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
59072 * string/memrchr.c (MEMRCHR): New macro.
59074 2011-10-12 Ulrich Drepper <drepper@gmail.com>
59076 Add integration with gcc's -ffinite-math-only and optimize wrapper
59078 * Versions.def: Define GLIBC_2.15 version for libm.
59079 * math/Makefile (headers): Add bits/math-finite.h.
59080 * math/bits/math-finite.h: New file.
59081 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
59082 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
59083 * math/e_acoshl.c: Add __*_finite alias.
59084 * math/e_acosl.c: Likewise.
59085 * math/e_asinl.c: Likewise.
59086 * math/e_atan2l.c: Likewise.
59087 * math/e_atanhl.c: Likewise.
59088 * math/e_coshl.c: Likewise.
59089 * math/e_exp10.c: Likewise.
59090 * math/e_exp10f.c: Likewise.
59091 * math/e_exp10l.c: Likewise.
59092 * math/e_exp2l.c: Likewise.
59093 * math/e_fmodl.c: Likewise.
59094 * math/e_gammal_r.c: Likewise.
59095 * math/e_hypotl.c: Likewise.
59096 * math/e_j0l.c: Likewise.
59097 * math/e_j1l.c: Likewise.
59098 * math/e_jnl.c: Likewise.
59099 * math/e_lgammal_r.c: Likewise.
59100 * math/e_log10l.c: Likewise.
59101 * math/e_log2l.c: Likewise.
59102 * math/e_logl.c: Likewise.
59103 * math/e_powl.c: Likewise.
59104 * math/e_sinhl.c: Likewise.
59105 * math/e_sqrtl.c: Likewise.
59106 * math/e_scalb.c: Completely rewritten and optimized.
59107 * math/e_scalbf.c: Likewise.
59108 * math/e_scalbl.c: Likewise.
59109 * math/w_acos.c: Likewise.
59110 * math/w_acosf.c: Likewise.
59111 * math/w_acosl.c: Likewise.
59112 * math/w_acosh.c: Likewise.
59113 * math/w_acoshf.c: Likewise.
59114 * math/w_acoshl.c: Likewise.
59115 * math/w_asin.c: Likewise.
59116 * math/w_asinf.c: Likewise.
59117 * math/w_asinl.c: Likewise.
59118 * math/w_atan2.c: Likewise.
59119 * math/w_atan2f.c: Likewise.
59120 * math/w_atan2l.c: Likewise.
59121 * math/w_atanh.c: Likewise.
59122 * math/w_atanhf.c: Likewise.
59123 * math/w_atanhl.c: Likewise.
59124 * math/w_exp10.c: Likewise.
59125 * math/w_exp10f.c: Likewise.
59126 * math/w_exp10l.c: Likewise.
59127 * math/w_fmod.c: Likewise.
59128 * math/w_fmodf.c: Likewise.
59129 * math/w_fmodl.c: Likewise.
59130 * math/w_j0.c: Likewise.
59131 * math/w_j0f.c: Likewise.
59132 * math/w_j0l.c: Likewise.
59133 * math/w_j1.c: Likewise.
59134 * math/w_j1f.c: Likewise.
59135 * math/w_j1l.c: Likewise.
59136 * math/w_jn.c: Likewise.
59137 * math/w_jnf.c: Likewise.
59138 * math/w_log.c: Likewise.
59139 * math/w_logf.c: Likewise.
59140 * math/w_logl.c: Likewise.
59141 * math/w_log10.c: Likewise.
59142 * math/w_log10f.c: Likewise.
59143 * math/w_log10l.c: Likewise.
59144 * math/w_log2.c: Likewise.
59145 * math/w_log2f.c: Likewise.
59146 * math/w_log2l.c: Likewise.
59147 * math/w_pow.c: Likewise.
59148 * math/w_powf.c: Likewise.
59149 * math/w_powl.c: Likewise.
59150 * math/w_remainder.c: Likewise.
59151 * math/w_remainderf.c: Likewise.
59152 * math/w_remainderl.c: Likewise.
59153 * math/w_scalb.c: Likewise.
59154 * math/w_scalbf.c: Likewise.
59155 * math/w_scalbl.c: Likewise.
59156 * math/w_sqrt.c: Likewise.
59157 * math/w_sqrtf.c: Likewise.
59158 * math/w_sqrtl.c: Likewise.
59159 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
59160 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
59162 * math/math_private.h: Declare __kernel_standard_f.
59163 * math/w_cosh.c: Remove cruft and optimize a bit.
59164 * math/w_coshf.c: Likewise.
59165 * math/w_coshl.c: Likewise.
59166 * math/w_exp2.c: Likewise.
59167 * math/w_exp2f.c: Likewise.
59168 * math/w_exp2l.c: Likewise.
59169 * math/w_hypot.c: Likewise.
59170 * math/w_hypotf.c: Likewise.
59171 * math/w_hypotl.c: Likewise.
59172 * math/w_lgamma.c: Likewise.
59173 * math/w_lgamma_r.c: Likewise.
59174 * math/w_lgammaf.c: Likewise.
59175 * math/w_lgammaf_r.c: Likewise.
59176 * math/w_lgammal.c: Likewise.
59177 * math/w_lgammal_r.c: Likewise.
59178 * math/w_sinh.c: Likewise.
59179 * math/w_sinhf.c: Likewise.
59180 * math/w_sinhl.c: Likewise.
59181 * math/w_tgamma.c: Likewise.
59182 * math/w_tgammaf.c: Likewise.
59183 * math/w_tgammal.c: Likewise.
59184 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
59185 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59186 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
59187 Minor optimizations. Pretty printing. Remove cruft.
59188 * sysdeps/i386/fpu/e_acosf.S: Likewise.
59189 * sysdeps/i386/fpu/e_acosh.S: Likewise.
59190 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59191 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59192 * sysdeps/i386/fpu/e_acosl.c: Likewise.
59193 * sysdeps/i386/fpu/e_asin.S: Likewise.
59194 * sysdeps/i386/fpu/e_asinf.S: Likewise.
59195 * sysdeps/i386/fpu/e_atan2.S: Likewise.
59196 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
59197 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
59198 * sysdeps/i386/fpu/e_atanh.S: Likewise.
59199 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59200 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59201 * sysdeps/i386/fpu/e_exp10.S: Likewise.
59202 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
59203 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
59204 * sysdeps/i386/fpu/e_exp2.S: Likewise.
59205 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
59206 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
59207 * sysdeps/i386/fpu/e_fmod.S: Likewise.
59208 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
59209 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
59210 * sysdeps/i386/fpu/e_hypot.S: Likewise.
59211 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
59212 * sysdeps/i386/fpu/e_log.S: Likewise.
59213 * sysdeps/i386/fpu/e_log10.S: Likewise.
59214 * sysdeps/i386/fpu/e_log10f.S: Likewise.
59215 * sysdeps/i386/fpu/e_log10l.S: Likewise.
59216 * sysdeps/i386/fpu/e_log2.S: Likewise.
59217 * sysdeps/i386/fpu/e_log2f.S: Likewise.
59218 * sysdeps/i386/fpu/e_log2l.S: Likewise.
59219 * sysdeps/i386/fpu/e_logf.S: Likewise.
59220 * sysdeps/i386/fpu/e_logl.S: Likewise.
59221 * sysdeps/i386/fpu/e_pow.S: Likewise.
59222 * sysdeps/i386/fpu/e_powf.S: Likewise.
59223 * sysdeps/i386/fpu/e_powl.S: Likewise.
59224 * sysdeps/i386/fpu/e_remainder.S: Likewise.
59225 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
59226 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
59227 * sysdeps/i386/fpu/e_scalb.S: Likewise.
59228 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59229 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59230 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
59231 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
59232 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
59233 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59234 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59235 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59236 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59237 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59238 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59239 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
59240 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59241 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59242 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59243 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59244 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
59245 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59246 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59247 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59248 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59249 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59250 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59251 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59252 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59253 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59254 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
59255 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59256 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59257 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
59258 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
59259 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59260 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
59261 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
59262 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
59263 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59264 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
59265 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59266 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
59267 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
59268 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
59269 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
59270 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
59271 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
59272 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
59273 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
59274 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
59275 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
59276 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
59277 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59278 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
59279 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
59280 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
59281 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
59282 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
59283 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
59284 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
59285 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
59286 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59287 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
59288 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
59289 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
59290 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
59291 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
59292 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
59293 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
59294 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
59295 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59296 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59297 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
59298 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
59299 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
59300 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
59301 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
59302 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
59303 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
59304 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
59305 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
59306 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
59307 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
59308 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59309 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
59310 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
59311 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59312 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
59313 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59314 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
59315 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
59316 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59317 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59318 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
59319 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59320 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
59321 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59322 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
59323 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59324 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59325 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59326 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
59327 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59328 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59329 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59330 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
59331 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
59332 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
59333 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
59334 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
59335 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
59336 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
59337 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59338 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59339 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59340 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59341 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
59342 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59343 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
59344 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
59345 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
59346 (__isnanf): Likewise.
59347 (__isinf_ns): Likewise.
59348 (__isinf_nsf): Likewise.
59349 (__finite): Likewise.
59350 (__finitef): Likewise.
59351 (__ieee754_sqrt): Define as macro.
59352 (__ieee754_sqrtf): Define as macro.
59353 (__ieee754_sqrtl): Define as macro.
59354 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
59356 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
59357 __FINITE_MATH_ONLY__ consistent.
59358 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
59360 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
59362 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
59365 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
59367 2011-10-09 Ulrich Drepper <drepper@gmail.com>
59369 * po/ja.po: Update from translation team.
59371 2011-10-08 Roland McGrath <roland@hack.frob.com>
59373 * locale/programs/locarchive.c (prepare_address_space): New function.
59374 (create_archive, enlarge_archive, open_archive): Use it.
59376 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
59377 inside [SHARED], where it is used.
59379 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
59381 * nss/getent.c (netgroup_keys): Remove unused variable.
59382 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
59384 2011-10-08 Ulrich Drepper <drepper@gmail.com>
59386 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
59387 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
59388 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
59389 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
59390 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
59391 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
59392 * math/Makefile (libm-calls): Add s_isinf_ns.
59393 * math/divtc3.c: Use __isinf_nsl instead of isinf.
59394 * math/multc3.c: Likewise.
59395 * math/s_casin.c: Likewise.
59396 * math/s_casinf.c: Likewise.
59397 * math/s_casinl.c: Likewise.
59398 * math/s_ccos.c: Likewise.
59399 * math/s_ccosf.c: Likewise.
59400 * math/s_ccosl.c: Likewise.
59401 * math/s_ctan.c: Likewise.
59402 * math/s_ctanf.c: Likewise.
59403 * math/s_ctanh.c: Likewise.
59404 * math/s_ctanhf.c: Likewise.
59405 * math/s_ctanhl.c: Likewise.
59406 * math/s_ctanl.c: Likewise.
59407 * math/w_fmod.c: Likewise.
59408 * math/w_fmodf.c: Likewise.
59409 * math/w_fmodl.c: Likewise.
59410 * math/w_remainder.c: Likewise.
59411 * math/w_remainderf.c: Likewise.
59412 * math/w_remainderl.c: Likewise.
59413 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
59414 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
59415 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
59416 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
59417 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
59418 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
59419 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
59420 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
59422 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
59424 * stdio-common/printf_fphex.c: Likewise.
59425 * stdio-common/printf_size.c: Likewise.
59427 * math/e_exp10.c: Include math_private.h using <...> not "...".
59428 * math/e_exp10f.c: Likewise.
59429 * math/e_exp10l.c: Likewise.
59430 * math/e_exp2l.c: Likewise.
59431 * math/e_j0l.c: Likewise.
59432 * math/e_j1l.c: Likewise.
59433 * math/e_jnl.c: Likewise.
59434 * math/e_lgammal_r.c: Likewise.
59435 * math/e_rem_pio2l.c: Likewise.
59436 * math/e_scalb.c: Likewise.
59437 * math/e_scalbf.c: Likewise.
59438 * math/e_scalbl.c: Likewise.
59439 * math/k_cosl.c: Likewise.
59440 * math/k_sinl.c: Likewise.
59441 * math/k_tanl.c: Likewise.
59442 * math/s_cacoshf.c: Likewise.
59443 * math/s_catan.c: Likewise.
59444 * math/s_catanf.c: Likewise.
59445 * math/s_catanh.c: Likewise.
59446 * math/s_catanhf.c: Likewise.
59447 * math/s_catanhl.c: Likewise.
59448 * math/s_catanl.c: Likewise.
59449 * math/s_ccosh.c: Likewise.
59450 * math/s_ccoshf.c: Likewise.
59451 * math/s_ccoshl.c: Likewise.
59452 * math/s_cexp.c: Likewise.
59453 * math/s_cexpf.c: Likewise.
59454 * math/s_cexpl.c: Likewise.
59455 * math/s_clog.c: Likewise.
59456 * math/s_clog10.c: Likewise.
59457 * math/s_clog10f.c: Likewise.
59458 * math/s_clog10l.c: Likewise.
59459 * math/s_clogf.c: Likewise.
59460 * math/s_clogl.c: Likewise.
59461 * math/s_csin.c: Likewise.
59462 * math/s_csinf.c: Likewise.
59463 * math/s_csinh.c: Likewise.
59464 * math/s_csinhf.c: Likewise.
59465 * math/s_csinhl.c: Likewise.
59466 * math/s_csinl.c: Likewise.
59467 * math/s_csqrt.c: Likewise.
59468 * math/s_csqrtf.c: Likewise.
59469 * math/s_csqrtl.c: Likewise.
59470 * math/s_ctan.c: Likewise.
59471 * math/s_ctanf.c: Likewise.
59472 * math/s_ctanh.c: Likewise.
59473 * math/s_ctanhf.c: Likewise.
59474 * math/s_ctanhl.c: Likewise.
59475 * math/s_ctanl.c: Likewise.
59476 * math/s_ldexp.c: Likewise.
59477 * math/s_ldexpf.c: Likewise.
59478 * math/s_ldexpl.c: Likewise.
59479 * math/s_significand.c: Likewise.
59480 * math/s_significandf.c: Likewise.
59481 * math/s_significandl.c: Likewise.
59482 * math/w_acos.c: Likewise.
59483 * math/w_acosf.c: Likewise.
59484 * math/w_acosh.c: Likewise.
59485 * math/w_acoshf.c: Likewise.
59486 * math/w_acoshl.c: Likewise.
59487 * math/w_acosl.c: Likewise.
59488 * math/w_asin.c: Likewise.
59489 * math/w_asinf.c: Likewise.
59490 * math/w_asinl.c: Likewise.
59491 * math/w_atan2.c: Likewise.
59492 * math/w_atan2f.c: Likewise.
59493 * math/w_atan2l.c: Likewise.
59494 * math/w_atanh.c: Likewise.
59495 * math/w_atanhf.c: Likewise.
59496 * math/w_atanhl.c: Likewise.
59497 * math/w_cosh.c: Likewise.
59498 * math/w_coshf.c: Likewise.
59499 * math/w_coshl.c: Likewise.
59500 * math/w_dremf.c: Likewise.
59501 * math/w_exp10.c: Likewise.
59502 * math/w_exp10f.c: Likewise.
59503 * math/w_exp10l.c: Likewise.
59504 * math/w_exp2.c: Likewise.
59505 * math/w_exp2f.c: Likewise.
59506 * math/w_fmod.c: Likewise.
59507 * math/w_fmodf.c: Likewise.
59508 * math/w_fmodl.c: Likewise.
59509 * math/w_hypot.c: Likewise.
59510 * math/w_hypotf.c: Likewise.
59511 * math/w_hypotl.c: Likewise.
59512 * math/w_j0.c: Likewise.
59513 * math/w_j0f.c: Likewise.
59514 * math/w_j0l.c: Likewise.
59515 * math/w_j1.c: Likewise.
59516 * math/w_j1f.c: Likewise.
59517 * math/w_j1l.c: Likewise.
59518 * math/w_jn.c: Likewise.
59519 * math/w_jnf.c: Likewise.
59520 * math/w_jnl.c: Likewise.
59521 * math/w_lgamma.c: Likewise.
59522 * math/w_lgamma_r.c: Likewise.
59523 * math/w_lgammaf.c: Likewise.
59524 * math/w_lgammaf_r.c: Likewise.
59525 * math/w_lgammal.c: Likewise.
59526 * math/w_lgammal_r.c: Likewise.
59527 * math/w_log.c: Likewise.
59528 * math/w_log10.c: Likewise.
59529 * math/w_log10f.c: Likewise.
59530 * math/w_log10l.c: Likewise.
59531 * math/w_log2.c: Likewise.
59532 * math/w_log2f.c: Likewise.
59533 * math/w_log2l.c: Likewise.
59534 * math/w_logf.c: Likewise.
59535 * math/w_logl.c: Likewise.
59536 * math/w_pow.c: Likewise.
59537 * math/w_powf.c: Likewise.
59538 * math/w_powl.c: Likewise.
59539 * math/w_remainder.c: Likewise.
59540 * math/w_remainderf.c: Likewise.
59541 * math/w_remainderl.c: Likewise.
59542 * math/w_scalb.c: Likewise.
59543 * math/w_scalbf.c: Likewise.
59544 * math/w_scalbl.c: Likewise.
59545 * math/w_sinh.c: Likewise.
59546 * math/w_sinhf.c: Likewise.
59547 * math/w_sinhl.c: Likewise.
59548 * math/w_sqrt.c: Likewise.
59549 * math/w_sqrtf.c: Likewise.
59550 * math/w_sqrtl.c: Likewise.
59551 * math/w_tgamma.c: Likewise.
59552 * math/w_tgammaf.c: Likewise.
59553 * math/w_tgammal.c: Likewise.
59555 * po/ja.po: Update from translation team.
59557 2011-09-29 Andreas Jaeger <aj@suse.de>
59560 * sunrpc/netname.c (netname2host): Fix logic.
59564 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
59566 * math/w_remainder.c (__remainder): Likewise.
59567 * math/w_remainderf.c (__remainderf): Likewise.
59568 * math/libm-test.inc (remainder_test): Add test cases.
59570 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59572 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
59575 2011-10-07 Ulrich Drepper <drepper@gmail.com>
59577 * string/test-memcmp.c: Avoid unncessary #defines.
59578 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59580 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59582 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
59583 Use new sse2 version for core i3 - i7 as it's faster
59584 than sse42 version.
59585 (bit_Prefer_PMINUB_for_stringop): New.
59586 * sysdeps/x86_64/rawmemchr.S: Update.
59587 Replace with faster SSE2 version.
59588 * sysdeps/x86_64/memrchr.S: New file.
59589 * sysdeps/x86_64/memchr.S: Update.
59590 Replace with faster SSE2 version.
59592 2011-09-12 Marek Polacek <mpolacek@redhat.com>
59594 * elf/dl-load.c (lose): Add cast to avoid warning.
59596 2011-10-07 Ulrich Drepper <drepper@gmail.com>
59598 * po/ca.po: Update from translation team.
59600 * inet/getnetgrent_r.c: Hook up nscd.
59601 * nscd/Makefile (routines): Add nscd_netgroup.
59602 (nscd-modules): Add netgroupcache.
59603 (CFLAGS-netgroupcache.c): Define.
59604 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
59605 (cache_search): Add const to second parameter.
59606 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
59608 (dbs): Add netgrdb entry.
59609 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
59610 (verify_persistent_db): Handle netgrdb.
59611 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
59612 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
59614 (netgroup_response_header): Define.
59615 (innetgroup_response_header): Define.
59616 (datahead): Add netgroup_response_header and innetgroup_response_header
59618 * nscd/nscd.conf: Add entries for netgroup cache.
59619 * nscd/nscd.h (dbtype): Add netgrdb.
59620 (_PATH_NSCD_NETGROUP_DB): Define.
59621 (netgroup_iov_disabled): Declare.
59622 (xmalloc, xcalloc, xrealloc): Move declarations here.
59623 (cache_search): Adjust prototype.
59624 Add netgroup-related prototypes.
59625 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
59626 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
59627 (__nscd_innetgr): Declare.
59628 * nscd/selinux.c (perms): Use access_vector_t as element type and
59629 add netgroup-related initializers.
59630 * nscd/netgroupcache.c: New file.
59631 * nscd/nscd_netgroup.c: New file.
59632 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
59633 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
59634 For four parameters use innetgr.
59635 * nss/nss_files/files-init.c: Add definition and callback for netgr.
59636 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
59637 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
59638 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
59640 * nscd/connections.c (register_traced_file): Don't register file
59641 for disabled databases.
59643 2011-10-06 Ulrich Drepper <drepper@gmail.com>
59645 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
59647 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
59648 from tree and freeing node.
59650 2011-09-25 Jiri Olsa <jolsa@redhat.com>
59652 * nss/nsswitch.c (__nss_database_lookup): Handle
59653 nss_parse_service_list out of memory case.
59655 2011-09-15 Jiri Olsa <jolsa@redhat.com>
59657 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
59658 out of memory case.
59660 2011-10-04 Andreas Schwab <schwab@redhat.com>
59662 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
59663 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
59665 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
59666 elf_machine_rela, elf_machine_lazy_rel.
59667 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
59668 (ELF_DYNAMIC_DO_REL): Likewise.
59669 (ELF_DYNAMIC_DO_RELA): Likewise.
59670 (ELF_DYNAMIC_RELOCATE): Likewise.
59671 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
59672 to ELF_DYNAMIC_DO_REL.
59673 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
59674 (dl_main): In trace mode always set __RTLD_NOIFUNC.
59675 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
59677 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
59678 skip_ifunc, don't call ifunc function if non-zero.
59679 (elf_machine_rela): Likewise.
59680 (elf_machine_lazy_rel): Likewise.
59681 (elf_machine_lazy_rela): Likewise.
59682 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
59683 (elf_machine_lazy_rel): Likewise.
59684 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
59686 (elf_machine_lazy_rel): Likewise.
59687 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59689 (elf_machine_lazy_rel): Likewise.
59690 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
59691 (elf_machine_lazy_rel): Likewise.
59692 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
59693 (elf_machine_lazy_rel): Likewise.
59694 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59695 (elf_machine_lazy_rel): Likewise.
59696 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
59697 (elf_machine_lazy_rel): Likewise.
59698 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
59699 (elf_machine_lazy_rel): Likewise.
59700 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59701 (elf_machine_lazy_rel): Likewise.
59703 2011-09-28 Ulrich Drepper <drepper@gmail.com>
59705 * nss/nss_files/files-init.c (_nss_files_init): Use static
59706 initialization for all the *_traced_file variables.
59708 2011-09-28 Andreas Schwab <schwab@redhat.com>
59710 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59712 2011-09-27 Roland McGrath <roland@hack.frob.com>
59715 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59717 2011-09-27 Andreas Schwab <schwab@redhat.com>
59719 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59720 Reread the line before reparsing it.
59722 2011-09-26 Andreas Schwab <schwab@redhat.com>
59724 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59726 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
59727 Maxim Kuvyrkov <maxim@codesourcery.com>
59728 Joseph Myers <joseph@codesourcery.com>
59730 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
59731 if needed for __stack_chk_guard.
59733 2011-09-19 Roland McGrath <roland@hack.frob.com>
59735 * sysdeps/posix/spawni.c (script_execute): Always define it.
59736 It will be optimized away if unused.
59737 (maybe_script_execute): New function.
59738 (__spawni): Call it.
59740 * Makerules: Don't include tls.make.
59741 (config-tls): Always set to thread.
59742 * tls.make.c: File removed.
59744 2011-09-19 Mike Frysinger <vapier@gentoo.org>
59746 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
59747 * config.make.in (CPPFLAGS-config): New substituted variable.
59749 2011-09-15 Ulrich Drepper <drepper@gmail.com>
59751 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
59754 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
59755 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
59757 2011-09-15 Roland McGrath <roland@hack.frob.com>
59759 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
59760 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
59761 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59762 (CALL_FAIL): Likewise.
59763 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
59764 (CALL_FAIL): Macro removed.
59765 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
59767 2011-09-15 Ulrich Drepper <drepper@gmail.com>
59769 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
59770 for __FINITE_MATH_ONLY__ == 1.
59772 2011-09-15 Andreas Schwab <schwab@redhat.com>
59774 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
59775 __ieee754_sqrt instead of sqrt.
59776 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
59777 __ieee754_sqrtf instead of sqrtf.
59778 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
59779 __floorf instead of floorf.
59780 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
59781 __floorf, __truncf instead of floorf, truncf.
59783 2011-09-14 Ulrich Drepper <drepper@gmail.com>
59785 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
59787 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
59788 __extern_always_inline.
59789 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
59792 2011-09-14 Andreas Schwab <schwab@redhat.com>
59794 * elf/rtld.c (dl_main): Also relocate in dependency order when
59795 doing symbol dependency testing.
59797 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
59799 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59800 Always define `refsym'.
59802 2011-09-13 Andreas Schwab <schwab@redhat.com>
59804 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
59805 (__FD_ELT): Renamed from __FDELT.
59806 * misc/bits/select2.h (__FD_ELT): Likewise.
59807 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
59808 __FD_MASK instead of __FDELT, __FDMASK.
59809 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59811 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59814 * elf/Makefile (gen-ldd): Fix pattern.
59816 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
59817 (init_tls): Likewise.
59819 2011-09-12 Ulrich Drepper <drepper@gmail.com>
59821 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
59823 2011-09-12 Andreas Schwab <schwab@redhat.com>
59825 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
59826 `struct cmsghdr *' instead of `void *'.
59827 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
59830 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
59832 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
59834 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
59835 ldd_rewrite_script.
59837 2011-09-11 Ulrich Drepper <drepper@gmail.com>
59839 * configure.in: Remove --with-tls option.
59840 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
59841 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
59842 out in case it is missing.
59843 * sysdeps/ia64/elf/configure.in: Likewise.
59844 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
59845 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
59846 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
59847 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
59848 * sysdeps/sh/elf/configure.in: Likewise.
59849 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
59850 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
59851 * sysdeps/x86_64/elf/configure.in: Likewise.
59852 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
59853 * sysdeps/mach/hurd/tls.h: Likewise.
59856 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
59859 * configure.in: Fix use of AC_INIT.
59861 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
59863 2011-09-10 Ulrich Drepper <drepper@gmail.com>
59865 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
59867 * malloc/hooks.c: Likewise.
59870 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
59871 variables statically.
59872 (narenas): Initialize.
59873 (list_lock): Initialize.
59874 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
59875 initializtion of main_arena and list_lock. Small cleanups.
59876 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
59877 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
59878 Add initializers to main_arena and mp_.
59879 (malloc_state): Remove pagesize member. Change all users to use
59882 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
59883 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
59884 is always initialized.
59886 * malloc/malloc.c: Removed unused configurations and dead code.
59887 * malloc/arena.c: Likewise.
59888 * malloc/hooks.c: Likewise.
59889 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
59891 * include/tls.h: Removed. USE___THREAD must always be defined.
59892 * bits/libc-tsd.h: Don't handle !USE___THREAD.
59893 * elf/dl-libc.c: Likewise.
59894 * elf/dl-tsd.c: Likewise.
59895 * include/errno.h: Likewise.
59896 * include/netdb.h: Likewise.
59897 * include/resolv.h: Likewise.
59898 * inet/herrno-loc.c: Likewise.
59899 * inet/herrno.c: Likewise.
59900 * malloc/arena.c: Likewise.
59901 * malloc/hooks.c: Likewise.
59902 * malloc/malloc.c: Likewise.
59903 * resolv/res-state.c: Likewise.
59904 * resolv/res_libc.c: Likewise.
59905 * sysdeps/i386/dl-machine.h: Likewise.
59906 * sysdeps/ia64/dl-machine.h: Likewise.
59907 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
59908 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59909 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
59910 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
59911 * sysdeps/sh/dl-machine.h: Likewise.
59912 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59913 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59914 * sysdeps/unix/i386/sysdep.S: Likewise.
59915 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
59916 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
59917 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
59918 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
59919 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
59920 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
59921 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
59922 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59923 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59924 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
59925 * sysdeps/unix/x86_64/sysdep.S: Likewise.
59926 * sysdeps/x86_64/dl-machine.h: Likewise.
59927 * tls.make.c: Likewise.
59929 * configure.in: Remove --with-__thread option. Make tests for
59930 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
59931 tls_model attribute fail if no support is available. Remove
59933 * Makeconfig: Adjust for dropped configure option. All features are
59935 * Makerules: Likewise.
59936 * Versions.def: Likewise.
59937 * argp/argp-fmtstream.c: Likewise.
59938 * argp/argp-fmtstream.h: Likewise.
59939 * argp/argp-help.c: Likewise.
59940 * assert/assert.c: Likewise.
59941 * config.h.in: Likewise.
59942 * config.make.in: Likewise.
59943 * configure: Likewise.
59944 * configure.in: Likewise.
59945 * csu/Versions: Likewise.
59946 * csu/init.c: Likewise.
59947 * elf/tst-audit2.c: Likewise.
59948 * elf/tst-tls10.c: Likewise.
59949 * elf/tst-tls10.h: Likewise.
59950 * elf/tst-tls11.c: Likewise.
59951 * elf/tst-tls12.c: Likewise.
59952 * elf/tst-tls14.c: Likewise.
59953 * elf/tst-tlsmod11.c: Likewise.
59954 * elf/tst-tlsmod12.c: Likewise.
59955 * elf/tst-tlsmod13.c: Likewise.
59956 * elf/tst-tlsmod13a.c: Likewise.
59957 * elf/tst-tlsmod14a.c: Likewise.
59958 * elf/tst-tlsmod15b.c: Likewise.
59959 * elf/tst-tlsmod16a.c: Likewise.
59960 * elf/tst-tlsmod16b.c: Likewise.
59961 * elf/tst-tlsmod7.c: Likewise.
59962 * elf/tst-tlsmod8.c: Likewise.
59963 * elf/tst-tlsmod9.c: Likewise.
59964 * gmon/gmon.c: Likewise.
59965 * grp/fgetgrent_r.c: Likewise.
59966 * grp/putgrent.c: Likewise.
59967 * hurd/fopenport.c: Likewise.
59968 * include/libc-symbols.h: Likewise.
59969 * include/tls.h: Likewise.
59970 * intl/gettextP.h: Likewise.
59971 * intl/loadinfo.h: Likewise.
59972 * locale/global-locale.c: Likewise.
59973 * locale/localeinfo.h: Likewise.
59974 * mach/devstream.c: Likewise.
59975 * malloc/arena.c: Likewise.
59976 * malloc/set-freeres.c: Likewise.
59977 * misc/err.c: Likewise.
59978 * misc/getttyent.c: Likewise.
59979 * misc/mntent_r.c: Likewise.
59980 * posix/getopt.c: Likewise.
59981 * posix/wordexp.c: Likewise.
59982 * pwd/fgetpwent_r.c: Likewise.
59983 * resolv/Versions: Likewise.
59984 * resolv/res_hconf.c: Likewise.
59985 * shadow/fgetspent_r.c: Likewise.
59986 * shadow/putspent.c: Likewise.
59987 * stdio-common/printf_fphex.c: Likewise.
59988 * stdio-common/tmpfile.c: Likewise.
59989 * stdlib/abort.c: Likewise.
59990 * stdlib/fmtmsg.c: Likewise.
59991 * sunrpc/auth_unix.c: Likewise.
59992 * sunrpc/clnt_perr.c: Likewise.
59993 * sunrpc/clnt_tcp.c: Likewise.
59994 * sunrpc/clnt_udp.c: Likewise.
59995 * sunrpc/clnt_unix.c: Likewise.
59996 * sunrpc/openchild.c: Likewise.
59997 * sunrpc/svc_simple.c: Likewise.
59998 * sunrpc/svc_tcp.c: Likewise.
59999 * sunrpc/svc_udp.c: Likewise.
60000 * sunrpc/svc_unix.c: Likewise.
60001 * sunrpc/xdr.c: Likewise.
60002 * sunrpc/xdr_array.c: Likewise.
60003 * sunrpc/xdr_rec.c: Likewise.
60004 * sunrpc/xdr_ref.c: Likewise.
60005 * sunrpc/xdr_stdio.c: Likewise.
60007 2011-09-09 Ulrich Drepper <drepper@gmail.com>
60009 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60011 2011-07-03 Andreas Jaeger <aj@suse.de>
60013 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
60014 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
60015 regenerate with gen-libm-tests.pl.
60017 2010-05-12 Petr Baudis <pasky@suse.cz>
60020 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
60021 around j0() zero points by switching to j1().
60022 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60023 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60024 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
60025 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60027 2011-09-09 Ulrich Drepper <drepper@gmail.com>
60029 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
60031 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
60033 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60034 Patch in part by Pavel Roskin <proski@gnu.org>.
60037 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
60039 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
60040 Free memory block if necessary.
60043 * libio/genops.c (INTDEF): For string streams the _lock pointer can
60044 be NULL. Don't lock in this case.
60046 2011-09-09 Roland McGrath <roland@hack.frob.com>
60048 * elf/elf.h (ELFOSABI_GNU): New macro.
60049 (ELFOSABI_LINUX): Define to that.
60051 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
60053 * string/strncat.c (strncat): Undef the symbol in case it has been
60054 defined in bits/string.h.
60056 2011-09-09 Ulrich Drepper <drepper@gmail.com>
60058 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
60060 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
60063 2011-08-17 Andreas Jaeger <aj@suse.de>
60065 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
60067 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
60068 Ian Lance Taylor <iant@google.com>
60070 * math/libm-test.inc (lround_test): New testcase.
60071 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
60073 2011-09-08 Ulrich Drepper <drepper@gmail.com>
60075 * Makefile: Remove support for automatic cvs check-ins.
60076 * Makerules: Likewise.
60077 * config.make.in: Likewise.
60078 * configure.in: Likewise.
60079 * intl/Makefile: Likewise.
60080 * locale/Makefile: Likewise.
60081 * po/Makefile: Likewise.
60082 * posix/Makefile: Likewise.
60083 * sysdeps/gnu/Makefile: Likewise.
60084 * sysdeps/mach/hurd/Makefile: Likewise.
60085 * sysdeps/sparc/sparc32/Makefile: Likewise.
60088 * posix/Makefile (bug-regex32-ENV): Define.
60089 Patch by John Stanley <jpsinthemix@verizon.net>.
60091 * misc/Makefile (headers): Add bits/select2.h.
60092 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
60093 * misc/bits/select2.h: New file.
60094 * include/bits/select2.h: New file.
60095 * debug/Makefile (routines): Add fdelt_chk.
60096 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
60097 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
60099 * debug/fdelt_chk.c: New file.
60101 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
60102 * wcsmbs/test-wmemcmp.c: Likewise.
60103 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
60104 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
60106 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60108 * string/Makefile (strop-tests): Add memcmp.
60109 * string/test-wmemcmp.c: New file.
60110 * string/test-memcmp.c: Add wmemcmp support.
60112 2011-09-08 Roland McGrath <roland@hack.frob.com>
60115 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
60118 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
60119 garbage value in a __mach_port_mod_refs call in the cases of the
60120 task-self and thread-self ports.
60122 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
60124 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
60126 2011-09-08 Andreas Schwab <schwab@redhat.com>
60128 * elf/dl-load.c (lose): Check for non-null L.
60130 2011-09-07 Ulrich Drepper <drepper@gmail.com>
60132 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
60134 * elf/dl-libc.c (dlerror_run): Pass back error code from
60138 * elf/dl-load.c (lose): Free l_origin if it is valid.
60140 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
60142 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
60143 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60144 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60145 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60146 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
60147 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
60149 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60151 * sysdeps/powerpc/fpu/e_hypot.c: New file.
60152 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
60153 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
60154 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
60155 * sysdeps/powerpc/fpu/k_cosf.c: New file.
60156 * sysdeps/powerpc/fpu/k_sinf.c: New file.
60157 * sysdeps/powerpc/fpu/s_cosf.c: New file.
60158 * sysdeps/powerpc/fpu/s_sinf.c: New file.
60159 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
60160 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
60162 2011-08-15 Alan Modra <amodra@gmail.com>
60165 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
60166 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
60167 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
60168 ppc_mcount to static-only-routines.
60169 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
60171 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
60172 __mcount_internal with usual JUMPTARGET. Remove useless nop.
60174 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
60176 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
60177 for finite and infinity parameters.
60179 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
60181 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
60182 and add nop instructions for throughput optimization.
60183 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60185 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
60187 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
60188 aligned copy for power7 with vector-scalar instructions.
60189 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
60191 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
60193 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
60196 2011-09-07 Andreas Schwab <schwab@redhat.com>
60199 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
60202 2011-09-07 Ulrich Drepper <drepper@gmail.com>
60204 * sysdeps/unix/sysv/linux/x86_64/init-first.c
60205 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
60206 syscall wrapper around clock_gettime in __vdso_clock_gettime.
60207 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
60210 2011-09-06 Ulrich Drepper <drepper@gmail.com>
60212 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
60213 Forgot to demangle the pointer.
60215 * sysdeps/i386/sysdep.h: Define atom_text_section.
60216 * sysdeps/x86_64/sysdep.h: Likewise.
60217 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
60218 section with atom_text_section.
60219 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60220 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60221 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
60222 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60223 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
60225 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
60226 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
60227 already be defined. Change to take two parameters and don't assign
60228 result to variable. Adjust all users.
60229 Define INTERNAL_GETTIME if not already defined.
60230 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
60232 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
60233 HAVE_CLOCK_GETTIME_VSYSCALL.
60234 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
60236 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
60237 gettimeofday vsyscall, just use time.
60239 2011-09-06 Andreas Schwab <schwab@redhat.com>
60241 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
60244 2011-09-06 Ulrich Drepper <drepper@gmail.com>
60246 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
60248 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
60250 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
60251 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
60252 syscall if possible.
60254 2011-09-05 Ulrich Drepper <drepper@gmail.com>
60256 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
60257 e_ident. Don't pass to find_mapsXX.
60258 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
60260 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
60262 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60263 strchr-sse2-no-bsf strrchr-sse2-no-bsf
60264 * sysdeps/x86_64/multiarch/strchr.S: Update.
60265 Check bit_slow_BSF bit.
60266 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60267 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
60268 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
60270 2011-09-05 Ulrich Drepper <drepper@gmail.com>
60273 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
60275 (tryshell): Define.
60276 (__spawni): Change last parameter to be flag. Test
60277 SPAWN_XFLAGS_USE_PATH flag to use path or not.
60278 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
60279 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
60280 * posix/spawni.c: Likewise.
60281 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
60282 * posix/spawnp.c: Likewise. Change normal version to use
60283 SPAWN_XFLAGS_USE_PATH.
60284 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
60285 SPAWN_XFLAGS_TRY_SHELL.
60288 * posix/glob.h: Remove gcc 1.x support.
60291 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
60293 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
60295 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60296 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
60298 * sysdeps/i386/i686/multiarch/strchr.S: New file.
60299 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
60300 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
60301 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
60302 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
60303 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
60305 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60307 * sysdeps/x86_64/wcscmp.S: New file.
60309 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
60310 wcscmp-c wcscmp-sse2
60311 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
60312 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
60313 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
60314 * wcsmbs/wcscmp.c: Allow renaming.
60316 2011-09-05 David S. Miller <davem@davemloft.net>
60318 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
60319 stack slot, rather than the struct return pointer slot.
60320 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
60321 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
60322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
60323 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
60325 2011-09-05 Ulrich Drepper <drepper@gmail.com>
60327 * po/ja.po: Update from translation team.
60330 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
60331 kernel in 64-bit binaries.
60333 2011-09-01 David S. Miller <davem@davemloft.net>
60335 * elf/elf.h (HWCAP_SPARC_*): Move to..
60336 * sysdeps/sparc/sysdep.h: this new file and add new values.
60337 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
60338 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
60339 _DL_HWCAP_COUNT to 24.
60340 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60342 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
60343 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
60344 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
60345 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
60346 instead of magic constants.
60347 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60349 2011-08-31 David S. Miller <davem@davemloft.net>
60351 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
60352 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
60353 Reimplement to do errno handling inline.
60354 (SYSCALL_ERROR_HANDLER): New macro.
60355 (__SYSCALL_STRING): Do not do errno handling in asm.
60356 (__CLONE_SYSCALL_STRING): Delete.
60357 (__INTERNAL_SYSCALL_STRING): Delete.
60358 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
60359 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
60360 (PSEUDO): Reimplement to do errno handling inline.
60361 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
60362 (SYSCALL_ERROR_HANDLER): New macro.
60363 (__SYSCALL_STRING): Do not do errno handling in asm.
60364 (__CLONE_SYSCALL_STRING): Delete.
60365 (__INTERNAL_SYSCALL_STRING): Delete.
60366 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
60367 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
60369 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
60370 (inline_syscall*): Add 'err' argument.
60371 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
60372 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
60373 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
60374 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
60376 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
60377 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60379 2011-08-30 Andreas Schwab <schwab@redhat.com>
60381 * elf/rtld.c (dl_main): Relocate objects in dependency order.
60383 2011-08-29 Jiri Olsa <jolsa@redhat.com>
60385 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
60388 2011-08-24 David S. Miller <davem@davemloft.net>
60390 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
60392 2011-08-24 Andreas Schwab <schwab@redhat.com>
60394 * elf/Makefile: Add rules to build and run unload8 test.
60395 * elf/unload8.c: New file.
60396 * elf/unload8mod1.c: New file.
60397 * elf/unload8mod1x.c: New file.
60398 * elf/unload8mod2.c: New file.
60399 * elf/unload8mod3.c: New file.
60401 * elf/dl-close.c (_dl_close_worker): Reset private search list if
60404 2011-08-23 David S. Miller <davem@davemloft.net>
60406 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
60407 subtract stack bias.
60408 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
60409 %sp not %fp in calculations.
60410 (_JMPBUF_UNWINDS_ADJ): Likewise.
60412 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
60413 (aio_suspend): Call it to force an exception region around the
60414 AIO_MISC_WAIT() invocation.
60416 2011-08-23 Andreas Schwab <schwab@redhat.com>
60418 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
60421 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
60423 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
60425 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
60426 and <dl-machine.h>.
60427 (Elf64_FuncDesc): Remove.
60429 2011-08-22 David S. Miller <davem@davemloft.net>
60431 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
60432 sigaltstack check, add missing cfi directives.
60433 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
60434 missing cfi directives, and sigaltstack handling.
60436 2011-08-16 Andreas Schwab <schwab@redhat.com>
60439 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
60440 object is seen twice.
60441 * elf/dl-fini.c (_dl_sort_fini): Likewise.
60443 * elf/Makefile (distribute): Add tst-initorder2.c.
60444 (tests): Add tst-initorder2.
60445 (modules-names): Add tst-initorder2a tst-initorder2b
60446 tst-initorder2c tst-initorder2d. Add rules to build them.
60447 ($(objpfx)tst-initorder2.out): New rule.
60448 * elf/tst-initorder2.c: New file.
60449 * elf/tst-initorder2.exp: New file.
60451 2011-08-22 Andreas Schwab <schwab@redhat.com>
60453 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
60455 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
60456 dependencies back to end of function.
60458 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60459 $(elfobjdir)/ld.so.
60461 2011-08-21 Ulrich Drepper <drepper@gmail.com>
60463 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
60464 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
60465 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
60466 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
60467 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
60468 of __vdso_gettimeofday.
60469 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
60470 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
60472 (_libc_vdso_platform_setup): Remove initialization of
60473 __vdso_gettimeofday and __vdso_time.
60475 2011-08-20 Ulrich Drepper <drepper@gmail.com>
60477 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
60478 and fgetc_unlocked.
60479 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
60482 * elf/dl-open.c (add_to_global): Report additions to the global scope
60483 for LD_DEBUG=scopes.
60484 (dl_open_worker): Also print scope of newly loaded dependencies.
60485 (_dl_show_scope): Indicate if there is no scope.
60488 * stdio-common/Makefile (tests): Add bug24.
60489 * stdio-common/bug24.c: New file.
60491 2011-08-19 Andreas Jaeger <aj@suse.de>
60494 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
60495 non-existant file when using close-on-exec mode.
60497 2011-08-20 Ulrich Drepper <drepper@gmail.com>
60499 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
60500 the very first instruction.
60502 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
60503 the CFI state in the end.
60504 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
60505 inclusion of dl-trampoline.h.
60506 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
60508 2011-08-19 Andreas Schwab <schwab@redhat.com>
60510 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
60511 expectations for long double.
60513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
60514 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
60516 2011-08-14 David S. Miller <davem@davemloft.net>
60518 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
60519 artificual limit depends upon the system page size.
60521 2011-08-17 Ulrich Drepper <drepper@gmail.com>
60523 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
60524 * resolv/Makefile: Define CFLAGS-libresolv.
60526 2011-08-17 Andreas Schwab <schwab@redhat.com>
60528 * nss/makedb.c (compute_tables): Make variables used in nested
60531 2011-08-17 Ulrich Drepper <drepper@gmail.com>
60533 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
60534 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
60535 if buffer was too small.
60537 * elf/pldd.c (main): Attach to all threads in the process.
60538 Rewrite /proc handling to use *at functions.
60540 2011-08-16 Ulrich Drepper <drepper@gmail.com>
60542 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
60543 specifies first scope to show.
60544 (dl_open_worker): Update callers. Move printing scope of new
60545 object to before the relocation.
60546 * elf/rtld.c (dl_main): Update _dl_show_scope call.
60547 * sysdeps/generic/ldsodefs.h: Update declaration.
60549 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
60550 string for the scope number.
60552 2011-08-14 Ulrich Drepper <drepper@gmail.com>
60554 * nscd/servicescache.c (cache_addserv): Make sure written is always
60557 2011-08-14 Roland McGrath <roland@hack.frob.com>
60559 * sysdeps/i386/i486/bits/atomic.h
60560 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
60561 statement expression, so as to suppress "set but not used" warning.
60562 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
60564 * string/strncat.c (STRNCAT): Use prototype definition.
60566 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
60567 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
60569 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
60570 (localedef-modules): Add localedef.
60571 (locale-modules): Add locale.
60573 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
60574 * elf/rtld.c (dl_main): Invert order of assignment in last change,
60575 to avoid a warning.
60577 2011-08-14 David S. Miller <davem@davemloft.net>
60579 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
60580 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
60582 2011-08-13 Ulrich Drepper <drepper@gmail.com>
60584 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
60585 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
60586 * elf/rtld.c (dl_main): Set l_name of vDSO.
60587 Call _dl_show_scope when DL_DEBUG_SCOPES.
60588 (process_dl_debug): Recognize scopes flag and also set it for all.
60589 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
60590 Declare _dl_show_scope.
60592 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
60593 (do_dlopen): Pass caller_dlopen to dl_open.
60594 (__libc_dlopen_mode): Initialize caller_dlopen.
60596 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
60597 of libc. Make tolower call locale-independent. Optimize a bit by
60598 using isdigit instead of isalnum.
60599 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
60601 2011-08-12 Ulrich Drepper <drepper@gmail.com>
60603 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
60604 was a dependency or dynamically loaded.
60606 2011-08-11 Ulrich Drepper <drepper@gmail.com>
60608 * intl/l10nflist.c: Allow architecture-specific pop function.
60609 * sysdeps/x86_64/l10nflist.c: New file.
60611 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
60614 2011-08-10 Andreas Schwab <schwab@redhat.com>
60616 * include/dirent.h: Add libc_hidden_proto for scandirat and
60617 scandirat64. Don't declare __scandirat64.
60618 * dirent/scandirat.c: Add libc_hidden_def.
60619 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
60620 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
60622 2011-08-10 David S. Miller <davem@davemloft.net>
60624 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
60626 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60627 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60628 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60630 2011-08-09 Ulrich Drepper <drepper@gmail.com>
60632 * Versions.def [libc]: Add GLIBC_2.15.
60633 * dirent/Makefile (routines): Add scandirat and scandirat64.
60634 * dirent/Versions [libc]: Export scandirat and scandirat64 for
60636 * dirent/dirent.h: Declare scandirat and scandirat64.
60637 * dirent/scandirat.c: New file.
60638 * dirent/scandirat64.c: New file.
60639 * sysdeps/wordsize-64/scandirat.c: New file.
60640 * sysdeps/wordsize-64/scandirat64.c: New file.
60641 * dirent/opendir.c: Define opendirat.
60642 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
60644 * dirent/scandir64.c: Adjust for scandir.c change.
60645 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
60646 __scandirat64, and __scandir_cancel_handler.
60647 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
60648 additional parameter and use openat instead of open (outside of ld.so).
60649 Add new __opendir as wrapper around __opendirat.
60650 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
60651 here without requiring old scandirat implementation.
60653 2011-08-08 Ulrich Drepper <drepper@gmail.com>
60655 * dirent/scandir.c (cancel_handler): Renamed to
60656 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
60657 defined. Adjust users.
60658 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
60659 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
60661 2011-08-04 Ulrich Drepper <drepper@gmail.com>
60663 * string/test-string.h (IMPL): Use __STRING to expand name and then
60666 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
60669 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60671 * string/Makefile: Update.
60672 (strop-tests): Append strncat.
60673 * string/test-wcscmp.c: New file.
60674 New comprehensive test for wcscmp.
60675 * string/test-strcmp.c: Update.
60676 (WIDE): New define.
60678 2011-07-22 Andreas Schwab <schwab@redhat.com>
60680 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
60683 2011-07-26 Andreas Schwab <schwab@redhat.com>
60685 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60686 encoding to ACE if AI_IDN.
60688 2011-08-01 Jakub Jelinek <jakub@redhat.com>
60690 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
60691 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
60693 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
60695 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
60696 Fix overflow bug in strncat.
60697 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
60699 * string/test-strncat.c: Update.
60700 Add new tests for checking overflow bugs.
60702 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
60704 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60705 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
60706 * sysdeps/i386/i686/multiarch/strcat.S: New file.
60707 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
60708 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
60709 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
60710 * sysdeps/i386/i686/multiarch/strncat.S: New file.
60711 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
60712 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60714 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60715 (USE_AS_STRCAT): Define.
60716 Add strcat and strncat support.
60717 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60719 2011-07-25 Andreas Schwab <schwab@redhat.com>
60721 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60722 __n bigger than INT_MAX+1.
60723 (__strncmp_g): Likewise.
60725 2011-07-23 Ulrich Drepper <drepper@gmail.com>
60727 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60728 * libio/stido.h: Likewise.
60730 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
60732 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
60735 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
60736 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60737 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60738 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
60739 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60742 * scripts/test-installation.pl: Don't expect libnss_test1 to be
60745 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
60747 (_dl_x86_64_save_sse): Likewise.
60749 2011-07-22 Ulrich Drepper <drepper@gmail.com>
60751 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
60753 (_dl_x86_64_save_sse): Likewise.
60755 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
60757 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
60759 2011-07-21 Andreas Schwab <schwab@redhat.com>
60761 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
60763 (_dl_x86_64_save_sse): Use correct AVX check.
60765 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60767 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
60768 bug in strncpy/strncat.
60769 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
60771 2011-07-21 Ulrich Drepper <drepper@gmail.com>
60773 * string/tester.c (test_strcat): Add tests for different alignments
60774 of source and destination.
60775 (test_strncat): Likewise.
60777 2011-07-20 Ulrich Drepper <drepper@gmail.com>
60780 * posix/glob.c (glob): Check passed in values before using them in
60781 expressions to avoid some overflows.
60782 (glob_in_dir): Likewise.
60785 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
60786 check for AVX enablement so that we don't crash with old kernels and
60788 * elf/tst-audit4.c: Add same checks here.
60789 * elf/tst-audit6.c: Likewise.
60791 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
60793 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
60795 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
60797 2011-07-20 Ulrich Drepper <drepper@gmail.com>
60799 * po/cs.po: Update from translation team.
60800 * po/bg.po: Likewise.
60802 2011-07-12 Marek Polacek <mpolacek@redhat.com>
60804 * misc/sys/cdefs.h: Add support for const attribute.
60805 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
60806 to gnu_dev_{major,minor,makedev} functions.
60808 2011-07-20 Marek Polacek <mpolacek@redhat.com>
60810 * intl/dcigettext.c (get_output_charset): Add missing bracket.
60812 2011-07-20 Andreas Schwab <schwab@redhat.com>
60814 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
60817 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60819 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
60820 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
60821 register in order to avoid conflicts with the soft frame pointer
60822 being held in r11 when necessary.
60823 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
60824 (INTERNAL_VSYSCALL_NCS): Likewise.
60826 2011-07-14 Marek Polacek <mpolacek@redhat.com>
60828 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
60829 * elf/dl-fini.c (_dl_fini): Adjust caller.
60830 * elf/dl-close.c (_dl_close_worker): Likewise.
60831 * sysdeps/generic/ldsodefs.h: Adjust declaration.
60833 2011-07-15 Marek Polacek <mpolacek@redhat.com>
60835 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
60836 "aux_cache->nlibs < 0".
60838 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
60839 in the reload-count case.
60841 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
60843 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60844 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
60845 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
60846 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
60847 * sysdeps/x86_64/multiarch/strcat.S: New file.
60848 * sysdeps/x86_64/multiarch/strncat.S: New file.
60849 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
60850 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
60851 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
60852 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
60853 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
60854 (USE_AS_STRCAT): Define.
60855 Add strcat and strncat support.
60856 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60857 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60858 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
60859 * string/strncat.c: Update.
60860 (USE_AS_STRNCAT): Define.
60861 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60862 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
60864 * sysdeps/x86_64/multiarch/init-arch.h
60865 (bit_Prefer_PMINUB_for_stringop): New.
60866 (index_Prefer_PMINUB_for_stringop): Likewise.
60867 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
60868 bit_Prefer_PMINUB_for_stringop.
60870 2011-07-19 Ulrich Drepper <drepper@gmail.com>
60872 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
60874 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
60875 of casting of buffer.
60876 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
60877 buffer32 and buffer64.
60878 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
60879 writes instead of casting of buffer.
60880 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
60882 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
60885 2011-07-19 Andreas Schwab <schwab@redhat.com>
60887 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
60889 2011-07-19 Ulrich Drepper <drepper@gmail.com>
60891 * nscd/nscd.c (termination_handler): Don't do anything for a database
60892 if it has not yet been initialized.
60894 2011-07-18 Ulrich Drepper <drepper@gmail.com>
60896 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60898 2011-07-15 Marek Polacek <mpolacek@redhat.com>
60900 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60902 2011-07-18 Ulrich Drepper <drepper@gmail.com>
60904 * po/nl.po: Update from translation team.
60905 * po/sv.po: Likewise.
60907 2011-07-16 Roland McGrath <roland@hack.frob.com>
60909 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
60910 now disallowed by GCC.
60912 * configure.in (use-default-link): Default to yes if a test -shared
60913 link meets our qualifications.
60914 * configure: Regenerated.
60916 * config.make.in (output-format): New variable.
60917 * configure.in: Check for ld --print-output-format support.
60918 * configure: Regenerated.
60919 * Makerules ($(common-objpfx)format.lds)
60920 [$(output-format) != unknown]: Just use $(output-format),
60921 instead of the linker-script munging.
60923 2011-07-14 Roland McGrath <roland@hack.frob.com>
60925 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
60926 of $(common-objpfx)shlib.lds.
60927 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
60929 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
60930 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
60932 * configure.in (-z relro check): Adjust test code to add a large
60933 writable data section after it.
60934 * configure: Regenerated.
60936 2011-07-11 Roland McGrath <roland@hack.frob.com>
60938 * configure.in (-z relro check): Fix test code to make the variable
60940 * configure: Regenerated.
60942 2011-07-11 Ulrich Drepper <drepper@gmail.com>
60944 * nscd/nscd.h (struct traced_file): Define.
60945 (struct database_dyn): Remove inotify_descr, reset_res, and filename
60946 elements. Add traced_files.
60947 (inotify_fd): Declare.
60948 (register_traced_file): Declare.
60949 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
60950 (inotify_fd): Export.
60951 (resolv_conf_descr): Remove.
60952 (nscd_init): Move inotify descriptor creation to main.
60953 Don't register files for notification here.
60954 (register_traced_file): New function.
60955 (invalidate_cache): Don't use reset_res to determine whether to call
60956 res_init, go through the list of registered files.
60957 (main_loop_poll): The inotify descriptors are now stored in the
60958 structures for the traced files.
60959 (main_loop_epoll): Likewise
60960 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
60961 to __nss_disable_nscd.
60962 * nscd/cache.c (prune_cache): There is no single inotify descriptor
60963 for a database anymore. Check the records for all the registered
60965 * nss/Makefile (libnss_files-routines): Add files-init.
60966 (libnss_db-routines): Add db-init.
60967 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
60968 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
60969 * nss/nss_db/db-init.c: New file.
60970 * nss/nss_files/files-init.c: New file.
60971 * nss/nsswitch.c (nss_load_library): New function. Broken out of
60972 __nss_lookup_function.
60973 (__nss_lookup_function): Call nss_load_library.
60974 (nss_load_all_libraries): New function.
60975 (__nss_disable_nscd): Take parameter with callback function for files
60976 to register. Set is_nscd. Load all the DSOs for the NSS modules
60977 used for the cached services.
60978 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
60979 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
60980 options for features to all the files in nscd.
60982 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
60984 2011-07-10 Roland McGrath <roland@hack.frob.com>
60986 * csu/elf-init.c (__libc_csu_init): Comment typo.
60988 2011-07-09 Ulrich Drepper <drepper@gmail.com>
60990 * po/pl.po: Update from translation team.
60991 * po/ja.po: Likewise.
60992 * po/ru.po: Likewise.
60993 * po/ko.po: Likewise.
60994 * po/fr.po: Likewise.
60996 2011-07-09 Roland McGrath <roland@hack.frob.com>
60998 * configure.in (.ctors/.dtors header and trailer check):
60999 Use an empirical test on a built program.
61000 * configure: Regenerated.
61002 * configure.in (-z relro check): Use an empirical test on a built DSO.
61003 Detect, but do not require, on ia64.
61004 * configure: Regenerated.
61006 * configure.in (READELF): Find it with AC_CHECK_TOOL.
61007 Update tests that use readelf to use $READELF instead.
61008 * configure: Regenerated.
61010 2011-07-08 Ulrich Drepper <drepper@gmail.com>
61012 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
61013 if the result is not used.
61015 2011-07-05 Andreas Jaeger <aj@suse.de>
61018 * stdlib/tst-strtod.c: Add testcase.
61020 2011-07-07 Ulrich Drepper <drepper@gmail.com>
61022 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
61023 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
61024 The latter has a higher limit. Take additional parameter to pass to
61026 (__pathconf): Pass file to __statfs_link_max.
61027 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
61029 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
61033 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
61034 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61036 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
61037 (__statfs_filesize_max): Likewise.
61038 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
61040 2011-07-05 Andreas Jaeger <aj@suse.de>
61042 * resolv/res_comp.c (dn_skipname): Remove unused variable.
61044 2011-07-06 Marek Polacek <mpolacek@redhat.com>
61046 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
61048 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
61051 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
61053 * Makefile (strop-tests): Add strncat.
61054 * string/test-strncat.c: New file.
61056 2011-06-30 Marek Polacek <mpolacek@redhat.com>
61058 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
61060 2011-06-21 Andreas Jaeger <aj@suse.de>
61062 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
61063 Copy rule from iconvdata/Makefile.
61065 2011-07-06 Ulrich Drepper <drepper@gmail.com>
61068 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
61069 but no long options are defined, just return 'W'.
61071 2011-06-22 Marek Polacek <mpolacek@redhat.com>
61074 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
61076 2011-07-06 Ulrich Drepper <drepper@gmail.com>
61078 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
61080 (innetgr): Likewise.
61082 2011-07-05 Roland McGrath <roland@hack.frob.com>
61084 * config.make.in (install_root): Default to $(DESTDIR).
61086 2011-07-05 Ulrich Drepper <drepper@gmail.com>
61088 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
61090 2011-07-02 Roland McGrath <roland@hack.frob.com>
61092 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
61094 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
61095 containing directory rather than embedding absolute directory names.
61097 * scripts/check-local-headers.sh: Rewritten using awk.
61098 Match by word, not by line. Print error messages for matches.
61099 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
61101 * Makerules [shlib-lds-flags empty]:
61102 ($(common-objpfx)libc_pic.opts): New target.
61103 ($(common-objpfx)libc_pic.os.clean): New target.
61104 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
61106 * config.make.in (OBJCOPY): New variable.
61107 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
61108 * configure: Regenerated.
61110 * config.make.in (use-default-link): New variable.
61111 * configure.in (use_default_link): Grok --with-default-link to set it.
61112 * configure: Regenerated.
61113 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
61114 (shlib-lds, shlib-lds-flags): Define to empty.
61116 * Makerules (shlib-lds): New variable.
61117 (shlib-lds-flags): New variable.
61118 (build-shlib, build-moduile, build-module-asneeded): Use it.
61119 ($(common-objpfx)libc.so): Use $(shlib-lds).
61120 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
61121 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
61123 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
61124 DT_FLAGS/DT_FLAGS_1 with zero flags.
61126 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
61127 linker script munging.
61129 2011-07-02 Ulrich Drepper <drepper@gmail.com>
61131 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
61133 * crypt/sha512.c (sha512_process_block): Perform total addition using
61134 128-bit if possible.
61135 (__sha512_finish_ctx): Likewise.
61136 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
61138 * crypt/sha256.c (SWAP64): Define.
61139 (sha256_process_block): Perform total addition using 64-bit if
61141 (__sha256_finish_ctx): Likewise.
61143 2011-07-01 Ulrich Drepper <drepper@gmail.com>
61145 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
61146 * nscd/initgrcache.c (addinitgroupsX): Likewise.
61147 * nscd/hstcache.c (cache_addhst): Likewise.
61148 * nscd/grpcache.c (cache_addgr): Likewise.
61149 * nscd/aicache.c (addhstaiX): Likewise
61150 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
61152 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
61154 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
61155 * nscd/initgrcache.c (addinitgroupsX): Likewise.
61156 * nscd/hstcache.c (cache_addhst): Likewise.
61157 * nscd/grpcache.c (cache_addgr): Likewise.
61158 * nscd/aicache.c (addhstaiX): Likewise
61160 2011-07-01 Andreas Schwab <schwab@redhat.com>
61162 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
61163 domain only when needed.
61165 2011-06-30 Andreas Schwab <schwab@redhat.com>
61167 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
61168 is always restored.
61170 2011-06-29 Ulrich Drepper <drepper@gmail.com>
61172 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
61173 are re-adding the entry.
61174 * nscd/servicescache.c (cache_addserv): Likewise.
61176 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
61178 * sysdeps/generic/dl-irel.h: fix protection against multiple
61180 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
61182 2011-06-28 Ulrich Drepper <drepper@gmail.com>
61185 * malloc/memusage.sh: Fix quoting in message.
61186 * debug/xtrace.sh: Likewise.
61188 * configure.in: Remove support for --experimental-malloc option, make
61190 * config.make.in: Likewise.
61191 * malloc/Makefile: Likewise.
61193 2011-06-27 Andreas Schwab <schwab@redhat.com>
61195 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
61196 two-byte characters.
61198 2011-06-27 Roland McGrath <roland@hack.frob.com>
61200 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
61201 AC_CACHE_CHECK invocation.
61202 * configure: Regenerated.
61204 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
61206 2011-06-27 Ulrich Drepper <drepper@gmail.com>
61209 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
61210 bit from old_res_options.
61212 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
61214 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
61215 value type for setfct.
61217 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
61219 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61220 __gettimeofday instead of gettimeofday.
61222 2011-06-26 Ulrich Drepper <drepper@gmail.com>
61224 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
61226 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
61228 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
61230 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
61233 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
61235 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61236 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61237 strcpy-sse2-unaligned strncpy-sse2-unaligned
61238 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
61239 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
61240 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
61241 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
61242 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
61243 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
61244 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
61245 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
61246 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
61247 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
61248 (STRCPY): Support SSE2 and SSSE3 versions.
61250 2011-06-24 Ulrich Drepper <drepper@gmail.com>
61253 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
61254 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
61255 kernels which artificially limit size of requests.
61257 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
61259 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61260 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
61261 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
61262 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
61263 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
61264 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
61265 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
61266 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
61267 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
61268 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
61269 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
61270 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
61271 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
61272 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
61273 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
61274 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61275 Enable unaligned load optimization for Intel Core i3, i5 and i7
61277 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
61279 (index_Fast_Unaligned_Load): Define.
61280 (HAS_FAST_UNALIGNED_LOAD): Define.
61282 2011-06-23 Marek Polacek <mpolacek@redhat.com>
61284 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
61286 2011-06-22 Ulrich Drepper <drepper@gmail.com>
61289 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
61290 until it is clear that the information is realy needed.
61291 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
61293 2011-06-22 Andreas Schwab <schwab@redhat.com>
61295 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
61297 2011-06-22 Ulrich Drepper <drepper@gmail.com>
61299 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61300 /sys/devices/system/cpu/online if it is usable.
61302 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
61303 reading the information from the /proc filesystem to once a second.
61305 2011-06-21 Andreas Jaeger <aj@suse.de>
61307 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
61308 NULL after inclusion of kernel headers.
61310 2011-06-21 Ulrich Drepper <drepper@gmail.com>
61312 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
61313 calls to internal_setent.
61316 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
61317 addresses using gethostbyname4_r ignore IPv4 addresses.
61319 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
61320 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
61322 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
61324 2011-06-20 David S. Miller <davem@davemloft.net>
61326 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
61328 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
61330 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
61331 (elf_irel): Use it.
61332 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
61333 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
61334 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
61335 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
61336 * sysdeps/x86_64/dl-irel.h: Likewise.
61338 * elf/dl-runtime.c: Use elf_ifunc_invoke.
61339 * elf/dl-sym.c: Likewise.
61341 2011-06-15 Ulrich Drepper <drepper@gmail.com>
61343 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
61344 need to dereference resplen2.
61346 2011-06-14 Andreas Schwab <schwab@redhat.com>
61348 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
61350 2011-06-15 Ulrich Drepper <drepper@gmail.com>
61352 * Makeconfig: Define vardbdir and inst_vardbdir.
61353 * nss/Makefile: Add rules to install db-Makefile.
61355 * nss/nss_db/db-XXX.c: Cleanup.
61357 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
61358 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
61360 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
61361 * nss/makedb.c: Implement -g option to specify that value strings
61362 are generated and should not be added to table iterated over for
61364 * nss/nss_db/db-initgroups.c: New file.
61366 * nss/getent.c: Add support for initgroups lookups through getgrouplist
61369 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
61370 (internal_getgrouplist): Adjust to name change.
61371 Update use_initgroups_entry if this is not the first call.
61372 * nss/databases.def: Add initgroups entry.
61374 * nss/makedb.c (compute_tables): Check result of multiple hash table
61375 sizes to minimize maximum chain length.
61377 2011-06-14 Ulrich Drepper <drepper@gmail.com>
61379 * Versions.def: Add entry for libnss_db.
61380 * shlib-versions: Likewise.
61381 * nss/Makefile: Add rules to build libnss_db.
61382 * nss/Versions: Add libnss_db information. Organize libnss_files
61384 * nss/db-Makefile: Add gshadow support. Change rules for the new
61385 makedb progra. Some minor improvements to generate smaller files.
61386 * nss/nss_db/nss_db.h: Move NSS database header data structures to
61388 * nss/makedb.c: ...here.
61389 Improve database format to be smaller and require less memory at
61391 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
61393 * nss/nss_db/db-netgrp.c: Likewise.
61394 * nss/nss_db/db-open.c: Likewise.
61395 * nss/nss_files/flies-XXX.x: Adjust comments.
61396 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
61397 * nss/nss_files/files-grp.c: Likewise.
61398 * nss/nss_files/files-hosts.c: Likewise.
61399 * nss/nss_files/files-network.c: Likewise.
61400 * nss/nss_files/files-proto.c: Likewise.
61401 * nss/nss_files/files-pwd.c: Likewise.
61402 * nss/nss_files/files-rpc.c: Likewise.
61403 * nss/nss_files/files-service.c: Likewise.
61404 * nss/nss_files/files-sgrp.c: Likewise.
61405 * nss/nss_files/files-spwd.c: Likewise.
61406 * nss/nss_db/db-alias.c: Removed.
61407 * nss/nss_db/dummy-db.h: Removed.
61409 2011-06-02 Ulrich Drepper <drepper@gmail.com>
61411 * nss/makedb.c: Rewritten to not use database library.
61412 * nss/Makefile: Update to build new makedb program.
61414 2011-06-14 Andreas Jaeger <aj@suse.de>
61416 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
61417 memset declaration.
61419 2011-06-10 Andreas Schwab <schwab@redhat.com>
61421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
61424 2011-06-10 Roland McGrath <roland@hack.frob.com>
61426 * Makerules (shlib.lds): Fail if the linker script comes out empty.
61427 * elf/Makefile ($(objpfx)ld.so): Likewise.
61429 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
61430 Don't list ld.so twice in dependencies.
61432 * posix/bug-regex31.c: Include <stdlib.h>.
61434 * nscd/hstcache.c (cache_addhst): Remove unused variable.
61436 * nis/nss_compat/compat-spwd.c
61437 (getspent_next_nss_netgr): Remove unused variable.
61438 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
61440 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
61441 nonmembers" output to use the right array.
61443 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
61445 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
61447 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
61448 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
61449 * catgets/gencat.c (read_input_file): Likewise.
61450 * locale/programs/locarchive.c (enlarge_archive): Likewise.
61452 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
61453 variable definition inside #if's controlling its use.
61455 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
61457 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
61459 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
61461 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
61464 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
61466 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
61467 * configure: Regenerated.
61469 * Makerules: Revert last change.
61470 * elf/Makefile: Likewise.
61472 2011-06-09 Roland McGrath <roland@hack.frob.com>
61474 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
61475 * elf/Makefile ($(objpfx)librtld.os): Likewise.
61476 (reloc-link): Likewise.
61478 2011-06-09 Ulrich Drepper <drepper@gmail.com>
61480 * elf/Makefile: Add rules to build pldd.
61481 * elf/pldd.c: New file.
61482 * elf/pldd-xx.c: New file.
61484 2011-06-07 Ulrich Drepper <drepper@gmail.com>
61486 * version.h: Update for 2.15 development version.
61488 2011-06-07 David S. Miller <davem@davemloft.net>
61490 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
61492 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
61493 elf_machine_lazy_rel): Likewise.
61494 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
61495 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
61496 elf_machine_lazy_rel): Likewise.
61497 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
61498 dl_hwcap via passed in argument.
61499 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
61502 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61504 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
61506 2011-06-06 Roland McGrath <roland@hack.frob.com>
61509 * manual/fdl-1.1.texi: New file, verbatim from:
61510 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
61511 * manual/lgpl-2.1.texi: New file, verbatim from:
61512 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
61513 * manual/Makefile (licenses): New variable, list those new file names.
61515 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
61517 * manual/fdl.texi: File removed.
61518 * manual/lesser.texi: File removed.
61519 * manual/libc.texinfo (Copying, Documentation License):
61520 Use new @include file names, put @appendix directive before @include.
61522 2011-06-04 Jakub Jelinek <jakub@redhat.com>
61525 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
61526 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
61527 (mq_open): Add __NTH.
61529 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
61531 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61532 Assume Intel Core i3/i5/i7 processor if AVX is available.
61534 2011-05-31 Ulrich Drepper <drepper@gmail.com>
61536 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61539 2011-05-31 Andreas Schwab <schwab@redhat.com>
61541 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
61542 memory. Use alloca_account. Fix memory leak when retrying.
61544 2011-05-31 Ulrich Drepper <drepper@gmail.com>
61546 * version.h (RELEASE): Bump for 2.14 release.
61547 * include/features.h (__GLIBC_MINOR__): Bump to 14.
61549 * config.make.in (RANLIB): Remove entry.
61551 2011-05-30 Ulrich Drepper <drepper@gmail.com>
61553 * po/Makefile (po-sed-cmd): Add ksh to extensions.
61554 (libc.pot): Work around missing support for .ksh extension in xgettext.
61557 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
61558 if both request failed.
61559 (send_dg): In case of server errors clear resplen or *resplen2.
61562 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
61563 when there are multiple maps.
61564 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
61565 (_dl_fini): Remove test here.
61567 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
61569 2011-05-29 Ulrich Drepper <drepper@gmail.com>
61572 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
61573 bit from old_res_options.
61574 (gaih_inet): Likewise.
61577 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
61580 * resolv/res_init.c (res_setoptions): Make the code more compact.
61583 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
61587 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
61589 * malloc/malloc.h: Mark malloc hook variables as deprecated.
61592 * malloc/malloc.h: Declare malloc hook variables as volatile.
61594 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
61598 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
61599 raise in the comment.
61600 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61601 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61602 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
61604 2011-05-28 Ulrich Drepper <drepper@gmail.com>
61607 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
61608 grow the buffers more if it already has to be sufficient.
61609 (build_wcs_upper_buffer): Likewise.
61610 * posix/regexec.c (check_matching): Likewise.
61611 (clean_state_log_if_needed): Likewise.
61612 (extend_buffers): Don't enlarge buffers beyond size of the input
61614 Patches mostly by Emil Wojak <emil@wojak.eu>.
61615 * posix/bug-regex32.c: New file.
61616 * posix/Makefile (tests): Add bug-regex32.
61618 * locale/findlocale.c (_nl_find_locale): Return right away if
61619 _nl_explode_name failed.
61620 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
61622 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
61624 * debug/xtrace.sh: Unify messages.
61625 * malloc/memusage.sh: Likewise.
61628 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
61629 time symbol from vDSO. Substitute with vsyscall if not available.
61630 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
61633 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
61634 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
61635 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
61636 Add sendmmsg and internal_sendmmsg.
61637 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
61638 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
61639 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
61641 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
61642 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
61643 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
61645 2011-05-27 Ulrich Drepper <drepper@gmail.com>
61648 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
61649 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
61651 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
61655 * iconvdata/Makefile (tests): Add bug-iconv9.
61656 * iconvdata/bug-iconv9.c: New file.
61658 2011-05-27 Andreas Schwab <schwab@redhat.com>
61661 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
61663 2011-05-25 Jakub Jelinek <jakub@redhat.com>
61665 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61666 (struct user_regs_struct): Change intcs field back to cs.
61668 2011-05-25 Ulrich Drepper <drepper@gmail.com>
61670 * po/ja.po: Update from translation team.
61672 2011-05-23 Ulrich Drepper <drepper@gmail.com>
61675 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
61676 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
61678 2011-05-20 Andreas Schwab <schwab@redhat.com>
61680 * stdlib/longlong.h: Update from GCC.
61682 2011-05-23 Andreas Schwab <schwab@redhat.com>
61684 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
61686 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
61687 Add parameter name.
61688 (__sysconf): Pass it down.
61690 2011-05-22 Ulrich Drepper <drepper@gmail.com>
61693 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
61695 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
61696 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
61697 add in in __libc_use_alloca calls. Adjust callers.
61698 (glob): Use malloc in some situations.
61700 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
61701 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
61704 2011-05-21 Ulrich Drepper <drepper@gmail.com>
61706 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
61707 and CLOCK_BOOTTIME_ALARM.
61710 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
61713 * string/_strerror.c (__strerror_r): Print negative errors as signed
61717 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61718 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61719 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61721 * configure.in: Fix typo in redirection and correct removal of test
61722 files in two cases.
61725 * locale/setlocale.c (new_composite_name): Fix test to check for
61726 identical name of all categories.
61729 * libio/filedoalloc.c (local_isatty): New function.
61730 (_IO_file_doallocate): Use local_isatty.
61731 * stdio-common/perror.c (perror): In case a new stream is used
61732 forward the stream error.
61733 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
61736 2011-05-20 Ulrich Drepper <drepper@gmail.com>
61739 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
61741 * include/alloca.h (extend_alloca_account): Define.
61744 * posix/regex.h: Fix comments with documentation of user-accessible
61745 fields after compilation and describe correct free'ing of pattern
61746 after re_compile_pattern.
61747 Patch by Reuben Thomas <rrt@sc3d.org>.
61749 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
61751 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
61752 and -mno-altivec to prevent the compiler from using Altivec and/or
61753 VSX instructions when the corresponding registers are not available.
61755 2011-05-19 Andreas Schwab <schwab@redhat.com>
61757 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
61759 2011-05-19 Ulrich Drepper <drepper@gmail.com>
61761 * libio/freopen.c (freopen): Use __dup2, not dup2.
61762 * libio/freopen64.c (freopen64): Likewise.
61764 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
61767 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
61768 * math/Makefile (tests): Add test-powl.
61769 (CFLAGS-test-powl.c): Define.
61770 * math/test-powl.c: New file.
61772 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
61774 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
61776 2011-05-17 Ulrich Drepper <drepper@gmail.com>
61779 * iconvdata/gb18030.c: Update to GB18020-2005.
61781 2011-05-16 Ulrich Drepper <drepper@gmail.com>
61783 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
61784 RE_SYNTAX_POSIX_AWK): Update to match recent development.
61785 Patch by Aharon Robbins <arnold@skeeve.com>.
61788 * stdlib/putenv.c (putenv): Don't always create copy of the variable
61792 * misc/pselect.c (__pselect): Handle timeout value errors hidden
61793 through underflows.
61796 * misc/error.c (error_at_line): Ensure file_name and old_file_name
61797 point to strings before performing equality test for error_one_per_line
61801 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
61804 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61805 (struct user_fpregs_struct): Avoid __uint*_t types.
61808 * malloc/mtrace.c (tr_where): Add additional parameter to point to
61809 symbol info. Use it instead of calling _dl_addr locally.
61810 (lock_and_info): New function.
61811 (tr_freehook): Call lock_and_info and pass symbol info as additional
61812 parameter to tr_where.
61813 (tr_mallochook): Likewise.
61814 (tr_reallochook): Likewise.
61815 (tr_memalignhook): Likewise.
61817 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
61818 used and couldn't be at all thread-safe.
61820 2011-05-15 Ulrich Drepper <drepper@gmail.com>
61822 * libio/freopen.c (freopen): Don't close old file descriptor
61823 before the new one is opened. Instead dup the new file descriptor
61824 to the old one after the new stream is created.
61825 * libio/freopen64.c (freopen64): Likewise.
61826 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
61827 * libio/fileops.c (_IO_new_file_close_it): Handle new
61828 _IO_FLAGS2_NOCLOSE flag.
61829 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
61830 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
61831 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
61832 _IO_FLAGS2_NOCLOSE flag.
61833 * include/unistd.h: Add hidden_proto for dup3.
61834 Define __have_dup3.
61835 * io/dup3.c: Define hidden symbol.
61836 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
61839 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
61840 when an incomplete long option is used.
61841 * posix/tst-getopt_long1.c: New file.
61842 * posix/Makefile (tests): Add tst-getopt_long1.
61845 * scripts/config.guess: Update from autoconf-2.68.
61846 * scripts/config.sub: Likewise.
61849 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
61851 (has_cpuclock): ...this. New function.
61852 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
61853 macro here based on has_cpuclock code.
61856 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61857 First byte (not low byte) is now always NUL.
61858 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
61860 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61861 Use non-cancelable interfaces.
61864 * locale/iso-639.def: Add entry for Sorani.
61867 * include/stdlib.h: Move include protection to the right place.
61868 Define abort_msg_s. Declare __abort_msg with it.
61869 * stdlib/abort.c (__abort_msg): Adjust type.
61870 * assert/assert.c (__assert_fail_base): New function. Majority
61871 of code from __assert_fail. Allocate memory for __abort_msg with
61873 (__assert_fail): Now call __assert_fail_base.
61874 * assert/assert-perr.c: Remove bulk of implementation. Use
61875 __assert_fail_base.
61876 * include/assert.hL Declare __assert_fail_base.
61877 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
61879 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
61881 2011-05-14 Ulrich Drepper <drepper@gmail.com>
61885 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
61886 until all modules are registered in the DTV.
61887 * elf/Makefile: Add rules to build and run tst-tls19.
61888 * elf/tst-tls19.c: New file.
61889 * elf/tst-tls19mod1.c: New file.
61890 * elf/tst-tls19mod2.c: New file.
61891 * elf/tst-tls19mod3.c: New file.
61892 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
61895 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
61899 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
61900 two-byte sequence errors.
61901 * iconvdata/Makefile (tests): Add bug-iconv8.
61902 * iconvdata/bug-iconv8.c: New file.
61905 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
61908 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
61911 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
61912 (dummy_getcfa): New function.
61913 (init): Get _Unwind_GetCFA address, use dummy if not found.
61914 (backtrace_helper): In recursion check, also check whether CFA changes.
61915 (__backtrace): Completely initialize arg.
61917 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
61918 storing incomplete byte sequence in state object. Avoid testing for
61919 guaranteed too small input if we know there is enough data available.
61921 2011-05-11 Andreas Schwab <schwab@redhat.com>
61923 * Makeconfig (+link-pie): Indent.
61924 * Rules (binaries-pie): Define if $(have-fpie) and
61926 (binaries-shared): Also filter out $(binaries-pie).
61927 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
61928 * nscd/Makefile (others-pie): Add nscd.
61929 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
61930 ($(objpfx)nscd): Remove command override.
61931 * login/Makefile (others-pie): Add pt_chown.
61932 ($(objpfx)pt_chown): Remove command override.
61933 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
61934 remove command overrides.
61936 2011-05-13 Ulrich Drepper <drepper@gmail.com>
61938 * libio/tst_putwc.c: Fix error messages.
61941 * libio/fileops.c (_IO_new_file_close_it): Always flush when
61942 currently writing and seek to current position when not.
61943 * libio/Makefile (tests): Add bug-fclose1.
61944 * libio/bug-fclose1.c: New file.
61946 2011-05-12 Ulrich Drepper <drepper@gmail.com>
61949 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
61950 don't set DF_1_NODELETE here.
61951 (do_lookup_x): When entering new entry test for copy relocation
61952 and if necessary set DF_1_NODELETE flag.
61953 * elf/tst-unique4.cc: New file.
61954 * elf/tst-unique4.h: New file.
61955 * elf/tst-unique4lib.cc: New file.
61956 * elf/Makefile: Add rules to build and run tst-unique4.
61957 Patch by Piotr Bury <pbury@goahead.com>.
61959 2011-05-11 Ulrich Drepper <drepper@gmail.com>
61962 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
61965 * misc/mntent_r.c (addmntent): Flush the stream after the output
61968 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
61969 (is_trusted_path_normalize): Skip initial colon. Append slash
61970 to empty buffer. Duplicate is_trusted_path code but allow
61971 constructed patch to be prefix.
61972 (is_dst): Allow $ORIGIN followed by /.
61973 (_dl_dst_substitute): Correct clearing of check_for_trusted.
61974 Correct testing of result of is_trusted_path_normalize
61975 (decompose_rpath): Fix warning.
61977 2011-05-10 Ulrich Drepper <drepper@gmail.com>
61980 * grp/initgroups.c (internal_getgrouplist): When we found the service
61981 list through the initgroups entry in nsswitch.conf do not always
61982 continue on a successful lookup. Don't always use the
61983 __nss_group_database value if it is set.
61984 * nss/nsswitch.conf (initgroups): Change action for successful db
61985 lookup to continue for compatibility.
61987 2011-05-09 Ulrich Drepper <drepper@gmail.com>
61990 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
61992 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
61994 * iconvdata/tst-tables.sh: Likewise.
61995 * iconvdata/cp770.c: New file.
61996 * iconvdata/cp771.c: New file.
61997 * iconvdata/cp772.c: New file.
61998 * iconvdata/cp773.c: New file.
61999 * iconvdata/cp774.c: New file.
62000 * iconvdata/testdata/CP770: New file.
62001 * iconvdata/testdata/CP770..UTF8: New file.
62002 * iconvdata/testdata/CP771: New file.
62003 * iconvdata/testdata/CP771..UTF8: New file.
62004 * iconvdata/testdata/CP772: New file.
62005 * iconvdata/testdata/CP772..UTF8: New file.
62006 * iconvdata/testdata/CP773: New file.
62007 * iconvdata/testdata/CP773..UTF8: New file.
62008 * iconvdata/testdata/CP774: New file.
62009 * iconvdata/testdata/CP774..UTF8: New file.
62011 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
62013 * iconvdata/gen-8bit-gap.sh: Likewise.
62014 * iconvdata/gen-8bit.sh: Likewise.
62016 * locale/iso-639.def: Add ary entry.
62019 * locale/C-translit.h.in: Add U20A1 transliteration.
62022 * locale/iso-639.def: Add wae entry.
62023 Patch by Kevin Bortis <bortis@translate-wae.ch>.
62026 * locale/programs/localedef.c (construct_output_path): Use ssize_t
62030 * locale/C-translit.h.in: Add entry for U20B9.
62031 Patch by pravin.d.s@gmail.com.
62033 2011-05-08 Ulrich Drepper <drepper@gmail.com>
62036 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
62037 ENAMETOOLONG use generic getcwd.
62038 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
62039 in rtld. Use *stat64.
62040 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
62041 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
62042 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
62043 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
62044 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
62045 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
62046 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
62047 __fstatat64 macros.
62048 * include/dirent.h: Add libc_hidden_proto for rewinddir.
62049 * dirent/rewinddir.c: Add libc_hidden_def.
62050 * sysdeps/mach/hurd/rewinddir.c: Likewise.
62051 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
62053 * include/dirent.h (__alloc_dir): Add flags parameter.
62054 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
62055 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
62057 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
62058 from fdopendir if O_CLOEXEC is already set.
62060 2011-03-15 Alan Modra <amodra@gmail.com>
62062 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
62063 l_tls_firstbyte_offset non-zero. Save padding offset in
62064 l_tls_firstbyte_offset for later use.
62065 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
62066 freeing static tls block.
62068 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
62070 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
62071 where #ifdef was intended. The intent is to prevent ARG_MAX from
62072 being defined by the kernel headers.
62074 2011-05-07 Ulrich Drepper <drepper@gmail.com>
62077 * resolv/resolv.h: Define RES_NOTLDQUERY.
62078 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
62079 no-tld-query and set RES_NOTLDQUERY.
62080 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
62081 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
62082 modern BIND to search name as TLD unless forbidden.
62084 2011-05-07 Petr Baudis <pasky@suse.cz>
62085 Ulrich Drepper <drepper@gmail.com>
62088 * elf/dl-load.c (fillin_rpath): Move trusted path check...
62089 (is_trusted_path): ...to here.
62090 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
62091 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
62092 using is_trusted_path_normalize() in setuid scripts.
62094 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
62096 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
62097 __BEGIN/__END_DECLS.
62099 2011-05-06 Ulrich Drepper <drepper@gmail.com>
62101 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
62102 NSS_STATUS_NOTFOUND if no record was found.
62104 2011-05-05 Andreas Schwab <schwab@redhat.com>
62106 * sunrpc/Makefile (headers): Add rpc/netdb.h.
62107 (headers-not-in-tirpc): Remove rpc/netdb.h
62108 * resolv/netdb.h: Revert last change.
62110 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
62112 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
62113 circular dependency between libgcc.a and libc.a.
62115 2011-05-05 Andreas Schwab <schwab@redhat.com>
62117 * resolv/netdb.h: Don't include <rpc/netdb.h>.
62118 * nis/Makefile: Don't install rpcsvc/*.
62119 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
62120 instead of <rpc/types.h>.
62121 (MAXHOSTNAMELEN): Define.
62123 2011-05-03 Andreas Schwab <schwab@redhat.com>
62125 * elf/ldconfig.c (add_dir): Don't crash on empty path.
62127 2011-04-28 Maciej Babinski <mbabinski@google.com>
62130 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
62131 gethostbyname4_r when IPv6 results are possible.
62133 2011-05-02 Ulrich Drepper <drepper@gmail.com>
62136 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
62137 _PC_PIPE_BUF handling.
62139 2011-04-30 Bruno Haible <bruno@clisp.org>
62142 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
62143 * resolv/netdb.h (getnameinfo): Change type of flags parameter
62145 * inet/getnameinfo.c (getnameinfo): Likewise.
62147 2011-04-29 Ulrich Drepper <drepper@gmail.com>
62149 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
62150 to groups setting in database lookup.
62151 * nss/nsswitch.conf: Add initgroups entry.
62153 2011-04-22 Ulrich Drepper <drepper@gmail.com>
62156 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
62158 Patch by Eric Blake <eblake@redhat.com>.
62160 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
62162 * sunrpc/Makefile (need-export-routines): Add svc_run.
62163 (routines): Remove svc_run.
62164 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
62165 * sunrpc/clnt_perr.c (clnt_perrno): Export.
62166 * sunrpc/svc_run.c (svc_run): Likewise.
62167 * sunrpc/svc_udp.c (svcudp_create): Likewise.
62169 2011-04-21 Ulrich Drepper <drepper@gmail.com>
62171 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
62172 problem in reallocation in last patch.
62174 2011-04-20 Ulrich Drepper <drepper@gmail.com>
62176 * sunrpc/Makefile: Move inclusion of Rules.
62178 2011-04-19 Ulrich Drepper <drepper@gmail.com>
62180 * nss/nss_files/files-initgroups.c: New file.
62181 * nss/Makefile (libnss_files-routines): Add files-initgroups.
62182 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
62183 _nss_files_initgroups_dyn.
62185 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
62187 * elf/elf.h (R_ARM_IRELATIVE): Define.
62189 2011-04-19 Ulrich Drepper <drepper@gmail.com>
62191 * po/ru.po: Update from translation team.
62193 2011-04-17 Ulrich Drepper <drepper@gmail.com>
62195 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
62198 2011-02-06 Mike Frysinger <vapier@gentoo.org>
62201 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
62202 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
62203 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
62204 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62205 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62207 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
62209 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
62211 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62212 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62213 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62215 2011-04-17 Ulrich Drepper <drepper@gmail.com>
62218 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
62220 * stdlib/bug-getcontext.c: New file.
62221 * stdlib/Makefile: Add rules to build and run bug-getcontext.
62223 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62225 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
62226 instructions into .machine "z9-109".
62227 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
62228 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
62230 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62232 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
62233 between environment variables and auxiliary vector.
62235 2011-04-16 Ulrich Drepper <drepper@gmail.com>
62237 * Makefile: Add rules to build linkobj/libc.so.
62238 * include/libc-symbols.h: Define libc_hidden_nolink.
62239 * include/rpc/auth.h: Mark functions which are to be hidden.
62240 * include/rpc/auth_des.h: Likewise.
62241 * include/rpc/auth_unix.h: Likewise.
62242 * include/rpc/clnt.h: Likewise.
62243 * include/rpc/des_crypt.h: Likewise.
62244 * include/rpc/key_prot.h: Likewise.
62245 * include/rpc/pmap_clnt.h: Likewise.
62246 * include/rpc/pmap_prot.h: Likewise.
62247 * include/rpc/pmap_rmt.h: Likewise.
62248 * include/rpc/rpc_msg.h: Likewise.
62249 * include/rpc/svc.h: Likewise.
62250 * include/rpc/svc_auth.h: Likewise.
62251 * include/rpc/xdr.h: Likewise.
62252 * nis/Makefile: Link all DSOs against linkobj/libc.so.
62253 * nss/Makefile: Likewise.
62254 * sunrpc/Makefile: Don't install headers. Build library with normal
62255 entry points. Don't build rpcinfo. Link RPC tests appropriately.
62256 * sunrpc/auth_des.c: Hide exported symbols by default, export some
62257 for the compat linking library. Remove use of INTDEF/INTUSE.
62258 * sunrpc/auth_none.c: Likewise.
62259 * sunrpc/auth_unix.c: Likewise.
62260 * sunrpc/authdes_prot.c: Likewise.
62261 * sunrpc/authuxprot.c: Likewise.
62262 * sunrpc/clnt_gen.c: Likewise.
62263 * sunrpc/clnt_perr.c: Likewise.
62264 * sunrpc/clnt_raw.c: Likewise.
62265 * sunrpc/clnt_simp.c: Likewise.
62266 * sunrpc/clnt_tcp.c: Likewise.
62267 * sunrpc/clnt_udp.c: Likewise.
62268 * sunrpc/clnt_unix.c: Likewise.
62269 * sunrpc/des_crypt.c: Likewise.
62270 * sunrpc/des_soft.c: Likewise.
62271 * sunrpc/get_myaddr.c: Likewise.
62272 * sunrpc/key_call.c: Likewise.
62273 * sunrpc/key_prot.c: Likewise.
62274 * sunrpc/netname.c: Likewise.
62275 * sunrpc/pm_getmaps.c: Likewise.
62276 * sunrpc/pm_getport.c: Likewise.
62277 * sunrpc/pmap_clnt.c: Likewise.
62278 * sunrpc/pmap_prot.c: Likewise.
62279 * sunrpc/pmap_prot2.c: Likewise.
62280 * sunrpc/pmap_rmt.c: Likewise.
62281 * sunrpc/publickey.c: Likewise.
62282 * sunrpc/rpc_cmsg.c: Likewise.
62283 * sunrpc/rpc_common.c: Likewise.
62284 * sunrpc/rpc_dtable.c: Likewise.
62285 * sunrpc/rpc_prot.c: Likewise.
62286 * sunrpc/rpc_thread.c: Likewise.
62287 * sunrpc/rtime.c: Likewise.
62288 * sunrpc/svc.c: Likewise.
62289 * sunrpc/svc_auth.c: Likewise.
62290 * sunrpc/svc_authux.c: Likewise.
62291 * sunrpc/svc_raw.c: Likewise.
62292 * sunrpc/svc_run.c: Likewise.
62293 * sunrpc/svc_simple.c: Likewise.
62294 * sunrpc/svc_tcp.c: Likewise.
62295 * sunrpc/svc_udp.c: Likewise.
62296 * sunrpc/svc_unix.c: Likewise.
62297 * sunrpc/svcauth_des.c: Likewise.
62298 * sunrpc/xcrypt.c: Likewise.
62299 * sunrpc/xdr.c: Likewise.
62300 * sunrpc/xdr_array.c: Likewise.
62301 * sunrpc/xdr_float.c: Likewise.
62302 * sunrpc/xdr_intXX_t.c: Likewise.
62303 * sunrpc/xdr_mem.c: Likewise.
62304 * sunrpc/xdr_rec.c: Likewise.
62305 * sunrpc/xdr_ref.c: Likewise.
62306 * sunrpc/xdr_sizeof.c: Likewise.
62307 * sunrpc/xdr_stdio.c: Likewise.
62309 2011-04-10 Ulrich Drepper <drepper@gmail.com>
62312 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
62313 * sysdeps/ia64/dl-tls.h: Likewise.
62314 * sysdeps/powerpc/dl-tls.h: Likewise.
62315 * sysdeps/s390/dl-tls.h: Likewise.
62316 * sysdeps/sh/dl-tls.h: Likewise.
62317 * sysdeps/sparc/dl-tls.h: Likewise.
62318 * sysdeps/x86_64/dl-tls.h: Likewise.
62319 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
62321 2011-03-14 Andreas Schwab <schwab@redhat.com>
62323 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
62324 rpath element also skip the following colon.
62325 (expand_dynamic_string_token): Add is_path parameter and pass
62326 down to DL_DST_REQUIRED and _dl_dst_substitute.
62327 (decompose_rpath): Call expand_dynamic_string_token with
62328 non-zero is_path. Ignore empty rpaths.
62329 (_dl_map_object_from_fd): Call expand_dynamic_string_token
62332 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
62334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
62337 2011-04-09 Ulrich Drepper <drepper@gmail.com>
62340 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
62341 Patch by Filipe David Manana <fdmanana@apache.org>.
62343 2011-04-07 Andreas Schwab <schwab@redhat.com>
62345 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
62346 Maintain aligned stack.
62347 (CHECK_RSP): Remove unused macro.
62349 2011-04-03 Ulrich Drepper <drepper@gmail.com>
62351 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
62352 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
62354 2011-04-02 Ulrich Drepper <drepper@gmail.com>
62356 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
62358 * include/features.h: Mention __USE_XOPEN2K8 in comment.
62360 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
62363 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
62364 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
62365 * sysdeps/x86_64/memmove.c: New file.
62366 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
62367 (memcpy): Renamed to ...
62368 (__new_memcpy): This.
62369 (memcpy): Provide GLIBC_2_14 memcpy.
62370 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
62371 (memcpy): Provide GLIBC_2_2_5 memcpy.
62373 2011-04-01 Ulrich Drepper <drepper@gmail.com>
62376 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
62378 2011-03-30 Andreas Schwab <schwab@redhat.com>
62380 * misc/syncfs.c: New file.
62381 * misc/Makefile (routines): Add syncfs.
62382 * posix/unistd.h: Declare syncfs.
62383 * sysdeps/unix/syscalls.list: Add syncfs.
62385 2011-04-01 Andreas Schwab <schwab@redhat.com>
62387 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
62389 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62390 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62391 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62392 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62393 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62394 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
62395 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62397 2011-04-01 Ulrich Drepper <drepper@gmail.com>
62399 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
62400 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62401 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
62402 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62403 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62404 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62405 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62407 * io/Makefile: Compile fallocate.c, fallocate64.c, and
62408 sync_file_range.c with -fexceptions.
62409 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
62410 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
62411 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
62412 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
62413 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
62414 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62415 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
62416 sync_file_range as cancellation point
62417 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
62418 now a wrapper around __call_sync_file_range with cancellation handling.
62419 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
62420 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
62421 function name to __call_sync_file_range.
62422 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
62423 Add call_sync_file_range.
62425 2011-04-01 Andreas Schwab <schwab@redhat.com>
62427 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62430 2011-04-01 Ulrich Drepper <drepper@gmail.com>
62432 * iconv/iconv.h: Fix typo in comment.
62433 * io/fcntl.h: Likewise.
62434 * libio/stdio.h: Likewise.
62435 * posix/spawn.h: Likewise.
62436 * posix/unistd.h: Likewise.
62437 * stdlib/stdlib.h: Likewise.
62438 * time/time.h: Likewise.
62439 * wcsmbs/wchar.h: Likewise.
62441 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
62442 open_by_handle): Add.
62443 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
62444 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
62445 Augment a few comments.
62446 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62447 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62448 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62449 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62450 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62451 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
62454 * io/fcntl.h (AT_EMPTY_PATH): Define.
62456 2011-03-30 Ulrich Drepper <drepper@gmail.com>
62458 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
62459 * sysdeps/unix/sysv/linux/bits/time.h: New file.
62460 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
62462 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
62463 * Versions.def: Add GLIBC_2.14.
62464 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
62467 2011-03-22 Ulrich Drepper <drepper@gmail.com>
62469 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
62471 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62473 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
62476 * string/test-strncmp.c (do_page_test): New function.
62477 (check2): Likewise.
62478 (test_main): Call check2.
62479 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
62481 2011-03-20 Ulrich Drepper <drepper@gmail.com>
62484 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
62485 Handle cache information in CPU leaf 4.
62486 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62488 2011-03-18 Ulrich Drepper <drepper@gmail.com>
62491 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
62492 character representation.
62493 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
62495 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
62497 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
62498 END(__isnan) to END(__isnanf) to match function entry point/label
62499 EALIGN(__isnanf,...).
62501 2011-03-10 Jakub Jelinek <jakub@redhat.com>
62503 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
62505 2011-03-10 Ulrich Drepper <drepper@gmail.com>
62508 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
62509 copy from the symbol referenced in the relocation to initialize the
62511 Patch by Piotr Bury <pbury@goahead.com>.
62512 * elf/Makefile: Add rules to build and tst-unique3.
62513 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
62514 * elf/tst-unique3.cc: New file.
62515 * elf/tst-unique3.h: New file.
62516 * elf/tst-unique3lib.cc: New file.
62517 * elf/tst-unique3lib2.cc: New file.
62519 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
62521 2011-03-10 Mike Frysinger <vapier@gentoo.org>
62523 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
62524 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
62527 2011-03-06 Ulrich Drepper <drepper@gmail.com>
62529 * elf/dl-load.c (_dl_map_object): If we are looking for the first
62530 to-be-loaded object along a path to loader is ld.so.
62532 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
62533 Ulrich Drepper <drepper@gmail.com>
62535 * sysdeps/x86_64/memset.S: After aligning destination, code
62536 branches to different locations depending on the value of
62537 misalignment, when multiarch is enabled. Fix this.
62539 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
62541 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
62542 Set _x86_64_preferred_memory_instruction for AMD processsors.
62543 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62544 Set bit_Prefer_SSE_for_memop for AMD processors.
62546 2011-03-04 Ulrich Drepper <drepper@gmail.com>
62548 * libio/fmemopen.c (fmemopen): Optimize a bit.
62550 2011-03-03 Andreas Schwab <schwab@redhat.com>
62552 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
62554 2011-03-03 Roland McGrath <roland@redhat.com>
62556 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
62558 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
62560 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
62561 __bzero_ultra1 instead of __memset_ultra1.
62563 2011-02-23 Andreas Schwab <schwab@redhat.com>
62564 Ulrich Drepper <drepper@gmail.com>
62567 * include/link.h (struct link_map): Add l_orig_initfini.
62568 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
62569 returning unsuccessfully.
62570 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
62571 close of a file loaded at startup, restore the original l_initfini
62573 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
62574 list, store the pointer.
62575 * elf/Makefile ($(objpfx)noload-mem): New rule.
62576 (noload-ENV): Define.
62577 (tests): Add $(objpfx)noload-mem.
62578 * elf/noload.c: Include <memcheck.h>.
62579 (main): Call mtrace. Close all opened handles.
62581 2011-02-17 Andreas Schwab <schwab@redhat.com>
62584 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
62585 dependencies are missing.
62587 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
62589 Fix __if_freereq crash: Unlike the generic version which uses free,
62591 * sysdeps/mach/hurd/ifreq.h: New file.
62593 2011-01-27 Petr Baudis <pasky@suse.cz>
62594 Ulrich Drepper <drepper@gmail.com>
62597 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
62598 to extend_alloca().
62599 * stdio-common/bug23.c: New file.
62600 * stdio-common/Makefile (tests): Add bug23.
62602 2010-09-28 Andreas Schwab <schwab@redhat.com>
62603 Ulrich Drepper <drepper@gmail.com>
62606 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
62607 before performing relro protection. At old place add assertion
62608 to make sure nothing changed.
62610 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
62611 Glauber de Oliveira Costa <glommer@gmail.com>
62613 * elf/elf.h: Add new ARM TLS relocs.
62615 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
62617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62618 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
62620 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
62622 * sysdeps/wordsize-64/tst-writev.c: New file.
62624 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
62626 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
62627 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
62628 insns in _dl_start to prevent a TOC reference before relocs are
62631 2011-02-15 Ulrich Drepper <drepper@gmail.com>
62634 * Makeconfig: Remove RANLIB definition.
62635 * Makerules: Don't use RANLIB.
62636 * aclocal.m4: Remove ranlib test.
62637 * configure.in: No need to check for ranlib.
62638 * elf/rtld-Rules: Don't use RANLIB.
62640 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
62642 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
62644 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
62645 inclusion protection macro.
62647 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
62648 SIGRTMIN and SIGRTMAX and print information in that case only when
62649 SIGRTMIN is defined.
62651 2011-02-11 Jakub Jelinek <jakub@redhat.com>
62653 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
62654 arginfo fn returning -1.
62656 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
62657 and thousands string is zero terminated.
62659 2011-02-03 Andreas Schwab <schwab@redhat.com>
62661 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
62662 sysdeps/unix/sysv/linux/bits/socket.h.
62664 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
62666 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
62667 (__CPU_COUNT): Remove old macros.
62668 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
62669 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
62670 (__CPU_ALLOC, __CPU_FREE): Add macros.
62671 (__sched_cpualloc, __sched_cpufree): Add declarations.
62673 2011-02-05 Ulrich Drepper <drepper@gmail.com>
62675 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
62676 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
62677 * nscd/aicache.c (addhstaiX): Return timeout of added value.
62678 (readdhstai): Return value of addhstaiX call.
62679 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
62680 (addgrbyX): Return value returned by cache_addgr.
62681 (readdgrbyname): Return value returned by addgrbyX.
62682 (readdgrbygid): Likewise.
62683 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
62684 (addpwbyX): Return value returned by cache_addpw.
62685 (readdpwbyname): Return value returned by addhstbyX.
62686 (readdpwbyuid): Likewise.
62687 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
62688 (addservbyX): Return value returned by cache_addserv.
62689 (readdservbyname): Return value returned by addservbyX:
62690 (readdservbyport): Likewise.
62691 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
62692 (addhstbyX): Return value returned by cache_addhst.
62693 (readdhstbyname): Return value returned by addhstbyX.
62694 (readdhstbyaddr): Likewise.
62695 (readdhstbynamev6): Likewise.
62696 (readdhstbyaddrv6): Likewise.
62697 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
62698 (readdinitgroups): Return value returned by addinitgroupsX.
62699 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
62700 (prune_cache): Keep track of timeout value of re-added entries.
62701 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
62702 * nscd/nscd.h: Adjust prototypes of readd* functions.
62704 2011-02-04 Roland McGrath <roland@redhat.com>
62706 * nis/nis_server.c (nis_servstate): Use the right name for 0.
62707 (nis_stats): Likewise.
62708 * nis/nis_modify.c (nis_modify): Likewise.
62709 * nis/nis_remove.c (nis_remove): Likewise.
62710 * nis/nis_add.c (nis_add): Likewise.
62712 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62714 * posix/fnmatch_loop.c: Add some consts.
62716 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62718 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
62721 * config.make.in (config-cflags-novzeroupper): Define.
62722 * configure.in: Substitute libc_cv_cc_novzeroupper.
62723 * elf/Makefile (AVX-CFLAGS): Define.
62724 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62725 (CFLAGS-tst-auditmod4a.c): Likewise.
62726 (CFLAGS-tst-auditmod4b.c): Likewise.
62727 (CFLAGS-tst-auditmod6b.c): Likewise.
62728 (CFLAGS-tst-auditmod6c.c): Likewise.
62729 (CFLAGS-tst-auditmod7b.c): Likewise.
62730 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
62732 2011-02-02 Ulrich Drepper <drepper@gmail.com>
62734 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
62735 function to the callback.
62736 Patch partly by Jiri Olsa <jolsa@redhat.com>.
62738 2011-02-02 Andreas Schwab <schwab@redhat.com>
62740 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
62743 2011-01-19 Ulrich Drepper <drepper@gmail.com>
62746 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
62748 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
62750 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
62753 * elf/Makefile: Add rules to build and run new test.
62754 * elf/tst-initorder.c: New file.
62755 * elf/tst-initorder.exp: New file.
62756 * elf/tst-initordera1.c: New file.
62757 * elf/tst-initordera2.c: New file.
62758 * elf/tst-initordera3.c: New file.
62759 * elf/tst-initordera4.c: New file.
62760 * elf/tst-initorderb1.c: New file.
62761 * elf/tst-initorderb2.c: New file.
62762 * elf/tst-order-a1.c: New file.
62763 * elf/tst-order-a2.c: New file.
62764 * elf/tst-order-a3.c: New file.
62765 * elf/tst-order-a4.c: New file.
62766 * elf/tst-order-b1.c: New file.
62767 * elf/tst-order-b2.c: New file.
62768 * elf/tst-order-main.c: New file.
62769 New test case by George Gensure <werkt0@gmail.com>.
62771 2010-10-01 Andreas Schwab <schwab@redhat.com>
62773 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62774 decoding ACE if AI_CANONIDN.
62776 2011-01-18 Ulrich Drepper <drepper@gmail.com>
62778 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
62780 2011-01-17 Ulrich Drepper <drepper@gmail.com>
62782 * version.h (RELEASE): Bump for 2.13 release.
62783 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
62785 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
62787 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
62789 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
62790 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62791 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62792 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62793 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62794 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62796 * posix/getconf.c: Update copyright year.
62797 * catgets/gencat.c: Likewise.
62798 * csu/version.c: Likewise.
62799 * debug/catchsegv.sh: Likewise.
62800 * debug/xtrace.sh: Likewise.
62801 * elf/ldconfig.c: Likewise.
62802 * elf/ldd.bash.in: Likewise.
62803 * elf/sprof.c (print_version): Likewise.
62804 * iconv/iconv_prog.c: Likewise.
62805 * iconv/iconvconfig.c: Likewise.
62806 * locale/programs/locale.c: Likewise.
62807 * locale/programs/localedef.c: Likewise.
62808 * malloc/memusage.sh: Likewise.
62809 * malloc/mtrace.pl: Likewise.
62810 * nscd/nscd.c (print_version): Likewise.
62811 * nss/getent.c: Likewise.
62813 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
62814 PF_CAIF, and PF_ALG.
62815 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62817 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
62819 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
62820 (modules-names): Use them.
62821 (ifunc-test-modules, ifunc-pie-tests): Define.
62822 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
62823 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
62824 (test-extras): Likewise.
62825 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
62826 $(compile-command.c).
62827 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
62828 (all-built-dso): Define.
62829 (check-textrel.out, check-execstack.out): Depend on it.
62831 * configure.in: Don't override --enable-multi-arch.
62833 2011-01-15 Ulrich Drepper <drepper@gmail.com>
62836 * nscd/hstcache.c (tryagain): Define.
62837 (cache_addhst): Return tryagain not notfound for temporary errors.
62838 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
62841 2011-01-14 Ulrich Drepper <drepper@gmail.com>
62844 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
62845 to make the syscall.
62846 * sysdeps/unix/sysv/linux/setgroups.c: New file.
62849 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
62850 and fall back to matching as normal character if the string ends before
62851 the matching ']' is found. This is what POSIX requires.
62852 * posix/testfnm.c: Adjust test result.
62853 * posix/globtest.sh: Adjust test result. Add new test.
62854 * posix/tst-fnmatch.input: Likewise.
62855 * posix/tst-fnmatch2.c: Add new test.
62857 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
62859 * elf/Makefile (check-execstack): Revert last change. Depend on
62861 (check-execstack.h): New target.
62862 (generated): Add check-execstack.h.
62863 * elf/check-execstack.c: Include "check-execstack.h".
62864 (main): Revert last change.
62865 (handle_file): Return zero if GNU_STACK is absent and
62866 DEFAULT_STACK_PERMS doesn't include PF_X.
62868 2011-01-13 Ulrich Drepper <drepper@gmail.com>
62870 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
62871 in child fails because the descriptor is already closed.
62872 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
62873 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
62874 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
62877 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
62881 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
62882 temporary buffer used to handle multi lookups locally.
62883 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
62885 2011-01-12 Ulrich Drepper <drepper@gmail.com>
62887 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
62890 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
62892 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
62893 alignment for SSE2.
62895 2011-01-12 Ulrich Drepper <drepper@gmail.com>
62898 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
62899 characters. When rounding increased number of integer digits recompute
62901 * stdio-common/tst-grouping.c: New file.
62902 * stdio-common/Makefile: Add rules to build and run tst-grouping.
62904 2011-01-09 Ulrich Drepper <drepper@gmail.com>
62906 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
62907 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
62909 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
62911 * bits/select.h: Likewise.
62913 2011-01-08 Ulrich Drepper <drepper@gmail.com>
62915 * po/ja.po: Update from translation team.
62917 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
62920 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
62921 implementation just like for lxstat, fxstatat, et al.
62923 2010-12-27 Jim Meyering <meyering@redhat.com>
62926 * posix/regexec.c (build_trtable): Return failure indication upon
62927 calloc failure. Otherwise, re_search_internal could infloop on OOM.
62929 2010-12-25 Ulrich Drepper <drepper@gmail.com>
62932 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
62933 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
62934 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
62935 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
62938 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
62941 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
62942 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
62944 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
62946 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
62947 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
62948 script has SORT_BY_INIT_PRIORITY.
62949 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
62950 NO_CTORS_DTORS_SECTIONS is defined.
62951 * elf/soinit.c: Likewise.
62952 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
62953 NO_CTORS_DTORS_SECTIONS is defined.
62954 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
62955 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
62956 * sysdeps/sh/init-first.c: Likewise.
62957 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
62959 2010-12-24 Ulrich Drepper <drepper@gmail.com>
62961 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
62962 always use the slow path.
62964 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
62966 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
62967 similar rule which adds the sysdep directories to the header search in
62968 order to pick up the correct platform stackinfo.h.
62969 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
62970 perform test if it is, otherwise return successfully without testing.
62971 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
62972 DEFAULT_STACK_PERMS define in stackinfo.h.
62973 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
62974 defined in stackinfo.h.
62975 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
62976 DEFAULT_STACK_PERMS defined in stackinfo.h.
62977 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
62978 * sysdeps/ia64/stackinfo.h: Likewise.
62979 * sysdeps/s390/stackinfo.h: Likewise.
62980 * sysdeps/sh/stackinfo.h: Likewise.
62981 * sysdeps/sparc/stackinfo.h: Likewise.
62982 * sysdeps/x86_64/stackinfo.h: Likewise.
62983 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
62984 PF_X for powerpc64. Retain PF_X for powerpc32.
62986 2010-12-19 Ulrich Drepper <drepper@gmail.com>
62988 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
62990 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
62991 GETDENTS_64BIT_ALIGNED.
62993 2010-12-14 Ulrich Drepper <dreper@gmail.com>
62995 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
62997 2010-12-10 Andreas Schwab <schwab@redhat.com>
62999 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
63002 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
63003 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
63005 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
63006 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
63008 2010-12-09 Ulrich Drepper <drepper@gmail.com>
63011 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
63014 2010-12-09 Jakub Jelinek <jakub@redhat.com>
63016 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
63018 2010-12-03 Ulrich Drepper <drepper@gmail.com>
63020 * po/it.po: Update from translation team.
63022 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
63024 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
63027 2010-11-30 Ulrich Drepper <drepper@gmail.com>
63029 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
63031 2010-11-24 Andreas Schwab <schwab@redhat.com>
63033 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
63035 (gaih_getanswer_slice): Likewise.
63037 2010-10-20 Jakub Jelinek <jakub@redhat.com>
63039 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
63041 2010-05-31 Petr Baudis <pasky@suse.cz>
63044 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
63045 silently even in the chroot mode.
63047 2010-11-22 Ulrich Drepper <drepper@gmail.com>
63049 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
63050 last patch a bit. Pretty printing
63052 2010-05-31 Petr Baudis <pasky@suse.cz>
63055 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
63056 initialization of skip_initgroups_dyn.
63058 2010-11-19 Ulrich Drepper <drepper@gmail.com>
63060 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
63061 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63063 2010-11-16 Ulrich Drepper <drepper@gmail.com>
63065 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
63067 2010-11-11 Andreas Schwab <schwab@redhat.com>
63069 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
63070 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
63071 (tst-fnmatch-ENV): Set MALLOC_TRACE.
63072 ($(objpfx)tst-fnmatch-mem): New rule.
63073 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
63074 * posix/tst-fnmatch.c (main): Call mtrace.
63076 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
63078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63079 Support Intel processor model 6 and model 0x2c.
63081 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
63083 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
63086 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
63089 * string/test-strncasecmp.c (check_result): New function.
63090 (do_one_test): Use it.
63091 (check1): New function.
63092 (test_main): Use it.
63093 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
63094 Support strcasecmp and strncasecmp.
63096 2010-11-08 Ulrich Drepper <drepper@gmail.com>
63099 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
63100 * sysdeps/x86_64/bits/byteswap.h: Likewise.
63102 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
63104 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
63106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63108 * sysdeps/x86_64/multiarch/bzero.S: New file.
63109 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
63110 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
63111 * sysdeps/x86_64/multiarch/memset.S: New file.
63112 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
63113 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63114 Set bit_Prefer_SSE_for_memop for Intel processors.
63115 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
63117 (index_Prefer_SSE_for_memop): Define.
63118 (HAS_PREFER_SSE_FOR_MEMOP): Define.
63120 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
63122 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
63123 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
63125 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
63128 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63129 (__x86_64_raw_data_cache_size_half): Likewise.
63130 (__x86_64_raw_shared_cache_size): Likewise.
63131 (__x86_64_raw_shared_cache_size_half): Likewise.
63133 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63134 (__x86_64_raw_data_cache_size_half): Likewise.
63135 (__x86_64_raw_shared_cache_size): Likewise.
63136 (__x86_64_raw_shared_cache_size_half): Likewise.
63137 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
63138 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
63139 and __x86_64_raw_shared_cache_size_half. Round
63140 __x86_64_data_cache_size_half, __x86_64_data_cache_size
63141 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
63142 to multiple of 256 bytes.
63144 2010-11-03 Ulrich Drepper <drepper@gmail.com>
63147 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
63148 of inacessible symlinks. Verify result of symlink before returning it.
63149 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
63150 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
63152 2010-10-28 Erich Ritz <erichritz@gmail.com>
63154 * math/math.h (isinf): Fix typo in comment.
63156 2010-11-01 Ulrich Drepper <drepper@gmail.com>
63158 * po/da.po: Update from translation team.
63160 2010-10-26 Ulrich Drepper <drepper@gmail.com>
63162 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
63163 is added to the list.
63165 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63166 Ulrich Drepper <drepper@gmail.com>
63168 * elf/dl-object.c (_dl_new_object): Don't append the new object to
63169 the global list here. Move code to...
63170 (_dl_add_to_namespace_list): ...here. New function.
63171 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
63172 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
63173 * elf/dl-load.c (lose): Don't remove the element from the list.
63174 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
63175 (_dl_map_object): Likewise.
63177 2010-10-25 Ulrich Drepper <drepper@gmail.com>
63180 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
63181 into all bytes of SSE register.
63182 Patch by Richard Li <richardpku@gmail.com>.
63184 2010-10-24 Ulrich Drepper <drepper@gmail.com>
63187 * malloc/malloc.c (_int_free): Fill correct number of bytes when
63190 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
63192 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
63193 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
63194 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
63195 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
63198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
63200 2010-10-22 Andreas Schwab <schwab@redhat.com>
63202 * include/dlfcn.h (__RTLD_SECURE): Define.
63203 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
63204 mode & __RTLD_SECURE instead.
63205 (open_path): Rename preloaded parameter to secure.
63206 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
63207 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
63208 * elf/dl-deps.c (openaux): Likewise.
63209 * elf/rtld.c (struct map_args): Remove is_preloaded.
63210 (map_doit): Don't use it.
63211 (dl_main): Likewise.
63212 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
63213 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
63215 2010-09-09 Andreas Schwab <schwab@redhat.com>
63217 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
63218 (sysd-rules-targets): Remove duplicates.
63219 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
63220 rtld-%.$o dependency.
63222 2010-10-18 Andreas Schwab <schwab@redhat.com>
63224 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
63225 _dl_map_object do it.
63227 2010-10-19 Ulrich Drepper <drepper@gmail.com>
63229 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
63230 fast fma builtins, define the macros in the C99 standard.
63231 (FP_FAST_FMAF): Likewise.
63232 (FP_FAST_FMAL): Likewise.
63233 * sysdeps/x86_64/bits/mathdef.h: Likewise.
63235 * bits/mathdef.h: Update copyright year.
63236 * sysdeps/powerpc/bits/mathdef.h: Likewise.
63238 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
63240 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
63241 builtins, define the macros in the C99 standard.
63242 (FP_FAST_FMAF): Likewise.
63243 (FP_FAST_FMAL): Likewise.
63244 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
63246 (FP_FAST_FMAF): Likewise.
63248 2010-10-15 Jakub Jelinek <jakub@redhat.com>
63251 * math/libm-test.inc (fma_test): Some new testcases.
63252 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
63253 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
63254 y and infinite z. Do multiplication by C already in long double.
63255 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
63256 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
63257 y and infinite z. Do bitwise or of inexact bit into u.d.
63258 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
63259 * sysdeps/i386/fpu/s_fmaf.S: Removed.
63260 * sysdeps/i386/fpu/s_fma.S: Removed.
63261 * sysdeps/i386/fpu/s_fmal.S: Removed.
63263 2010-10-16 Jakub Jelinek <jakub@redhat.com>
63266 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
63267 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
63268 computation is not scheduled after fetestexcept. Fix value
63269 of minimum denormal long double.
63271 2010-10-14 Jakub Jelinek <jakub@redhat.com>
63274 * math/libm-test.inc (fma_test): Add some more tests.
63275 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
63278 2010-10-15 Andreas Schwab <schwab@redhat.com>
63280 * scripts/data/localplt-s390-linux-gnu.data: New file.
63281 * scripts/data/localplt-s390x-linux-gnu.data: New file.
63283 2010-10-13 Jakub Jelinek <jakub@redhat.com>
63286 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
63287 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
63289 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
63291 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
63292 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
63293 if one of x and y is very large and the other is subnormal.
63294 * sysdeps/s390/fpu/s_fmaf.c: New file.
63295 * sysdeps/s390/fpu/s_fma.c: New file.
63296 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
63297 * sysdeps/powerpc/fpu/s_fma.S: New file.
63298 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
63299 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
63300 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
63302 2010-10-12 Jakub Jelinek <jakub@redhat.com>
63305 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
63307 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
63308 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
63309 * sysdeps/i386/i686/multiarch/s_fma.c: Include
63310 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
63311 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
63312 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
63313 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
63315 2010-10-12 Ulrich Drepper <drepper@redhat.com>
63318 * posix/regcomp.c (parse_branch): One more memory leak plugged.
63319 * posix/bug-regex31.input: Add test case.
63321 2010-10-11 Ulrich Drepper <drepper@gmail.com>
63323 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
63324 * posix/bug-regex31.input: New file.
63327 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
63328 (parse_sub_exp): Fix last change, use postorder.
63330 * posix/bug-regex31.c: New file.
63331 * posix/Makefile: Add rules to build and run bug-regex31.
63333 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
63336 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
63339 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
63340 to have entries in sys_siglist.
63343 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
63346 2010-10-07 Jakub Jelinek <jakub@redhat.com>
63349 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
63350 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
63351 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
63352 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
63353 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
63354 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
63355 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
63356 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
63357 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
63358 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
63359 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
63360 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
63361 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
63362 * math/ftestexcept.c (fetestexcept): Likewise.
63363 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
63364 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
63365 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
63366 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
63367 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
63368 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
63369 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63371 2010-10-11 Ulrich Drepper <drepper@gmail.com>
63374 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
63377 2010-10-06 Ulrich Drepper <drepper@gmail.com>
63379 * string/bug-strstr1.c: New file.
63380 * string/Makefile: Add rules to build and run bug-strstr1.
63382 2010-10-05 Eric Blake <eblake@redhat.com>
63385 * string/str-two-way.h (two_way_long_needle): Always clear memory
63386 when skipping input due to the shift table.
63388 2010-10-03 Ulrich Drepper <drepper@gmail.com>
63391 * malloc/mcheck.c: Handle large requests.
63394 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
63395 for strncmp and strncasecmp.
63396 * string/stratcliff.c: Add tests for strcmp and strncmp.
63397 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
63399 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
63401 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
63404 2010-09-30 Andreas Jaeger <aj@suse.de>
63406 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
63407 (CGROUP_SUPER_MAGIC): Define.
63408 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63409 Handle btrfs and cgroup file systems.
63410 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63413 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
63415 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
63416 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
63418 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63421 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
63422 trying to locate the ELF header.
63424 2010-09-27 Andreas Schwab <schwab@redhat.com>
63427 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
63428 Mask out sign-bit copies when constructing f_fsid.
63430 2010-09-24 Petr Baudis <pasky@suse.cz>
63432 * debug/stack_chk_fail_local.c: Add missing licence exception.
63433 * debug/warning-nop.c: Likewise.
63435 2010-09-15 Joseph Myers <joseph@codesourcery.com>
63437 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
63438 implementing getdents64 using getdents syscall, set d_type if
63439 __ASSUME_GETDENTS32_D_TYPE.
63441 2010-09-16 Andreas Schwab <schwab@redhat.com>
63443 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
63444 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
63446 2010-09-21 Ulrich Drepper <drepper@redhat.com>
63449 * posix/unistd.h: Undo change of feature selection for ftruncate from
63452 2010-09-20 Ulrich Drepper <drepper@redhat.com>
63454 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
63457 2010-09-20 Andreas Schwab <schwab@redhat.com>
63459 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
63461 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63463 2010-09-14 Andreas Schwab <schwab@redhat.com>
63465 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
63466 variables after CHECK_SP call.
63467 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
63469 2010-09-13 Andreas Schwab <schwab@redhat.com>
63470 Ulrich Drepper <drepper@redhat.com>
63472 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
63473 re-relocationg ld.so.
63474 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
63475 _dl_init_paths call.
63476 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
63479 2010-09-14 Ulrich Drepper <drepper@redhat.com>
63481 * resolv/res_init.c (__res_vinit): Count the default server we added.
63483 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
63484 Ulrich Drepper <drepper@redhat.com>
63487 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
63488 (____longjmp_chk): Use %ebx for saving value across system call.
63491 2010-09-06 Andreas Schwab <schwab@redhat.com>
63493 * manual/Makefile: Don't mix pattern rules with normal rules.
63495 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
63497 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
63499 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
63500 * libio/iofopncook.c (_IO_cookie_init): Likewise.
63501 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
63502 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
63503 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63506 2010-09-04 Ulrich Drepper <drepper@redhat.com>
63509 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
63510 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
63512 2010-09-02 Ulrich Drepper <drepper@redhat.com>
63514 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
63515 * sysdeps/x86_64/addmul_1.S: Likewise.
63516 * sysdeps/x86_64/lshift.S: Likewise.
63517 * sysdeps/x86_64/mul_1.S: Likewise.
63518 * sysdeps/x86_64/rshift.S: Likewise.
63519 * sysdeps/x86_64/sub_n.S: Likewise.
63520 * sysdeps/x86_64/submul_1.S: Likewise.
63522 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
63524 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
63525 Define __sched_param instead of SCHED_* and sched_param when
63526 <bits/sched.h> is included with __need_schedparam defined.
63527 * bits/sched.h [__need_schedparam]
63528 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
63529 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
63530 (__defined_schedparam): Define to 1.
63531 (__sched_param): New structure, identical to sched_param.
63532 (__need_schedparam): Undefine.
63534 2010-08-31 Mike Frysinger <vapier@gentoo.org>
63536 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
63537 (epoll_create1): Declare.
63539 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
63541 2010-08-31 Andreas Schwab <schwab@redhat.com>
63544 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
63545 shifting retval into place.
63547 2010-09-01 Ulrich Drepper <drepper@redhat.com>
63549 * nis/rpcsvc/nis.h: Update copyright notice.
63550 * nis/rpcsvc/nis.x: Likewise.
63551 * nis/rpcsvc/nis_callback.h: Likewise.
63552 * nis/rpcsvc/nis_callback.x: Likewise.
63553 * nis/rpcsvc/nis_object.x: Likewise.
63554 * nis/rpcsvc/nis_tags.h: Likewise.
63555 * nis/rpcsvc/yp.h: Likewise.
63556 * nis/rpcsvc/yp.x: Likewise.
63557 * nis/rpcsvc/ypupd.h: Likewise.
63558 * nis/yp_xdr.c: Likewise.
63559 * nis/ypupdate_xdr.c: Likewise.
63561 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
63562 mainly the body of pmap_getport. Add parameters to specify timeouts.
63563 (pmap_getport): Use __libc_rpc_getport.
63564 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
63565 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
63566 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
63568 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
63570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
63573 2010-08-27 Roland McGrath <roland@redhat.com>
63575 * sysdeps/i386/i686/multiarch/Makefile
63576 (CFLAGS-varshift.c): New variable.
63578 2010-08-27 Ulrich Drepper <drepper@redhat.com>
63580 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
63581 * sysdeps/i386/i686/multiarch/varshift.c: New file.
63583 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
63585 * sysdeps/x86_64/strlen.S: Minimal code improvement.
63587 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
63589 * sysdeps/x86_64/strlen.S: Unroll the loop.
63590 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63591 strlen-sse2 strlen-sse2-bsf.
63592 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
63593 __strlen_no_bsf if bit_Slow_BSF is set.
63594 (__strlen_sse42): Removed.
63595 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
63596 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
63598 2010-08-25 Roland McGrath <roland@redhat.com>
63600 * sysdeps/x86_64/multiarch/varshift.S: File removed.
63601 * sysdeps/x86_64/multiarch/varshift.c: New file.
63602 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
63603 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
63604 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
63605 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63607 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
63609 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63610 strlen-sse2 strlen-sse2-bsf.
63611 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
63612 __strlen_sse2_bsf if bit_Slow_BSF is unset.
63613 (__strlen_sse2): Removed.
63614 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
63615 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
63616 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63617 bit_Slow_BSF for Atom.
63618 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
63619 (index_Slow_BSF): Define.
63620 (HAS_SLOW_BSF): Define.
63622 2010-08-25 Ulrich Drepper <drepper@redhat.com>
63625 * resolv/res_init.c (__res_vinit): When no server address at all
63626 is given default to loopback.
63628 2010-08-24 Roland McGrath <roland@redhat.com>
63630 * configure.in: Remove config-name.h generation.
63631 * configure: Regenerated.
63632 * config-name.in: File removed.
63633 * scripts/config-uname.sh: New file.
63634 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
63635 ($(objdir)config-name.h): New target.
63637 * sunrpc/rpc_parse.h: Avoid nested comment.
63639 2010-08-24 Richard Henderson <rth@redhat.com>
63640 Ulrich Drepper <drepper@redhat.com>
63641 H.J. Lu <hongjiu.lu@intel.com>
63643 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
63644 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
63645 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
63646 Replace _mm_srli_si128 with __m128i_shift_right. Replace
63647 _mm_alignr_epi8 with _mm_loadu_si128.
63648 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
63649 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
63650 (__m128i_shift_right): Removed.
63651 * sysdeps/i386/i686/multiarch/varshift.h: New file.
63652 * sysdeps/i386/i686/multiarch/varshift.S: New file.
63653 * sysdeps/x86_64/multiarch/varshift.h: New file.
63654 * sysdeps/x86_64/multiarch/varshift.S: New file.
63656 2010-08-21 Mike Frysinger <vapier@gentoo.org>
63658 * configure.in: Move assembler checks to before sysdep dir checking.
63660 2010-08-20 Petr Baudis <pasky@suse.cz>
63662 * LICENSES: Sync the sunrpc license.
63664 2010-08-19 Ulrich Drepper <drepper@redhat.com>
63666 * sunrpc/auth_des.c: Update copyright notice once again.
63667 * sunrpc/auth_none.c: Likewise.
63668 * sunrpc/auth_unix.c: Likewise.
63669 * sunrpc/authdes_prot.c: Likewise.
63670 * sunrpc/authuxprot.c: Likewise.
63671 * sunrpc/bindrsvprt.c: Likewise.
63672 * sunrpc/clnt_gen.c: Likewise.
63673 * sunrpc/clnt_perr.c: Likewise.
63674 * sunrpc/clnt_raw.c: Likewise.
63675 * sunrpc/clnt_simp.c: Likewise.
63676 * sunrpc/clnt_tcp.c: Likewise.
63677 * sunrpc/clnt_udp.c: Likewise.
63678 * sunrpc/clnt_unix.c: Likewise.
63679 * sunrpc/des_crypt.c: Likewise.
63680 * sunrpc/des_soft.c: Likewise.
63681 * sunrpc/get_myaddr.c: Likewise.
63682 * sunrpc/getrpcport.c: Likewise.
63683 * sunrpc/key_call.c: Likewise.
63684 * sunrpc/key_prot.c: Likewise.
63685 * sunrpc/openchild.c: Likewise.
63686 * sunrpc/pm_getmaps.c: Likewise.
63687 * sunrpc/pm_getport.c: Likewise.
63688 * sunrpc/pmap_clnt.c: Likewise.
63689 * sunrpc/pmap_prot.c: Likewise.
63690 * sunrpc/pmap_prot2.c: Likewise.
63691 * sunrpc/pmap_rmt.c: Likewise.
63692 * sunrpc/rpc/auth.h: Likewise.
63693 * sunrpc/rpc/auth_unix.h: Likewise.
63694 * sunrpc/rpc/clnt.h: Likewise.
63695 * sunrpc/rpc/des_crypt.h: Likewise.
63696 * sunrpc/rpc/key_prot.h: Likewise.
63697 * sunrpc/rpc/netdb.h: Likewise.
63698 * sunrpc/rpc/pmap_clnt.h: Likewise.
63699 * sunrpc/rpc/pmap_prot.h: Likewise.
63700 * sunrpc/rpc/pmap_rmt.h: Likewise.
63701 * sunrpc/rpc/rpc.h: Likewise.
63702 * sunrpc/rpc/rpc_des.h: Likewise.
63703 * sunrpc/rpc/rpc_msg.h: Likewise.
63704 * sunrpc/rpc/svc.h: Likewise.
63705 * sunrpc/rpc/svc_auth.h: Likewise.
63706 * sunrpc/rpc/types.h: Likewise.
63707 * sunrpc/rpc/xdr.h: Likewise.
63708 * sunrpc/rpc_clntout.c: Likewise.
63709 * sunrpc/rpc_cmsg.c: Likewise.
63710 * sunrpc/rpc_common.c: Likewise.
63711 * sunrpc/rpc_cout.c: Likewise.
63712 * sunrpc/rpc_dtable.c: Likewise.
63713 * sunrpc/rpc_hout.c: Likewise.
63714 * sunrpc/rpc_main.c: Likewise.
63715 * sunrpc/rpc_parse.c: Likewise.
63716 * sunrpc/rpc_parse.h: Likewise.
63717 * sunrpc/rpc_prot.c: Likewise.
63718 * sunrpc/rpc_sample.c: Likewise.
63719 * sunrpc/rpc_scan.c: Likewise.
63720 * sunrpc/rpc_scan.h: Likewise.
63721 * sunrpc/rpc_svcout.c: Likewise.
63722 * sunrpc/rpc_tblout.c: Likewise.
63723 * sunrpc/rpc_util.c: Likewise.
63724 * sunrpc/rpc_util.h: Likewise.
63725 * sunrpc/rpcinfo.c: Likewise.
63726 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63727 * sunrpc/rpcsvc/key_prot.x: Likewise.
63728 * sunrpc/rpcsvc/klm_prot.x: Likewise.
63729 * sunrpc/rpcsvc/mount.x: Likewise.
63730 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
63731 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
63732 * sunrpc/rpcsvc/rex.x: Likewise.
63733 * sunrpc/rpcsvc/rstat.x: Likewise.
63734 * sunrpc/rpcsvc/rusers.x: Likewise.
63735 * sunrpc/rpcsvc/sm_inter.x: Likewise.
63736 * sunrpc/rpcsvc/spray.x: Likewise.
63737 * sunrpc/rpcsvc/yppasswd.x: Likewise.
63738 * sunrpc/rtime.c: Likewise.
63739 * sunrpc/svc.c: Likewise.
63740 * sunrpc/svc_auth.c: Likewise.
63741 * sunrpc/svc_authux.c: Likewise.
63742 * sunrpc/svc_raw.c: Likewise.
63743 * sunrpc/svc_run.c: Likewise.
63744 * sunrpc/svc_simple.c: Likewise.
63745 * sunrpc/svc_tcp.c: Likewise.
63746 * sunrpc/svc_udp.c: Likewise.
63747 * sunrpc/svc_unix.c: Likewise.
63748 * sunrpc/svcauth_des.c: Likewise.
63749 * sunrpc/xcrypt.c: Likewise.
63750 * sunrpc/xdr.c: Likewise.
63751 * sunrpc/xdr_array.c: Likewise.
63752 * sunrpc/xdr_float.c: Likewise.
63753 * sunrpc/xdr_mem.c: Likewise.
63754 * sunrpc/xdr_rec.c: Likewise.
63755 * sunrpc/xdr_ref.c: Likewise.
63756 * sunrpc/xdr_sizeof.c: Likewise.
63757 * sunrpc/xdr_stdio.c: Likewise.
63759 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
63762 2010-08-19 Andreas Schwab <schwab@redhat.com>
63764 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
63766 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
63768 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
63769 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
63770 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
63771 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
63772 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
63773 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
63774 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
63775 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
63776 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
63777 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
63778 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
63779 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
63780 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
63781 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
63783 2010-07-26 Anton Blanchard <anton@samba.org>
63785 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
63786 * malloc/arena.c (heap_trim): Likewise.
63788 2010-08-16 Ulrich Drepper <drepper@redhat.com>
63790 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
63792 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
63793 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
63795 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
63797 * sysdeps/i386/elf/Makefile: New file.
63799 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
63801 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
63802 from fanotify_init.
63803 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
63804 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63806 2010-08-15 Ulrich Drepper <drepper@redhat.com>
63808 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
63810 * sysdeps/multiarch/strcmp.S: Likewise.
63812 2010-08-14 Ulrich Drepper <drepper@redhat.com>
63814 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63815 strncase_l-nonascii.
63816 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63817 Add strncase_l-ssse3.
63818 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
63819 * sysdeps/x86_64/strcmp.S: Likewise.
63820 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
63821 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
63822 * sysdeps/x86_64/strncase.S: New file.
63823 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
63824 * sysdeps/x86_64/strncase_l.S: New file.
63825 * string/Makefile (strop-tests): Add strncasecmp.
63826 * string/test-strncasecmp.c: New file.
63828 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
63831 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
63832 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
63834 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
63836 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
63838 2010-08-12 Ulrich Drepper <drepper@redhat.com>
63840 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
63841 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
63842 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
63844 2010-05-01 Alan Modra <amodra@gmail.com>
63846 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
63847 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
63848 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
63849 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
63850 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
63851 tidying. Don't tail-call __sigjmp_save for static lib.
63852 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
63854 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
63855 (CALL_MCOUNT): Add eh info, and nop after bl.
63856 (TAIL_CALL_SYSCALL_ERROR): New macro.
63857 (PSEUDO_RET): Use it.
63858 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
63859 Correct save location of integer regs and cr.
63860 (_dl_profile_resolve): Correct cr save location. Delete nops
63861 after bl when SHARED. Reduce cfi size a little by better
63862 placement of cfi directives.
63863 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
63864 make a stack frame. Instead use parm save area as a temp.
63865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
63866 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
63867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
63868 Don't make a stack frame for parent, use parm save area.
63869 Increase child stack frame to 112 bytes. Don't save unused reg,
63870 and adjust reg usage. Set up cfi on error recovery and
63871 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
63872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63873 (__makecontext): Add dummy nop after jump to exit.
63874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
63875 Use correct parm save area and cr save, reduce stack frame.
63876 Correct cfi for possible PSEUDO_RET frame setup.
63877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
63878 Branch to local label emitted by PSEUDO_RET rather than
63881 2010-08-12 Andreas Schwab <schwab@redhat.com>
63884 * locale/programs/locale.c (print_assignment): New function.
63885 (show_locale_vars): Use it.
63887 2010-08-11 Ulrich Drepper <drepper@redhat.com>
63889 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
63891 (struct statfs64): Likewise.
63892 (_STATFS_F_FLAGS): Define.
63893 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
63894 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63895 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
63896 (ST_VALID): Define locally.
63897 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
63898 __statvfs_getflags, use the provided value.
63899 * sysdeps/unix/sysv/linux/kernel-features.h: Define
63900 __ASSUME_STATFS_F_FLAGS.
63902 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
63904 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
63905 Add sys/fanotify.h.
63906 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
63907 fanotify_mask for GLIBC_2.13.
63908 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
63909 fanotify_init and fanotify_mark.
63910 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63911 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
63913 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
63915 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
63916 prlimit64 for GLIBC_2.13.
63917 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
63919 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
63921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
63922 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63923 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
63924 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
63925 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
63927 * sysdeps/unix/sysv/linux/prlimit.c: New file.
63930 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
63931 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
63933 * nss/Makefile: Add rules to build and run tst-nss-test1.
63934 * shlib-versions: Add entry for libnss_test1.
63935 * nss/nss_test1.c: New file.
63936 * nss/tst-nss-test1.c: New file.
63938 * nss/nsswitch.c (__nss_database_custom): Define new variable.
63939 (__nss_configure_lookup): Set appropriate entry in
63940 __nss_configure_lookup to true.
63941 * nss/nsswitch.h: Define enum with indeces of databases in
63942 databases and __nss_database_custom arrays. Declare
63943 __nss_database_custom.
63944 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
63945 to avoid using nscd when custom rules are installed.
63946 * nss/getXXbyYY_r.c: Likewise.
63947 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63949 * nss/nss_files/files-parse.c: Whitespace fixes.
63951 2010-08-09 Ulrich Drepper <drepper@redhat.com>
63954 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
63955 * posix/fnmatch_loop.c: Likewise.
63957 2010-07-17 Andi Kleen <ak@linux.intel.com>
63959 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
63960 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
63961 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
63962 * Versions.def [GLIBC_2.13]: Add.
63964 2010-08-06 Ulrich Drepper <drepper@redhat.com>
63966 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63967 Also fail if tpwd after pwuid call is NULL.
63969 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
63971 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
63972 when converting to ms.
63974 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
63976 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
63977 EOPNOTSUPP errors with ENOTTY.
63978 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
63979 EOPNOTSUPP errors with ENOTTY.
63981 2010-07-31 Ulrich Drepper <drepper@redhat.com>
63983 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63984 Add strcasecmp_l-ssse3.
63985 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
63987 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
63988 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
63989 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
63991 2010-07-30 Ulrich Drepper <drepper@redhat.com>
63993 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
63995 * string/Makefile (strop-tests): Add strcasecmp.
63996 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63997 strcasecmp_l-nonascii.
63998 (gen-as-const-headers): Add locale-defines.sym.
63999 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
64000 * sysdeps/x86_64/strcasecmp.S: New file.
64001 * sysdeps/x86_64/strcasecmp_l.S: New file.
64002 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
64003 * sysdeps/x86_64/locale-defines.sym: New file.
64004 * string/test-strcasecmp.c: New file.
64006 * string/test-strcasestr.c: Test both ends of the range of characters.
64007 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
64009 2010-07-29 Roland McGrath <roland@redhat.com>
64012 * manual/locale.texi (Yes-or-No Questions): Fix example code.
64014 2010-07-27 Ulrich Drepper <drepper@redhat.com>
64016 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
64019 2010-07-27 Andreas Schwab <schwab@redhat.com>
64021 * manual/memory.texi (Malloc Tunable Parameters): Document
64024 2010-07-26 Roland McGrath <roland@redhat.com>
64027 * configure.in (-fgnu89-inline check): Set and substitute
64028 gnu89_inline, not libc_cv_gnu89_inline.
64029 * configure: Regenerated.
64030 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
64032 2010-07-26 Ulrich Drepper <drepper@redhat.com>
64034 * string/test-strnlen.c: New file.
64035 * string/Makefile (strop-tests): Add strnlen.
64036 * string/tester.c (test_strnlen): Add a few more test cases.
64037 * string/tst-strlen.c: Better error reporting.
64039 * sysdeps/x86_64/strnlen.S: New file.
64041 2010-07-24 Ulrich Drepper <drepper@redhat.com>
64043 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
64044 lower-latency instructions.
64046 2010-07-23 Ulrich Drepper <drepper@redhat.com>
64048 * string/test-strcasestr.c: New file.
64049 * string/test-strstr.c: New file.
64050 * string/Makefile (strop-tests): Add strstr and strcasestr.
64051 * string/str-two-way.h: Don't undefine MAX.
64052 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
64054 2010-07-21 Andreas Schwab <schwab@redhat.com>
64056 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64057 strcasestr-nonascii.
64058 (CFLAGS-strcasestr-nonascii.c): Define.
64059 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
64060 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
64061 Remove unused attribute.
64063 2010-07-20 Roland McGrath <roland@redhat.com>
64065 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
64066 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
64067 ld.so.cache was broken. With it, there is no way to disable dsocaps
64068 like LD_HWCAP_MASK can disable hwcaps.
64070 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
64072 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
64074 2010-07-16 Ulrich Drepper <drepper@redhat.com>
64076 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
64077 call in strcasestr.
64078 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
64079 __strcasestr_sse42_nonascii.
64080 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
64081 strcasestr-nonascii.c.
64082 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
64084 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
64086 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
64087 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
64088 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
64089 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
64091 2010-07-09 Ulrich Drepper <drepper@redhat.com>
64093 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
64096 2010-07-06 Andreas Schwab <schwab@redhat.com>
64099 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
64102 2010-07-06 Ulrich Drepper <drepper@redhat.com>
64104 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
64105 _PC_PIPE_BUF using F_GETPIPE_SZ.
64107 2010-07-05 Roland McGrath <roland@redhat.com>
64109 * manual/arith.texi (Rounding Functions): Fix rint description
64110 implicit in round description.
64112 2010-07-02 Ulrich Drepper <drepper@redhat.com>
64114 * elf/Makefile: Fix linking for a few tests to make recent linker
64117 2010-06-30 Andreas Schwab <schwab@redhat.com>
64119 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
64120 $(common-objpfx)libc_nonshared.a.
64122 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
64124 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
64125 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
64126 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64127 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64128 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
64129 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
64130 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64131 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
64133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
64134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
64135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
64137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
64139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
64140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
64141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
64142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
64144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
64146 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
64147 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
64148 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
64149 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
64150 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
64151 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
64152 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
64153 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
64154 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
64155 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
64156 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
64157 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
64158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
64159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
64160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
64161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
64162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
64163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
64164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
64165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
64166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
64167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
64168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
64169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
64170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
64171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
64173 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
64175 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
64176 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
64177 * string/memmove.c (memmove): Renamed to ...
64178 (MEMMOVE): ...this. Default to memmove.
64179 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
64180 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
64182 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64183 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
64184 mempcpy-ssse3-back memmove-ssse3-back.
64185 * sysdeps/x86_64/multiarch/bcopy.S: New file .
64186 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
64187 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
64188 * sysdeps/x86_64/multiarch/memcpy.S: New file.
64189 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
64190 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
64191 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
64192 * sysdeps/x86_64/multiarch/memmove.c: New file.
64193 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
64194 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
64195 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
64196 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
64197 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
64198 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
64200 (index_Fast_Copy_Backward): Define.
64201 (HAS_ARCH_FEATURE): Define.
64202 (HAS_FAST_REP_STRING): Define.
64203 (HAS_FAST_COPY_BACKWARD): Define.
64205 2010-06-21 Andreas Schwab <schwab@redhat.com>
64207 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64208 Restore proper fallback handling.
64210 2010-06-19 Ulrich Drepper <drepper@redhat.com>
64213 * posix/group_member.c (__group_member): Correct checking loop.
64215 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
64216 OOM in getpwuid_r correctly. Return error number when the caller
64217 should return, otherwise -1.
64218 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
64219 call returning > 0 value.
64220 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
64222 2010-06-07 Andreas Schwab <schwab@redhat.com>
64224 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
64225 libc_nonshared.a from targets in modules-names.
64227 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
64229 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
64232 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
64234 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
64235 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
64236 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
64237 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
64239 2010-06-02 Andreas Schwab <schwab@redhat.com>
64241 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
64243 2010-06-14 Ulrich Drepper <drepper@redhat.com>
64245 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
64247 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64248 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64249 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64250 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64251 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64252 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
64254 2010-06-14 Roland McGrath <roland@redhat.com>
64256 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
64258 2010-06-07 Jakub Jelinek <jakub@redhat.com>
64260 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
64261 __REDIRECT followed by __THROW.
64262 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
64263 * posix/getopt.h (getopt): Likewise.
64265 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
64267 * hurd/lookup-at.c (__file_name_lookup_at): Accept
64268 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
64269 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
64271 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
64272 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
64274 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
64276 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
64278 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
64281 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64282 Properly check family and model.
64284 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
64286 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
64288 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
64290 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
64292 2010-05-21 Ulrich Drepper <drepper@redhat.com>
64294 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
64297 2010-05-19 Andreas Schwab <schwab@redhat.com>
64299 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
64302 2010-05-21 Andreas Schwab <schwab@redhat.com>
64304 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
64305 and internal_recvmmsg.
64306 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
64307 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
64308 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
64309 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
64311 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
64312 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
64313 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
64315 2010-05-20 Andreas Schwab <schwab@redhat.com>
64317 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
64319 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
64321 POWER7 optimizations.
64322 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
64323 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
64325 2010-05-19 Ulrich Drepper <drepper@redhat.com>
64327 * version.h: Update for 2.13 development version.
64329 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
64331 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
64332 exceptions. Return 0.
64334 2010-05-07 Roland McGrath <roland@redhat.com>
64336 * elf/ldconfig.c (main): Add a const.
64338 2010-05-06 Ulrich Drepper <drepper@redhat.com>
64340 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
64341 (args_options): Add no-idn option.
64342 (ahosts_keys_int): Add idn_flags to ai_flags.
64343 (parse_option): Handle 'i' option to clear idn_flags.
64345 * malloc/malloc.c (_int_free): Possible race in the most recently
64346 added check. Only act on the data if no current modification
64349 See ChangeLog.17 for earlier changes.