1 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
3 * sysdeps/s390/multiarch/Makefile
4 (sysdep_routines): Remove wmemcmp variants.
5 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
6 * sysdeps/s390/multiarch/ifunc-impl-list.c
7 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
8 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
9 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
10 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
11 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
12 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
13 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
14 * sysdeps/s390/ifunc-wmemcmp.h: New file.
16 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
18 * sysdeps/s390/multiarch/Makefile
19 (sysdep_routines): Remove wmemset variants.
20 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
21 * sysdeps/s390/multiarch/ifunc-impl-list.c
22 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
23 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
24 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
25 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
26 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
27 * sysdeps/s390/multiarch/wmemset.c: Move to ...
28 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
29 * sysdeps/s390/ifunc-wmemset.h: New file.
31 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
33 * sysdeps/s390/multiarch/Makefile
34 (sysdep_routines): Remove wmemchr variants.
35 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
36 * sysdeps/s390/multiarch/ifunc-impl-list.c
37 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
38 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
39 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
40 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
41 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
42 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
43 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
44 * sysdeps/s390/ifunc-wmemchr.h: New file.
46 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
48 * sysdeps/s390/multiarch/Makefile
49 (sysdep_routines): Remove wcscspn variants.
50 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
51 * sysdeps/s390/multiarch/ifunc-impl-list.c
52 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
53 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
54 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
55 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
56 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
57 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
58 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
59 * sysdeps/s390/ifunc-wcscspn.h: New file.
61 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
63 * sysdeps/s390/multiarch/Makefile
64 (sysdep_routines): Remove wcspbrk variants.
65 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
66 * sysdeps/s390/multiarch/ifunc-impl-list.c
67 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
68 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
69 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
70 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
71 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
72 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
73 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
74 * sysdeps/s390/ifunc-wcspbrk.h: New file.
76 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
78 * sysdeps/s390/multiarch/Makefile
79 (sysdep_routines): Remove wcsspn variants.
80 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
81 * sysdeps/s390/multiarch/ifunc-impl-list.c
82 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
83 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
84 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
85 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
86 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
87 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
88 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
89 * sysdeps/s390/ifunc-wcsspn.h: New file.
91 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
93 * sysdeps/s390/multiarch/Makefile
94 (sysdep_routines): Remove wcsrchr variants.
95 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
96 * sysdeps/s390/multiarch/ifunc-impl-list.c
97 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
98 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
99 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
100 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
101 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
102 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
103 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
104 * sysdeps/s390/ifunc-wcsrchr.h: New file.
106 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
108 * sysdeps/s390/multiarch/Makefile
109 (sysdep_routines): Remove wcschrnul variants.
110 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
111 * sysdeps/s390/multiarch/ifunc-impl-list.c
112 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
113 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
114 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
115 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
116 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
117 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
118 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
119 * sysdeps/s390/ifunc-wcschrnul.h: New file.
121 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
123 * sysdeps/s390/multiarch/Makefile
124 (sysdep_routines): Remove wcschr variants.
125 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
126 * sysdeps/s390/multiarch/ifunc-impl-list.c
127 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
128 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
129 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
130 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
131 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
132 * sysdeps/s390/multiarch/wcschr.c: Move to ...
133 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
134 * sysdeps/s390/ifunc-wcschr.h: New file.
136 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
138 * sysdeps/s390/multiarch/Makefile
139 (sysdep_routines): Remove wcsncmp variants.
140 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
141 * sysdeps/s390/multiarch/ifunc-impl-list.c
142 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
143 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
144 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
145 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
146 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
147 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
148 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
149 * sysdeps/s390/ifunc-wcsncmp.h: New file.
151 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
153 * sysdeps/s390/multiarch/Makefile
154 (sysdep_routines): Remove wcscmp variants.
155 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
156 * sysdeps/s390/multiarch/ifunc-impl-list.c
157 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
158 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
159 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
160 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
161 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
162 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
163 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
164 * sysdeps/s390/ifunc-wcscmp.h: New file.
166 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
168 * sysdeps/s390/multiarch/Makefile
169 (sysdep_routines): Remove wcsncat variants.
170 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
171 * sysdeps/s390/multiarch/ifunc-impl-list.c
172 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
173 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
174 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
175 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
176 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
177 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
178 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
179 * sysdeps/s390/ifunc-wcsncat.h: New file.
181 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
183 * sysdeps/s390/multiarch/Makefile
184 (sysdep_routines): Remove wcscat variants.
185 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
186 * sysdeps/s390/multiarch/ifunc-impl-list.c
187 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
188 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
189 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
190 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
191 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
192 * sysdeps/s390/multiarch/wcscat.c: Move to ...
193 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
194 * sysdeps/s390/ifunc-wcscat.h: New file.
196 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
198 * sysdeps/s390/multiarch/Makefile
199 (sysdep_routines): Remove wcpncpy variants.
200 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
201 * sysdeps/s390/multiarch/ifunc-impl-list.c
202 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
203 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
204 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
205 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
206 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
207 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
208 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
209 * sysdeps/s390/ifunc-wcpncpy.h: New file.
211 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
213 * sysdeps/s390/multiarch/Makefile
214 (sysdep_routines): Remove wcsncpy variants.
215 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
216 * sysdeps/s390/multiarch/ifunc-impl-list.c
217 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
218 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
219 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
220 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
221 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
222 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
223 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
224 * sysdeps/s390/ifunc-wcsncpy.h: New file.
226 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
228 * sysdeps/s390/multiarch/Makefile
229 (sysdep_routines): Remove wcpcpy variants.
230 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
231 * sysdeps/s390/multiarch/ifunc-impl-list.c
232 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
233 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
234 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
235 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
236 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
237 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
238 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
239 * sysdeps/s390/ifunc-wcpcpy.h: New file.
241 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
243 * sysdeps/s390/multiarch/Makefile
244 (sysdep_routines): Remove wcscpy variants.
245 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
246 * sysdeps/s390/multiarch/ifunc-impl-list.c
247 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
248 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
249 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
250 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
251 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
252 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
253 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
254 * sysdeps/s390/ifunc-wcscpy.h: New file.
256 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
258 * sysdeps/s390/multiarch/Makefile
259 (sysdep_routines): Remove wcsnlen variants.
260 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
261 * sysdeps/s390/multiarch/ifunc-impl-list.c
262 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
263 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
264 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
265 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
266 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
267 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
268 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
269 * sysdeps/s390/ifunc-wcsnlen.h: New file.
271 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
273 * sysdeps/s390/multiarch/Makefile
274 (sysdep_routines): Remove wcslen variants.
275 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
276 * sysdeps/s390/multiarch/ifunc-impl-list.c
277 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
278 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
279 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
280 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
281 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
282 * sysdeps/s390/multiarch/wcslen.c: Move to ...
283 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
284 * sysdeps/s390/ifunc-wcslen.h: New file.
286 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
288 * sysdeps/s390/multiarch/Makefile
289 (sysdep_routines): Remove memrchr variants.
290 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
291 * sysdeps/s390/multiarch/ifunc-impl-list.c
292 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
293 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
294 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
295 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
296 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
297 * sysdeps/s390/multiarch/memrchr.c: Move to ...
298 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
299 * sysdeps/s390/ifunc-memrchr.h: New file.
301 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
303 * sysdeps/s390/multiarch/Makefile
304 (sysdep_routines): Remove memccpy variants.
305 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
306 * sysdeps/s390/multiarch/ifunc-impl-list.c
307 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
308 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
309 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
310 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
311 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
312 * sysdeps/s390/multiarch/memccpy.c: Move to ...
313 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
314 * sysdeps/s390/ifunc-memccpy.h: New file.
316 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
318 * sysdeps/s390/multiarch/Makefile
319 (sysdep_routines): Remove rawmemchr variants.
320 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
321 * sysdeps/s390/multiarch/ifunc-impl-list.c
322 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
323 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
324 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
325 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
326 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
327 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
328 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
329 * sysdeps/s390/ifunc-rawmemchr.h: New file.
331 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
333 * sysdeps/s390/multiarch/Makefile
334 (sysdep_routines): Remove memchr variants.
335 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
336 * sysdeps/s390/multiarch/ifunc-impl-list.c
337 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
338 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
339 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
340 * sysdeps/s390/multiarch/memchr.c: Move to ...
341 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
342 * sysdeps/s390/ifunc-memchr.h: New file.
343 * sysdeps/s390/s390-64/memchr.S: Move to ...
344 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
345 for 31/64bit and ifunc handling.
346 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
347 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
348 * sysdeps/s390/s390-32/memchr.S: Likewise.
350 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
352 * sysdeps/s390/multiarch/Makefile
353 (sysdep_routines): Remove strcspn variants.
354 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
355 * sysdeps/s390/multiarch/ifunc-impl-list.c
356 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
357 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
358 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
359 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
360 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
361 * sysdeps/s390/multiarch/strcspn.c: Move to ...
362 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
363 * sysdeps/s390/ifunc-strcspn.h: New file.
365 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
367 * sysdeps/s390/multiarch/Makefile
368 (sysdep_routines): Remove strpbrk variants.
369 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
370 * sysdeps/s390/multiarch/ifunc-impl-list.c
371 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
372 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
373 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
374 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
375 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
376 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
377 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
378 * sysdeps/s390/ifunc-strpbrk.h: New file.
380 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
382 * sysdeps/s390/multiarch/Makefile
383 (sysdep_routines): Remove strspn variants.
384 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
385 * sysdeps/s390/multiarch/ifunc-impl-list.c
386 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
387 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
388 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
389 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
390 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
391 * sysdeps/s390/multiarch/strspn.c: Move to ...
392 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
393 * sysdeps/s390/ifunc-strspn.h: New file.
395 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
397 * sysdeps/s390/multiarch/Makefile
398 (sysdep_routines): Remove strrchr variants.
399 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
400 * sysdeps/s390/multiarch/ifunc-impl-list.c
401 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
402 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
403 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
404 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
405 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
406 * sysdeps/s390/multiarch/strrchr.c: Move to ...
407 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
408 * sysdeps/s390/ifunc-strrchr.h: New file.
410 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
412 * sysdeps/s390/multiarch/Makefile
413 (sysdep_routines): Remove strchrnul variants.
414 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
415 * sysdeps/s390/multiarch/ifunc-impl-list.c
416 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
417 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
418 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
419 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
420 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
421 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
422 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
423 * sysdeps/s390/ifunc-strchrnul.h: New file.
425 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
427 * sysdeps/s390/multiarch/Makefile
428 (sysdep_routines): Remove strchr variants.
429 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
430 * sysdeps/s390/multiarch/ifunc-impl-list.c
431 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
432 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
433 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
434 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
435 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
436 * sysdeps/s390/multiarch/strchr.c: Move to ...
437 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
438 * sysdeps/s390/ifunc-strchr.h: New file.
440 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
442 * sysdeps/s390/multiarch/Makefile
443 (sysdep_routines): Remove strncmp variants.
444 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
445 * sysdeps/s390/multiarch/ifunc-impl-list.c
446 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
447 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
448 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
449 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
450 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
451 * sysdeps/s390/multiarch/strncmp.c: Move to ...
452 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
453 * sysdeps/s390/ifunc-strncmp.h: New file.
455 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
457 * sysdeps/s390/multiarch/Makefile
458 (sysdep_routines): Remove strcmp variants.
459 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
460 * sysdeps/s390/multiarch/ifunc-impl-list.c
461 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
462 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
463 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
464 * sysdeps/s390/multiarch/strcmp.c: Move to ...
465 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
466 * sysdeps/s390/ifunc-strcmp.h: New file.
467 * sysdeps/s390/s390-64/strcmp.S: Move to ...
468 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
469 for 31/64bit and ifunc handling.
470 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
471 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
472 * sysdeps/s390/s390-32/strcmp.S: Likewise.
474 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
476 * sysdeps/s390/multiarch/Makefile
477 (sysdep_routines): Remove strncat variants.
478 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
479 * sysdeps/s390/multiarch/ifunc-impl-list.c
480 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
481 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
482 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
483 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
484 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
485 * sysdeps/s390/multiarch/strncat.c: Move to ...
486 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
487 * sysdeps/s390/ifunc-strncat.h: New file.
489 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
491 * sysdeps/s390/multiarch/Makefile
492 (sysdep_routines): Remove strcat variants.
493 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
494 * sysdeps/s390/multiarch/ifunc-impl-list.c
495 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
496 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
497 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
498 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
499 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
500 * sysdeps/s390/multiarch/strcat.c: Move to ...
501 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
502 * sysdeps/s390/ifunc-strcat.h: New file.
504 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
506 * sysdeps/s390/multiarch/Makefile
507 (sysdep_routines): Remove stpncpy variants.
508 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
509 * sysdeps/s390/multiarch/ifunc-impl-list.c
510 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
511 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
512 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
513 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
514 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
515 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
516 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
517 * sysdeps/s390/ifunc-stpncpy.h: New file.
519 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
521 * sysdeps/s390/multiarch/Makefile
522 (sysdep_routines): Remove strncpy variants.
523 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
524 * sysdeps/s390/multiarch/ifunc-impl-list.c
525 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
526 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
527 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
528 * sysdeps/s390/multiarch/strncpy.c: Move to ...
529 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
530 * sysdeps/s390/ifunc-strncpy.h: New file.
531 * sysdeps/s390/s390-64/strncpy.S: Move to ...
532 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
533 and adjust ifunc handling.
534 * sysdeps/s390/s390-32/strncpy.S: Move to ...
535 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
536 and adjust ifunc handling.
537 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
538 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
540 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
542 * sysdeps/s390/multiarch/Makefile
543 (sysdep_routines): Remove stpcpy variants.
544 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
545 * sysdeps/s390/multiarch/ifunc-impl-list.c
546 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
547 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
548 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
549 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
550 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
551 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
552 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
553 * sysdeps/s390/ifunc-stpcpy.h: New file.
555 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
557 * sysdeps/s390/multiarch/Makefile
558 (sysdep_routines): Remove strcpy variants.
559 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
560 * sysdeps/s390/multiarch/ifunc-impl-list.c
561 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
562 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
563 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
564 * sysdeps/s390/multiarch/strcpy.c: Move to ...
565 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
566 * sysdeps/s390/ifunc-strcpy.h: New file.
567 * sysdeps/s390/s390-64/strcpy.S: Move to ...
568 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
569 for 31/64bit and ifunc handling.
570 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
571 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
572 * sysdeps/s390/s390-32/strcpy.S: Likewise.
574 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
576 * sysdeps/s390/multiarch/Makefile
577 (sysdep_routines): Remove strnlen variants.
578 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
579 * sysdeps/s390/multiarch/ifunc-impl-list.c
580 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
581 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
582 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
583 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
584 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
585 * sysdeps/s390/multiarch/strnlen.c: Move to ...
586 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
587 * sysdeps/s390/ifunc-strnlen.h: New file.
589 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
591 * sysdeps/s390/multiarch/Makefile
592 (sysdep_routines): Remove strlen variants.
593 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
594 * sysdeps/s390/multiarch/ifunc-impl-list.c
595 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
596 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
597 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
598 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
599 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
600 * sysdeps/s390/multiarch/strlen.c: Move to ...
601 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
602 * sysdeps/s390/ifunc-strlen.h: New file.
604 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
606 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
607 * sysdeps/s390/multiarch/ifunc-impl-list.c
608 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
609 * sysdeps/s390/ifunc-memmem.h: New file.
610 * sysdeps/s390/memmem.c: Likewise.
611 * sysdeps/s390/memmem-c.c: Likewise.
612 * sysdeps/s390/memmem-vx.c: Likewise.
614 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
616 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
617 * sysdeps/s390/multiarch/ifunc-impl-list.c
618 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
619 * sysdeps/s390/ifunc-strstr.h: New file.
620 * sysdeps/s390/strstr.c: Likewise.
621 * sysdeps/s390/strstr-c.c: Likewise.
622 * sysdeps/s390/strstr-vx.c: Likewise.
624 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
626 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
627 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
628 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
629 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
631 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
632 * sysdeps/s390/memmove-c.c: New file.
633 * sysdeps/s390/memmove.c: Likewise.
634 * sysdeps/s390/multiarch/ifunc-impl-list.c
635 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
637 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
639 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
640 * sysdeps/s390/configure.ac: Add check for z13 support.
641 * sysdeps/s390/configure: Regenerated.
643 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
645 * sysdeps/s390/memcopy.h: New file.
647 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
649 * sysdeps/s390/s390-32/bcopy.S: Remove.
650 * sysdeps/s390/s390-64/bcopy.S: Likewise.
652 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
654 * sysdeps/s390/ifunc-memcpy.h: New File.
655 * sysdeps/s390/memcpy.S: Move to ...
656 * sysdeps/s390/memcpy-z900.S ... here.
657 Move implementations from memcpy-s390x.s to here.
658 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
659 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
660 Remove memcpy/mempcpy variants.
661 * sysdeps/s390/Makefile (sysdep_routines):
662 Add memcpy/mempcpy variants.
663 * sysdeps/s390/multiarch/ifunc-impl-list.c
664 (__libc_ifunc_impl_list): Adjust ifunc variants for
666 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
668 * sysdeps/s390/memcpy.c: ... here.
669 Adjust ifunc variants for memcpy.
670 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
671 * sysdeps/s390/mempcpy.c: ... here.
672 Adjust ifunc variants for mempcpy.
673 * sysdeps/s390/mempcpy.S: Delete file.
675 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
677 * sysdeps/s390/s390-64/memcpy.S: Move to ...
678 * sysdeps/s390/memcpy.S: ... here.
679 Adjust to be usable for 31/64bit.
680 * sysdeps/s390/s390-32/memcpy.S: Delete File.
681 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
682 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
683 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
684 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
685 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
686 Adjust to be usable for 31/64bit.
687 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
688 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
689 * sysdeps/s390/multiarch/memcpy.c: ... here.
690 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
692 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
694 * sysdeps/s390/ifunc-memcmp.h: New File.
695 * sysdeps/s390/memcmp.S: Move to ...
696 * sysdeps/s390/memcmp-z900.S ... here.
697 Move implementations from memcmp-s390x.s to here.
698 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
699 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
700 Remove memcmp variants.
701 * sysdeps/s390/Makefile (sysdep_routines):
703 * sysdeps/s390/multiarch/ifunc-impl-list.c
704 (__libc_ifunc_impl_list): Adjust ifunc variants for
706 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
708 * sysdeps/s390/memcmp.c: ... here.
709 Adjust ifunc variants for memcmp.
711 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
713 * sysdeps/s390/s390-64/memcmp.S: Move to ...
714 * sysdeps/s390/memcmp.S: ... here.
715 Adjust to be usable for 31/64bit.
716 * sysdeps/s390/s390-32/memcmp.S: Delete File.
717 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
718 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
720 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
721 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
722 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
723 Adjust to be usable for 31/64bit.
724 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
725 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
726 * sysdeps/s390/multiarch/memcmp.c: ... here.
727 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
729 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
731 * sysdeps/s390/s390-32/bzero.S: Delete file.
732 * sysdeps/s390/s390-64/bzero.S: Likewise.
733 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
734 * sysdeps/s390/bzero.c: New file.
735 * sysdeps/s390/memset-z900.S: Add bzero entry points.
736 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
737 * sysdeps/s390/multiarch/ifunc-impl-list.c
738 (__libc_ifunc_impl_list): Add bzero ifunc variants.
740 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
742 * sysdeps/s390/ifunc-memset.h: New File.
743 * sysdeps/s390/memset.S: Move to ...
744 * sysdeps/s390/memset-z900.S ... here.
745 Move implementations from memset-s390x.s to here.
746 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
747 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
748 Remove memset variants.
749 * sysdeps/s390/Makefile (sysdep_routines):
751 * sysdeps/s390/multiarch/ifunc-impl-list.c
752 (__libc_ifunc_impl_list): Adjust ifunc variants for
754 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
756 * sysdeps/s390/memset.c: ... here.
757 Adjust ifunc variants for memset.
759 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
761 * sysdeps/s390/s390-64/memset.S: Move to ...
762 * sysdeps/s390/memset.S: ... here.
763 Adjust to be usable for 31/64bit.
764 * sysdeps/s390/s390-32/memset.S: Delete File.
765 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
766 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
768 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
769 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
770 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
771 Adjust to be usable for 31/64bit.
772 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
773 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
774 * sysdeps/s390/multiarch/memset.c: ... here.
775 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
777 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
779 * sysdeps/s390/multiarch/ifunc-resolve.h
780 (s390_libc_ifunc_init, s390_libc_ifunc,
781 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
783 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
785 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
786 * sysdeps/s390/configure.ac: Add check for z10 support.
787 * sysdeps/s390/configure: Regenerated.
789 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
791 * sysdeps/i386/atomic-machine.h: Merged with ...
792 * sysdeps/x86_64/atomic-machine.h: To ...
793 * sysdeps/x86/atomic-machine.h: This. New file.
795 2018-12-18 Florian Weimer <fweimer@redhat.com>
797 Rewrite locale/gen-translit.pl in Python.
798 * locale/Makefile (generated): Add C-translit.h.
799 (before-compile): Add $(objpfx)C-translit.h.
800 (C-translit.h): Move to $(objpfx). Create target directory.
801 Build using Python script.
802 * locale/gen-translit.py: New file.
803 * locale/gen-translit.pl: Remove file.
804 * locale/C-translit.h.in: Change comment character to '#' for
805 easier parsing without a C preprocessor.
806 * locale/C-translit.h: Remove generated file.
807 * manual/install.texi (Tools for Compilation): Do not mention
809 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
810 Remove locale/C-translit.h.
811 * scripts/update-copyrights: Likewise.
812 * INSTALL: Regenerate.
814 2018-12-18 Florian Weimer <fweimer@redhat.com>
817 * localedata/locales/bi_VU: Remove executable bit from file.
819 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
822 (__localtime64): Add.
823 * manual/maint.texi: Document Y2038 symbol handling.
825 (__localtime64): Add.
826 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
828 2018-12-17 Joseph Myers <joseph@codesourcery.com>
830 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
833 * scripts/glibcextract.py (compare_macro_consts): Take parameters
834 to allow extra macros from first or second sources.
835 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
836 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
837 (tests-special): Add $(objpfx)tst-mman-consts.out.
838 ($(objpfx)tst-mman-consts.out): New makefile target.
840 2018-12-17 Mao Han <han_mao@c-sky.com>
842 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
843 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
844 without stat64 system call support.
845 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
846 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
847 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
848 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
849 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
850 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
851 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
852 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
853 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
854 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
855 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
857 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
859 regex: fix storage-exhaustion error
861 * posix/regexec.c (get_subexp):
862 Do not continue if storage is exhausted.
864 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
866 regex: fix heap-use-after-free error
868 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
869 https://debbugs.gnu.org/32592
870 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
871 call extend_buffers which reallocates the re_string_t internal buffer.
872 Local variable 'buf' was not updated in such case, resulting in
874 * posix/regexec.c (get_subexp): Update 'buf' after call to
877 2018-12-15 Florian Weimer <fweimer@redhat.com>
879 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
880 (minimum_stride_size): Use it.
881 (support_blob_repeat_allocate): Likewise.
883 2018-12-14 Joseph Myers <joseph@codesourcery.com>
885 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
890 2018-12-14 Florian Weimer <fweimer@redhat.com>
892 * manual/process.texi (Process Creation Concepts): Remove
893 documentation of process (ID) lifetime. List more process
894 creation functions. Reference Process Identification section.
895 (Process Identification): Add information about process ID
896 lifetime. Describe Linux thread/task IDs.
897 * manual/signal.texi (Signaling Another Process): Mention that the
898 signal is always sent to the process.
900 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
902 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
904 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
905 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
906 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
907 (fcvt_tests, output_error, output_r_error, do_test): Use the
908 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
909 select the type of floating-point variables and arguments; to
910 produce extra tests for double and conversion specifiers for
911 printf; and to set the names of called functions.
912 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
913 in tst-efgcvt-template.c.
914 * misc/tst-ldbl-efgcvt.c: Likewise.
916 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
918 * nss/Makefile (tst-nss-test3.out): New rule.
920 2018-12-13 Joseph Myers <joseph@codesourcery.com>
922 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
925 2018-12-13 fanjinke <fanjinke@hygon.cn>
927 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
930 2018-12-13 Andreas Schwab <schwab@suse.de>
933 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
934 (__pthread_rwlock_rdlock_full): Update expected value for
935 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
936 * nptl/tst-rwlock-pwn.c: New file.
937 * nptl/Makefile (tests): Add tst-rwlock-pwn.
939 2018-12-12 Joseph Myers <joseph@codesourcery.com>
941 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
944 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
946 * benchtests/scripts/compare_bench.py (do_compare): write to
947 stderr in casestat is not present.
948 * benchtests/scripts/compare_bench.py (plot_graphs): write to
949 stderr in case timings field is not present. Also string showing
950 the output filename goes into the stderr.
952 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
954 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
955 and ZeroDivisorError exceptions.
956 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
957 argument to loop through user provided statistics.
958 * benchtests/scripts/compare_bench.py (main): Include the --stats
961 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
963 * benchtests/scripts/compare_bench.py (compare_runs): Continue
966 2018-12-12 Florian Weimer <fweimer@redhat.com>
968 * sysdeps/posix/timespec_get.c: Add missing “any later version”
969 clause to copyright header.
971 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
974 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
975 registers saved in the stack frame.
976 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
977 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
979 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
981 * include/bits/monetary-ldbl.h: New file.
982 * include/bits/printf-ldbl.h: Likewise.
983 * include/bits/stdio-ldbl.h: Likewise.
984 * include/bits/stdlib-ldbl.h: Likewise.
985 * include/bits/syslog-ldbl.h: Likewise.
986 * include/bits/wchar-ldbl.h: Likewise.
988 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
990 * libio/libio.h: Remove redirection for _IO_vfprintf.
992 2018-12-11 Andreas Schwab <schwab@suse.de>
994 * Makerules: Remove all references to abilist-pattern.
995 (update-all-abi): Simplify find expression.
997 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1000 * math/auto-libm-test-in: Add new test case.
1001 * math/auto-libm-test-out-pow: Regenerated.
1002 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
1004 2018-12-10 DJ Delorie <dj@redhat.com>
1007 * support/test-container.c: Move postclean step to before we
1010 2018-12-10 Joseph Myers <joseph@codesourcery.com>
1012 * scripts/gen-as-const.py (main): Handle --python option.
1013 * scripts/gen-py-const.awk: Remove.
1014 * Makerules (py-const-script): Use gen-as-const.py.
1015 ($(py-const)): Likewise.
1016 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
1017 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
1018 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
1019 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
1020 ~PTHREAD_MUTEX_NO_ELISION_NP.
1021 * manual/README.pretty-printers: Update reference to
1024 * scripts/glibcextract.py: New file.
1025 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
1026 or tempfile. Import glibcexctract.
1027 (compute_c_consts): Remove. Moved to glibcextract.py.
1028 (gen_test): Update reference to compute_c_consts.
1030 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
1031 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
1032 * sysdeps/unix/sysv/linux/Makefile
1033 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
1034 Redirect stderr as well as stdout.
1036 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
1039 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
1040 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
1041 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
1042 ALWAYS_USE_VSYSCALL.
1043 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
1044 ALWAYS_USE_VSYSCALL.
1045 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
1046 ALWAYS_USE_VSYSCALL.
1048 2018-12-10 Florian Weimer <fweimer@redhat.com>
1051 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
1052 offset instead of count for clarity. Fix typo in comment.
1053 (__old_getdents64): Keep track of previous offset. Use it to call
1055 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
1056 that d_off is never zero.
1058 2018-12-10 Andreas Schwab <schwab@suse.de>
1060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
1061 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
1062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
1063 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
1064 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
1066 2018-12-10 Joseph Myers <joseph@codesourcery.com>
1068 * timezone/private.h: Update from tzcode 2018g.
1069 * timezone/tzfile.h: Likewise.
1070 * timezone/tzselect.ksh: Likewise.
1071 * timezone/zdump.c: Likewise.
1072 * timezone/zic.c: Likewise.
1074 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1077 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
1078 (do_test): Adjust buffer size and fix format.
1080 2018-12-07 DJ Delorie <dj@redhat.com>
1083 * malloc/tst-tcfree3.c: New.
1084 * malloc/Makefile: Add it.
1086 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
1088 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
1090 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1092 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
1093 used as a mask for the mode argument of __vfscanf_internal and
1094 __vfwscanf_internal.
1095 * stdio-common/vfscanf-internal.c
1096 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
1097 (__strtof128_internal): Define to __wcstof128_internal.
1098 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
1099 __strtof128_internal or __wcstof128_internal when the format of
1100 long double is the same as _Float128.
1102 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
1104 * include/unistd.h (__confstr): Add prototype and hidden prototype.
1105 * posix/confstr.c (confstr): Rename to __confstr.
1106 (__confstr): Add hidden def.
1107 (confstr): Add weak alias for __confstr.
1108 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
1111 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
1113 * NEWS: Mention getcpu.
1114 * include/sched.h (__getcpu): New libc_hidden_proto.
1115 * manual/resource.texi: Document getcpu.
1116 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
1117 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
1118 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
1119 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1120 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1121 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1122 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1123 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1124 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1125 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1126 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1127 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1128 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
1130 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1131 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1132 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1141 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
1142 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1143 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1144 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1145 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1146 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1147 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1148 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1149 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
1150 * sysdeps/unix/sysv/linux/getcpu.c: New file.
1151 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
1154 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1156 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
1158 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
1160 2018-12-07 Florian Weimer <fweimer@redhat.com>
1163 * posix/Makefile (routines): Add spawn_faction_addfchdir.
1164 * posix/Versions (GLIBC_2.29): Export
1165 posix_spawn_file_actions_addfchdir_np.
1166 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
1167 * posix/spawn_faction_destroy.c
1168 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
1169 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
1170 and the field action.fchdir_action.
1171 * posix/tst-spawn-chdir.c (add_chdir): New function.
1172 (do_test): Add do_fchdir loop. Call add_chdir.
1173 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
1174 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
1175 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
1176 posix_spawn_file_actions_addfchdir_np.
1177 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
1179 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
1181 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
1182 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
1184 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
1186 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
1188 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
1190 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
1192 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
1194 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1195 (GLIBC_2.29): Likewise.
1196 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1197 (GLIBC_2.29): Likewise.
1198 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1199 (GLIBC_2.29): Likewise.
1200 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1201 (GLIBC_2.29): Likewise.
1202 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
1204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1205 (GLIBC_2.29): Likewise.
1206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1207 (GLIBC_2.29): Likewise.
1208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1209 (GLIBC_2.29): Likewise.
1210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1211 (GLIBC_2.29): Likewise.
1212 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
1214 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
1216 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
1218 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
1219 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
1221 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
1223 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
1225 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
1228 2018-12-06 Joseph Myers <joseph@codesourcery.com>
1230 * manual/texinfo.tex: Update to version 2018-09-21.20 with
1231 trailing whitespace removed.
1232 * scripts/config.guess: Update to version 2018-11-28.
1233 * scripts/config.sub: Update to version 2018-11-28.
1234 * scripts/install-sh: Update to version 2018-03-11.20.
1235 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
1236 * scripts/move-if-change: Update to version 2018-03-07 03:47.
1238 2018-12-07 Florian Weimer <fweimer@redhat.com>
1242 * inet/tst-if_index-long.c: New file.
1243 * inet/Makefile (tests): Add tst-if_index-long.
1245 2018-12-07 Florian Weimer <fweimer@redhat.com>
1247 * support/check.h (support_record_failure_is_failed): Declare.
1248 * support/descriptors.h: New file.
1249 * support/support_descriptors.c: Likewise.
1250 * support/tst-support_descriptors.c: Likewise.
1251 * support/support_record_failure.c
1252 (support_record_failure_is_failed): New function.
1253 * support/Makefile (libsupport-routines): Add support_descriptors.
1254 (tests): Add tst-support_descriptors.
1256 2018-12-05 Zack Weinberg <zackw@panix.com>
1257 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1259 * stdio-common/vfprintf-internal.c
1260 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
1261 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
1262 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
1263 and __no_long_double.
1264 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
1265 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
1266 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
1267 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
1268 and __nldbl_*syslog* functions.
1269 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
1270 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
1271 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
1272 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
1273 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
1274 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
1275 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
1276 (__nldbl_vwprintf, __nldbl_wprintf):
1277 Directly call the appropriate __v*printf_internal routine, passing
1278 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
1280 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
1281 (__nldbl___printf_chk, __nldbl___snprintf_chk)
1282 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
1283 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
1284 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
1285 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
1286 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
1287 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
1288 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
1289 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
1290 Likewise, and also pass PRINTF_FORTIFY when appropriate.
1291 (__nldbl_syslog, __nldbl_vsyslog):
1292 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
1293 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
1295 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
1298 2018-12-05 Zack Weinberg <zackw@panix.com>
1299 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1302 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
1303 Moved here from debug/vsprintf_chk.c.
1304 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
1305 and completion logic for the strfile to match exactly what
1306 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
1307 _IO_str_init_static_internal instead of maxlen-1.
1308 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
1309 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
1310 __vsprintf_internal.
1312 * debug/vsprintf_chk.c (__vsprintf_chk)
1313 * debug/sprintf_chk.c (__sprintf_chk):
1314 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
1315 'flags' argument is positive, and slen as maxlen. No need to lock
1316 the FILE and/or construct a temporary FILE. Minimize and normalize
1317 header inclusions and variable names. Do not libc_hidden_def anything.
1319 * debug/asprintf_chk.c (__asprintf_chk)
1320 * debug/dprintf_chk.c (__dprintf_chk)
1321 * debug/fprintf_chk.c (__fprintf_chk)
1322 * debug/fwprintf_chk.c (__fwprintf_chk)
1323 * debug/printf_chk.c (__printf_chk)
1324 * debug/snprintf_chk.c (__snprintf_chk)
1325 * debug/swprintf_chk.c (__swprintf_chk)
1326 * debug/vasprintf_chk.c (__vasprintf_chk)
1327 * debug/vdprintf_chk.c (__vdprintf_chk)
1328 * debug/vfprintf_chk.c (__vfprintf_chk)
1329 * debug/vfwprintf_chk.c (__vfwprintf_chk)
1330 * debug/vprintf_chk.c (__vprintf_chk)
1331 * debug/vsnprintf_chk.c (__vsnprintf_chk)
1332 * debug/vswprintf_chk.c (__vswprintf_chk)
1333 * debug/vwprintf_chk.c (__vwprintf_chk)
1334 * debug/wprintf_chk.c (__wprintf_chk):
1335 Directly call the corresponding vxxprintf_internal function, passing
1336 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
1337 the FILE and/or construct a temporary FILE. Minimize and normalize
1338 header inclusions and variable names. Do not libc_hidden_def anything.
1340 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
1341 __obstack_vprintf_internal.
1342 (__obstack_vprintf_chk): Convert into a wrapper that calls
1343 __obstack_vprintf_internal (these two functions already had the
1344 same code) and move to new file...
1345 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
1347 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
1348 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
1349 * debug/Makefile (routines): Add vobprintf_chk.
1351 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1352 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
1353 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
1354 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
1355 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
1356 (__nldbl___obstack_vfprintf_chk):
1357 Directly call the corresponding vxxprintf_internal function,
1358 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
1359 duplicate comparison of slen with 0 or maxlen from the corresponding
1360 non-__nldbl function.
1362 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
1363 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
1364 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
1365 Remove libc_hidden_proto.
1367 * stdio-common/vfprintf-internal.c
1368 (__vfprintf_internal, __vfwprintf_internal):
1369 Do not check _IO_FLAGS2_FORTIFY.
1370 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
1371 * libio/libioP.h: Update prototype of __vsprintf_internal and add
1372 a comment explaining why it has the maxlen argument.
1373 (_IO_acquire_lock_clear_flags2_fct): Remove.
1374 (_IO_acquire_lock_clear_flags2): Remove.
1375 (_IO_release_lock): Remove conditional statement which will
1377 (_IO_acquire_lock): Remove variable which is now unused.
1378 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
1379 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
1381 * stdio-common/Makefile (tests): Add tst-bz11319 and
1382 tst-bz11319-fortify2.
1383 (CFLAGS-tst-bz11319-fortify2.c): New macro.
1384 * stdio-common/tst-bz11319-fortify2.c: New file.
1385 * stdio-common/tst-bz11319.c: Likewise.
1387 2018-12-05 Zack Weinberg <zackw@panix.com>
1388 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1390 * misc/syslog.c: Include libioP.h, not iolibio.h.
1391 (__vsyslog_internal): New function with the former body of
1392 __vsyslog_chk; takes mode_flags argument same as
1393 __v*printf_internal. Call __vfprintf_internal directly.
1395 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
1396 Remove libc_hidden_def.
1397 (__syslog, __syslog_chk): Use __vsyslog_internal.
1398 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
1400 * include/sys/syslog.h: Add multiple inclusion guard.
1401 Add prototype for __vsyslog_internal.
1402 Remove declaration and libc_hidden_proto for __vsyslog_chk.
1404 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
1405 Use __vsyslog_internal.
1407 2018-12-05 Zack Weinberg <zackw@panix.com>
1408 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1410 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
1411 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
1412 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
1414 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
1415 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
1417 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
1418 Include wctype.h here if COMPILE_WPRINTF is defined.
1419 Define __vfprintf_internal or __vfwprintf_internal, depending
1421 Temporarily, on entry to this function, update mode_flags
1422 according to the environmental settings corresponding to
1423 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
1424 Throughout, check mode_flags instead of __ldbl_is_dbl and
1425 _IO_FLAGS2_FORTIFY on the destination FILE.
1426 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
1427 Include vfprintf-internal.c. Don't include wctype.h.
1428 * stdio-common/vfprintf.c: New file. Just define __vfprintf
1429 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
1431 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
1432 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
1434 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
1436 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
1437 and add mode_flags argument; use __vfprintf_internal.
1438 (__vdprintf): New function. Alias vdprintf to this.
1439 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
1440 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
1441 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
1442 (__obstack_printf): Use __obstack_printf_internal.
1443 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
1444 public aliases __vsnprintf and vsnprintf.
1445 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
1447 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
1448 public aliases _IO_vsprintf and vsprintf.
1449 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
1450 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
1451 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
1452 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
1453 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
1455 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
1456 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
1457 * stdio-common/fprintf.c, stdio-common/fxprintf.c
1458 * stdio-common/printf.c: Use __vfprintf_internal.
1460 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
1461 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
1462 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
1464 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
1465 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
1466 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
1467 __vfwprintf_internal.
1469 * libio/libio.h: Remove libc_hidden_proto and declaration for
1471 Remove declaration of _IO_vfwprintf.
1472 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
1474 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
1476 * include/stdio.h: Add prototype for __vasprintf.
1477 (__vsnprintf): Remove declaration, because there are no more
1479 * include/wchar.h (__vfwprintf, __vswprintf): Remove
1480 declaration, because there are no more internal calls.
1482 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
1483 __vsnprintf_internal, instead of _IO_vsnprintf.
1484 * argp/argp-help.c (__argp_error, __argp_failure): Use
1485 __vasprintf_internal, instead of _IO_vasprintf.
1486 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
1487 redefine, because there are no more internal calls.
1489 2018-12-05 Zack Weinberg <zackw@panix.com>
1490 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1492 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
1493 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
1494 Include libio/strfile.h instead of libioP.h.
1495 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
1496 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
1497 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
1498 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
1499 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
1500 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
1501 necessary. Do not set __no_long_double. Normalize variable names.
1502 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
1503 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
1504 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
1505 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
1506 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
1507 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
1508 Call __vfscanf_internal / __vfwscanf_internal directly, passing
1509 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
1510 Do not set __no_long_double. Normalize variable names.
1512 2018-12-05 Zack Weinberg <zackw@panix.com>
1513 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1515 * stdio-common/isoc99_scanf.c
1516 * stdio-common/isoc99_fscanf.c
1517 * stdio-common/isoc99_sscanf.c
1518 * stdio-common/isoc99_vscanf.c
1519 * stdio-common/isoc99_vfscanf.c
1520 * stdio-common/isoc99_vsscanf.c
1521 * wcsmbs/isoc99_wscanf.c
1522 * wcsmbs/isoc99_fwscanf.c
1523 * wcsmbs/isoc99_swscanf.c
1524 * wcsmbs/isoc99_vwscanf.c
1525 * wcsmbs/isoc99_vfwscanf.c
1526 * wcsmbs/isoc99_vswscanf.c:
1527 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
1528 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
1529 No need to lock and unlock the FILE passed to that function.
1531 * stdio-common/vfscanf-internal.c
1532 (__vfscanf_internal, __vfwscanf_internal):
1533 Don't look at _IO_FLAGS2_SCANF_STD.
1534 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
1535 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
1536 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
1538 2018-12-05 Zack Weinberg <zackw@panix.com>
1539 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1541 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
1542 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
1543 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
1544 * libio/strfile.h: Add multiple inclusion guard.
1545 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
1547 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
1548 consistency with the other version of this file.
1549 (ldbl_compat_symbol): New macro.
1550 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
1553 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
1554 Define __vfscanf_internal or __vfwscanf_internal, depending on
1555 COMPILE_WSCANF; don't define any other public symbols.
1556 Remove errval and code to set errp.
1557 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
1558 as the mode_flags argument.
1559 (encode_error, conv_error, input_error): Don't set errval.
1560 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
1561 Include vfscanf-internal.c.
1562 * stdio-common/vfscanf.c: New file defining the public entry
1563 point vfscanf, which calls __vfscanf_internal.
1564 * stdio-common/vfwscanf.c: New file defining the public entry
1565 point vfwscanf, which calls __vfwscanf_internal.
1567 * stdio-common/iovfscanf.c: New file.
1568 * stdio-common/iovfwscanf.c: Likewise.
1570 * stdio-common/Makefile (routines): Add vfscanf-internal,
1571 vfwscanf-internal, iovfscanf, iovfwscanf.
1572 * stdio-common/Versions: Mention GLIBC_2.29, so that
1573 it can be used in SHLIB_COMPAT expressions.
1574 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
1575 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
1576 Call __vfscanf_internal, instead of _IO_vfscanf.
1577 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
1579 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
1582 * libio/iovsscanf.c: Clean up includes, when possible. Use
1583 _IO_strfile_read or _IO_strfile_readw, when needed. Call
1584 __vfscanf_internal or __vfwscanf_internal directly.
1585 * libio/iovswscanf.c: Likewise.
1586 * libio/swscanf.c: Likewise.
1587 * libio/vscanf.c: Likewise.
1588 * libio/vwscanf.c: Likewise.
1589 * libio/wscanf.c: Likewise.
1590 * stdio-common/isoc99_fscanf.c: Likewise.
1591 * stdio-common/isoc99_scanf.c: Likewise.
1592 * stdio-common/isoc99_sscanf.c: Likewise.
1593 * stdio-common/isoc99_vfscanf.c: Likewise.
1594 * stdio-common/isoc99_vscanf.c: Likewise.
1595 * stdio-common/isoc99_vsscanf.c: Likewise.
1596 * stdio-common/scanf.c: Likewise.
1597 * stdio-common/sscanf.c: Likewise.
1598 * wcsmbs/isoc99_fwscanf.c: Likewise.
1599 * wcsmbs/isoc99_swscanf.c: Likewise.
1600 * wcsmbs/isoc99_vfwscanf.c: Likewise.
1601 * wcsmbs/isoc99_vswscanf.c: Likewise.
1602 * wcsmbs/isoc99_vwscanf.c: Likewise.
1603 * wcsmbs/isoc99_wscanf.c: Likewise.
1605 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
1608 (__tz_compute): Replace time_t with __time64_t.
1609 (__tz_convert): Replace time_t* with __time64_t.
1610 (__offtime): Replace time_t* with __time64_t.
1612 (__gmtime_r): Adjust call to __tz_convert.
1615 (__localtime_r): Likewise.
1616 (localtime): Likewise.
1617 * time/offtime.c: Replace time_t with __time64_t.
1618 * time/tzset.c: Likewise.
1620 2018-12-04 Joseph Myers <joseph@codesourcery.com>
1622 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
1623 dynamic linker unless [$(run-built-tests) = yes].
1625 2018-12-03 DJ Delorie <dj@delorie.com>
1627 * support/test-container.c (check_for_unshare_hints): New.
1628 (main): Call it if unshare fails. Add support for "su" scriptlet
1631 2018-12-03 Joseph Myers <joseph@codesourcery.com>
1633 * scripts/gen-as-const.py (compute_c_consts): Take an argument
1634 'START' to indicate that start text should be output.
1635 (gen_test): Likewise.
1636 (main): Generate 'START' for first symbol or '--' line, or at end
1637 of input if not previously generated.
1639 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
1642 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
1643 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
1644 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
1645 ALWAYS_USE_VSYSCALL.
1647 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1650 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
1653 2018-12-03 Carlos O'Donell <carlos@redhat.com>
1656 * locale/programs/localedef.c: Declare boolean hard_links default true.
1657 (options): Add --no-hard-links option.
1658 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
1659 * locale/programs/localedef.h: Declare prototype for hard_links.
1660 * locale/programs/locfile.c (write_locale_data): Don't use hard
1661 links if hard_links is false.
1663 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
1665 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
1667 (__cache_sysconf): Likewise.
1668 (init_cacheinfo): Likewise.
1669 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
1670 populate COMMON_CPUID_INDEX_80000007 and
1671 COMMON_CPUID_INDEX_80000008.
1672 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
1673 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
1674 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
1675 (init_cpu_features): Use _Static_assert on
1676 index_arch_Fast_Unaligned_Load.
1677 __get_cpuid_registers and __get_arch_feature. Updated for
1678 cpu_features_basic. Set stepping in cpu_features.
1679 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
1680 (FEATURE_INDEX_2): New.
1681 (FEATURE_INDEX_MAX): Changed to enum.
1682 (COMMON_CPUID_INDEX_D_ECX_1): New.
1683 (COMMON_CPUID_INDEX_80000007): Likewise.
1684 (COMMON_CPUID_INDEX_80000008): Likewise.
1685 (cpuid_registers): Likewise.
1686 (cpu_features_basic): Likewise.
1687 (CPU_FEATURE_USABLE): Likewise.
1688 (bit_arch_XXX_Usable): Likewise.
1689 (cpu_features): Use cpuid_registers and cpu_features_basic.
1690 (bit_arch_XXX): Reweritten.
1691 (bit_cpu_XXX): Likewise.
1692 (index_cpu_XXX): Likewise.
1693 (reg_XXX): Likewise.
1694 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
1696 (CHECK_CPU_FEATURE): New.
1697 (CHECK_CPU_FEATURE_USABLE): Likewise.
1698 (cpu_kinds): Likewise.
1699 (do_test): Print vendor, family, model and stepping. Check
1700 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
1701 (TEST_FUNCTION): Removed.
1702 Include <support/test-driver.c> instead of
1703 "../../test-skeleton.c".
1704 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
1705 Check POPCNT instead of POPCOUNT.
1706 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
1708 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
1710 * scripts/gen-as-const.py (main): Avoid emitting empty line when
1711 there is no element in `consts'.
1713 2018-12-01 Florian Weimer <fweimer@redhat.com>
1715 * support/support_capture_subprocess.c
1716 (support_capture_subprocess): Check that pipe descriptors have
1717 expected values. Close original pipe descriptors in subprocess.
1719 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
1722 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
1723 attr with __pthread_default_barrierattr.
1724 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
1725 attr with __pthread_default_condattr.
1726 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
1727 attr with __pthread_default_mutexattr.
1728 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
1729 attr with __pthread_default_rwlockattr.
1731 2018-12-01 Kemi Wang <kemi.wang@intel.com>
1733 * manual/tunables.texi (POSIX Thread Tunables): New node.
1734 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
1735 * nptl/nptl-init.c: Include pthread_mutex_conf.h
1736 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
1737 __pthread_tunables_init.
1738 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
1739 (max_adaptive_count): Define.
1740 * nptl/pthread_mutex_conf.c: New file.
1741 * nptl/pthread_mutex_conf.h: New file.
1742 * sysdeps/generic/adaptive_spin_count.h: New file.
1743 * sysdeps/nptl/dl-tunables.list: New file.
1744 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
1745 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
1746 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
1749 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1752 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
1753 * stdlib/on_exit.c (__on_exit): Likewise.
1754 * stdlib/Makefile (tests): Add tst-bz20544.
1755 * stdlib/tst-bz20544.c: New test.
1757 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
1760 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
1761 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
1764 2018-11-30 Florian Weimer <fweimer@redhat.com>
1766 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
1767 Extend error logging.
1768 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
1771 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1773 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
1774 __sigismember instead of sigismember.
1775 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
1776 cancel_handler): New definitions.
1777 (do_system): Use posix_spawn instead of fork and execl and remove
1779 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
1780 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
1781 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
1782 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1783 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1784 * sysdeps/unix/sysv/linux/system.c: Likewise.
1788 * NEWS: Add new semantic for atfork with popen and system.
1789 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
1792 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1795 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
1796 modification order when accessing reloc_result->addr.
1797 * include/link.h (reloc_result): Add field init.
1798 * nptl/Makefile (tests): Add tst-audit-threads.
1799 (modules-names): Add tst-audit-threads-mod1 and
1800 tst-audit-threads-mod2.
1801 Add rules to build tst-audit-threads.
1802 * nptl/tst-audit-threads-mod1.c: New file.
1803 * nptl/tst-audit-threads-mod2.c: Likewise.
1804 * nptl/tst-audit-threads.c: Likewise.
1805 * nptl/tst-audit-threads.h: Likewise.
1807 2018-11-30 Joseph Myers <joseph@codesourcery.com>
1809 * scripts/gen-as-const.py: New file.
1810 * scripts/gen-as-const.awk: Remove.
1811 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
1813 ($(objpfx)test-as-const-%.c): Likewise.
1815 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
1817 * elf/dl-exception.c: Include <_itoa.h>.
1819 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
1821 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
1822 returned by __f_setlk.
1824 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
1825 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1827 * elf/Makefile (tests-internal): Add tst-create_format1.
1828 * elf/dl-exception.c (_dl_exception_create_format): Support
1830 * elf/tst-create_format1.c: New file.
1832 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
1834 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
1835 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
1837 * argp/argp-help.c (__argp_failure): Likewise.
1839 2018-11-29 Mao Han <han_mao@c-sky.com>
1841 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
1842 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
1843 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
1844 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
1845 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
1846 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
1847 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
1848 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
1849 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
1850 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
1851 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
1852 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
1853 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
1854 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
1855 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
1856 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
1857 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
1858 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
1859 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
1860 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
1861 (R_CKCORE_TLS_TPOFF32): New defines.
1863 2018-11-29 Florian Weimer <fweimer@redhat.com>
1865 * posix/Makefile (before-compile): Remove testcases.h and
1867 (generated): Add testcases.h and ptestcases.h.
1868 (testcases.h, ptestcases.h): Move to $(objpfx).
1869 (runtests.o): Add dependency on testcases.h.
1870 (runptests.o): Add dependency on ptestcases.h.
1871 * posix/testcases.h, posix/ptestcases.h: Remove files.
1872 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
1873 not touch posix/testcases.h and posix/ptestcases.h.
1875 2018-11-28 Florian Weimer <fweimer@redhat.com>
1877 support: Add signal support to support_capture_subprocess_check.
1878 * support/capture_subprocess.h (support_capture_subprocess_check):
1879 Adjust comment and rename parameter.
1880 * support/support_capture_subprocess_check.c
1881 (print_actual_status): New function.
1882 (support_capture_subprocess_check): Support negative
1883 status_or_signal. Call print_actual_status.
1884 * support/tst-support_capture_subprocess.c (do_test): Call
1885 support_capture_subprocess_check.
1886 * libio/tst-vtables-common.c (termination_status)
1887 (init_termination_status): Remove.
1888 (check_for_termination): Adjust support_capture_subprocess_check
1890 (do_test): Remove call to init_termination_status.
1892 2018-11-28 Joseph Myers <joseph@codesourcery.com>
1894 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
1895 source directory instead of a copy.
1896 (CommandList.create_copy_dir): Remove.
1898 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
1900 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1902 2018-11-28 Florian Weimer <fweimer@redhat.com>
1904 * support/support.h (support_quote_string): Do not use str
1907 2018-11-27 Joseph Myers <joseph@codesourcery.com>
1909 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
1910 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
1912 2018-11-27 Florian Weimer <fweimer@redhat.com>
1914 * support/support.h (support_quote_string): Declare.
1915 * support/support_quote_string.c: New file.
1916 * support/tst-support_quote_string.c: Likewise.
1917 * support/Makefile (libsupport-routines): Add
1918 support_quote_string.
1919 (tests): Add tst-support_quote_string.
1921 2018-11-27 Florian Weimer <fweimer@redhat.com>
1925 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
1926 descriptor leak in case of ENODEV error.
1928 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
1931 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
1932 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
1933 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
1935 2018-11-26 Carlos O'Donell <carlos@redhat.com>
1937 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
1938 Error for unknown lines.
1940 2018-11-26 Joseph Myers <joseph@codesourcery.com>
1942 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
1943 Touch additional files.
1945 2018-11-26 Florian Weimer <fweimer@redhat.com>
1948 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
1951 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
1954 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
1955 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
1956 SHARED. Include sysdep.h.
1957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
1958 ALWAYS_USE_VSYSCALL.
1959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
1960 ALWAYS_USE_VSYSCALL.
1962 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
1965 * nptl/Makefile (tests-static): Add tst-cond11-static.
1967 * nptl/tst-cond11-static.c: New File.
1968 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
1969 tst-affinity-static.
1971 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
1973 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
1974 (USE_VSYSCALL): Likewise.
1975 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
1976 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
1978 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
1980 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
1983 2018-11-23 Joseph Myers <joseph@codesourcery.com>
1986 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1987 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
1990 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
1992 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
1993 (tst-cet-legacy-1a-ARGS): New.
1994 ($(objpfx)tst-cet-legacy-1a): New target.
1995 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
1997 2018-11-22 Joseph Myers <joseph@codesourcery.com>
1999 * conform/conformtest.py (CompileSubTest.__init__): Set
2000 self.run_early to False.
2001 (ExecuteSubTest.__init__): Likewise.
2002 (HeaderTests.run): Try running all non-optional, non-XFAILed
2003 compilation tests in a single execution of the compiler.
2005 * conform/conformtest.py (CompileSubTest): New class.
2006 (ExecuteSubTest): Likewise.
2007 (ElementTest.run): Rename to gen_subtests. Append tests to
2008 self.subtests instead of running them.
2009 (ConstantTest.run): Likewise.
2010 (SymbolTest.run): Likewise.
2011 (TypeTest.run): Likewise.
2012 (TagTest.run): Likewise.
2013 (FunctionTest.run): Likewise.
2014 (VariableTest.run): Likewise.
2015 (MacroFunctionTest.run): Likewise.
2016 (MacroStrTest.run): Likewise.
2017 (HeaderTests.handle_test_line): Generate subtests for tests.
2018 (HeaderTests.run): Run subtests for tests.
2020 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2022 * math/Versions (GLIBC_2.29): Add pow.
2023 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
2025 * math/w_pow.c: New file.
2026 * sysdeps/i386/fpu/w_pow.c: New file.
2027 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
2028 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
2029 and add necessary aliases.
2030 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
2031 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
2032 * sysdeps/mach/hurd/i386/libm.abilist: Update.
2033 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
2034 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
2035 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
2036 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
2037 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
2038 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
2039 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
2040 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
2041 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
2042 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
2043 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
2044 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
2045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
2046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
2047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
2048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
2049 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
2050 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
2051 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
2052 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
2053 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
2054 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
2055 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
2056 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
2058 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
2059 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
2060 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
2062 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2064 * math/Versions (GLIBC_2.29): Add log2.
2065 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
2067 * math/w_log2.c: New file.
2068 * sysdeps/i386/fpu/w_log2.c: New file.
2069 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
2070 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
2071 and add necessary aliases.
2072 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
2073 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
2074 * sysdeps/mach/hurd/i386/libm.abilist: Update.
2075 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
2076 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
2077 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
2078 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
2079 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
2080 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
2081 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
2082 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
2083 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
2084 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
2085 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
2086 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
2087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
2088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
2089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
2090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
2091 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
2092 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
2093 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
2094 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
2095 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
2096 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
2097 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
2099 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2101 * math/Versions (GLIBC_2.29): Add log.
2102 * math/w_log_compat.c (__log_compat): Change to versioned compat
2104 * math/w_log.c: New file.
2105 * sysdeps/i386/fpu/w_log.c: New file.
2106 * sysdeps/ia64/fpu/e_log.S: Update.
2107 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
2108 and add necessary aliases.
2109 * sysdeps/ieee754/dbl-64/w_log.c: New file.
2110 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
2111 * sysdeps/mach/hurd/i386/libm.abilist: Update.
2112 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
2113 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
2114 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
2115 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
2116 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
2117 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
2118 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
2119 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
2120 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
2121 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
2122 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
2123 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
2124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
2125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
2126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
2127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
2128 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
2129 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
2130 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
2131 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
2132 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
2133 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
2134 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
2135 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
2137 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
2138 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
2139 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
2140 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
2142 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2144 * math/Versions (GLIBC_2.29): Add exp and exp2.
2145 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
2146 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
2147 * math/w_exp_compat.c (__exp_compat): Likewise.
2148 * math/w_exp.c: New file.
2149 * math/w_exp2.c: New file.
2150 * sysdeps/i386/fpu/w_exp.c: New file.
2151 * sysdeps/i386/fpu/w_exp2.c: New file.
2152 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
2153 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
2154 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
2155 and add necessary aliases.
2156 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
2157 and add necessary aliases.
2158 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
2159 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
2160 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
2161 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
2162 * sysdeps/mach/hurd/i386/libm.abilist: Update.
2163 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
2164 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
2165 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
2166 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
2167 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
2168 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
2169 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
2170 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
2171 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
2172 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
2173 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
2174 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
2175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
2176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
2177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
2178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
2179 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
2180 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
2181 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
2182 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
2183 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
2184 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
2185 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
2186 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
2187 (__ieee754_exp): Rename to __exp.
2188 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
2189 (__ieee754_exp): Rename to __exp.
2190 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
2191 (__ieee754_exp): Rename to __exp.
2192 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
2194 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
2196 2018-11-20 DJ Delorie <dj@redhat.com>
2198 * malloc/malloc.c (tcache_entry): Add key field.
2199 (tcache_put): Set it.
2200 (tcache_get): Likewise.
2201 (_int_free): Check for double free in tcache.
2202 * malloc/tst-tcfree1.c: New.
2203 * malloc/tst-tcfree2.c: New.
2204 * malloc/Makefile: Run the new tests.
2205 * manual/probes.texi: Document memory_tcache_double_free probe.
2207 * dlfcn/dlerror.c (check_free): Prevent double frees.
2209 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
2211 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
2213 2018-11-20 Joseph Myers <joseph@codesourcery.com>
2215 * conform/conformtest.py (ElementTest.run): Use unique identifiers
2216 in tests. Use names for format arguments.
2217 (ConstantTest.run): Likewise.
2218 (SymbolTest.run): Likewise.
2219 (TypeTest.run): Likewise.
2220 (TagTest.run): Likewise.
2221 (FunctionTest.run): Likewise.
2222 (VariableTest.run): Likewise.
2223 (MacroFunctionTest.run): Likewise.
2224 (MacroStrTest.run): Likewise.
2225 (HeaderTests.__init__): Set self.num_tests.
2226 (HeaderTests.handle_test_line): Set test.num. Increment
2229 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
2231 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
2232 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
2235 2018-11-19 Mao Han <han_mao@c-sky.com>
2237 * scripts/config.guess: Update to version 2018-08-29.
2238 * scripts/config.sub: Update to version 2018-08-29.
2240 2018-11-19 Florian Weimer <fweimer@redhat.com>
2242 support: Print timestamps in timeout handler.
2243 * support/support_test_main.c (print_timestamp): New function.
2244 (signal_handler): Use it to print the termination time and the
2245 time of the last write to standard output.
2247 2018-11-16 Zack Weinberg <zackw@panix.com>
2248 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2250 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
2251 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
2253 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
2254 and add flags argument. Check flags instead of __ldbl_is_dbl when
2255 deciding whether to set is_long_double.
2256 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
2257 passing zero for flags argument.
2258 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
2260 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2261 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
2262 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
2263 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
2264 variable names. Remove libc_hidden_def/libc_hidden_proto from
2265 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
2266 longer called from within the library.
2267 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
2268 for __nldbl___vstrfmon_l, declare it explicitly.
2270 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
2272 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
2274 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
2276 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
2277 F_SETLK64, F_SETLKW64, respectively.
2278 * sysdeps/mach/hurd/f_setlk.c: New file.
2279 * sysdeps/mach/hurd/f_setlk.h: New file.
2280 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
2282 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
2283 (__libc_fcntl): Move non-flock operations to...
2284 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
2285 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
2287 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
2289 mktime: DEBUG_MKTIME cleanup
2290 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
2291 And it’s no longer needed now that glibc and Gnulib both have
2292 their own testing mechanisms for mktime.
2293 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
2295 mktime: fix non-EOVERFLOW errno handling
2297 mktime was not properly reporting failures when the underlying
2298 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
2299 them like EOVERFLOW failures, and set errno to EOVERFLOW.
2300 The problem could happen on non-glibc platforms, with Gnulib.
2301 * time/mktime.c (guess_time_tm): Remove, replacing with ...
2302 (tm_diff): ... this simpler function, which does not change errno.
2303 All callers changed to deal with errno themselves.
2304 (ranged_convert, __mktime_internal): Return failure immediately if
2305 the underlying function reports any failure other than EOVERFLOW.
2306 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
2309 mktime: fix bug with Y2038 DST transition
2311 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
2312 mishandle a DST transition that jumps over the Y2038 boundary.
2313 No such DST transitions are known so this is only a theoretical
2314 bug, but we might as well do things right.
2316 mktime: make more room for overflow
2318 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
2319 This is so that we can add tm_diff results to a previous guess,
2320 which will be useful in a later patch.
2322 mktime: simplify offset guess
2324 * time/mktime.c (__mktime_internal): Omit excess precision.
2326 mktime: new test for mktime failure
2328 Based on a test suggested by Albert Aribaud in:
2329 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
2330 * time/Makefile (tests): Add bug-mktime4.
2331 * time/bug-mktime4.c: New file.
2333 mktime: fix EOVERFLOW bug
2335 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
2336 Include libc-config.h, not config.h, for __set_errno.
2337 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
2339 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
2341 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
2342 __attribute_copy__ to copy attributes from name. Drop static qualifier
2343 to avoid warnings about leaf attribute not having effect on static
2346 2018-11-13 Florian Weimer <fweimer@redhat.com>
2348 * malloc/malloc.c (fastbin_push_entry): New function.
2349 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
2350 (REMOVE_FB): Remove macro.
2351 (_int_malloc): Use fastbin_pop_entry and reindent.
2352 (_int_free): Use fastbin_push_entry.
2353 (malloc_consolidate): Use atomic_exchange_acquire.
2355 2018-11-13 Joseph Myers <joseph@codesourcery.com>
2357 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
2358 alias attribute, not with strong_alias.
2360 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
2361 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
2362 with additional parameter thread.
2363 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
2364 in terms of __hidden_ver2.
2365 (hidden_tls_def): New macro.
2366 (libc_hidden_tls_def): Likewise.
2367 (rtld_hidden_tls_def): Likewise.
2368 (libm_hidden_tls_def): Likewise.
2369 (libmvec_hidden_tls_def): Likewise.
2370 (libresolv_hidden_tls_def): Likewise.
2371 (librt_hidden_tls_def): Likewise.
2372 (libdl_hidden_tls_def): Likewise.
2373 (libnss_files_hidden_tls_def): Likewise.
2374 (libnsl_hidden_tls_def): Likewise.
2375 (libnss_nisplus_hidden_tls_def): Likewise.
2376 (libutil_hidden_tls_def): Likewise.
2377 (libutil_hidden_tls_def): Likweise.
2378 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
2379 libc_hidden_tls_def.
2380 (__sim_disabled_exceptions_thread): Likewise.
2381 (__sim_round_mode_thread): Likewise.
2383 * sysdeps/sparc/sparc-ifunc.h [SHARED]
2384 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
2385 copy attributes from name.
2387 2018-11-12 Joseph Myers <joseph@codesourcery.com>
2389 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
2390 Use __attribute_copy__ to copy attributes from name.
2392 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
2393 with __hidden_ver1 call.
2394 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
2395 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
2396 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
2397 (__cosf): Do not declare here.
2398 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
2399 (__sincosf): Do not declare here.
2400 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
2401 (__sinf): Do not declare here.
2403 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
2404 (__BIG_ENDIAN): Likewise.
2405 (__BYTE_ORDER): Likewise.
2406 (strong_alias): Likewise.
2407 (_strong_alias): Likewise.
2409 2018-11-12 Florian Weimer <fweimer@redhat.com>
2411 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
2412 function. Move after the definition of in_smallbin_range. Do not
2413 use __builtin_expect for paths that lead to a noreturn function.
2414 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
2415 because it is unclear whether this is in fact an unlikely
2417 (_int_malloc, _int_free): Adjust.
2418 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
2420 * malloc/arena.c (heap_trim): Likewise.
2422 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2424 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
2425 it, free it if needed.
2426 (reauthenticate): Test and use ccwdir.
2427 (child_init_port): In non-resetids case, test and use ccwdir.
2428 (child_chdir): New nested function to set ccwdir.
2429 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
2430 * hurd/hurd/port.h (_hurd_port_move): New function.
2431 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
2432 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
2433 * hurd/Versions (_hurd_port_move): Export function.
2434 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
2436 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
2437 of dtablesize for allocating dtable_cloexec.
2439 2018-11-09 Martin Sebor <msebor@redhat.com>
2441 * include/libc-symbols.h (__attribute_copy__): Define macro unless
2442 it's already defined.
2443 (_strong_alias): Use __attribute_copy__.
2444 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
2445 * misc/sys/cdefs.h (__attribute_copy__): New macro.
2446 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
2447 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
2448 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
2449 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
2450 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
2451 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
2452 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
2453 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
2454 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
2455 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
2456 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
2457 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
2458 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
2459 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
2460 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
2461 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
2462 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
2464 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2466 * misc/tst-efgcvt.c: Include support/check.h and
2467 support/test-driver.c. Do not include test-skeleton.c.
2468 (error_count): Remove.
2469 (output_error): Replace increments to error_count with calls to
2470 support_record_failure.
2471 (output_r_error): Likewise.
2472 (special): Likewise.
2473 (do_test): Unconditionally return zero.
2474 (TEST_FUNCTION): Remove.
2476 2018-11-09 Joseph Myers <joseph@codesourcery.com>
2478 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
2480 ($(linknamespace-header-tests)): Likewise.
2482 * conform/conformtest.py: New file.
2483 * conform/conformtest.pl: Remove.
2484 * conform/GlibcConform.pm: Likewise.
2485 * conform/glibcconform.py (KEYWORDS_C90): New constant.
2486 (KEYWORDS_C99): Likewise.
2487 (KEYWORDS): Likewise.
2488 * conform/Makefile ($(conformtest-header-tests)): Use
2489 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
2490 option. Use --header instead of --headers.
2491 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
2493 * conform/data/spawn.h-data: Likewise.
2494 * conform/data/fcntl.h-data (openat): Add space after function
2496 * conform/data/wchar.h-data (wcscasecmp): Likewise.
2497 (wcscasecmp_l): Likewise.
2498 * conform/data/termios.h-data (c_cc): Add space after element
2501 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2503 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
2504 instead of manually comparing and reporting mismatching strings.
2505 * misc/tst-ldbl-error.c (do_one_test): Likewise.
2506 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
2508 2018-11-08 Joseph Myers <joseph@codesourcery.com>
2510 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
2511 __ASSUME_SOCKETCALL.
2512 * sysdeps/unix/sysv/linux/i386/kernel-features.h
2513 (__ASSUME_SOCKETCALL): Remove.
2514 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2515 (__ASSUME_SOCKETCALL): Likewise.
2516 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2517 (__ASSUME_SOCKETCALL): Likewise.
2518 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2519 (__ASSUME_SOCKETCALL): Likewise.
2520 * sysdeps/unix/sysv/linux/s390/kernel-features.h
2521 (__ASSUME_SOCKETCALL): Likewise.
2522 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2523 (__ASSUME_SOCKETCALL): Likewise.
2524 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2525 (__ASSUME_SOCKETCALL): Likewise.
2527 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
2530 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
2531 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
2532 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
2533 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
2534 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
2537 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
2540 * resolv/tst-resolv-network.c: Add test for getnetbyname.
2542 2018-11-07 Joseph Myers <joseph@codesourcery.com>
2545 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2546 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
2547 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2548 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
2550 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2552 * support/support_test_compare_string.c
2553 (support_test_compare_string): Fix printf format.
2555 2018-11-07 Florian Weimer <fweimer@redhat.com>
2557 Implement TEST_COMPARE_STRING.
2558 * support/check.h (TEST_COMPARE_STRING): Define.
2559 (support_test_compare_string): Declare.
2560 * support/Makefile (libsupport-routines): Add
2561 support_test_compare_string.
2562 (tests): Add tst-test_compare_string.
2563 * support/support_test_compare_string.c: New file.
2564 * support/tst-test_compare_string.c: Likewise.
2566 2018-11-07 Andreas Schwab <schwab@suse.de>
2569 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
2570 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
2573 2018-11-06 Joseph Myers <joseph@codesourcery.com>
2576 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2577 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
2578 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
2579 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
2582 2018-11-06 Florian Weimer <fweimer@redhat.com>
2585 * posix/Makefile (routines): Add spawn_faction_addchdir.
2586 (tests): Add tst-spawn-chdir.
2587 * posix/Versions (GLIBC_2.29): Add
2588 posix_spawn_file_actions_addchdir_np.
2589 * posix/spawn_faction_addchdir.c: New file.
2590 * posix/spawn_faction_destroy.c
2591 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
2592 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
2593 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
2595 * posix/tst-spawn-chdir.c: New file.
2596 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
2597 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2598 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
2599 posix_spawn_file_actions_addchdir_np.
2600 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
2602 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
2604 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
2605 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
2607 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
2609 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
2611 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
2613 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
2615 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
2617 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2618 (GLIBC_2.29): Likewise.
2619 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2620 (GLIBC_2.29): Likewise.
2621 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2622 (GLIBC_2.29): Likewise.
2623 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2624 (GLIBC_2.29): Likewise.
2625 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
2627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2628 (GLIBC_2.29): Likewise.
2629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2630 (GLIBC_2.29): Likewise.
2631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2632 (GLIBC_2.29): Likewise.
2633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2634 (GLIBC_2.29): Likewise.
2635 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
2637 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
2639 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
2641 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
2642 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
2644 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
2646 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
2648 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
2651 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2653 * misc/Makefile (tests): Add tst-ldbl-error.
2654 * misc/tst-ldbl-error.c: New file.
2656 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2658 * misc/Makefile (tests): Add tst-ldbl-warn.
2659 * misc/tst-ldbl-warn.c: New file.
2661 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2663 * argp/Makefile (tests): Add tst-ldbl-argp.
2664 * argp/tst-ldbl-argp.c: New file.
2666 2018-11-05 Arjun Shankar <arjun@redhat.com>
2668 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
2669 __gconv_path_elem and call __gconv_get_path unconditionally.
2671 2018-11-05 Andreas Schwab <schwab@suse.de>
2674 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
2675 creating the first helper thread failed.
2677 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
2679 * sysdeps/mach/hurd/msync.c: New file.
2681 2018-11-02 Florian Weimer <fweimer@redhat.com>
2683 * support/shell-container.c (copy_func): Call
2684 support_copy_file_range instead of copy_file_range to support
2685 cross-device copies.
2687 2018-11-02 Florian Weimer <fweimer@redhat.com>
2689 * support/test-container.c: Include <libc-pointer-arith.h> for
2692 2018-11-01 Zong Li <zong@andestech.com>
2694 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
2695 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
2696 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
2697 (__FP_FRAC_SET_8): Add implementation for RV32 use.
2699 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
2700 variable to avoid overlap arguments.
2702 2018-11-01 Joseph Myers <joseph@codesourcery.com>
2704 * posix/bug-regex22.c (main): Use puts with distinct error
2705 messages for unexpected success of re_compile_pattern, not printf
2706 with NULL argument to %s.
2708 * stdio-common/bug22.c: Include <libc-diag.h>.
2709 (do_test): Disable -Wformat-overflow= warnings around fprintf
2710 calls outputting more than INT_MAX characters.
2711 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
2712 around printf call with NULL %s argument.
2715 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
2716 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
2718 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
2719 (__ASSUME_RECVMSG_SYSCALL): Likewise.
2720 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
2721 (__ASSUME_SENDTO_SYSCALL): Likewise.
2722 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
2723 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
2725 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
2726 (__ASSUME_CONNECT_SYSCALL): Likewise.
2727 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
2728 (__ASSUME_RECVFROM_SYSCALL): Likewise.
2729 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
2731 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
2733 [__LINUX_KERNEL_VERSION >= 0x040400]
2734 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2735 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
2738 (setsockopt): Likewise.
2740 2018-11-01 Fredrik Noring <noring@nocrew.org>
2742 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
2743 with the ISA override.
2745 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
2747 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
2750 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
2752 * manual/errno.texi (EIEIO): Document how translators should
2753 translate the error message.
2754 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
2755 printing trailing whitespaces refused by git.
2756 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
2757 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2758 * hurd/Makefile (user-interfaces): Add pci.
2760 2018-10-30 Joseph Myers <joseph@codesourcery.com>
2762 * conform/linknamespace.py: New file.
2763 * conform/linknamespace.pl: Remove file.
2764 * conform/Makefile ($(linknamespace-header-tests)): Use
2765 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
2768 2018-10-30 Florian Weimer <fweimer@redhat.com>
2770 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
2773 2018-10-30 Florian Weimer <fweimer@redhat.com>
2775 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
2777 2018-10-30 Florian Weimer <fweimer@redhat.com>
2779 * stdlib/tst-strtod-overflow.c (do_test): Switch to
2780 support_blob_repeat.
2782 2018-10-30 Florian Weimer <fweimer@redhat.com>
2784 Avoid spurious test failures in stdlib/test-bz22786.
2785 * support/Makefile (libsupport-routines): Add blob_repeat.
2786 (tests): Add tst-support_blob_repeat.
2787 * support/blob_repeat.h: New file.
2788 * support/blob_repeat.c: Likewise.
2789 * support/tst-support_blob_repeat.c: Likewise.
2790 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
2791 support_blob_repeat_allocate.
2793 2018-10-30 Andreas Schwab <schwab@suse.de>
2796 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
2797 Don't use tail call.
2798 * elf/tst-unwind-main.c: New file.
2799 * elf/Makefile (tests): Add tst-unwind-main.
2800 (CFLAGS-tst-unwind-main.c): Define.
2802 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
2805 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
2807 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
2809 2018-10-29 Joseph Myers <joseph@codesourcery.com>
2811 * conform/glibcconform.py: Do not import shutil.
2812 (list_exported_functions): Use tempfile.TemporaryDirectory instead
2815 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
2816 critic_missing for versions before 3.4.
2817 * configure: Regenerated.
2818 * manual/install.texi (Tools for Compilation): Document
2819 requirement for Python to build glibc.
2820 * INSTALL: Regenerated.
2821 * Rules [PYTHON]: Make code unconditional.
2822 * benchtests/Makefile [PYTHON]: Likewise.
2823 * conform/Makefile [PYTHON]: Likewise.
2824 * manual/Makefile [PYTHON]: Likewise.
2825 * math/Makefile [PYTHON]: Likewise.
2827 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2829 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2830 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
2831 answer to interrupt_operation, return EIEIO instead of EINTR.
2832 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
2833 _hurd_intr_rpc_msg_about_to global point to start of controlled
2834 assembly snippet. Make it check canceled flag.
2835 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
2836 the _hurd_intr_rpc_msg_about_to point.
2837 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
2838 issue, remove cancel flag check.
2840 2018-10-26 Joseph Myers <joseph@codesourcery.com>
2842 * scripts/build-many-glibcs.py: Remove compatibility for missing
2843 os.cpu_count and re.fullmatch.
2845 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
2848 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
2849 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
2850 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
2852 2018-10-25 Joseph Myers <joseph@codesourcery.com>
2854 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
2857 2018-10-25 Florian Weimer <fweimer@redhat.com>
2861 XFAIL siginfo_t si_band conform test on sparc64.
2862 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
2863 (__SI_BAND_TYPE): Only override long int default type on sparc64.
2864 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2865 (conformtest-xfail-conds): Add sparc64-linux.
2866 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
2868 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
2870 2018-10-25 Joseph Myers <joseph@codesourcery.com>
2872 * elf/elf.h (NT_MIPS_DSP): New macro.
2873 (NT_MIPS_FP_MODE): Likewise.
2875 2018-10-25 Zong Li <zong@andestech.com>
2877 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
2878 name by adding the file extension (.so).
2880 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
2882 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
2883 (test-xfail-ISO11/threads.h/linknamespace,
2884 test-xfail-ISO11/threads.h/conform): Add.
2886 2018-10-24 Joseph Myers <joseph@codesourcery.com>
2888 * math/gen-libm-test.py: Import os.
2889 (ALL_FLOATS_MANUAL): New constant.
2890 (ALL_FLOATS_SUFFIX): Likewise.
2891 (Ulps.all_functions): New function.
2892 (real_all_ulps): Likewise.
2893 (generate_err_table_sub): Likewise.
2894 (generate_err_table): Likewise.
2895 (main): Handle -s and -m options.
2896 * manual/libm-err-tab.pl: Remove.
2897 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
2898 instead of libm-err-tab.pl.
2899 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
2901 * manual/install.texi (Tools for Compilation): Document
2902 requirement for Python to build manual.
2903 * INSTALL: Regenerated.
2905 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
2907 * bits/time64.h: New file.
2908 * include/time.h: Replace internal_time_t with __time64_t.
2909 * posix/bits/types (__time64_t): Add.
2910 * stdlib/Makefile: Add bits/time64.h to includes.
2911 * time/tzfile.c: Replace internal_time_t with __time64_t.
2913 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2915 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
2916 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
2917 __posix_spawn_file_actions_init, __posix_spawnattr_init,
2918 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
2919 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
2921 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
2922 * posix/spawn_faction_addclose.c
2923 (__posix_spawn_file_actions_addclose): Add hidden definition.
2924 * posix/spawn_faction_adddup2.c
2925 (__posix_spawn_file_actions_adddup2): Likewise.
2926 * posix/spawn_faction_destroy.c
2927 (__posix_spawn_file_actions_destroy): Likewise.
2928 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
2930 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
2931 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
2932 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
2934 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
2935 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
2938 2018-10-24 Andreas Schwab <schwab@suse.de>
2941 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
2943 * elf/cache.c (print_cache): Likewise.
2945 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
2947 * bits/timesize.h: New file.
2948 * stdlib/Makefile (headers): Add bits/timesize.h.
2949 * sysdeps/unix/sysv/linux/bits/msq-pad.h
2950 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
2951 * sysdeps/unix/sysv/linux/bits/sem-pad.h
2952 (__SEM_PAD_AFTER_TIME): Likewise.
2953 * sysdeps/unix/sysv/linux/bits/shm-pad.h
2954 (__SHM_PAD_AFTER_TIME): Likewise.
2955 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
2956 (__MSQ_PAD_BEFORE_TIME): Likewise.
2957 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
2958 (__SEM_PAD_BEFORE_TIME): Likewise.
2959 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
2960 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
2961 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
2962 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
2963 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
2964 (__MSQ_PAD_BEFORE_TIME): Likewise.
2965 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
2966 (__SEM_PAD_BEFORE_TIME): Likewise.
2967 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
2968 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
2969 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
2970 (__MSQ_PAD_BEFORE_TIME): Likewise.
2971 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
2972 (__SEM_PAD_BEFORE_TIME): Likewise.
2973 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
2974 (__SHM_PAD_BEFORE_TIME): Likewise.
2975 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
2976 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
2977 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
2979 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
2981 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
2982 USE_RDTSCP is defined.
2983 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
2984 USE_RDTSCP is defined.
2986 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2988 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
2992 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
2993 independently of other flags.
2995 2018-10-23 Florian Weimer <fweimer@redhat.com>
2997 * time/tst-mktime2.c (N_STRINGS): Remove.
2998 (set_timezone): New function.
2999 (spring_forward_gap): Call it. Use FAIL_EXIT1.
3000 (mktime_test1): Report localtime failure and check errno value.
3002 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
3003 (do_test): Remove alarm call. Use set_timezone and array_length.
3005 2018-10-23 Andreas Schwab <schwab@suse.de>
3007 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
3008 (__start_context): Use END instead of PSEUDO_END.
3010 2018-10-22 Joseph Myers <joseph@codesourcery.com>
3012 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3015 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3019 * wcsmbs/c32rtomb.c: New file.
3020 * wcsmbs/mbrtoc32.c: Likewise.
3021 * wcsmbs/tst-c32-state.c: Likewise.
3022 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
3023 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
3024 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
3025 (tests): Add tst-c32-state.
3026 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
3029 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
3031 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
3032 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
3034 2018-10-19 Joseph Myers <joseph@codesourcery.com>
3037 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
3038 pair and return 0 in that case, and use saved character to
3039 interpret following character.
3040 * wcsmbs/tst-c16-surrogate.c: New file.
3041 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
3042 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
3043 Depend on $(gen-locales)
3045 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
3048 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
3049 (struct siginfo_t): Use correct type for si_band.
3051 2018-10-19 Florian Weimer <fweimer@redhat.com>
3054 * resource/bits/types/struct_rusage.h (struct rusage): Update
3055 comment on struct. Remove extraneous field comment.
3057 2018-10-18 David S. Miller <davem@davemloft.net>
3059 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
3060 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
3061 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
3062 sysdep_routines in subdir elf.
3063 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
3064 version for __vdso_clock_gettime.
3065 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
3067 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
3068 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3070 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
3072 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
3074 * sysdeps/i386/init-arch.h: Removed.
3075 * sysdeps/i386/i586/init-arch.h: Likewise.
3076 * sysdeps/i386/i686/init-arch.h: Likewise.
3077 * sysdeps/i386/i686/hp-timing.h: Likewise.
3078 * sysdeps/x86_64/hp-timing.h: Likewise.
3079 * sysdeps/i386/isa.h: New file.
3080 * sysdeps/i386/i586/isa.h: Likewise.
3081 * sysdeps/i386/i686/isa.h: Likewise.
3082 * sysdeps/x86_64/isa.h: Likewise.
3083 * sysdeps/x86/hp-timing.h: New file.
3084 * sysdeps/x86/init-arch.h: Include <isa.h>.
3086 2018-10-17 Joseph Myers <joseph@codesourcery.com>
3088 * math/libm-test-pow.inc (pow_test_data): Do not allow
3089 divide-by-zero exception for pow(+/- 0, -Inf).
3091 2018-10-17 Zack Weinberg <zackw@panix.com>
3093 * manual/job.texi (Job Control is Optional): Remove node, as
3094 job control has not been optional in quite some time.
3095 (Job Control): Mention briefly that systems older than
3096 POSIX.1-2001 might not support job control.
3097 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
3098 defined on systems conforming to POSIX.1-2001.
3100 2018-10-17 Arjun Shankar <arjun@redhat.com>
3103 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
3105 * (__gconv_read_conf): Mark function static.
3106 * (once): New static variable.
3107 * (__gconv_load_conf): New function.
3108 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
3109 * iconv/gconv_db.c (once): Remove static variable.
3110 * (__gconv_compare_alias): Use __gconv_load_conf instead of
3112 * (__gconv_find_transform): Likewise.
3113 * iconv/tst-iconv-mt.c: New test.
3114 * iconv/Makefile: Add tst-iconv_mt.
3116 2018-10-17 Joseph Myers <joseph@codesourcery.com>
3118 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3120 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
3121 (shmatt_t): Define as __syscall_ulong_t.
3122 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
3123 and [__SHM_PAD_AFTER_TIME].
3124 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
3125 Define shm_segsz and associated padding based on
3126 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
3127 Use __syscall_ulong_t instead of unsigned long int.
3128 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
3130 [__USE_MISC] (struct shm_info): Likewise.
3131 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
3132 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
3133 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
3134 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
3135 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
3136 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
3137 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
3138 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
3139 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3140 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3141 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3143 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3145 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
3146 (SHMLBA): Remove macro.
3147 (__getpagesize): Remove function declaration.
3148 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
3150 (SHMLBA): Remove macro.
3151 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
3153 (SHMLBA): Remove macro.
3154 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
3156 (SHMLBA): Remove macro.
3157 (__getpagesize): Remove function declaration.
3158 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
3160 (SHMLBA): Remove macro.
3161 (__getshmlba): Remove function declaration.
3162 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
3163 (SHMLBA): Remove macro.
3164 (__getpagesize): Remove function declaration.
3165 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
3166 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
3167 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3168 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
3169 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
3170 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
3171 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
3172 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
3173 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
3174 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
3176 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
3179 * nptl/tst-mutex10.c: New File.
3180 * nptl/Makefile (tests): Add tst-mutex10.
3181 (tst-mutex10-ENV): New variable.
3182 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
3183 Ensure that elision path is used if elision is available.
3184 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
3186 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
3188 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
3189 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
3190 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
3191 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
3193 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
3194 (__pthread_mutex_cond_lock_adjust): Likewise.
3195 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3197 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
3198 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3199 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3200 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
3202 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
3203 Use atomic_load_relaxed and atomic_store_relaxed.
3204 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
3205 Use atomic_store_relaxed.
3207 2018-10-17 Andreas Schwab <schwab@suse.de>
3209 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
3210 * crypt/badsalttest.c (TIMEOUT): Likewise.
3211 * crypt/sha256c-test.c (TIMEOUT): Likewise.
3212 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
3213 * io/test-lfs.c (TIMEOUT): Likewise.
3214 * libio/tst-atime.c (TIMEOUT): Likewise.
3215 * localedata/tst-leaks.c (TIMEOUT): Likewise.
3216 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
3217 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
3218 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
3219 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
3220 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
3221 * nptl/tst-cond11.c (TIMEOUT): Likewise.
3222 * nptl/tst-cond14.c (TIMEOUT): Likewise.
3223 * nptl/tst-cond15.c (TIMEOUT): Likewise.
3224 * nptl/tst-cond24.c (TIMEOUT): Likewise.
3225 * nptl/tst-cond25.c (TIMEOUT): Likewise.
3226 * nptl/tst-kill2.c (TIMEOUT): Likewise.
3227 * nptl/tst-kill3.c (TIMEOUT): Likewise.
3228 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
3229 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
3230 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
3231 * nptl/tst-once2.c (TIMEOUT): Likewise.
3232 * nptl/tst-once3.c (TIMEOUT): Likewise.
3233 * nptl/tst-once4.c (TIMEOUT): Likewise.
3234 * nptl/tst-robust8.c (TIMEOUT): Likewise.
3235 * nptl/tst-robust9.c (TIMEOUT): Likewise.
3236 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
3237 * nptl/tst-sem14.c (TIMEOUT): Likewise.
3238 * nptl/tst-sem6.c (TIMEOUT): Likewise.
3239 * nptl/tst-signal3.c (TIMEOUT): Likewise.
3240 * nptl/tst-spin4.c (TIMEOUT): Likewise.
3241 * nptl/tst-tls3.c (TIMEOUT): Likewise.
3242 * nptl/tst-tls4.c (TIMEOUT): Likewise.
3243 * posix/tst-chmod.c (TIMEOUT): Likewise.
3244 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
3245 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
3246 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
3247 * posix/tst-regex2.c (TIMEOUT): Likewise.
3248 * posix/tst-waitid.c (TIMEOUT): Likewise.
3249 * rt/tst-aio.c (TIMEOUT): Likewise.
3250 * rt/tst-aio10.c (TIMEOUT): Likewise.
3251 * rt/tst-aio4.c (TIMEOUT): Likewise.
3252 * rt/tst-aio5.c (TIMEOUT): Likewise.
3253 * rt/tst-aio6.c (TIMEOUT): Likewise.
3254 * rt/tst-aio64.c (TIMEOUT): Likewise.
3255 * rt/tst-aio7.c (TIMEOUT): Likewise.
3256 * rt/tst-aio9.c (TIMEOUT): Likewise.
3257 * rt/tst-clock.c (TIMEOUT): Likewise.
3258 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
3259 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
3260 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
3261 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
3262 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
3263 * rt/tst-timer4.c (TIMEOUT): Likewise.
3264 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
3265 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
3266 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
3267 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
3268 * time/tst-ftime.c (TIMEOUT): Likewise.
3269 * timezone/tst-tzset.c (TIMEOUT): Likewise.
3271 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
3273 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
3274 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
3277 2018-10-15 Joseph Myers <joseph@codesourcery.com>
3279 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3281 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
3282 instead of <bits/wordsize.h>.
3283 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
3284 and [__SEM_PAD_AFTER_TIME].
3285 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
3286 __syscall_ulong_t instead of unsigned long int.
3287 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
3288 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
3289 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
3290 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
3291 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
3292 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
3293 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
3294 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
3295 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3296 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3297 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3299 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
3301 regex: simplify by using intprops.h
3303 * posix/regex_internal.h [_LIBC]: Include intprops.h.
3304 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
3305 intprops.h defines them.
3307 regex: __builtin_expect → __glibc_unlikely
3309 This refactoring was prompted by a problem when the regex code is
3310 used as part of Gnulib and when the builder’s compiler does not grok
3311 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
3312 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
3313 Although this refactoring does not fix the problem directly,
3314 we might as well have Gawk use the now-preferred glibc style for when
3315 __builtin_expect is unavailable.
3316 * posix/regex_internal.h (BE): Remove.
3317 All uses replaced by __glibc_unlikely or __glibc_likely.
3319 2018-10-11 Joseph Myers <joseph@codesourcery.com>
3321 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3323 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
3324 instead of <bits/wordsize.h>.
3325 (msgqnum_t): Define as __syscall_ulong_t.
3326 (msglen_t): Likewise.
3327 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
3328 and [__MSQ_PAD_AFTER_TIME].
3329 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
3330 __syscall_ulong_t instead of unsigned long int.
3331 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
3332 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
3333 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
3334 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
3335 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
3336 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
3337 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
3338 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
3339 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3340 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3341 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3343 2018-10-10 Joseph Myers <joseph@codesourcery.com>
3345 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
3346 (struct shmid_ds): Condition padding after time fields on
3348 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
3349 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
3350 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3352 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
3353 (struct semid_ds): Condition padding after time fields on
3355 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
3356 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
3357 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
3358 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3360 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
3361 (struct msqid_ds): Condition padding after time fields on
3363 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
3364 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
3365 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
3366 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3368 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3370 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
3372 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3374 * libio/tst-readline.c (TIMEOUT): Define.
3376 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
3378 mktime fix for Gnulib + coreutils
3380 This fix affects only Gnulib. Problem discovered when
3381 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
3383 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
3384 Do not define since it is not used. Defining an unused static
3385 function prompts a warning from GCC when Coreutils is configured
3386 with --enable-gcc-warnings.
3388 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3390 * benchtests/scripts/compare_bench.py (main): set float type on
3393 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
3396 * localedata/locales/kl_GL (mon): Update, the relative case.
3397 (alt_mon): Add, fill with month names in the nominative case.
3398 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
3399 (d_fmt): Set to "%b %d %Y".
3401 2018-10-04 Joseph Myers <joseph@codesourcery.com>
3403 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
3404 <bits/mman-linux.h>.
3405 (PROT_READ): Don't define here.
3406 (PROT_WRITE): Likewise.
3407 (PROT_EXEC): Likewise.
3408 (PROT_NONE): Likewise.
3409 (PROT_GROWSDOWN): Likewise.
3410 (PROT_GROWSUP): Likewise.
3411 (MAP_SHARED): Likewise.
3412 (MAP_PRIVATE): Likewise.
3413 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
3414 [__USE_MISC] (MAP_FILE): Likewise.
3415 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
3416 [__USE_MISC] (MAP_ANON): Likewise.
3417 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
3418 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
3419 (MCL_CURRENT): Likewise.
3420 (MCL_FUTURE): Likewise.
3421 (MCL_ONFAULT): Likewise.
3422 [__USE_MISC] (MADV_NORMAL): Likewise.
3423 [__USE_MISC] (MADV_RANDOM): Likewise.
3424 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
3425 [__USE_MISC] (MADV_WILLNEED): Likewise.
3426 [__USE_MISC] (MADV_DONTNEED): Likewise.
3427 [__USE_MISC] (MADV_FREE): Likewise.
3428 [__USE_MISC] (MADV_REMOVE): Likewise.
3429 [__USE_MISC] (MADV_DONTFORK): Likewise.
3430 [__USE_MISC] (MADV_DOFORK): Likewise.
3431 [__USE_MISC] (MADV_HWPOISON): Likewise.
3432 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
3433 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
3434 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
3435 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
3436 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
3437 (__MAP_ANONYMOUS): New macro.
3438 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
3439 <bits/mman-linux.h> inclusion.
3440 (MAP_FIXED): Likewise.
3441 (MS_SYNC): Likewise.
3442 (MS_ASYNC): Likewise.
3443 (MS_INVALIDATE): Likewise.
3444 [__USE_MISC] (MADV_MERGEABLE): Likewise.
3445 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
3446 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
3447 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
3448 [__USE_MISC] (MADV_DONTDUMP): Likewise.
3449 [__USE_MISC] (MADV_DODUMP): Likewise.
3450 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
3451 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
3454 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
3456 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
3457 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
3458 Add test-nldbl-redirect.
3459 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
3460 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
3461 $(objpfx)libnldbl_nonshared.a.
3463 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
3465 * support/support.h (support_objdir_elf_ldso): New variable.
3466 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
3467 * support/Makefile (CFLAGS-support_paths.c): Add definition
3468 for OBJDIR_ELF_LDSO_PATH.
3469 * support/test-container.c (main): Search for the ld.so
3470 which is also used by the testsuite.
3472 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
3475 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
3476 should be "sap" rather than "sab".
3477 (day): Fix spelling of Sunday, should be "sapaat" rather than
3480 2018-10-02 Joseph Myers <joseph@codesourcery.com>
3482 * math/libm-test-fma.inc (fma_test_data): Add more tests.
3484 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
3487 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
3488 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
3489 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
3491 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3493 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
3495 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
3497 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
3499 (CFLAGS-elision-unlock.c): Likewise.
3500 (CFLAGS-elision-timed.c): Likewise.
3501 (CFLAGS-elision-trylock.c): Likewise.
3502 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
3504 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3507 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
3508 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
3509 new fd_to_filename interface.
3510 * libio/freopen64.c (freopen64): Likewise.
3511 * libio/tst-memstream.h: New file.
3512 * libio/tst-memstream4.c: Likewise.
3513 * libio/tst-wmemstream4.c: Likewise.
3514 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
3515 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
3516 and remove internal dynamic allocation.
3518 2018-10-01 Joseph Myers <joseph@codesourcery.com>
3520 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
3521 (MREMAP_MAYMOVE): Do not define here.
3522 [__USE_GNU] (MREMAP_FIXED): Likewise.
3523 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
3524 (MREMAP_MAYMOVE): Define here instead.
3525 [__USE_GNU] (MREMAP_FIXED): Likewise.
3526 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
3527 (MREMAP_MAYMOVE): Remove.
3528 [__USE_GNU] (MREMAP_FIXED): Likewise.
3530 2018-09-28 Joseph Myers <joseph@codesourcery.com>
3532 * math/fromfp.h: Do not include <math_private.h>.
3533 * math/s_cacosh_template.c: Likewise.
3534 * math/s_casin_template.c: Likewise.
3535 * math/s_casinh_template.c: Likewise.
3536 * math/s_ccos_template.c: Likewise.
3537 * math/s_cproj_template.c: Likewise.
3538 * math/s_fdim_template.c: Likewise.
3539 * math/s_fmaxmag_template.c: Likewise.
3540 * math/s_fminmag_template.c: Likewise.
3541 * math/s_iseqsig_template.c: Likewise.
3542 * math/s_ldexp_template.c: Likewise.
3543 * math/s_nextdown_template.c: Likewise.
3544 * math/w_log1p_template.c: Likewise.
3545 * math/w_scalbln_template.c: Likewise.
3546 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
3547 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
3548 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
3549 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
3550 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
3551 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
3552 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
3553 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
3554 * sysdeps/i386/fpu/s_atanl.c: Likewise.
3555 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
3556 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
3557 * sysdeps/i386/fpu/s_fdim.c: Likewise.
3558 * sysdeps/i386/fpu/s_logbl.c: Likewise.
3559 * sysdeps/i386/fpu/s_rintl.c: Likewise.
3560 * sysdeps/i386/fpu/s_significandl.c: Likewise.
3561 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
3562 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
3563 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3564 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3565 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
3566 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
3567 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3568 * sysdeps/ieee754/k_standardf.c: Likewise.
3569 * sysdeps/ieee754/k_standardl.c: Likewise.
3570 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3571 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3572 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
3573 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3574 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3575 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3576 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3577 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
3578 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
3579 * sysdeps/ieee754/s_signgam.c: Likewise.
3580 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3581 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
3582 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
3583 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
3584 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
3585 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
3586 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
3587 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
3588 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
3589 * sysdeps/riscv/rvd/s_finite.c: Likewise.
3590 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
3591 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
3592 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
3593 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
3594 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
3595 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
3596 * sysdeps/riscv/rvf/fegetround.c: Likewise.
3597 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
3598 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
3599 * sysdeps/riscv/rvf/fesetround.c: Likewise.
3600 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
3601 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
3602 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
3603 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
3604 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
3605 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
3606 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
3607 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
3608 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
3609 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
3610 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
3611 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
3612 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
3613 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
3614 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
3615 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
3616 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
3618 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
3620 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
3623 * sysdeps/i386/dl-cet.c: Removed.
3624 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
3626 (_dl_runtime_profile_shstk): Likewise.
3627 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
3628 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
3630 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3633 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
3634 do_test_with_invalid_iov): New tests.
3635 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
3636 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
3637 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
3639 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
3640 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
3641 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
3643 2018-09-27 Joseph Myers <joseph@codesourcery.com>
3645 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
3646 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
3647 (MATH_REDIRECT_BINARY_ARGS): New macro.
3648 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
3649 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
3650 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
3652 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
3653 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3654 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
3655 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3656 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3657 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3658 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
3663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
3665 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
3666 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
3667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
3669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
3671 * sysdeps/generic/math_private_calls.h
3672 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
3673 Do not declare and define as an inline function.
3674 * math/divtc3.c (__divtc3): Use copysign functions instead of
3675 __copysign variants.
3676 * math/multc3.c (__multc3): Likewise.
3677 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
3678 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
3679 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3680 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
3682 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3683 (__ieee754_yn): Likewise.
3684 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3685 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
3686 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3687 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3688 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
3690 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
3691 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3693 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3695 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3697 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3698 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
3700 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3701 (__ieee754_ynf): Likewise.
3702 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
3703 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3704 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
3705 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
3707 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3708 (__ieee754_ynl): Likewise.
3709 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3710 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3711 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3713 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3714 (__ieee754_ynl): Likewise.
3715 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
3716 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3717 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3718 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3720 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3722 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
3723 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3724 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
3725 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
3726 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3728 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
3729 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
3730 using MATH_REDIRECT.
3731 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
3733 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
3734 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3735 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3736 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
3737 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3738 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3739 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
3741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
3742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
3743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
3744 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
3745 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
3746 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3747 (round): Redirect to __round.
3748 (__roundl): Call round instead of __round.
3749 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
3751 [_ARCH_PWR5X] (__roundf): Likewise.
3752 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
3753 functions instead of __round variants.
3754 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
3755 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
3757 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
3759 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
3761 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
3762 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
3764 (__ieee754_expl): Call roundl instead of __roundl.
3766 2018-09-27 Andreas Schwab <schwab@suse.de>
3769 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
3770 (do_test): Make st1 static.
3772 2018-09-26 Andreas Schwab <schwab@suse.de>
3775 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
3776 * elf/Makefile (tests): Add tst-unwind-ctor.
3777 (modules-names): Add tst-unwind-ctor-lib.
3778 ($(objpfx)tst-unwind-ctor): Depend on
3779 $(objpfx)tst-unwind-ctor-lib.so.
3781 2018-09-26 Joseph Myers <joseph@codesourcery.com>
3783 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
3784 file. Most contents moved from ....
3785 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
3786 and include <bits/mman-map-flags-generic.h>.
3787 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3788 (sysdep_headers): Add bits/mman-map-flags-generic.h.
3789 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
3790 <bits/mman-map-flags-generic.h>.
3791 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
3792 macros defined in <bits/mman-map-flags-generic.h>.
3793 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
3794 <bits/mman-map-flags-generic.h>.
3795 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
3796 defined in <bits/mman-map-flags-generic.h>.
3798 2018-09-26 Andreas Schwab <schwab@suse.de>
3800 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
3803 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
3804 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3805 Fangrui Song <maskray@google.com>
3808 * config.make.in (have-textrel_ifunc): New define.
3809 * configure.ac: Add check if linker supports textrel relocation with
3811 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
3813 (CFLAGS-tst-ifunc-textrel.c): New rule.
3814 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
3815 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
3816 * elf/tst-ifunc-textrel.c: New file.
3818 2018-09-25 Joseph Myers <joseph@codesourcery.com>
3820 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
3821 <bits/procfs-prregset.h>.
3822 (prgregset_t): Define using __prgregset_t.
3823 (prfpregset_t): Define using __prfpregset_t.
3824 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3825 (sysdep_headers): Add bits/procfs-prregset.h.
3826 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
3827 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
3828 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
3829 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
3831 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
3832 <bits/procfs-id.h> and <bits/procfs-extra.h>.
3833 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
3835 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3836 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
3837 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
3838 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
3839 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
3840 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
3841 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
3842 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
3843 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
3844 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
3845 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
3846 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
3847 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
3848 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
3849 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
3850 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
3851 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
3852 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
3853 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
3854 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
3855 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
3856 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
3857 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3858 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
3860 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
3861 AArch64 version. Include <bits/procfs.h>.
3862 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
3863 (sysdep_headers): Add bits/procfs.h.
3864 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
3865 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
3866 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
3867 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
3868 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
3869 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
3870 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
3871 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
3872 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
3873 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
3874 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
3875 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
3876 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
3877 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
3878 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
3879 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3880 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
3882 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3884 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
3887 2018-09-25 Arjun Shankar <arjun@redhat.com>
3889 * iconv/gconv_int.h (__gconv_path_elem): Remove.
3890 (__gconv_max_path_elem_len): Likewise.
3891 (__gconv_nmodules): Likewise.
3892 (__gconv_get_path): Likewise.
3893 (path_elem): Move to ...
3894 * iconv/gconv_conf.c: ... here.
3895 (__gconv_get_path): Mark function static.
3896 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
3897 * iconv/gconv_open.c: ... here.
3899 2018-09-24 Andreas Schwab <schwab@suse.de>
3901 * scripts/haveversions.awk: New file.
3902 * Makerules ($(common-objpfx)Versions.def)
3903 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
3904 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
3906 * Makeconfig ($(common-objpfx)Versions.def)
3907 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
3908 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
3910 ($(common-objpfx)Versions.mk): New rule. Include it.
3911 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
3912 Emit error if build-obsolete-nsl = yes.
3913 * manual/install.texi (Configuring and compiling): Describe
3914 --enable-obsolete-nsl as unavaiable after version 2.28.
3915 * INSTALL: Regenerate.
3917 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3919 * NEWS: Add note about new TLE support on powerpc64le.
3920 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
3921 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
3923 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
3924 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
3925 * sysdeps/powerpc/powerpc32/sysdep.h,
3926 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
3927 ABORT_TRANSACTION): Remove macros.
3928 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
3929 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
3930 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
3931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
3932 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3933 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
3935 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
3937 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
3940 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
3941 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
3942 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
3943 which is the same as in it_IT.
3944 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
3945 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
3947 2018-09-20 Joseph Myers <joseph@codesourcery.com>
3949 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
3950 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
3951 using MATH_REDIRECT.
3952 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
3954 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
3955 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3956 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
3957 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3958 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3959 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
3961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
3962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
3963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
3964 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
3965 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
3966 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
3967 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
3968 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
3969 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
3970 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
3971 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3972 (ceil): Redirect to __ceil.
3973 (floor): Redirect to __floor.
3974 (trunc): Redirect to __trunc.
3975 (__truncl): Call trunc instead of __trunc.
3976 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
3978 [_ARCH_PWR5X] (__truncf): Likewise.
3979 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
3980 trunc functions instead of __trunc variants.
3981 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
3983 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
3985 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3987 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
3990 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
3991 [__i586__ || __pentium__].
3992 [__i486__]: Handle explicitly.
3993 (HAS_CPUID): Define to 1 if above macros are undefined.
3994 (HAS_I586): Likewise.
3995 (HAS_I686): Likewise.
3997 2018-09-20 Florian Weimer <fweimer@redhat.com>
3999 * misc/tst-gethostid.c: New file.
4000 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
4001 (tst-gethostid): Link with -ldl.
4003 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
4005 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
4006 value from gethostbyname_r.
4008 2018-09-19 Carlos O'Donell <carlos@redhat.com>
4010 * stdlib/tst-setcontext9.c (f1): Rename to...
4012 (f1b): New function implementing lower half of f1 in alternate stack.
4014 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
4016 Fix mktime localtime offset confusion
4018 * include/time.h (__mktime_internal): The localtime offset is now
4019 of type long int instead of time_t. This is the longstanding type
4020 in glibc, and it is more than enough to represent difference
4021 between localtime and gmtime even if it is 32 bits and time_t is
4022 64. Changing it now will let us avoid an unnecessary change when
4023 time_t is widened to 64 bits on 32-bit platforms.
4024 * time/mktime-internal.h (mktime_offset_t): Now long int.
4026 Merge mktime, timegm from upstream Gnulib
4027 [BZ #23603][BZ #16346]
4028 This fixes some obscure problems with integer overflow.
4029 Although it looks scary, it is almost all a byte-for-byte copy
4030 from Gnulib, and the Gnulib code has been tested reasonably well.
4031 * include/intprops.h: New file, copied from Gnulib.
4032 * include/verify.h, time/mktime-internal.h:
4033 New tiny files, simplified from Gnulib.
4034 * time/mktime.c: Copy from Gnulib. This has the following changes:
4035 Do not include config.h if DEBUG_MKTIME is nonzero.
4036 Include stdbool.h, intprops.h, verify.h.
4037 Include string.h only if needed.
4038 Include stdlib.h on MS-Windows.
4039 Include mktime-internal.h.
4040 (DEBUG_MKTIME): Default to 0, and simplify later uses.
4041 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
4042 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
4043 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
4044 simplify later conditionals; default the others to zero. Use
4045 these conditionals to express only the code needed on the current
4046 platform. In uses of these conditionals, explicitly spell out how
4047 _LIBC affects things, so it’s easier to review from a glibc
4049 (WRAPV): Remove; no longer needed now that we have
4050 systematic overflow checking.
4051 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
4052 compartmentalize tzset issues. Move system-dependent tzsettish
4053 code here from mktime.
4054 (verify): Remove; now done by verify.h. All uses changed.
4055 (long_int): Use a more-conservative definition, to avoid
4057 (SHR): Remove, replacing with ...
4058 (shr): New function, which means we needn’t worry about side
4059 effects in args, and conversion analysis is simpler.
4060 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
4061 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
4062 (time_t_avg, time_t_add_ok): Remove.
4063 (mktime_min, mktime_max): New constants.
4064 (leapyear, isdst_differ): Use bool for booleans.
4065 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
4066 Use long_int, not time_t, for mktime differences.
4067 (long_int_avg): New function, replacing time_t_avg.
4068 INT_ADD_WRAPV replaces time_t_add_ok.
4069 (guess_time_tm): 6th arg is now long_int, not time_t const *.
4071 (convert_time): New function.
4072 (ranged_convert): Use it.
4073 (__mktime_internal): Last arg now points to mktime_offset_t, not
4074 time_t. All uses changed. This is a no-op on glibc, where
4075 mktime_offset_t is always time_t. Use int, not time_t, for UTC
4076 offset guess. Directly check for integer overflow instead of
4077 using a heuristic that works only 99.9...% of the time.
4078 Access *OFFSET only once, to avoid an unlikely race if the
4079 compiler delays a load and if this cascades into a signed integer
4081 (mktime): Move tzsettish code to my_tzset, and move
4082 localtime_offset to within mktime so that it doesn’t
4083 need a separate ifdef.
4084 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
4085 instead of localtime.
4086 * time/timegm.c: Copy from Gnulib. This has the following changes:
4087 Include mktime-internal.h.
4088 [!_LIBC]: Include config.h and time.h. Do not include
4089 timegm.h or time_r.h. Make __mktime_internal a macro,
4090 and include mktime-internal.h to get its declaration.
4091 (timegm): Temporary is now mktime_offset_t, not time_t.
4092 This affects only Gnulib.
4094 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
4097 * string/test-strstr.c (pr23637): New function.
4098 (test_main): Add tests with longer needles.
4099 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
4100 * string/strstr.c (AVAILABLE): Likewise.
4102 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
4104 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
4106 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
4108 * NEWS: Mention pow improvements.
4109 * math/Makefile (type-double-routines): Add e_pow_log_data.
4110 * sysdeps/generic/math_private.h (__exp1): Remove.
4111 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
4112 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
4113 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
4115 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
4116 (exp_inline): Remove.
4117 (__ieee754_exp): Only single double input is handled.
4118 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
4119 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
4120 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
4121 (__pow_log_data): Define.
4122 * sysdeps/ieee754/dbl-64/upow.h: Remove.
4123 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
4124 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
4125 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
4127 (CFLAGS-e_pow-fma4.c): Likewise.
4129 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
4131 Simplify tzfile fstat failure code
4133 * time/tzfile.c (__tzfile_read): Simplify slightly.
4135 Fix tzfile low-memory assertion failure
4137 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
4138 when registering time zone abbreviations.
4140 2018-09-18 Joseph Myers <joseph@codesourcery.com>
4142 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
4143 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
4144 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
4145 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
4146 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
4147 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
4148 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
4149 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4150 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4152 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
4154 (__ceill): Call ceil instead of __ceil.
4155 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
4157 (__floorl): Call floor instead of __floor.
4159 2018-09-17 Joseph Myers <joseph@codesourcery.com>
4161 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4162 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
4163 using MATH_REDIRECT.
4164 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
4166 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
4167 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4168 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4169 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
4170 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4171 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4172 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4173 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
4174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
4175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
4176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
4177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
4178 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
4179 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
4180 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
4181 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
4182 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
4183 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
4184 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
4186 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
4187 functions instead of __ceil variants.
4188 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
4189 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
4191 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
4193 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
4194 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
4196 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
4197 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4200 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
4202 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
4203 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
4204 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
4205 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
4206 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
4207 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
4208 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
4209 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
4210 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
4211 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
4212 (ILL_BADIADDR): Remove constant.
4213 (TRAP_BRANCH): Likewise.
4214 (TRAP_HWBKPT): Likewise.
4216 2018-09-14 Joseph Myers <joseph@codesourcery.com>
4219 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
4220 Remove [_MIPS_SIM = _ABIN32] conditional case.
4221 (struct elf_prpsinfo): Likewise.
4224 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
4225 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
4226 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
4228 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
4229 elf_prpsinfo): Likewise.
4230 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
4231 elf_prpsinfo): Likewise.
4232 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
4235 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4236 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
4237 using MATH_REDIRECT.
4238 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
4240 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
4241 * sysdeps/alpha/fpu/s_rint.c: Likewise.
4242 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
4243 * sysdeps/i386/fpu/s_rintl.c: Likewise.
4244 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4245 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4246 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
4247 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4248 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4249 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4250 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
4251 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
4252 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
4253 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
4254 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
4255 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4256 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4257 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
4258 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
4259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
4260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
4261 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
4262 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
4263 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
4264 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
4265 * sysdeps/x86_64/fpu/math_private.h: Remove file.
4266 * math/e_scalb.c (invalid_fn): Use rint functions instead of
4268 * math/e_scalbf.c (invalid_fn): Likewise.
4269 * math/e_scalbl.c (invalid_fn): Likewise.
4270 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
4272 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4274 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
4275 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
4276 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4278 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4280 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4282 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
4283 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
4285 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4286 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
4288 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4289 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
4290 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4291 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
4292 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4293 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
4294 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4295 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
4296 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4297 && !NO_MATH_REDIRECT] (floor): Likewise.
4298 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
4300 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
4301 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4302 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4303 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
4304 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4305 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4306 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4307 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
4308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
4309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
4310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
4311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
4312 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
4313 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
4314 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
4315 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
4316 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
4317 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
4318 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
4320 [_ARCH_PWR5X] (__floorf): Likewise.
4321 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
4323 [__SSE4_1__] (__floorf): Likewise.
4324 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
4325 instead of __floor variants.
4326 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
4327 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
4328 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
4329 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
4330 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
4331 * math/w_tgamma_compat.c (__tgamma): Likewise.
4332 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
4333 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
4334 * math/w_tgammal_compat.c (__tgammal): Likewise.
4335 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
4336 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
4338 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
4339 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
4340 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
4341 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4343 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4344 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
4346 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
4347 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
4349 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4350 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
4352 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4353 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
4354 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
4355 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
4356 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
4357 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4359 2018-09-12 Joseph Myers <joseph@codesourcery.com>
4361 * elf/Makefile (modules-names-tests): New variable.
4363 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
4365 * NEWS: Mention log2 improvements.
4366 * math/Makefile (type-double-routines): Add e_log2_data.
4367 * sysdeps/i386/fpu/e_log2_data.c: New file.
4368 * sysdeps/ia64/fpu/e_log2_data.c: New file.
4369 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
4370 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
4371 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
4372 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
4373 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
4375 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
4377 * NEWS: Mention log improvement.
4378 * math/Makefile (type-double-routines): Add e_log_data.
4379 * sysdeps/i386/fpu/e_log_data.c: New file.
4380 * sysdeps/ia64/fpu/e_log_data.c: New file.
4381 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
4382 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
4383 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
4384 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
4385 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
4386 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
4388 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
4389 Xuepeng Guo <xuepeng.guo@intel.com>
4392 * sysdeps/i386/start.S: Include <sysdep.h>
4393 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
4394 enabled. Add cfi_undefined (eip).
4396 2018-09-11 Joseph Myers <joseph@codesourcery.com>
4398 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
4400 (EXTRACT_WORDS64): Likewise.
4401 (INSERT_WORDS64): Likewise.
4402 (GET_FLOAT_WORD): Likewise.
4403 (SET_FLOAT_WORD): Likewise.
4405 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
4407 (Config.build_gcc): Use --disable-libsanitizer for first GCC
4408 build, but not for second build if --full-gcc. Use
4409 --enable-languages=all for second build if --full-gcc.
4410 (get_parser): Add --full-gcc option.
4411 (main): Update call to Context.
4413 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
4416 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
4417 Single Quotation Mark).
4418 (thousands_sep): Likewise.
4419 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
4420 * localedata/locales/it_IT (thousands_sep): Use ".".
4421 (grouping): Use "3;3".
4423 2018-09-10 Joseph Myers <joseph@codesourcery.com>
4425 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
4426 x86_64 and i686 configs using --enable-obsolete-rpc
4427 --enable-obsolete-nsl.
4429 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
4431 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4433 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
4435 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
4436 Increment size of new_argv by one.
4438 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
4441 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
4442 * localedata/locales/ar_IN (d_fmt): Likewise.
4443 * localedata/locales/bhb_IN (d_fmt): Likewise.
4444 * localedata/locales/bho_IN (d_fmt): Likewise.
4445 * localedata/locales/bn_BD (d_fmt): Likewise.
4446 * localedata/locales/bn_IN (d_fmt): Likewise.
4447 * localedata/locales/doi_IN (d_fmt): Likewise.
4448 * localedata/locales/gu_IN (d_fmt): Likewise.
4449 * localedata/locales/hi_IN (d_fmt): Likewise.
4450 * localedata/locales/hne_IN (d_fmt): Likewise.
4451 * localedata/locales/kn_IN (d_fmt): Likewise.
4452 * localedata/locales/mag_IN (d_fmt): Likewise.
4453 * localedata/locales/mai_IN (d_fmt): Likewise.
4454 * localedata/locales/mjw_IN (d_fmt): Likewise.
4455 * localedata/locales/ml_IN (d_fmt): Likewise.
4456 * localedata/locales/mni_IN (d_fmt): Likewise.
4457 * localedata/locales/mr_IN (d_fmt): Likewise.
4458 * localedata/locales/pa_IN (d_fmt): Likewise.
4459 * localedata/locales/raj_IN (d_fmt): Likewise.
4460 * localedata/locales/sat_IN (d_fmt): Likewise.
4461 * localedata/locales/sd_IN (d_fmt): Likewise.
4462 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
4463 * localedata/locales/ta_IN (d_fmt): Likewise.
4464 * localedata/locales/ta_LK (d_fmt): Likewise.
4465 * localedata/locales/tcy_IN (d_fmt): Likewise.
4466 * localedata/locales/ur_IN (d_fmt): Likewise.
4468 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
4469 * localedata/locales/ks_IN (d_fmt): Likewise.
4470 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
4472 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
4473 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
4474 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
4475 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
4477 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
4479 * NEWS: Mention exp and exp2 improvements.
4480 * math/Makefile (libm-support): Remove t_exp.
4481 (type-double-routines): Add math_err and e_exp_data.
4482 * sysdeps/aarch64/libm-test-ulps: Update.
4483 * sysdeps/arm/libm-test-ulps: Update.
4484 * sysdeps/i386/fpu/e_exp_data.c: New file.
4485 * sysdeps/i386/fpu/math_err.c: New file.
4486 * sysdeps/i386/fpu/t_exp.c: Remove.
4487 * sysdeps/ia64/fpu/e_exp_data.c: New file.
4488 * sysdeps/ia64/fpu/math_err.c: New file.
4489 * sysdeps/ia64/fpu/t_exp.c: Remove.
4490 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
4491 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
4492 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
4493 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
4494 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
4495 * sysdeps/ieee754/dbl-64/math_config.h: New file.
4496 * sysdeps/ieee754/dbl-64/math_err.c: New file.
4497 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
4498 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
4499 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
4500 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
4501 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
4502 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
4503 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
4504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4505 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4507 2018-09-05 Joseph Myers <joseph@codesourcery.com>
4509 * sysdeps/alpha/fpu/math_private.h: Remove.
4511 * sysdeps/generic/math_private.h
4512 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
4513 Move this inline function ....
4514 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
4515 * include/math.h [!_ISOMAC]: To here....
4517 2018-09-04 Joseph Myers <joseph@codesourcery.com>
4519 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
4521 [!FE_HAVE_ROUNDING_MODES]: And this code ....
4522 * include/fenv.h [!_ISOMAC]: ... to here.
4523 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
4524 (feraiseexcept): Likewise.
4525 * math/fromfp.h: Do not include <fenv_private.h>.
4526 * math/s_cexp_template.c: Likewise.
4527 * math/s_csin_template.c: Likewise.
4528 * math/s_csinh_template.c: Likewise.
4529 * math/s_ctan_template.c: Likewise.
4530 * math/s_ctanh_template.c: Likewise.
4531 * math/s_iseqsig_template.c: Likewise.
4532 * math/w_acos_compat.c: Likewise.
4533 * math/w_acosf_compat.c: Likewise.
4534 * math/w_acosl_compat.c: Likewise.
4535 * math/w_asin_compat.c: Likewise.
4536 * math/w_asinf_compat.c: Likewise.
4537 * math/w_asinl_compat.c: Likewise.
4538 * math/w_j0_compat.c: Likewise.
4539 * math/w_j0f_compat.c: Likewise.
4540 * math/w_j0l_compat.c: Likewise.
4541 * math/w_j1_compat.c: Likewise.
4542 * math/w_j1f_compat.c: Likewise.
4543 * math/w_j1l_compat.c: Likewise.
4544 * math/w_jn_compat.c: Likewise.
4545 * math/w_jnf_compat.c: Likewise.
4546 * math/w_log10_compat.c: Likewise.
4547 * math/w_log10f_compat.c: Likewise.
4548 * math/w_log10l_compat.c: Likewise.
4549 * math/w_log2_compat.c: Likewise.
4550 * math/w_log2f_compat.c: Likewise.
4551 * math/w_log2l_compat.c: Likewise.
4552 * math/w_log_compat.c: Likewise.
4553 * math/w_logf_compat.c: Likewise.
4554 * math/w_logl_compat.c: Likewise.
4555 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4556 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4557 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4558 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4559 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4560 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4561 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4562 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4563 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4564 * sysdeps/ieee754/k_standardl.c: Likewise.
4565 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4566 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4567 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4568 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4569 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4570 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4571 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4572 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4573 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4574 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4575 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4576 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
4577 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
4578 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4579 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4580 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4581 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4582 * math/w_ilogb_template.c: Include <fenv.h> instead of
4584 * math/w_llogb_template.c: Likewise.
4585 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4586 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4588 2018-09-03 Joseph Myers <joseph@codesourcery.com>
4590 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
4591 * math/fromfp.h: Include <fenv_private.h>.
4592 * math/math-narrow.h: Likewise.
4593 * math/s_cexp_template.c: Likewise.
4594 * math/s_csin_template.c: Likewise.
4595 * math/s_csinh_template.c: Likewise.
4596 * math/s_ctan_template.c: Likewise.
4597 * math/s_ctanh_template.c: Likewise.
4598 * math/s_iseqsig_template.c: Likewise.
4599 * math/w_acos_compat.c: Likewise.
4600 * math/w_acosf_compat.c: Likewise.
4601 * math/w_acosl_compat.c: Likewise.
4602 * math/w_asin_compat.c: Likewise.
4603 * math/w_asinf_compat.c: Likewise.
4604 * math/w_asinl_compat.c: Likewise.
4605 * math/w_ilogb_template.c: Likewise.
4606 * math/w_j0_compat.c: Likewise.
4607 * math/w_j0f_compat.c: Likewise.
4608 * math/w_j0l_compat.c: Likewise.
4609 * math/w_j1_compat.c: Likewise.
4610 * math/w_j1f_compat.c: Likewise.
4611 * math/w_j1l_compat.c: Likewise.
4612 * math/w_jn_compat.c: Likewise.
4613 * math/w_jnf_compat.c: Likewise.
4614 * math/w_llogb_template.c: Likewise.
4615 * math/w_log10_compat.c: Likewise.
4616 * math/w_log10f_compat.c: Likewise.
4617 * math/w_log10l_compat.c: Likewise.
4618 * math/w_log2_compat.c: Likewise.
4619 * math/w_log2f_compat.c: Likewise.
4620 * math/w_log2l_compat.c: Likewise.
4621 * math/w_log_compat.c: Likewise.
4622 * math/w_logf_compat.c: Likewise.
4623 * math/w_logl_compat.c: Likewise.
4624 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
4625 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
4626 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
4627 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
4628 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4629 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4630 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4631 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4632 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4633 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4634 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4635 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4636 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
4637 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
4638 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4639 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
4640 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4641 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4642 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4643 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4644 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4645 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4646 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4647 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4648 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4649 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4650 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4651 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
4652 * sysdeps/ieee754/float128/float128_private.h: Likewise.
4653 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
4654 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4655 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4656 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
4657 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4658 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4659 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4660 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4661 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4662 * sysdeps/ieee754/k_standardl.c: Likewise.
4663 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4664 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4665 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4666 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4667 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4668 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4669 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4670 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4671 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4672 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4673 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4674 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4675 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4676 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4677 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
4678 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
4679 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4680 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
4681 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4682 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4683 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4684 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4685 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4686 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4687 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4688 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
4689 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4690 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4691 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
4692 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
4693 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
4694 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4695 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4696 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4697 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4698 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4699 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4700 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4701 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
4702 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
4703 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
4704 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
4705 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
4706 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
4707 * sysdeps/riscv/rvd/s_finite.c: Likewise.
4708 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
4709 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
4710 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
4711 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
4712 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
4713 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
4714 * sysdeps/riscv/rvf/fegetround.c: Likewise.
4715 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
4716 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
4717 * sysdeps/riscv/rvf/fesetround.c: Likewise.
4718 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
4719 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
4720 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
4721 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
4722 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
4723 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
4724 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
4725 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
4726 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
4727 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
4728 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
4729 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
4730 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
4731 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
4732 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
4733 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
4735 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4738 * include/stdio.h (__libc_fatal): Mention newline in comment.
4739 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
4740 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
4741 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4742 * nss/nsswitch.c (__nss_next2): Likewise.
4743 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
4744 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
4745 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
4746 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4747 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
4748 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
4749 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
4750 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
4751 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
4752 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
4753 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
4754 * sysdeps/unix/sysv/linux/netlink_assert_response.c
4755 (__netlink_assert_response): Likewise.
4757 2018-08-31 Joseph Myers <joseph@codesourcery.com>
4759 * conform/glibcconform.py: New file.
4760 * conform/list-header-symbols.py: Likewise.
4761 * conform/list-header-symbols.pl: Remove.
4762 * conform/Makefile (tests-special): Only add linknamespace tests
4764 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
4766 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
4769 * support/Makefile (libsupport-routines): Add
4770 support_copy_file_range and xcopy_file_range.
4771 * support/support.h: Include <sys/types.h>.
4772 (support_copy_file_range): New prototype.
4773 * support/support_copy_file_range.c: New file. Copied and
4774 modified from io/copy_file_range-compat.c.
4775 * support/test-container.c (copy_one_file): Call xcopy_file_rang
4776 instead of copy_file_range.
4777 * support/xcopy_file_range.c: New file.
4778 * support/xunistd.h (xcopy_file_range): New prototype.
4780 2018-08-30 Carlos O'Donell <carlos@redhat.com>
4782 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
4783 xpthread_create and xpthread_join.
4785 2018-08-30 Florian Weimer <fweimer@redhat.com>
4787 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
4789 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
4791 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
4794 2018-08-29 Joseph Myers <joseph@codesourcery.com>
4796 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
4797 and minus_oflow as non-finite.
4799 2018-08-28 Joseph Myers <joseph@codesourcery.com>
4801 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
4802 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
4803 moved to fenv_private.h except for ...
4804 (TOINT_INTRINSICS): Kept in math_private.h.
4805 (roundtoint): Likewise.
4806 (converttoint): Likewise.
4807 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
4808 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
4809 * sysdeps/arm/math_private.h: Remove.
4810 * sysdeps/generic/fenv_private.h: New file. Contents moved from
4812 * sysdeps/generic/math_private.h: ... this file. Include
4813 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
4814 Include <fenv_private.h>. Remove functions and macros moved to
4816 * sysdeps/i386/fpu/math_private.h: Remove.
4817 * sysdeps/mips/math_private.h: Move to ....
4818 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
4819 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
4820 [__mips_hard_float] conditional. Include next <fenv_private.h>.
4821 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
4822 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
4823 * sysdeps/powerpc/fpu/math_private.h: Do not include
4825 * sysdeps/riscv/rvf/math_private.h: Move to ....
4826 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
4827 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
4829 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
4830 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
4831 * sysdeps/sparc/fpu/math_private.h: Remove.
4832 * sysdeps/i386/fpu/fenv_private.h: Move to ....
4833 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
4834 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
4836 * sysdeps/x86_64/fpu/math_private.h: Do not include
4837 <sysdeps/i386/fpu/fenv_private.h>.
4839 2018-08-28 Florian Weimer <fweimer@redhat.com>
4842 * posix/tst-regcomp-truncated.c: New file.
4843 * posix/Makefile (tests): Add it.
4844 (tst-regcomp-truncated.out): Depend on generated locales.
4846 2018-08-28 Florian Weimer <fweimer@redhat.com>
4848 * support/test-container.c (main): Treat unshare failure with
4849 EPERM as an unsupported test.
4851 2018-08-28 Florian Weimer <fweimer@redhat.com>
4854 nscd: Fix use-after-free in addgetnetgrentX and its callers.
4855 * nscd/netgroupcache.c
4856 (addgetnetgrentX): Add tofreep parameter. Do not free
4857 heap-allocated buffer.
4858 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
4859 (addgetnetgrentX_ignore): New function.
4860 (addgetnetgrent): Call it.
4861 (readdgetnetgrent): Likewise.
4863 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4865 * string/memmem.c: Use memcmp for first match.
4867 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4870 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
4872 2018-08-27 DJ Delorie <dj@redhat.com>
4874 * support/Makefile (others): Don't list programs explicitly as a
4875 dependency of "others".
4877 2018-08-27 Joseph Myers <joseph@codesourcery.com>
4879 * sysdeps/generic/math-tests-trap-force.h: New file.
4880 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
4881 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
4882 * sysdeps/powerpc/math-tests.h: Remove file.
4883 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
4885 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
4886 Torvald Riegel <triegel@redhat.com>
4889 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
4890 Update r to include the set wake-request flag if waiters are
4891 remaining after spinning.
4893 2018-08-27 Joseph Myers <joseph@codesourcery.com>
4895 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
4897 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
4900 regex: fix uninitialized memory access
4901 I introduced this bug into gnulib in commit
4902 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
4903 eventually it was merged into glibc. The bug was found by
4904 project-repo <bugs@feusi.co> and reported here:
4905 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
4906 Diagnosis and draft fix reported by Assaf Gordon here:
4907 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
4908 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
4909 * posix/regex_internal.c (build_wcs_upper_buffer):
4910 Fix bug when mbrtowc returns 0.
4912 2018-08-24 Carlos O'Donell <carlos@redhat.com>
4914 * po/be.po: Update translation.
4916 2018-08-24 DJ Delorie <dj@delorie.com>
4918 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
4921 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4924 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
4925 create temporary files in source tree.
4927 2018-08-24 Joseph Myers <joseph@codesourcery.com>
4929 * sysdeps/generic/math-tests-trap.h: New file.
4930 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
4931 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
4932 * sysdeps/aarch64/math-tests.h: Remove file.
4933 * sysdeps/arm/math-tests.h: Likewise.
4934 * sysdeps/riscv/math-tests.h: Likewise.
4935 * sysdeps/aarch64/math-tests-trap.h: New file.
4936 * sysdeps/arm/math-tests-trap.h: Likewise.
4937 * sysdeps/riscv/math-tests-trap.h: Likewise.
4939 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
4941 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
4942 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
4943 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
4944 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
4945 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
4946 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
4947 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4948 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
4949 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
4950 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4951 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4952 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4953 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4954 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
4955 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
4956 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
4957 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4958 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4960 2018-08-23 Joseph Myers <joseph@codesourcery.com>
4962 * sysdeps/generic/math-tests-exceptions.h: New file.
4963 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
4964 (EXCEPTION_TESTS_float): Do not define here.
4965 (EXCEPTION_TESTS_double): Likewise.
4966 (EXCEPTION_TESTS_long_double): Likewise.
4967 (EXCEPTION_TESTS_float128): Likewise.
4968 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
4970 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
4971 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
4972 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
4973 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
4974 * sysdeps/mips/math-tests.h: Likewise.
4975 * sysdeps/nios2/math-tests.h: Likewise.
4976 * sysdeps/riscv/math-tests.h [!__riscv_flen]
4977 (EXCEPTION_TESTS_float): Do not define here.
4978 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
4979 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
4980 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
4982 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
4984 * NEWS: Move optimized sinf entry to 2.29.
4986 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
4988 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
4990 2018-08-22 DJ Delorie <dj@redhat.com>
4992 * Makefile (testroot.pristine): New rules to initialize the
4993 test-in-container "testroot".
4994 * Makerules (all-testsuite): Add tests-container.
4995 * Rules (tests-expected): Add tests-container.
4996 (binaries-all-tests): Likewise.
4997 (tests-container): New, run these tests in the testroot container.
4998 * support/Makefile (others): Add *-container, support_paths.c,
4999 xmkdirp, and links-dso-program.
5000 * support/links-dso-program-c.c: New.
5001 * support/links-dso-program.cc: New.
5002 * support/test-container.c: New.
5003 * support/shell-container.c: New.
5004 * support/echo-container.c: New.
5005 * support/true-container.c: New.
5006 * support/xmkdirp.c: New.
5007 * support/xsymlink.c: New.
5008 * support/support_paths.c: New.
5009 * support/support.h: Add support paths prototypes.
5010 * support/xunistd.h: Add xmkdirp () and xsymlink ().
5012 * nss/tst-nss-test3.c: Convert to test-in-container.
5013 * nss/tst-nss-test3.root/: New.
5015 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
5017 regex: port Gnulib code to z/OS POSIX environment
5018 Problem reported by Arnold Robbins in:
5019 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
5020 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
5023 2018-08-22 Joseph Myers <joseph@codesourcery.com>
5025 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
5026 (ROUNDING_TESTS_double): Remove.
5027 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
5028 (ROUNDING_TESTS_double): Remove.
5029 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
5030 (ROUNDING_TESTS_double): Remove.
5031 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
5032 (ROUNDING_TESTS_float): Remove.
5033 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
5034 (ROUNDING_TESTS_float): Remove.
5035 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
5036 (ROUNDING_TESTS_float): Remove.
5037 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
5039 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5040 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5042 * sysdeps/generic/math-tests-rounding.h: New file.
5043 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
5044 (ROUNDING_TESTS_float): Do not define here.
5045 (ROUNDING_TESTS_double): Likewise.
5046 (ROUNDING_TESTS_long_double): Likewise.
5047 (ROUNDING_TESTS_float128): Likewise.
5048 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
5049 (ROUNDING_TESTS_double): Undefine before defining.
5050 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
5051 (ROUNDING_TESTS_double): Undefine before defining.
5052 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
5053 (ROUNDING_TESTS_double): Undefine before defining.
5054 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
5055 (ROUNDING_TESTS_float): Undefine before defining.
5056 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
5057 (ROUNDING_TESTS_float): Undefine before defining.
5058 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
5059 (ROUNDING_TESTS_float): Undefine before defining.
5060 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
5061 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
5063 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
5064 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
5065 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
5066 * sysdeps/riscv/math-tests.h [!__riscv_flen]
5067 (ROUNDING_TESTS_float): Do not define here.
5068 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
5069 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
5070 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
5071 (ROUNDING_TESTS_float): Likewise.
5072 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
5073 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
5074 * sysdeps/mips/math-tests.h [__mips_soft_float]
5075 (ROUNDING_TESTS_float): Likewise.
5076 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
5077 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
5078 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
5079 (ROUNDING_TESTS_double): Likewise.
5080 (ROUNDING_TESTS_long_double): Likewise.
5082 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
5084 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
5085 (PF_XDP): New macro.
5086 (AF_XDP): New macro.
5087 (SOL_XDP): New macro.
5089 2018-08-21 Joseph Myers <joseph@codesourcery.com>
5091 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
5092 (TCP_INQ): Likewise.
5093 (TCP_CM_INQ): Likewise.
5094 (TCP_REPAIR_ON): Likewise.
5095 (TCP_REPAIR_OFF): Likewise.
5096 (TCP_REPAIR_OFF_NO_WP): Likewise.
5097 (struct tcp_zerocopy_receive): New type.
5099 2018-08-21 Florian Weimer <fweimer@redhat.com>
5101 * support/support.h (support_descriptor_supports_holes): Declare.
5102 * support/Makefile (libsupport-routines): Add
5103 support_descriptor_supports_holes.
5104 * support/support_descriptor_supports_holes.c: New file.
5105 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
5106 and stop testing if holes are not supported.
5107 * io/test-lfs.c (do_prepare): Likewise.
5108 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
5110 * timezone/tst-tzset.c (create_tz_file): Likewise.
5111 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
5113 (do_prepare): Set it.
5114 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
5116 2018-08-21 Florian Weimer <fweimer@redhat.com>
5119 * Makeconfig (+cflags): Do not sort (and deduplicate).
5121 2018-08-21 Florian Weimer <fweimer@redhat.com>
5123 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
5124 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
5126 2018-08-20 Florian Weimer <fweimer@redhat.com>
5128 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
5129 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
5131 2018-08-20 Joseph Myers <joseph@codesourcery.com>
5133 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
5134 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
5135 and ssi_arch members.
5137 * elf/elf.c (NT_VMCOREDD): New macro.
5138 (AT_MINSIGSTKSZ): Likewise.
5140 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5142 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5143 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
5144 s_cosf-ppc64 and s_cosf-power8.
5145 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
5146 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5147 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5148 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
5150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
5151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
5152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
5153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
5154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
5155 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
5156 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
5158 2018-08-17 Florian Weimer <fweimer@redhat.com>
5160 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5162 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
5164 * malloc/malloc.c (_int_malloc): Additional binning code checks.
5166 2018-08-16 Florian Weimer <fweimer@redhat.com>
5168 * configure.ac: Add --with-nonshared-cflags option.
5169 * config.make.in (extra-nonshared-cflags): Set variable.
5170 * Makeconfig (CFLAGS-.oS): Use it.
5171 * manual/install.texi (Configuring and compiling): Document
5172 --with-nonshared-cflags.
5173 * configure: Regenerate.
5174 * INSTALL: Likewise.
5176 2018-08-16 Florian Weimer <fweimer@redhat.com>
5178 * Makeconfig (ASFLAGS): Always append required assembler flags.
5180 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
5182 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
5183 (malloc_consolidate): Likewise.
5185 2018-08-16 Pochang Chen <johnchen902@gmail.com>
5187 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
5189 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
5191 * benchtests/bench-strlen.c (do_test): Allocate buffers before
5194 * benchtests/bench-strlen.c: Print performance numbers in json.
5196 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5198 * sysdeps/powerpc/powerpc64/multiarch/Makefile
5199 (sysdep_routines): Build strcmp-power9 and strncmp-power9
5200 only for little endian.
5201 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5202 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
5203 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
5204 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
5205 Add check for little endian.
5206 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
5207 (__strcmp_power9): Add check for little endian.
5208 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
5209 Add check for little endian.
5210 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
5211 (__strncmp_power9): Add check for little endian.
5212 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
5213 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
5214 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
5215 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
5216 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
5218 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
5220 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
5221 [!STRLEN](STRLEN): Set to __strlen.
5222 * sysdeps/aarch64/multiarch/strlen.c: New file.
5223 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
5224 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
5225 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
5226 (__libc_ifunc_impl_list): Add strlen.
5227 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
5228 strlen_generic and strlen_asimd.
5230 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
5232 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
5233 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
5234 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
5236 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
5238 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
5240 2018-08-14 Florian Weimer <fweimer@redhat.com>
5243 * include/stdio.h (__vfxprintf): Declare.
5244 * stdio-common/fxprintf.c (__vfxprintf): New function.
5245 (__fxprintf): Call it.
5246 * misc/err.c (convert_and_print): Remove function.
5247 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
5248 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
5249 * misc/Makefile (tests): Add tst-warn-wide.
5250 * misc/tst-warn-wide.c: New file.
5252 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
5253 Szabolcs Nagy <szabolcs.nagy@arm.com>
5255 * NEWS: Mention sinf, cosf, sincosf.
5256 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
5257 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
5258 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
5259 constants rather than including generic sincosf.h.
5260 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
5261 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
5262 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
5263 (reduced_cos): Remove.
5264 (sinf_poly): New function.
5265 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
5267 2018-08-14 Florian Weimer <fweimer@redhat.com>
5271 * nss/nss_files/files-alias.c (get_next_alias): During :include:
5272 processing, bail out if no room, and close the stream before
5274 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
5275 (tst-nss-files-alias-leak): Link with libdl.
5276 (tst-nss-files-alias-leak.out): Depend on nss_files.
5278 * nss/tst-nss-files-alias-leak.c: New file.
5280 2018-08-14 Florian Weimer <fweimer@redhat.com>
5282 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
5283 server_user, stat_user.
5285 2018-08-13 Joseph Myers <joseph@codesourcery.com>
5287 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5289 (io_pgetevents): New syscall.
5292 * manual/install.texi (Configuring and compiling): Do not list
5293 tools used for testing pretty printers here.
5294 (Tools for Compilation): List Python, PExpect and GDB here.
5295 Update descriptions of uses of Perl and Python.
5296 * INSTALL: Regenerate.
5298 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5301 2018-08-13 Florian Weimer <fweimer@redhat.com>
5303 * misc/error.c (error): Add missing va_end call.
5304 (error_at_line): Likewise.
5306 2018-08-13 Florian Weimer <fweimer@redhat.com>
5308 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
5310 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
5312 * benchtests/scripts/benchout.schema.json (properties): Add
5315 * benchtests/bench-skeleton.c (main): Add duration and
5316 iterations attributes.
5318 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
5320 regex: Gnulib unibyte RRI uses bytes not chars
5321 Adjust the non-glibc code to agree with what Gawk needs for
5322 rational range interpretation (RRI) for regular expression ranges.
5323 In unibyte locales, Gawk wants ranges to use the underlying byte
5324 rather than the character code point. This change does not affect
5326 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
5327 In unibyte locales, use the byte value rather than
5328 running it through btowc.
5330 2018-08-10 Joseph Myers <joseph@codesourcery.com>
5332 * sysdeps/generic/math-tests-snan.h: New file.
5333 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
5334 (SNAN_TESTS_float): Do not define here.
5335 (SNAN_TESTS_double): Likewise.
5336 (SNAN_TESTS_long_double): Likewise.
5337 (SNAN_TESTS_float128): Likewise.
5338 * sysdeps/i386/fpu/math-tests-snan.h: New file.
5339 * sysdeps/i386/fpu/math-tests.h: Remove file.
5340 * sysdeps/ia64/math-tests-snan.h: New file.
5341 * sysdeps/ia64/math-tests.h: Remove file.
5342 * sysdeps/x86/math-tests.h: Likewise.
5343 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
5345 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
5346 Szabolcs Nagy <szabolcs.nagy@arm.com>
5348 * math/Makefile: Add s_sincosf_data.c.
5349 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
5350 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
5351 (sincosf_poly): Likewise.
5352 (reduce_small): Likewise.
5353 (reduce_large): Likewise.
5354 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
5355 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
5356 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
5357 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
5359 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
5360 Szabolcs Nagy <szabolcs.nagy@arm.com>
5362 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
5363 (converttoint): Use lround.
5364 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
5365 document the semantics when TOINT_INTRINSICS is set.
5366 (converttoint): Likewise.
5367 (TOINT_RINT): Remove.
5368 (TOINT_SHIFT): Remove.
5369 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
5372 2018-08-10 Florian Weimer <fweimer@redhat.com>
5375 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
5377 (__old_getdents64): Use getdents64. Convert entries without
5379 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
5380 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
5381 tst-readdir64-compat.
5383 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5385 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
5388 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5390 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
5391 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
5392 code to s390x-mcount.h and #include it.
5393 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
5394 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
5397 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5399 * stdlib/Versions: Remove __fentry__.
5400 * sysdeps/i386/Versions: Add __fentry__.
5401 * sysdeps/x86_64/Versions: Add __fentry__.
5403 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5405 * sysdeps/s390/Makefile: Register the new tests.
5406 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
5407 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
5408 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
5409 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
5410 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
5411 * sysdeps/s390/tst-dl-runtime.c: New file.
5413 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5415 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
5418 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5420 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
5423 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5425 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
5428 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5430 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
5433 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5435 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
5436 Use symbolic offsets for stack variables.
5438 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5440 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
5441 Use symbolic offsets for stack variables.
5443 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5445 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
5446 Use symbolic offsets for stack variables.
5448 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5450 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
5451 Use symbolic offsets for stack variables.
5453 2018-08-09 Joseph Myers <joseph@codesourcery.com>
5455 * math/gen-libm-test.py: New file.
5456 * math/gen-libm-test.pl: Remove.
5457 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
5458 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
5460 ($(libm-test-c-noauto-obj)): Likewise.
5461 ($(libm-test-c-auto-obj)): Likewise.
5462 ($(libm-test-c-narrow-obj)): Likewise.
5463 (regen-ulps): Likewise.
5464 * math/README.libm-test: Update references to gen-libm-test.pl.
5465 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
5466 referencing gen-libm-test.pl.
5467 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
5468 * math/libm-test-support.c: Likewise.
5469 * math/libm-test-support.h: Likewise.
5470 * sysdeps/generic/libm-test-ulps: Likewise.
5472 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
5474 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
5477 2018-08-08 Joseph Myers <joseph@codesourcery.com>
5479 * math/libm-test-nextdown.inc (do_test): Move comment to ....
5480 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
5482 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
5484 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
5486 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
5487 __pthread_setspecific): Add hidden proto.
5488 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
5489 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
5491 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
5493 * benchtests/bench-string.h (buf1_size, buf2_size): New
5495 (init_sizes): New function.
5496 (test_init): Use it.
5497 (alloc_buf, exit_error): New functions.
5498 (alloc_bufs): Use ALLOC_BUF.
5499 (realloc_bufs): Remove.
5500 * benchtests/bench-memcmp.c (do_test): Adjust.
5501 * benchtests/bench-memset-large.c (do_test): Likewise.
5502 * benchtests/bench-memset-walk.c (do_test): Likewise.
5503 * benchtests/bench-memset.c (do_test): Likewise.
5504 * benchtests/bench-strncmp.c (do_test): Likewise.
5506 2018-08-06 Andreas Schwab <schwab@suse.de>
5508 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
5509 of CONST_THREAD_AREA.
5511 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
5513 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
5514 (STATE_SAVE_MASK): Likewise.
5515 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
5516 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
5517 (STATE_SAVE_MASK): Likewise.
5518 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
5519 instead of <cpu-features.h>.
5521 2018-08-03 DJ Delorie <dj@redhat.com>
5523 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
5524 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
5526 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
5528 2018-08-03 Joseph Myers <joseph@codesourcery.com>
5530 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
5532 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
5533 * math/libm-test-logb.inc (logb_test_data): Likewise.
5535 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
5537 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
5538 * string/strstr.c (AVAILABLE): Likewise.
5540 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
5542 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
5544 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
5545 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
5546 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
5548 2018-08-03 Carlos O'Donell <carlos@redhat.com>
5550 * po/be.po: Update translation.
5552 * po/be.po: Update translation.
5554 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
5556 * sysdeps/x86/cpu-features-offsets.sym
5557 (rtld_global_ro_offsetof): Removed.
5558 (CPU_FEATURES_SIZE): Likewise.
5559 (CPUID_OFFSET): Likewise.
5560 (CPUID_SIZE): Likewise.
5561 (CPUID_EAX_OFFSET): Likewise.
5562 (CPUID_EBX_OFFSET): Likewise.
5563 (CPUID_ECX_OFFSET): Likewise.
5564 (CPUID_EDX_OFFSET): Likewise.
5565 (FAMILY_OFFSET): Likewise.
5566 (MODEL_OFFSET): Likewise.
5567 (FEATURE_OFFSET): Likewise.
5568 (FEATURE_SIZ): Likewise.
5569 (COMMON_CPUID_INDEX_1): Likewise.
5570 (COMMON_CPUID_INDEX_7): Likewise.
5571 (FEATURE_INDEX_1): Likewise.
5572 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
5574 2018-08-02 Carlos O'Donell <carlos@redhat.com>
5576 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
5577 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
5578 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
5579 (install-locales): Depend on install-locale-archive.
5580 (install-locale-archive): Define.
5581 (install-locale-files): Define.
5582 (build-one-locale): Define macro.
5583 * manual/install.texi (Running make install): Document.
5584 * manual/INSTALL: Regenerate.
5586 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
5588 * benchtests/scripts/compare_strings.py: Import traceback.
5589 (parse_file): Pretty-print error.
5591 * NEWS: Mention the change.
5592 * elf/dl-tunables.list: Rename tune namespace to cpu.
5593 * sysdeps/powerpc/dl-tunables.list: Likewise.
5594 * sysdeps/x86/dl-tunables.list: Likewise.
5595 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
5597 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
5598 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
5599 * manual/README.tunables: Likewise.
5600 * manual/tunables.texi: Likewise.
5601 * sysdeps/powerpc/cpu-features.c: Likewise.
5602 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
5603 (init_cpu_features): Likewise.
5604 * sysdeps/x86/cpu-features.c: Likewise.
5605 * sysdeps/x86/cpu-features.h: Likewise.
5606 * sysdeps/x86/cpu-tunables.c: Likewise.
5607 * sysdeps/x86_64/Makefile: Likewise.
5608 * sysdeps/x86/dl-cet.c: Likewise.
5610 2018-08-02 Joseph Myers <joseph@codesourcery.com>
5613 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
5614 [__mips_hard_float].
5615 (FE_UNDERFLOW): Likewise.
5616 (FE_OVERFLOW): Likewise.
5617 (FE_DIVBYZERO): Likewise.
5618 (FE_INVALID): Likewise.
5619 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
5620 (FE_TOWARDZERO): Define only if [__mips_hard_float].
5621 (FE_UPWARD): Likewise.
5622 (FE_DOWNWARD): Likewise.
5623 (__FE_UNDEFINED): Define if [!__mips_hard_float]
5624 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
5625 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
5626 [__mips_hard_float].
5627 (FP_ROUNDMODE): Likewise.
5628 (FP_RND_NEAREST): Likewise.
5629 (FP_RND_ZERO): Likewise.
5630 (FP_RND_PINF): Likewise.
5631 (FP_RND_MINF): Likewise.
5632 (FP_EX_INVALID): Likewise.
5633 (FP_EX_OVERFLOW): Likewise.
5634 (FP_EX_UNDERFLOW): Likewise.
5635 (FP_EX_DIVZERO): Likewise.
5636 (FP_EX_INEXACT): Likewise.
5637 (FP_INIT_ROUNDMODE): Likewise.
5638 * sysdeps/mips/nofpu/fesetenv.c: New file.
5639 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
5641 2018-08-01 Joseph Myers <joseph@codesourcery.com>
5643 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
5644 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
5645 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
5646 conditional on [FE_UPWARD].
5648 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
5650 regex: fix memory leak in Gnulib
5651 Problem and fix reported by Assaf Gordon in:
5652 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
5653 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
5654 range_ends members too, as they are defined in 'struct
5655 re_charset_t' even if not _LIBC. This affects only Gnulib.
5657 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
5659 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
5661 (get_common_indices): This.
5662 (init_cpu_features): Updated.
5664 2018-08-01 Joseph Myers <joseph@codesourcery.com>
5666 * sysdeps/generic/math-tests-snan-payload.h: New file.
5667 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
5668 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
5669 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
5670 * sysdeps/generic/math-tests.h: Include
5671 <math-tests-snan-payload.h>.
5672 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
5673 * sysdeps/hppa/math-tests.h: Remove file.
5674 * sysdeps/mips/math-tests.h [!__mips_nan2008]
5675 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
5676 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
5679 * sysdeps/generic/math-tests-snan-cast.h: New file.
5680 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
5681 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
5682 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
5683 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
5685 2018-08-01 Carlos O'Donel <carlos@redhat.com>
5687 * version.h (RELEASE): Set to "development".
5688 (VERSION): Set to "2.28.9000".
5689 * NEWS (2.29): New section.
5691 * version.h (RELEASE): Set to "stable".
5692 (VERSION): Set to "2.28".
5693 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
5694 * NEWS: Add the list of bugs fixed in 2.28.
5696 * po/ca.po: Update to latest version.
5697 * po/cs.po: Likewise
5698 * po/da.po: Likewise
5699 * po/el.po: Likewise
5700 * po/eo.po: Likewise
5701 * po/es.po: Likewise
5702 * po/fi.po: Likewise
5703 * po/fr.po: Likewise
5704 * po/gl.po: Likewise
5705 * po/hu.po: Likewise
5706 * po/ia.po: Likewise
5707 * po/id.po: Likewise
5708 * po/it.po: Likewise
5709 * po/ja.po: Likewise
5710 * po/ko.po: Likewise
5711 * po/lt.po: Likewise
5712 * po/nb.po: Likewise
5713 * po/nl.po: Likewise
5714 * po/pt_BR.po: Likewise
5715 * po/ru.po: Likewise
5716 * po/rw.po: Likewise
5717 * po/sk.po: Likewise
5718 * po/sl.po: Likewise
5719 * po/tr.po: Likewise
5720 * po/zh_CN.po: Likewise
5721 * po/zh_TW.po: Likewise
5723 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
5725 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
5727 (init): ... before initializing libpthread.
5729 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
5730 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
5731 (__mach_setup_tls): ... new function.
5732 (mach_setup_tls): New alias.
5733 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
5734 __mach_setup_thread.
5735 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
5736 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
5737 * mach/Versions [libc] (mach_setup_tls): Add symbol.
5738 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
5740 2018-07-31 Carlos O'Donell <carlos@redhat.com>
5742 * manual/install.texi: Update versions.
5743 * INSTALL: Regenerate.
5745 * manual/contrib.texi (Contributors): Update contributions.
5747 2018-07-31 Carlos O'Donell <carlos@redhat.com>
5749 * po/be.po: Update translations.
5751 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5753 * sysdeps/sh/libm-test-ulps: Update.
5755 2018-07-30 Carlos O'Donell <carlos@redhat.com>
5757 * po/bg.po: Update translations.
5758 * po/de.po: Likewise.
5759 * po/hr.po: Likewise.
5760 * po/pt_BR.po: Likewise.
5761 * po/sv.po: Likewise.
5762 * po/vi.po: Likewise.
5764 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
5767 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
5768 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
5769 (CFLAGS-tst-cet-property-1.o): New.
5770 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
5771 ($(objpfx)tst-cet-property-2): Likewise.
5772 ($(objpfx)tst-cet-property-2.out): Likewise.
5773 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
5774 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
5775 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
5776 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
5777 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
5779 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
5782 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
5784 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5786 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
5787 __sbrk): Do not set attribute_hidden.
5788 * sysdeps/mach/hurd/not-errno.h: New file.
5789 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
5790 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
5792 2018-07-27 Carlos O'Donell <carlos@redhat.com>
5794 * po/uk.po: Update translations.
5795 * po/cs.po: Likewise.
5796 * po/pl.po: Likewise.
5798 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
5800 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
5801 parse beyond the note end.
5803 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5805 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
5806 kernel does not support OFD locks.
5807 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
5809 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5811 * sysdeps/mach/hurd/Versions (libc): Make __access and
5812 __access_noerrno external so they can override the ld symbols.
5813 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
5814 __writev, __open64, __access_noerrno extern so they can be overrided.
5815 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
5816 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
5818 2018-07-26 Carlos O'Donell <carlos@redhat.com>
5820 * po/libc.pot: Regenerate.
5822 2018-07-26 Joseph Myers <joseph@codesourcery.com>
5824 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
5826 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
5829 * sysdeps/x86/cpu-features.c (get_extended_indices): New
5831 (init_cpu_features): Call get_extended_indices for both Intel
5833 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
5834 Remove "for AMD" comment.
5836 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
5839 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
5840 COMMON_CPUID_INDEX_80000001.
5842 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
5844 * string/tst-xbzero-opt.c (use_test_buffer): New function.
5845 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
5847 2018-07-26 Florian Weimer <fweimer@redhat.com>
5849 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
5850 aliases for symbols not in the implementation namespace.
5852 2018-07-25 Carlos O'Donell <carlos@redhat.com>
5855 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
5856 lowercase in LATIN script.
5857 * localedata/Makefile (test-input): Add en_US.UTF-8.
5858 * localedata/en_US.UTF-8.in: New file.
5859 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
5860 and restore old tests.
5861 * posix/tst-regexloc.c (do_test): Add back range expression test.
5863 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5865 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
5867 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5869 * nptl/threads.h: Move to ...
5870 * sysdeps/nptl/threads.h: ... here.
5871 * sysdeps/hurd/stdc-predef.h: New file.
5873 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5875 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
5876 tst-cet-setcontext-1 if CET is enabled.
5877 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
5878 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
5880 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5882 * include/threads.h: Move to ...
5883 * sysdeps/nptl/threads.h: ... here.
5884 * sysdeps/htl/threads.h: New file.
5885 * conform/Makefile (linknamespace-libs-ISO11): Use
5886 static-thread-library instead of linking libpthread.
5887 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
5889 2018-07-25 Florian Weimer <fweimer@redhat.com>
5891 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
5892 nanoseconds into seconds.
5893 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
5894 (do_test): Likewise.
5895 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
5896 (do_test): Likewise. Avoid nanosecond overflow and spurious
5897 timeouts due to system load.
5898 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
5899 (child_wait): Increment it.
5900 (do_test): Wait as long as necessary until all expected threads
5903 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
5904 H.J. Lu <hongjiu.lu@intel.com>
5906 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
5908 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
5909 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
5910 (__push___start_context): New.
5911 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
5913 (__getcontext): Record the current shadow stack base. Save the
5914 caller's shadow stack pointer and base.
5915 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
5916 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
5917 (__push___start_context): New prototype.
5918 (__makecontext): Call __push___start_context to allocate a new
5919 shadow stack, push __start_context onto the new stack as well
5920 as the new shadow stack.
5921 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
5923 (__setcontext): Restore the target shadow stack.
5924 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
5926 (__swapcontext): Record the current shadow stack base. Save
5927 the caller's shadow stack pointer and base. Restore the target
5929 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5930 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
5931 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
5933 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5935 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
5936 tst-setcontext8 and tst-setcontext9.
5937 * stdlib/tst-setcontext6.c: New file.
5938 * stdlib/tst-setcontext7.c: Likewise.
5939 * stdlib/tst-setcontext8.c: Likewise.
5940 * stdlib/tst-setcontext9.c: Likewise.
5942 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5944 * stdlib/Makefile ((tests): Add tst-setcontext5.
5945 * stdlib/tst-setcontext5.c: New file.
5947 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5949 * stdlib/Makefile (tests): Add tst-setcontext4.
5950 * stdlib/tst-setcontext4.c: New file.
5952 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5954 * stdlib/Makefile (tests): Add tst-swapcontext1.
5955 * stdlib/tst-swapcontext1.c: New test.
5957 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
5959 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
5960 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
5961 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
5962 and tst-cet-legacy-4c.
5963 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
5964 and tst-cet-legacy-mod-4.
5965 (CFLAGS-tst-cet-legacy-2.c): New.
5966 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
5967 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
5968 (CFLAGS-tst-cet-legacy-3.c): Likewise.
5969 (CFLAGS-tst-cet-legacy-4.c): Likewise.
5970 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
5971 ($(objpfx)tst-cet-legacy-1): Likewise.
5972 ($(objpfx)tst-cet-legacy-2): Likewise.
5973 ($(objpfx)tst-cet-legacy-2.out): Likewise.
5974 ($(objpfx)tst-cet-legacy-2a): Likewise.
5975 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
5976 ($(objpfx)tst-cet-legacy-4): Likewise.
5977 ($(objpfx)tst-cet-legacy-4.out): Likewise.
5978 ($(objpfx)tst-cet-legacy-4a): Likewise.
5979 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
5980 (tst-cet-legacy-4a-ENV): Likewise.
5981 ($(objpfx)tst-cet-legacy-4b): Likewise.
5982 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
5983 (tst-cet-legacy-4b-ENV): Likewise.
5984 ($(objpfx)tst-cet-legacy-4c): Likewise.
5985 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
5986 (tst-cet-legacy-4c-ENV): Likewise.
5987 * sysdeps/x86/tst-cet-legacy-1.c: New file.
5988 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
5989 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
5990 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
5991 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
5992 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
5993 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
5994 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
5995 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
5996 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
5997 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
5999 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6001 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
6002 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
6004 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
6005 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
6008 2018-07-25 Andreas Schwab <schwab@suse.de>
6011 * locale/weightwc.h (findidx): Handle the case where usrc is a
6012 prefix of cp but one character too short.
6014 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6016 * NEWS: Add ISO C threads addition.
6018 2018-07-24 Florian Weimer <fweimer@redhat.com>
6020 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6021 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
6022 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
6025 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
6027 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
6028 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
6029 <sys/prctl.h> and <asm/prctl.h>.
6030 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
6031 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
6033 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
6034 ARCH_CET_LEGACY_BITMAP.
6035 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
6036 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
6037 * sysdeps/x86/libc-start.c: Include <startup.h>.
6039 2018-07-24 Florian Weimer <fweimer@redhat.com>
6041 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
6042 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
6044 2018-07-24 Rical Jasan <rj@2c3t.io>
6045 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6046 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
6049 * manual/debug.texi: Update adjacent chapter name.
6050 * manual/probes.texi: Likewise.
6051 * manual/threads.texi (ISO C Threads): New section.
6052 (POSIX Threads): Convert to a section.
6054 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6055 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
6058 * nptl/Makefile (tests): Add new test files.
6059 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
6060 * nptl/tst-cnd-basic.c: Likewise.
6061 * nptl/tst-cnd-broadcast.c: Likewise.
6062 * nptl/tst-cnd-timedwait.c: Likewise.
6063 * nptl/tst-mtx-basic.c: Likewise.
6064 * nptl/tst-mtx-recursive.c: Likewise.
6065 * nptl/tst-mtx-timedlock.c: Likewise.
6066 * nptl/tst-mtx-trylock.c: Likewise.
6067 * nptl/tst-thrd-basic.c: Likewise.
6068 * nptl/tst-thrd-detach.c: Likewise.
6069 * nptl/tst-thrd-sleep.c: Likewise.
6070 * nptl/tst-tss-basic.c: Likewise.
6072 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6075 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
6076 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
6078 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6079 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6080 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6081 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6082 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6083 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6084 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6085 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6086 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6087 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6088 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6089 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6097 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
6098 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6099 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6100 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6101 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6102 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6103 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6104 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6105 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
6106 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
6107 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
6108 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
6109 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
6111 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
6112 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
6113 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
6114 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
6115 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
6116 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
6117 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
6118 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
6119 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
6120 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
6121 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
6122 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
6124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
6125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
6127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
6129 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
6130 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
6131 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
6132 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
6133 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
6134 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
6135 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
6136 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
6139 * conform/data/threads.h-data (thread_local): New macro.
6140 (TSS_DTOR_ITERATIONS): Likewise.
6142 (tss_dtor_t): Likewise.
6143 (tss_create): New function.
6144 (tss_get): Likewise.
6145 (tss_set): Likewise.
6146 (tss_delete): Likewise.
6147 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
6148 tss_get, and tss_set objects.
6149 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
6150 * nptl/tss_create.c: New file.
6151 * nptl/tss_delete.c: Likewise.
6152 * nptl/tss_get.c: Likewise.
6153 * nptl/tss_set.c: Likewise.
6154 * sysdeps/nptl/threads.h (thread_local): New define.
6155 (TSS_DTOR_ITERATIONS): Likewise.
6156 (tss_t): New typedef.
6157 (tss_dtor_t): Likewise.
6158 (tss_create): New prototype.
6159 (tss_get): Likewise.
6160 (tss_set): Likewise.
6161 (tss_delete): Likewise.
6164 * conform/data/threads.h-data (cnd_t): New type.
6165 (cnd_init): New function.
6166 (cnd_signal): Likewise.
6167 (cnd_broadcast): Likewise.
6168 (cnd_wait): Likewise.
6169 (cnd_timedwait): Likewise.
6170 (cnd_destroy): Likewise.
6171 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
6172 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
6174 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
6175 * nptl/cnd_broadcast.c: New file.
6176 * nptl/cnd_destroy.c: Likewise.
6177 * nptl/cnd_init.c: Likewise.
6178 * nptl/cnd_signal.c: Likewise.
6179 * nptl/cnd_timedwait.c: Likewise.
6180 * nptl/cnd_wait.c: Likewise.
6181 * sysdeps/nptl/threads.h (cnd_t): New type.
6182 (cnd_init): New prototype.
6183 (cnd_signa): Likewise.
6184 (cnd_broadcast): Likewise.
6185 (cnd_wait): Likewise.
6186 (cnd_timedwait): Likewise.
6187 (cnd_destroy): Likewise.
6190 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
6191 (once_flag): New type.
6192 (call_once): New function.
6193 * nptl/Makefile (libpthread-routines): Add call_once object.
6194 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
6195 * nptl/call_once.c: New file.
6196 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
6197 (once_flag): New type.
6198 (call_once): New prototype.
6201 * conform/data/threads.h-data (mtx_plain): New constant.
6202 (mtx_recursive): Likewise.
6203 (mtx_timed): Likewise.
6205 (mtx_init): New function.
6206 (mtx_lock): Likewise.
6207 (mtx_timedlock): Likewise.
6208 (mtx_trylock): Likewise.
6209 (mtx_unlock): Likewise.
6210 (mtx_destroy): Likewise.
6211 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
6212 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
6213 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
6214 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
6215 * nptl/mtx_destroy.c: New file.
6216 * nptl/mtx_init.c: Likewise.
6217 * nptl/mtx_lock.c: Likewise.
6218 * nptl/mtx_timedlock.c: Likewise.
6219 * nptl/mtx_trylock.c: Likewise.
6220 * nptl/mtx_unlock.c: Likewise.
6221 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
6222 (mtx_recursive): Likewise.
6223 (mtx_timed): Likewise.
6225 (mtx_init): New prototype.
6226 (mtx_lock): Likewise.
6227 (mtx_timedlock): Likewise.
6228 (mtx_trylock): Likewise.
6229 (mtx_unlock): Likewise.
6230 (mtx_destroy): Likewise.
6233 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
6234 (linknamespace-libs-ISO11): Add libpthread.a.
6235 * conform/data/threads.h-data: New file: add C11 thrd_* types and
6237 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
6238 * nptl/Makefile (headers): Add threads.h.
6239 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
6240 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
6242 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
6243 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
6244 thrd_join, thrd_sleep, and thrd_yield symbols.
6245 * nptl/descr.h (struct pthread): Add c11 field.
6246 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
6247 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
6248 routine with expected function prototype.
6249 (__pthread_create_2_1): Add C11 threads check based on attribute
6251 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
6252 * nptl/thrd_create.c: New file.
6253 * nptl/thrd_current.c: Likewise.
6254 * nptl/thrd_detach.c: Likewise.
6255 * nptl/thrd_equal.c: Likewise.
6256 * nptl/thrd_exit.c: Likewise.
6257 * nptl/thrd_join.c: Likewise.
6258 * nptl/thrd_priv.h: Likewise.
6259 * nptl/thrd_sleep.c: Likewise.
6260 * nptl/thrd_yield.c: Likewise.
6261 * include/threads.h: Likewise.
6263 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
6265 * bits/indirect-return.h: New file.
6266 * misc/sys/cdefs.h (__glibc_has_attribute): New.
6267 * sysdeps/x86/bits/indirect-return.h: Likewise.
6268 * stdlib/Makefile (headers): Add bits/indirect-return.h.
6269 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
6270 (swapcontext): Add __INDIRECT_RETURN.
6271 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
6272 (prepare_test_buffer): Use it.
6274 2018-07-24 Andreas Schwab <schwab@suse.de>
6277 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
6278 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
6280 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
6282 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
6283 Redefine if shadow stack is enabled.
6284 (SYSCALL_ERROR_LABEL): Likewise.
6285 (__vfork): Pop shadow stack and jump back to to caller directly
6286 when shadow stack is in use.
6287 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
6288 Redefine if shadow stack is enabled.
6289 (SYSCALL_ERROR_LABEL): Likewise.
6290 (__vfork): Pop shadow stack and jump back to to caller directly
6291 when shadow stack is in use.
6293 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
6295 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
6298 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
6301 2018-07-20 Joseph Myers <joseph@codesourcery.com>
6303 * scripts/build-many-glibcs.py (Context.checkout): Default
6304 binutils version to 2.31 branch.
6306 2018-07-20 Zong Li <zong@andestech.com>
6308 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
6309 URL of gcc's tarball.
6311 2018-07-20 Florian Weimer <fweimer@redhat.com>
6314 * posix/regcomp.c (build_equiv_class): When comparing weights, do
6315 not compare an extra byte after the end of the weights.
6317 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
6319 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
6321 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
6323 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
6324 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
6325 * scripts/check-execstack.awk: Consider `xfail' variable containing a
6326 list of libraries whose stack executability is expected.
6327 * elf/Makefile ($(objpfx)check-execstack.out): Pass
6328 $(check-execstack-xfail) to check-execstack.awk through `xfail'
6330 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
6331 libc.so libpthread.so.
6333 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
6335 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
6337 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
6339 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
6341 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
6343 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6345 * benchtests/scripts/compare_bench.py (__main__): use the argparse
6346 library to improve command line parsing.
6347 (__main__): make schema file as optional parameter (--schema),
6348 defaulting to benchtests/scripts/benchout.schema.json.
6349 (main): move out of the parsing stuff to __main_ and leave it
6350 only as caller of main comparison functions.
6352 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
6354 * NEWS: Add a note for Intel CET status.
6355 * manual/install.texi: Likewise.
6356 * INSTALL: Regenerated.
6358 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
6361 * localedata/locales/oc_FR (mon): Rename to...
6362 (alt_mon): This, then update October (typo fix).
6363 (mon): New content (genitive case, month names preceded by
6367 * localedata/locales/oc_FR (abday): Update all items.
6368 (day): Update Wednesday and Saturday (typo fixes).
6369 (abmon): Update all items, except May.
6370 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
6371 (LC_IDENTIFICATION): Bump the revision number and date.
6372 Keep the "category" entries in alphabetic order.
6373 (LC_ADDRESS): Remove no longer needed comment.
6374 (LC_COLLATE): Use “copy "ca_ES"”.
6375 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
6378 2018-07-18 Joseph Myers <joseph@codesourcery.com>
6380 * grp/tst_fgetgrent.c: Include <unistd.h>.
6381 (main): Use mkstemp instead of tmpnam.
6382 * io/test-utime.c (main): Likewise.
6383 * posix/annexc.c (macrofile): Change to modifiable array.
6384 (main): Remove macrofile here.
6385 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
6387 (check_header): Do not remove macrofile here.
6388 * posix/bug-getopt1.c: Include <stdlib.h>.
6389 (do_test): Use mkstemp instead of tmpnam.
6390 * posix/bug-getopt2.c: Include <stdlib.h>.
6391 (do_test): Use mkstemp instead of tmpnam.
6392 * posix/bug-getopt3.c: Include <stdlib.h>.
6393 (do_test): Use mkstemp instead of tmpnam.
6394 * posix/bug-getopt4.c: Include <stdlib.h>.
6395 (do_test): Use mkstemp instead of tmpnam.
6396 * posix/bug-getopt5.c: Include <stdlib.h>.
6397 (do_test): Use mkstemp instead of tmpnam.
6398 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
6399 (main): Use mkstemp instead of tmpnam.
6400 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
6401 (main): Use mkstemp instead of tmpnam.
6402 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
6403 (main): use mkstemp instead of tmpnam.
6404 * stdlib/isomac.c (macrofile): Change to modifiable array.
6405 (main): Remove macrofile here.
6406 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
6408 (check_header): Do not remove macrofile here.
6410 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6412 * manual/tunables.texi: Document glibc.tune.x86_ibt and
6413 glibc.tune.x86_shstk.
6415 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6417 * NEWS: Mention --enable-cet.
6418 * manual/install.texi: Document --enable-cet.
6419 * INSTALL: Regenerated.
6421 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6423 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
6424 Add _CET_NOTRACK before indirect jump to jump table.
6426 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6428 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
6429 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6432 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6434 * sysdeps/i386/i686/multiarch/strcat-sse2.S
6435 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6438 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6440 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
6441 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6444 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6446 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
6447 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6450 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6452 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
6453 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6455 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
6457 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6459 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
6460 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6463 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6465 * sysdeps/i386/i686/multiarch/memset-sse2.S
6466 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6469 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6471 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
6472 indirect jump to jump table.
6474 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6476 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
6477 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6481 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6483 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
6484 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6488 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6490 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
6491 _CET_NOTRACK before indirect jump to jump table.
6493 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6495 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
6496 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6499 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6501 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
6502 indirect jump to jump table.
6504 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
6507 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
6508 (LOCALES): Likewise.
6509 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
6510 * localedata/locales/sah_RU: New file.
6511 * localedata/sah_RU.UTF-8.in: New file.
6513 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
6515 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
6517 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
6518 _CET_ENDBR to indirect jump targets and adjust jump destination
6520 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
6522 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
6523 _CET_ENDBR to indirect jump targets and adjust jump destination
6525 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
6527 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
6528 _CET_ENDBR to indirect jump targets and adjust jump destination
6531 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
6533 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
6536 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
6538 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
6540 (_dl_tlsdesc_undefweak): Likewise.
6541 (_dl_tlsdesc_dynamic): Likewise.
6542 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
6543 (_dl_tlsdesc_resolve_rel): Likewise.
6544 (_dl_tlsdesc_resolve_rela): Likewise.
6545 (_dl_tlsdesc_resolve_hold): Likewise.
6546 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
6547 (_dl_tlsdesc_undefweak): Likewise.
6548 (_dl_tlsdesc_dynamic): Likewise.
6549 (_dl_tlsdesc_resolve_rela): Likewise.
6550 (_dl_tlsdesc_resolve_hold): Likewise.
6552 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
6554 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
6556 * sysdeps/x86_64/crti.S (_init): Likewise.
6559 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
6562 * localedata/locales/os_RU (mon): Rename to...
6564 (mon): Import from CLDR (genitive case).
6566 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
6568 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
6569 cet-tunables.h> when CET is enabled.
6571 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
6574 * configure.ac: Add --enable-cet.
6575 * configure: Regenerated.
6576 * elf/Makefille (all-built-dso): Add a comment.
6577 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
6578 Include <dl-prop.h>.
6579 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
6581 * elf/dl-open.c: Include <dl-prop.h>.
6582 (dl_open_worker): Call _dl_open_check.
6583 * elf/rtld.c: Include <dl-prop.h>.
6584 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
6586 * sysdeps/generic/dl-prop.h: New file.
6587 * sysdeps/i386/dl-cet.c: Likewise.
6588 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
6589 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
6590 * sysdeps/x86/cet-tunables.h: Likewise.
6591 * sysdeps/x86/check-cet.awk: Likewise.
6592 * sysdeps/x86/configure: Likewise.
6593 * sysdeps/x86/configure.ac: Likewise.
6594 * sysdeps/x86/dl-cet.c: Likewise.
6595 * sysdeps/x86/dl-procruntime.c: Likewise.
6596 * sysdeps/x86/dl-prop.h: Likewise.
6597 * sysdeps/x86/libc-start.h: Likewise.
6598 * sysdeps/x86/link_map.h: Likewise.
6599 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
6601 (_dl_runtime_profile): Likewise.
6602 (_dl_runtime_resolve_shstk): New.
6603 (_dl_runtime_profile_shstk): Likewise.
6604 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
6606 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
6607 (CFLAGS-.os): Likewise.
6608 (CFLAGS-.op): Likewise.
6609 (CFLAGS-.oS): Likewise.
6610 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
6612 (tests-special): Add $(objpfx)check-cet.out.
6613 (cet-built-dso): New.
6614 (+$(cet-built-dso:=.note)): Likewise.
6615 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
6616 ($(objpfx)check-cet.out): New.
6617 (generated): Add check-cet.out.
6618 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
6620 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
6621 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
6622 (init_cpu_features): Call get_cet_status to check CET status
6623 and update dl_x86_feature_1 with CET status. Call
6624 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
6625 (set_x86_shstk). Disable and lock CET in libc.a.
6626 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
6627 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
6628 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
6629 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
6630 (_CET_ENDBR): Define if not defined.
6631 (ENTRY): Add _CET_ENDBR.
6632 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
6634 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
6636 (_dl_runtime_profile): Likewise.
6638 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
6641 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
6642 restore r2 on longjmp.
6643 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
6645 Added rules to build test tst-setjmp-bug21895-static.
6646 Added module setjmp-bug21895 and rules to build a shared object from it.
6647 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
6648 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
6650 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
6652 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
6653 * benchtests/bench-strstr.c: Likewise.
6654 * string/memmem.c (FASTSEARCH): Define.
6655 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
6656 Add support for FASTSEARCH.
6657 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
6658 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
6659 (FASTSEARCH): Define.
6660 * string/test-strcasestr.c: Rename __strnlen to strnlen.
6661 * string/test-strstr.c: Likewise.
6663 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
6665 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
6666 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
6668 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
6669 H.J. Lu <hongjiu.lu@intel.com>
6671 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
6672 (__longjmp): Restore shadow stack pointer if shadow stack is
6673 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
6674 isn't defined for __longjmp_cancel.
6675 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
6676 (_setjmp): Save shadow stack pointer if shadow stack is enabled
6677 and SHADOW_STACK_POINTER_OFFSET is defined.
6678 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
6679 (setjmp): Save shadow stack pointer if shadow stack is enabled
6680 and SHADOW_STACK_POINTER_OFFSET is defined.
6681 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
6682 (__sigsetjmp): Save shadow stack pointer if shadow stack is
6683 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
6684 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
6686 (____longjmp_chk): Restore shadow stack pointer if shadow stack
6687 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
6688 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
6689 Remove jmp_buf-ssp.sym.
6690 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6692 (____longjmp_chk): Restore shadow stack pointer if shadow stack
6693 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
6694 * sysdeps/x86/Makefile (gen-as-const-headers): Add
6696 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
6697 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
6698 (__longjmp): Restore shadow stack pointer if shadow stack is
6699 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
6700 isn't defined for __longjmp_cancel.
6701 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
6702 (__sigsetjmp): Save shadow stack pointer if shadow stack is
6703 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
6705 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
6708 * nptl/pthread_create.c: Include <tls-setup.h>.
6709 (__pthread_create_2_1): Call tls_setup_tcbhead.
6710 * sysdeps/generic/tls-setup.h: New file.
6711 * sysdeps/x86/nptl/tls-setup.h: Likewise.
6712 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
6713 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
6715 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
6717 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
6718 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
6719 (X86_FEATURE_1_SHSTK): Likewise.
6720 (CET_ENABLED): Likewise.
6721 (IBT_ENABLED): Likewise.
6722 (SHSTK_ENABLED): Likewise.
6724 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
6727 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
6728 (LOCALES): Likewise.
6729 * localedata/dsb_DE.UTF-8.in: New file.
6730 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
6732 2018-07-12 Florian Weimer <fweimer@redhat.com>
6734 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
6735 __mprotect, not mprotect.
6737 2018-07-11 Florian Weimer <fweimer@redhat.com>
6739 * io/Makefile (headers): Add bits/statx.h.
6741 2018-07-10 Mike FABIAN <mfabian@redhat.com>
6743 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
6744 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
6746 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
6747 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
6750 2018-07-10 Florian Weimer <fweimer@redhat.com>
6752 * io/Makefile (routines): Add statx.
6753 (tests-internal): Add tst-statx.
6754 * io/Versions (GLIBC_2.28): Export statx.
6755 * io/bits/statx.h: New file.
6756 * io/sys/stat.h [__USE_GNU]: Include it.
6757 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
6758 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
6760 * io/statx.c: New file.
6761 * io/statx_generic.: Likewise.
6762 * io/tst-statx.: Likewise.
6763 * include/bits/statx.h: Likewise.
6764 * sysdeps/unix/sysv/linux/kernel-features.h
6765 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
6766 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6767 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
6768 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
6770 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6771 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
6772 * sysdeps/unix/sysv/linux/statx.c: New file.
6773 * manual/filesys.texi: Note that statx is undocumented.
6774 * sysdeps/**/libc*.abilist: Update.
6776 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6778 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
6779 a kernel issue which lead to test failure in some cases.
6781 2018-07-10 Florian Weimer <fweimer@redhat.com>
6784 * posix/regexec.c (check_node_accept_bytes): When comparing
6785 weights, do not compare an extra byte after the end of the
6788 2018-07-10 Florian Weimer <fweimer@redhat.com>
6790 * libio/readline.c: Fix copyright year.
6791 * libio/tst-readline.c Likewise.
6792 * nss/tst-nss-files-hosts-getent.c: Likewise.
6794 2018-07-06 Florian Weimer <fweimer@redhat.com>
6797 * nss/nss_files/files-XXX.c (internal_getent): Use
6798 __libc_readline_unlocked. Seek back to the start of the line if
6799 parsing failes with ERANGE.
6800 (get_contents_ret, get_contents): Remove.
6801 * nss/tst-nss-files-hosts-getent.c: New file.
6802 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
6803 (tst-nss-files-hosts-getent): Link with -ldl.
6805 2018-07-06 Florian Weimer <fweimer@redhat.com>
6807 * include/stdio.h (__libc_readline_unlocked): Declare.
6808 (__ftello64, __fseeko64): Declare aliases.
6809 * libio/readline.c: New file.
6810 * libio/tst-readline.c: Likewise.
6811 (routines): Add readline.
6812 (tests-internal): Add tst-readlime.
6813 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
6814 __libc_readline_unlocked.
6815 * libio/fseeko.c (__fseeko): Rename from fseeko.
6816 (fseeko): Add alias.
6817 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
6818 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
6819 (fseeko64): Add alias.
6820 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
6821 * libio/ftello64.c (__ftello64): Rename from ftello64.
6822 (ftello64): Add alias.
6824 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
6826 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
6829 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
6831 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
6832 Use dl_hwcap without masking.
6833 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
6836 2018-07-06 Florian Weimer <fweimer@redhat.com>
6838 * conform/conformtest.pl (checknamespace): Escape literal braces
6839 in regular expressions.
6841 2018-07-06 Amit Pawar <amit.pawar@amd.com>
6843 * sysdeps/x86/cpu-features.c (get_common_indeces):
6844 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
6845 * sysdeps/x86/cpu-features.c (init_cpu_features):
6846 AVX_Fast_Unaligned_Load is disabled for Excavator core.
6848 2018-07-05 Florian Weimer <fweimer@redhat.com>
6850 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
6852 (CFLAGS-elf-init.oS): Likewise.
6854 2018-07-05 Florian Weimer <fweimer@redhat.com>
6855 Carlos O'Donell <carlos@redhat.com>
6857 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
6858 $(no-stack-protector). stack_chk_fail_local.c can be compiled
6859 with stack protector enabled because there is no risk of infinite
6862 2018-07-05 Maciej W. Rozycki <macro@mips.com>
6866 * libc-abis (ABSOLUTE): New ABI.
6867 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
6868 * NEWS: Mention the new ABI.
6870 2018-07-05 Florian Weimer <fweimer@redhat.com>
6873 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
6874 (RENAME_WHITEOUT): Define.
6875 [__USE_GNU] (renameat2): Declare.
6876 * stdio-common/Makefile (routines): Add renameat2.
6877 (tests): Add tst-renameat2.
6878 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
6879 * stdio-common/renameat2.c: New file.
6880 * stdio-common/tst-renameat2.c: Likewise.
6881 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
6882 * manual/filesys.texi (Temporary Files): Note that renameat2 is
6884 * sysdeps/unix/sysv/linux/kernel-features.h
6885 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
6886 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6887 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
6888 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6889 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
6890 * sysdeps/unix/sysv/linux/sh/kernel-features.h
6891 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
6892 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6893 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
6894 * include/stdio.h (__renameat): Add alias for renameat.
6895 * stdio-common/renameat.c (__renameat): Rename from renameat.
6896 Add hidden definition and alias.
6897 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6898 * sysdeps/mach/hurd/renameat.c: Likewise.
6899 * sysdeps/**/libc*.abilist: Add renameat2.
6901 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6903 * posix/bug-regex33.c: Fix build after regex sync.
6905 2018-07-04 Carlos O'Donell <carlos@redhat.com>
6908 * localedata/tst-langinfo-setlocale.c: New file.
6909 * localedata/tst-langinfo-setlocale-static.c: New file.
6910 * localedata/tst-langinfo-newlocale.c: New file.
6911 * localedata/tst-langinfo-newlocale-static.c: New file.
6912 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
6913 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
6914 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
6915 (tests-static): Remove tst-langinfo-static. Add
6916 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
6917 (tests-special): Remove $(objpfx)tst-langinfo.out,
6918 $(objpfx)tst-langinfo-static.out. Add
6919 $(objpfx)tst-langinfo-setlocale.out,
6920 $(objpfx)tst-langinfo-newlocale.out,
6921 $(objpfx)tst-langinfo-setlocale-static.out,
6922 $(objpfx)tst-langinfo-newlocale-static.out.
6923 ($(objpfx)tst-langinfo.out): Remove.
6924 ($(objpfx)tst-langinfo-static.out): Remove.
6925 ($(objpfx)tst-langinfo-newlocale.out): New target.
6926 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
6927 (test-xfail-tst-langinfo-newlocale-static): Add.
6928 ($(objpfx)tst-langinfo-setlocale.out): New target.
6929 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
6930 * localedata/tst-langinfo.c: Call test_locale.
6931 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
6934 2018-07-04 Florian Weimer <fweimer@redhat.com>
6936 testrun.sh: Implement --tool=strace, --tool=valgrind
6937 * Makefile (testrun-script): Define variable.
6938 (testrun.sh): Use variable.
6939 * manual/install.texi (Tools for Compilation): make 4.0 or later
6941 * configure.ac: Check for make 4.0 or later.
6942 * INSTALL: Regenerate.
6943 * configure: Likewise.
6945 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6951 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
6952 * posix/PCRE.tests: Remove invalid test.
6953 * posix/bug-regex28.c: Fix expected values for used syntax.
6954 * posix/bug-regex37.c: New file.
6955 * posix/bug-regex38.c: Likewise.
6956 * posix/regcomp.c: Sync with gnulib.
6957 * posix/regex.c: Likewise.
6958 * posix/regex.h: Likewise.
6959 * posix/regex_internal.c: Likewise.
6960 * posix/regex_internal.h: Likewise.
6961 * posix/regexec.c: Likewise.
6963 2018-06-26 Mike FABIAN <mfabian@redhat.com>
6966 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
6967 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
6968 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
6969 * localedata/unicode-gen/PropList.txt: likewise.
6970 * localedata/unicode-gen/UnicodeData.txt: likewise.
6971 * localedata/charmaps/UTF-8: Regenerate.
6972 * localedata/locales/i18n_ctype: likewise.
6973 * localedata/locales/tr_TR: likewise.
6974 * localedata/locales/translit_circle: likewise.
6975 * localedata/locales/translit_cjk_compat: likewise.
6976 * localedata/locales/translit_combining: likewise.
6977 * localedata/locales/translit_compat: likewise.
6978 * localedata/locales/translit_font: likewise.
6979 * localedata/locales/translit_fraction: likewise.
6981 2018-07-03 Florian Weimer <fweimer@redhat.com>
6984 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
6985 * stdio-common/tst-printf.sh: Adjust expected output.
6988 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6990 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
6993 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6995 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
6996 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
6997 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
6998 * stdio-common/tst-printfsz-islongdouble.c: New file.
6999 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
7000 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
7001 [subdir == stdio-common] (routines): Add ieee128-printf_size.
7002 [subdir == stdio-common] (tests-internal): Add
7003 test-printf-size-ieee128, and test-printf-size-ibm128.
7004 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
7005 (CFLAGS-test-printf-size-ibm128.c): New variables.
7006 [subdir == stdio-common] (tests-special): Add
7007 $(objpfx)test-printf-size-ieee128.out and
7008 $(objpfx)test-printf-size-ibm128.out.
7009 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
7010 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
7011 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
7012 __printf_sizeieee128.
7013 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
7015 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
7017 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
7020 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
7022 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
7023 (exp2f_inline): Likewise.
7024 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
7025 (__math_uflowf): Likewise.
7026 (__math_may_uflowf): Likewise.
7027 (__math_divzerof): Likewise.
7028 (__math_invalidf): Likewise.
7029 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
7030 (__math_oflowf): Likewise.
7031 (__math_uflowf): Likewise.
7032 (__math_may_uflowf): Likewise.
7033 (__math_divzerof): Likewise.
7034 (__math_invalidf): Likewise.
7036 2018-06-29 DJ Delorie <dj@redhat.com>
7037 Carlos O'Donell <carlos@redhat.com>
7040 * include/libc-symbols.h: Comment the freeres framework.
7041 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
7042 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
7043 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
7044 * dlfcn/dlerror.c: Include libc-symbols.h
7045 (__dlerror_main_freeres): New function.
7046 * dlfcn/dlfreeres.c: New file.
7047 * dlfcn/sdlfreeres.c: New file.
7048 * include/dlfcn.h: Declare __dlerror_main_freeres.
7049 * malloc/set-freeres.c: Declare __libdl_freeres, and
7050 __libpthread_freeres.
7051 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
7052 the releavant libraries are loaded.
7053 * malloc/thread-freeres.c: Add comments.
7054 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
7055 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
7056 * nptl/allocatestack.c (__nptl_free_stacks): New function.
7057 (__free_stacks): Rename to...
7058 (free_stacks): ...this. Mark static.
7059 (queue_stack): Call free_stacks.
7060 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
7061 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
7062 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
7063 ptr_freeres element from struct.
7064 (pthread_functions): Remove .ptr_freeres from struct initializer.
7065 [SHARED] (nptl_freeres): Remove.
7066 * nptl/nptlfreeres.c: New file.
7068 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
7069 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
7071 (__free_stacks): Rename to...
7072 (__nptl_stacks_freeres): ...this.
7073 (__shm_directory_freeres): Declare.
7074 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
7075 (__nptl_unwind_freeres): ...this.
7076 * resolv/res-close.c: Add comment.
7077 * resolv/resolv_conf.c: Include libc-symbols.h.
7078 * string/strerror_l.c: Include libc-symbols.h.
7079 * sunrpc/rpc_thread.c: Include libc-symbols.h.
7080 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
7081 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
7082 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
7084 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7086 * stdlib/tst-strfmon_l.c: Add tests for long double.
7088 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
7091 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
7092 * localedata/locales/dsb_DE: New file.
7094 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
7097 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
7099 (alt_mon): New entry, import from CLDR (nominative case).
7101 2018-06-29 Sylvain Lesage <severo@rednegra.net>
7104 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
7106 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
7108 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
7109 Use vector registers.
7111 * sysdeps/aarch64/multiarch/memmove_falkor.S
7112 (__memcpy_falkor): Use vector registers.
7114 2018-06-29 Martin Sebor <msebor@redhat.com>
7116 * manual/stdio.texi (Customizing Printf): Mention interaction
7119 2018-06-29 Maciej W. Rozycki <macro@mips.com>
7122 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
7123 `st_value' is 0 if `st_shndx' is SHN_ABS.
7124 * elf/tst-absolute-zero.c: New file.
7125 * elf/tst-absolute-zero-lib.c: New file.
7126 * elf/tst-absolute-zero-lib.lds: New file.
7127 * elf/Makefile (tests): Add `tst-absolute-zero'.
7128 (modules-names): Add `tst-absolute-zero-lib'.
7129 (LDLIBS-tst-absolute-zero-lib.so): New variable.
7130 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
7131 ($(objpfx)tst-absolute-zero: New dependency.
7133 2018-06-29 Zack Weinberg <zackw@panix.com>
7135 * configure.ac: New command-line option --disable-crypt.
7136 Force --disable-nss-crypt when --disable-crypt is given, with a
7137 warning if it was explicitly enabled.
7138 * configure: Regenerate.
7139 * config.make.in: New boolean substitution variable $(build-crypt).
7140 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
7141 when $(build-crypt).
7142 * manual/install.texi: Document --disable-crypt.
7143 * INSTALL: Regenerate.
7145 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
7147 * conform/Makefile: Only include libcrypt.a in
7148 linknamespace-libs-xsi and linknamespace-libs-XPG4
7149 when $(build-crypt).
7150 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
7151 USE_CRYPT to 1 when $(build-crypt).
7152 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
7153 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
7154 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
7156 2018-06-29 Zack Weinberg <zackw@panix.com>
7158 * crypt/crypt.h, posix/unistd.h: Update comments and
7159 prototypes for crypt and crypt_r.
7161 * manual/crypt.texi (Cryptographic Functions): New initial
7163 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
7164 (Unpredictable Bytes): Improve initial exposition. Clarify error
7165 behavior of getentropy and getrandom.
7166 * manual/examples/genpass.c: Generate a salt using getentropy
7167 instead of the current time. Use hash $5$ (SHA-2-256).
7168 * manual/examples/testpass.c: Demonstrate validation against
7169 hashes generated with three different one-way functions.
7171 * manual/intro.texi: crypt.texi does not need an overview
7174 * manual/nss.texi, manual/memory.texi, manual/socket.texi
7175 * manual/terminal.texi: Consistently refer to "passphrases"
7176 * instead of "passwords", and to the "user database" instead
7177 * of the "password database".
7178 * manual/users.texi: Similarly. Add notes about how actual
7179 passphrase hashes are now stored in the shadow database.
7180 Remove 20-year-old junk todo note.
7182 2018-06-29 Zack Weinberg <zackw@panix.com>
7184 * manual/crypt.texi: Use a normal top-level @node declaration.
7185 Move most of the introductory text to the 'crypt' section.
7186 Move the example programs below the @deftypefun for 'crypt_r'.
7187 Move the 'getpass' section...
7188 * manual/terminal.texi: ...here.
7190 2018-06-29 Zack Weinberg <zackw@panix.com>
7191 Florian Weimer <fweimer@redhat.com>
7193 * posix/unistd.h: Do not declare encrypt.
7194 (_XOPEN_CRYPT): Remove macro definition.
7195 (crypt): Declare only for _USE_MISC.
7196 * stdlib/stdlib.h: Do not declare setkey.
7197 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
7198 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
7200 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
7201 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
7202 into compat symbols. Don't define initial_perm if it's not
7204 * crypt/cert.c: Link explicitly with the expected versions for
7205 setkey and encrypt. If they are not available at all, mark
7206 the test as unsupported.
7208 * sunrpc/des_crypt.c: Unconditionally block linkage with
7209 cbc_crypt and ecb_crypt for new binaries.
7210 * sunrpc/des_soft.c: Unconditionally block linkage with
7211 des_setparity for new binaries.
7213 * manual/crypt.texi: Remove the entire "DES Encryption"
7214 section. Also remove the paragraph talking about FIPS 140-2
7215 from the introduction.
7216 * manual/string.texi (strfry, memfrob): Revise. Recommend use
7217 of libgcrypt for "real" encryption, not DES.
7218 * manual/conf.texi (Constants for Sysconf): Mention that
7219 _XOPEN_CRYPT is no longer impelemented.
7221 * conform/data/unistd.h-data: Remove crypt function declaration.
7223 2018-06-29 Florian Weimer <fweimer@redhat.com>
7226 * malloc/hooks.c: Update comments on restoring of dumped heaps.
7227 (disallow_malloc_check): Remove variable.
7228 (__malloc_check_init): Adjust.
7229 (malloc_set_state): Update comment.
7230 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
7233 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
7236 * localedata/locales/ast_ES (mon): Rename to...
7238 (mon): Import from CLDR (genitive case).
7240 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
7241 Jakub Sitnicki <jkbs@redhat.com>
7244 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
7247 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
7249 * manual/llio.texi: Remove spurious space.
7251 2018-06-28 Florian Weimer <fweimer@redhat.com>
7254 * time/bits/types/struct_timespec.h: Change header inclusion guard to
7257 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7259 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
7260 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
7261 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
7262 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
7263 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
7264 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
7265 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
7267 2018-06-27 Maciej W. Rozycki <macro@mips.com>
7270 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
7271 Copy and null-terminate entries that are not terminated, in
7272 addition to empty ones.
7274 2018-06-27 Florian Weimer <fweimer@redhat.com>
7277 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
7278 (extend_alloca_account): Remove.
7279 * manual/stdio.texi (Variable Arguments Output): Update comment.
7281 2018-06-27 Joseph Myers <joseph@codesourcery.com>
7283 * nptl/sockperf.c: Remove file.
7285 2018-06-27 Florian Weimer <fweimer@redhat.com>
7288 * elf/dl-deps.c (_dl_map_object_deps): Use struct
7289 scratch_buffer instead of extend_alloca.
7291 2018-06-27 Florian Weimer <fweimer@redhat.com>
7294 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
7295 scratch_buffer instead of extend_alloca. Update comments.
7297 2018-06-27 Florian Weimer <fweimer@redhat.com>
7300 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
7301 instead of extend_alloca.
7303 2018-06-26 Joseph Myers <joseph@codesourcery.com>
7306 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
7307 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
7309 * scripts/test-installation.pl: Put temporary files in build
7310 directory, not /tmp.
7311 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
7312 (CFLAGS-bug4.c): Likewise.
7313 (CFLAGS-bug5.c): Likewise.
7314 (CFLAGS-test-fseek.c): Likewise.
7315 (CFLAGS-test-popen.c): Likewise.
7316 (CFLAGS-test_rdwr.c): Likewise.
7317 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
7319 * stdio-common/bug4.c (main): Likewise.
7320 * stdio-common/bug5.c (main): Likewise.
7321 * stdio-common/test-fseek.c (TESTFILE): Likewise.
7322 * stdio-common/test-popen.c (do_test): Likewise.
7323 * stdio-common/test_rdwr.c (main): Likewise.
7325 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
7327 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
7328 (sem_open): Set sem.newsem.pad to zero for valgrind.
7330 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7333 * NEWS: Mention fcntl64 addition.
7334 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
7335 * login/utmp_file.c: Likewise.
7336 * sysdeps/posix/fdopendir.c: Likewise.
7337 * sysdeps/posix/opendir.c: Likewise.
7338 * sysdeps/unix/pt-fcntl.c: Likewise.
7339 * include/fcntl.h (__libc_fcntl64, __fcntl64,
7340 __fcntl64_nocancel_adjusted): New prototype.
7341 (__fcntl_nocancel_adjusted): Remove prototype.
7342 * io/Makefile (routines): Add fcntl64.
7343 (CFLAGS-fcntl64.c): New rule.
7344 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
7345 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
7346 * io/fcntl.h (fcntl64): Add prototype and redirect if
7347 __USE_FILE_OFFSET64 is defined.
7348 * io/fcntl64.c: New file.
7349 * manual/llio.text: Add a note for which commands fcntl acts a
7351 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
7352 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
7353 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
7355 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
7356 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
7358 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
7359 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
7360 to __fcntl64_nocancel.
7361 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
7362 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
7363 to __fcntl64_nocancel.
7364 * sysdeps/generic/not-cancel.h: Likewise.
7365 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
7366 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
7367 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
7368 (fcntl64): New symbol.
7369 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7370 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7371 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7374 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7375 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7376 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7377 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7378 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7379 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
7381 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7382 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
7383 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7384 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7385 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7386 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7387 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7388 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7389 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7394 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7395 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7396 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7398 2018-06-26 Florian Weimer <fweimer@redhat.com>
7400 Run thread shutdown functions in an explicit order.
7401 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
7403 (__libc_thread_freeres): Call thread shutdown functions
7405 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
7406 * include/string.h (__strerror_thread_freeres): Declare.
7407 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
7408 arena_thread_freeres. No longer static. Remove thread shutdown
7410 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
7412 * resolv/res-close.c (__res_thread_freeres): Renamed from
7413 res_thread_freeres. No longer static. Remove thread shutdown
7415 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
7416 * resolv/resolv_conf.c (freeres): Remove incorrect section
7417 attribute and use libc_freeres_fn.
7418 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
7419 strerror_thread_freeres. No longer static. Remove thread
7420 shutdown hook registration.
7421 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
7422 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
7423 shutdown hook registration.
7424 * Makerules (shlib.lds): Do not provide section boundary symbols
7425 for __libc_thread_subfreeres.
7426 * manual/memory.texi (Basic Allocation): Update comment.
7428 2018-06-26 Florian Weimer <fweimer@redhat.com>
7430 Remove always-defined _RPC_THREAD_SAFE_ macro.
7431 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
7432 Do not define _RPC_THREAD_SAFE_.
7433 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
7435 * sunrpc/clnt_perr.c: Likewise.
7436 * sunrpc/clnt_raw.c: Likewise.
7437 * sunrpc/clnt_simp.c: Likewise.
7438 * sunrpc/key_call.c: Likewise.
7439 * sunrpc/rpc_common.c: Likewise.
7440 * sunrpc/rpc_main.c: Likewise.
7441 * sunrpc/rpc_thread.c: Likewise.
7442 * sunrpc/svc.c: Likewise.
7443 * sunrpc/svc_raw.c: Likewise.
7444 * sunrpc/svc_simple.c: Likewise.
7445 * sumrpc/svcauth_des.c: Likewise.
7447 2018-06-26 Florian Weimer <fweimer@redhat.com>
7449 * libio/Makefile (tests-internal): Add tst-vtables,
7450 tst-vtables-interposed.
7451 * libio/tst-vtables.c: New file.
7452 * libio/tst-vtables-common.c: Likewise.
7453 * libio/tst-vtables-interposed.c: Likewise.
7455 2018-06-26 Florian Weimer <fweimer@redhat.com>
7457 * support/support_test_main.c (support_test_main): Only call
7458 setvbuf if not disables.
7459 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
7460 * support/test-driver.h (struct test_config): Add no_setvbuf member.
7462 2018-06-26 Florian Weimer <fweimer@redhat.com>
7465 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
7467 2018-06-25 Florian Weimer <fweimer@redhat.com>
7470 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7471 Use struct scratch_buffer instead of extend_alloca.
7473 2018-06-25 Florian Weimer <fweimer@redhat.com>
7476 * nss/getent.c (initgroups_keys): Use dynarray instead of
7479 2018-06-25 Florian Weimer <fweimer@redhat.com>
7482 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
7483 Use struct scratch_buffer instead of extend_alloca.
7485 2018-06-25 Florian Weimer <fweimer@redhat.com>
7488 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
7489 back to malloc directly, without stack allocations.
7491 2018-06-25 Florian Weimer <fweimer@redhat.com>
7494 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
7497 2018-06-25 Florian Weimer <fweimer@redhat.com>
7500 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
7502 * nscd/hstcache.c (addhstbyX): Likewise.
7503 * nscd/pwdcache.c (addpwbyX): Likewise.
7504 * nscd/servicescache.c (addservbyX): Likewise.
7506 2018-06-25 Florian Weimer <fweimer@redhat.com>
7509 * nscd/connections.c (read_cmdline): New function.
7510 (restart): Use it. Update comment.
7512 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
7515 * localedata/locales/csb_PL (mon): Rename to...
7517 (abmon): Rename to...
7519 (mon): Add with proper genitive forms, copy from Wikipedia.
7522 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
7525 * localedata/locales/csb_PL (mon): Fix typos:
7526 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
7527 (yesstr): Add, value is "jo".
7528 (nostr): Add, value is "nié".
7530 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7532 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
7533 all log1p and significand functions on m680x0.
7534 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
7535 of s_significand.c..
7536 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
7537 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
7538 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
7539 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
7540 s_log1p.c and include it..
7542 2018-06-21 Vincent Chen <vincentc@andestech.com>
7544 * elf/elf.h (R_NDS32_NONE): New define.
7545 (R_NDS32_32_RELA): Likewise.
7546 (R_NDS32_COPY): Likewise.
7547 (R_NDS32_GLOB_DAT): Likewise.
7548 (R_NDS32_JUMP_SLOT): Likewise.
7549 (R_NDS32_RELATIVE): Likewise.
7550 (R_NDS32_TLS_TPOFF): Likewise.
7551 (R_NDS32_TLS_DESC): Likewise.
7553 2018-06-21 Mark Wielaard <mark@klomp.org>
7555 * elf/elf.h (R_BPF_MAP_FD): Removed.
7556 (R_BPF_64_64, R_BPF_64_32): New.
7558 2018-06-21 Florian Weimer <fweimer@redhat.com>
7561 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
7562 Renamed from libc_feholdsetround_ctx.
7563 (default_libc_feresetround_ctx): Renamed from
7564 libc_feresetround_ctx.
7565 (default_libc_feholdsetround_noex_ctx): Renamed from
7566 libc_feholdsetround_noex_ctx.
7567 (default_libc_feresetround_noex_ctx): Renamed from
7568 libc_feresetround_noex_ctx.
7569 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
7570 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
7571 forwardning to the old implementations under the new names.
7572 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
7573 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
7574 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
7575 (libc_feresetround_ctx): Forward to default implements for i386
7576 and MATH_SET_BOTH_ROUNDING_MODES.
7577 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
7578 Add -DMATH_SET_BOTH_ROUNDING_MODES.
7580 2018-06-20 Joseph Myers <joseph@codesourcery.com>
7582 * string/tst-cmp.c: Include <libc-diag.h>.
7583 (strncmp_max): Disable -Wstringop-overflow= around call to
7585 (strncasecmp_max): Disable -Wstringop-overflow= around call to
7588 * string/bug-strpbrk1.c: Include <libc-diag.h>.
7589 (main): Disable -Wunused-value around call to strpbrk.
7590 * string/bug-strspn1.c: Include <libc-diag.h>.
7591 (main): Disable -Wunused-value around call to strspn.
7593 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7594 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7596 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
7597 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
7599 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7601 * math/Makefile (libm-calls): Move s_significandF to...
7602 (gen-libm-calls): ... here.
7603 * math/s_significand_template.c: New file.
7604 * math/s_significand.c: Removed.
7605 * math/s_significandf.c: Removed.
7606 * math/s_significandl.c: Removed.
7607 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
7608 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
7610 * math/e_exp2_template.c (declare_mgen_finite_alias,
7611 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
7612 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
7613 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
7615 2018-06-20 Florian Weimer <fweimer@redhat.com>
7617 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
7619 2018-06-19 Joseph Myers <joseph@codesourcery.com>
7622 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
7623 floating-point number to strtod functions rather than possibly
7624 negating result of those functions.
7625 * stdio-common/tst-scanf-round.c: New file.
7626 * stdio-common/Makefile (tests): Add tst-scanf-round.
7627 ($(objpfx)tst-scanf-round): Depend on $(libm).
7629 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
7631 * sysdeps/mach/hurd/localplt.data: Move to...
7632 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
7633 R_386_GLOB_DAT like on Linux i386.
7635 2018-06-18 Joseph Myers <joseph@codesourcery.com>
7637 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
7638 (SHM_STAT_ANY): New macro.
7639 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
7640 (SHM_STAT_ANY): Likewise.
7641 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
7642 (SHM_STAT_ANY): Likewise.
7643 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
7644 (SHM_STAT_ANY): Likewise.
7645 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
7646 (SHM_STAT_ANY): Likewise.
7647 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
7648 (SHM_STAT_ANY): Likewise.
7649 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
7650 (SHM_STAT_ANY): Likewise.
7651 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
7652 (SHM_STAT_ANY): Likewise.
7653 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
7654 (SHM_STAT_ANY): Likewise.
7655 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
7656 (SHM_STAT_ANY): Likewise.
7657 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
7658 (SHM_STAT_ANY): Likewise.
7659 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
7660 (SHM_STAT_ANY): Likewise.
7662 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
7663 (SEM_STAT_ANY): New macro.
7664 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
7665 (SEM_STAT_ANY): Likewise.
7666 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
7667 (SEM_STAT_ANY): Likewise.
7668 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
7669 (SEM_STAT_ANY): Likewise.
7670 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
7671 (SEM_STAT_ANY): Likewise.
7672 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
7673 (SEM_STAT_ANY): Likewise.
7674 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
7675 (SEM_STAT_ANY): Likewise.
7676 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
7677 (SEM_STAT_ANY): Likewise.
7678 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
7679 (SEM_STAT_ANY): Likewise.
7680 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
7681 (SEM_STAT_ANY): Likewise.
7683 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
7684 (MSG_STAT_ANY): New macro.
7685 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
7686 (MSG_STAT_ANY): Likewise.
7687 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
7688 (MSG_STAT_ANY): Likewise.
7689 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
7690 (MSG_STAT_ANY): Likewise.
7691 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
7692 (MSG_STAT_ANY): Likewise.
7693 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
7694 (MSG_STAT_ANY): Likewise.
7695 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
7696 (MSG_STAT_ANY): Likewise.
7697 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
7698 (MSG_STAT_ANY): Likewise.
7699 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
7700 (MSG_STAT_ANY): Likewise.
7701 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
7702 (MSG_STAT_ANY): Likewise.
7704 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
7705 (MAP_TYPE): Change value to 0x2b.
7707 2018-06-18 Florian Weimer <fweimer@redhat.com>
7710 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
7711 socket with SOCK_CLOEXEC.
7713 2018-06-18 Joseph Myers <joseph@codesourcery.com>
7716 * sysdeps/powerpc/powerpc64/le/Makefile
7717 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
7718 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
7719 (gnulib-tests): Also add $(f128-loader-link) for
7720 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
7722 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
7724 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
7725 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
7727 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
7728 (sendfile64): New strong alias.
7729 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
7730 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
7731 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
7732 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
7734 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
7735 ___pthread_get_cleanup_stack.
7736 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
7737 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
7738 * mach/shortcut.awk: Make syscall stubs include
7739 <mach-shortcuts-hidden.h> and add hidden definition.
7740 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7741 (__mach_msg): Add hidden prototype.
7742 * mach/msg.c: Include <mach.h>.
7743 (__mach_msg): Add hidden definition.
7744 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
7745 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
7746 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
7747 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
7748 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
7749 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
7750 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
7751 prototype and definition.
7752 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
7753 hidden target for _hurd_self_sigstate.
7755 2018-06-15 Joseph Myers <joseph@codesourcery.com>
7758 * stdlib/tst-strtod-nan-sign-main.c: New file.
7759 * stdlib/tst-strtod-nan-sign.c: Likewise.
7760 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
7761 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
7762 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
7763 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
7764 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
7766 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
7769 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
7772 2018-06-14 Florian Weimer <fweimer@redhat.com>
7775 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
7776 that the result stays within the ISO-8859-1 range.
7777 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
7778 characters are defined in IBM273.
7780 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
7782 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
7783 __mach_task_self): Remove attribute_hidden.
7785 2018-06-14 Joseph Myers <joseph@codesourcery.com>
7787 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
7788 ignore -Wrestrict for one test.
7790 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
7791 Szabolcs Nagy <szabolcs.nagy@arm.com>
7793 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
7795 2018-06-14 Florian Weimer <fweimer@redhat.com>
7797 * scripts/update-abilist.sh: Accept empty list of files to patch.
7799 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
7801 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
7802 test-xfail-check-abi-libmachuser): Add.
7803 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
7804 __libc_read and __libc_write to __read and __write.
7805 * sysdeps/hurd/include/hurd/port.h: New file.
7806 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
7807 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
7808 __thread_switch, __evc_wait): Move declarations to...
7809 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
7811 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
7812 use PLT to call _hurd_self_sigstate.
7814 2018-06-13 Joseph Myers <joseph@codesourcery.com>
7817 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
7818 MAX_EXP as overflowing.
7819 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
7821 (round_str): Output also whether result overflows in each rounding
7823 * stdlib/tst-strtod-round-data: Add more tests.
7824 * stdlib/tst-strtod-round-data.h: Regenerated.
7825 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
7826 (TEST): Handle extra arguments for overflow flags.
7827 (struct test_overflow): New type.
7828 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
7829 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
7830 (test_in_one_mode): Take argument with overflow information.
7831 (do_test): Update calls to test_in_one_mode.
7833 2018-06-12 Carlos O'Donell <carlos@redhat.com>
7835 * elf/dl-load (_dl_dst_substitute): Correct comment.
7836 (_dl_dst_count): Likewise.
7838 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
7839 lll_futex_timed_wait.
7841 2018-06-12 Joseph Myers <joseph@codesourcery.com>
7844 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
7846 * math/test-nan-const.c: New file.
7847 * math/Makefile (tests): Add test-nan-const.
7848 (CFLAGS-test-nan-const.c): New variable.
7850 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
7852 * benchtests/scripts/compare_strings.py (process_results): Add
7853 funcs argument. Compare only functions which are selected.
7854 (main): Check if base function is among selected functions.
7855 Pass selected functions to process_results.
7856 (__main__): Add -f/--functions argument.
7858 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
7859 Hongbo Zhang <hongbo.zhang@linaro.org>
7861 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
7862 __memcpy_falkor for phecda core.
7863 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
7864 __memmove_falkor for phecda core.
7865 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
7866 __memset_falkor for phecda core.
7867 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
7869 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
7870 macro to identify phecda core.
7872 2018-06-12 Carlos O'Donell <carlos@redhat.com>
7873 Andreas Schwab <schwab@suse.de>
7874 Dmitry V. Levin <ldv@altlinux.org>
7875 Florian Weimer <fweimer@redhat.com>
7882 * elf/dl-dst.h: Remove DL_DST_COUNT.
7883 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
7884 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
7885 (is_dst): Comment. Support ELF gABI.
7886 (_dl_dst_count): Comment. Simplify and count DSTs.
7887 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
7888 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
7891 2018-06-12 Zack Weinberg <zackw@panix.com>
7893 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
7894 * sysdeps/unix/sysv/linux/dl-sysdep.c
7895 Include not-cancel.h. Use __close_nocancel instead of __close,
7896 __open64_nocancel instead of __open, __read_nocancel instead of
7897 __libc_read, and __write_nocancel instead of __libc_write.
7899 * csu/check_fds.c (check_one_fd)
7900 * sysdeps/posix/fdopendir.c (__fdopendir)
7901 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
7902 instead of __fcntl and/or __libc_fcntl.
7904 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
7905 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
7906 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
7907 Use __open64_nocancel instead of __open_nocancel.
7909 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
7910 hidden_proto declarations to the end and issue them if either
7911 IS_IN(libc) or IS_IN(rtld).
7912 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
7913 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
7914 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
7915 read_nocancel, waitpid_nocancel, write_nocancel.
7917 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
7918 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
7919 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
7921 * nptl/pt-fcntl.c: New file.
7922 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
7923 (libpthread-routines): Add pt-fcntl.
7924 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
7925 (__libc_fcntl): Remove attribute_hidden.
7926 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
7927 __fcntl_nocancel_adjusted, not fcntl_common.
7928 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
7929 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
7930 to fcntl_nocancel.c.
7931 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
7932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
7933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7934 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
7936 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
7937 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
7938 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
7939 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
7940 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
7941 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
7942 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
7943 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
7944 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
7945 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
7946 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
7947 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
7948 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
7949 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
7950 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
7951 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
7952 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
7953 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
7954 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
7955 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
7957 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
7958 libpthread-routines.
7959 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
7962 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
7963 __libc_read, and __write instead of __libc_write. Define
7964 __open64 in addition to __open.
7966 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
7970 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
7971 to _private_tm[3] and add __glibc_reserved2.
7972 Add _Static_assert of offset of __private_ss == 0x30.
7973 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
7974 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
7976 2018-06-12 Florian Weimer <fweimer@redhat.com>
7978 x86: Make strncmp usable from rtld.
7979 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
7980 __strncmp_ia32 if in libc (and not in rtld).
7981 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
7982 strncmp if not in libc (and not to __strncmp_sse2).
7984 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
7987 * localedata/locales/gd_GB (mon): Rename to...
7989 (mon): Import from CLDR (genitive case).
7990 * localedata/locales/hsb_DE (mon): Rename to...
7992 (mon): Import from CLDR (genitive case).
7993 * localedata/locales/wa_BE (mon): Rename to...
7995 (mon): Add, fill with the proper genitive forms, but CLDR data
7996 is incomplete; completed according to the comments in this file.
7997 (d_t_fmt): Do not use "di" before the month name, no longer needed.
7999 * localedata/locales/wa_BE (country_name): Reword
8000 "Beljike" -> "Beldjike".
8002 2018-06-11 Joseph Myers <joseph@codesourcery.com>
8005 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
8006 cases of non-finite arguments.
8007 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8009 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
8012 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
8014 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8017 * include/unistd.h (__execvpex): New prototype.
8018 * posix/Makefile (tests): Add tst-spawn4.
8019 (tests-internal): Add tst-spawn4-compat.
8020 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
8021 * posix/tst-spawn4-compat.c: New file.
8022 * posix/tst-spawn4.c: Likewise.
8023 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
8024 binaries as shell scripts.
8025 * sysdeps/posix/spawni.c (__spawni): Likewise.
8027 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
8030 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
8031 ($(all-built-dso:=.dynsym): New target.
8032 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
8033 ($(objpfx)check-initfini.out): New target.
8034 (generated): Add check-initfini.out.
8035 * scripts/check-initfini.awk: New file.
8036 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
8038 * sysdeps/alpha/crti.S (_init): Mark as hidden.
8040 * sysdeps/arm/crti.S (_init): Mark as hidden.
8042 * sysdeps/hppa/crti.S (_init): Mark as hidden.
8044 * sysdeps/i386/crti.S (_init): Mark as hidden.
8046 * sysdeps/ia64/crti.S (_init): Mark as hidden.
8048 * sysdeps/m68k/crti.S (_init): Mark as hidden.
8050 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
8052 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
8054 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
8056 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
8058 * sysdeps/nios2/crti.S (_init): Mark as hidden.
8060 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
8062 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
8064 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
8066 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
8068 * sysdeps/sh/crti.S (_init): Mark as hidden.
8070 * sysdeps/sparc/crti.S (_init): Mark as hidden.
8072 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
8075 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8077 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
8078 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
8079 and TF redirection to KFtype and KF only when the default
8080 long double type is not the IEEE 128-bit floating point type.
8082 2018-06-05 Joseph Myers <joseph@codesourcery.com>
8084 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
8086 (HWCAP_USCAT): Likewise.
8087 (HWCAP_ILRCPC): Likewise.
8088 (HWCAP_FLAGM): Likewise.
8089 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
8091 (_dl_aarch64_cap_flags): Add new flag names.
8093 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
8094 (MAP_FIXED_NOREPLACE): New macro.
8095 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
8096 (MAP_FIXED_NOREPLACE): Likewise.
8097 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
8098 (MAP_FIXED_NOREPLACE): Likewise.
8099 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
8100 (MAP_FIXED_NOREPLACE): Likewise.
8101 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
8102 (MAP_FIXED_NOREPLACE): Likewise.
8103 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
8104 (MAP_FIXED_NOREPLACE): Likewise.
8105 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
8106 (MAP_FIXED_NOREPLACE): Likewise.
8107 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
8108 (MAP_FIXED_NOREPLACE): Likewise.
8109 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
8110 (MAP_FIXED_NOREPLACE): Likewise.
8111 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
8112 (MAP_FIXED_NOREPLACE): Likewise.
8113 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
8114 (MAP_FIXED_NOREPLACE): Likewise.
8115 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
8116 (MAP_FIXED_NOREPLACE): Likewise.
8117 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
8118 (MAP_FIXED_NOREPLACE): Likewise.
8119 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
8120 (MAP_FIXED_NOREPLACE): Likewise.
8121 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
8122 (MAP_FIXED_NOREPLACE): Likewise.
8124 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8127 2018-06-04 Joseph Myers <joseph@codesourcery.com>
8129 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8132 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8134 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
8136 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
8138 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8140 * benchtests/scripts/compare_string.py: (process_results) Catch
8141 exception in non-existent base_func and catch exception in
8142 non-existent attribute.
8143 (parse_file) Catch exception if input file does not exist.
8145 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8147 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
8148 options to avoid diff calculation and omit header, respectively.
8149 (main): process --no-diff and --no-header
8151 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8152 H.J. Lu <hongjiu.lu@intel.com>
8154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8155 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
8157 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8158 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
8159 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
8161 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
8162 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
8163 AVX unaligned load is fast and vzeroupper is preferred.
8164 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
8165 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
8166 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
8167 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
8168 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
8169 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
8170 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
8171 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
8172 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
8173 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
8176 2018-06-01 Florian Weimer <fweimer@redhat.com>
8178 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
8179 configuring with --disable-multi-arch, building with
8180 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
8183 2018-06-01 Florian Weimer <fweimer@redhat.com>
8185 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
8186 results from building with “-march=x86-64 -mtune=generic
8187 -mfpmath=sse” and running on a Haswell-era CPU.
8189 2018-06-01 Joseph Myers <joseph@codesourcery.com>
8192 * soft-fp/sqrttf2.c: Remove file.
8193 * soft-fp/sqrtdf2.c: Move to ....
8194 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
8196 (__sqrtdf2): Make conditional on
8197 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
8199 * soft-fp/sqrtsf2.c: Move to ....
8200 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
8202 (__sqrtsf2): Make conditional on
8203 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
8205 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
8206 (gcc-double-routines): Remove sqrtdf2.
8207 (gcc-quad-routines): Remove sqrttf2.
8208 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
8209 Do not filter out sqrtsf2 and sqrtdf2.
8210 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8211 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
8213 2018-06-01 Florian Weimer <fweimer@redhat.com>
8215 * sysdeps/generic/libcidn.abilist: Remove file.
8217 2018-06-01 Florian Weimer <fweimer@redhat.com>
8220 * libio/strfile.h (struct _IO_str_fields): Rename members to
8221 discourage their use and add comment.
8222 (_IO_STR_DYNAMIC): Remove unused macro.
8223 * libio/strops.c (_IO_str_init_static_internal): Do not use
8224 callback pointers. Call malloc and free.
8225 (_IO_str_overflow): Do not use callback pointers. Call malloc
8227 (enlarge_userbuf): Likewise.
8228 (_IO_str_finish): Call free.
8229 * libio/wstrops.c (_IO_wstr_init_static): Initialize
8230 _allocate_buffer_unused.
8231 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
8233 (enlarge_userbuf): Likewise.
8234 (_IO_wstr_finish): Call free.
8235 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
8236 _allocate_buffer_unused, _free_buffer_unused.
8237 * libio/memstream.c (__open_memstream): Likewise.
8238 * libio/vasprintf.c (_IO_vasprintf): Likewise.
8239 * libio/wmemstream.c (open_wmemstream): Likewise.
8241 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
8243 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
8246 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8248 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
8249 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
8250 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
8252 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
8254 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
8256 2018-05-29 Florian Weimer <fweimer@redhat.com>
8258 * support/Makefile (libsupport-routines): Add
8259 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
8260 xpthread_barrierattr_setpshared.
8261 * support/xpthread_barrierattr_destroy.c: New file.
8262 * support/xpthread_barrierattr_init.c: Likewise.
8263 * support/xpthread_barrierattr_setpshared.c: Likewise.
8265 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
8268 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
8269 _r_debug and update DT_DEBUG for debugger.
8271 2018-05-29 Florian Weimer <fweimer@redhat.com>
8273 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
8274 (tst-strtod5i.out): Likewise.
8276 2018-05-25 Joseph Myers <joseph@codesourcery.com>
8278 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
8279 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
8280 (sparc64-quad-routines): New variable. Moved from ....
8281 [$(subdir) = soft-fp] (sysdep_routines): Add
8282 $(sparc64-quad-routines). Moved from ....
8283 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
8284 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
8285 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
8287 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
8288 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
8289 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
8290 * sysdeps/sparc/sparc64/qp_add.c: ... here.
8291 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
8292 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
8293 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
8294 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
8295 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
8296 * sysdeps/sparc/sparc64/qp_div.c: ... here.
8297 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
8298 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
8299 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
8300 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
8301 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
8302 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
8303 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
8304 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
8305 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
8306 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
8307 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
8308 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
8309 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
8310 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
8311 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
8312 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
8313 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
8314 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
8315 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
8316 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
8317 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
8318 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
8319 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
8320 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
8321 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
8322 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
8323 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
8324 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
8325 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
8326 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
8327 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
8328 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
8329 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
8330 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
8331 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
8332 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
8333 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
8334 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
8335 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
8336 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
8337 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
8338 * sysdeps/sparc/sparc64/qp_util.c: ... here.
8339 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
8340 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
8341 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
8342 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
8343 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
8344 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
8346 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
8347 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
8348 (sparc32-quad-routines): New variable. Moved from ....
8349 [$(subdir) = soft-fp] (sysdep_routines): Add
8350 $(sparc32-quad-routines). Moved from ....
8351 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
8352 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
8354 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
8355 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
8356 * sysdeps/sparc/sparc32/q_add.c: ... here.
8357 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
8358 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
8359 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
8360 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
8361 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
8362 * sysdeps/sparc/sparc32/q_div.c: ... here.
8363 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
8364 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
8365 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
8366 * sysdeps/sparc/sparc32/q_feq.c: ... here.
8367 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
8368 * sysdeps/sparc/sparc32/q_fge.c: ... here.
8369 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
8370 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
8371 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
8372 * sysdeps/sparc/sparc32/q_fle.c: ... here.
8373 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
8374 * sysdeps/sparc/sparc32/q_flt.c: ... here.
8375 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
8376 * sysdeps/sparc/sparc32/q_fne.c: ... here.
8377 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
8378 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
8379 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
8380 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
8381 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
8382 * sysdeps/sparc/sparc32/q_mul.c: ... here.
8383 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
8384 * sysdeps/sparc/sparc32/q_neg.c: ... here.
8385 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
8386 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
8387 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
8388 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
8389 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
8390 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
8391 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
8392 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
8393 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
8394 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
8395 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
8396 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
8397 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
8398 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
8399 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
8400 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
8401 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
8402 * sysdeps/sparc/sparc32/q_sub.c: ... here.
8403 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
8404 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
8405 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
8406 * sysdeps/sparc/sparc32/q_util.c: ... here.
8407 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
8408 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
8409 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
8410 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
8412 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8413 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8415 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
8416 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
8417 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
8418 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
8420 2018-05-24 Joseph Myers <joseph@codesourcery.com>
8422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
8424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8426 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
8427 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
8429 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8432 * math/math.h [C++] (iseqsig): Fix parameter type for the long
8435 2018-05-23 Joseph Myers <joseph@codesourcery.com>
8437 * sysdeps/sh/Implies: Remove sh/soft-fp.
8438 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
8439 * sysdeps/sh/sfp-machine.h: ... here.
8441 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
8443 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8444 (__mempcpy_erms): Skip zero length.
8445 (__memmove_erms): Likewise.
8446 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8447 (__memset_erms): Likewise.
8449 2018-05-23 Joseph Myers <joseph@codesourcery.com>
8451 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
8452 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
8453 Add functions moved from ....
8454 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
8455 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
8456 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
8458 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
8459 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
8460 * sysdeps/alpha/e_sqrtl.c: ... here.
8461 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
8462 * sysdeps/alpha/local-soft-fp.h: ... here.
8463 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
8464 * sysdeps/alpha/ots_add.c: ... here.
8465 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
8466 * sysdeps/alpha/ots_cmp.c: ... here.
8467 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
8468 * sysdeps/alpha/ots_cmpe.c: ... here.
8469 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
8470 * sysdeps/alpha/ots_cvtqux.c: ... here.
8471 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
8472 * sysdeps/alpha/ots_cvtqx.c: ... here.
8473 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
8474 * sysdeps/alpha/ots_cvttx.c: ... here.
8475 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
8476 * sysdeps/alpha/ots_cvtxq.c: ... here.
8477 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
8478 * sysdeps/alpha/ots_cvtxt.c: ... here.
8479 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
8480 * sysdeps/alpha/ots_div.c: ... here.
8481 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
8482 * sysdeps/alpha/ots_mul.c: ... here.
8483 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
8484 * sysdeps/alpha/ots_nintxq.c: ... here.
8485 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
8486 * sysdeps/alpha/ots_sub.c: ... here.
8487 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
8488 * sysdeps/alpha/sfp-machine.h: ... here.
8490 2018-05-23 Florian Weimer <fweimer@redhat.com>
8498 Switch to extern IDNA implementation (libidn2).
8499 * libidn: Remove subdirectory.
8500 * LICENSES: Do not mention licensing conditions for the removed
8502 * config.h.in (HAVE_LIBIDN): Remove.
8503 * include/dlfcn.h (__libc_dlopen): Update comment.
8504 * include/idna.h: Remove file.
8505 * inet/Makefile (routines): Add idna.
8506 (tests-static, tests-internal): Add tst-idna_name_classify.
8507 (LOCALES): Generate locales for tests.
8508 (tst-idna_name_classify.out): Depend on generated locales.
8509 * inet/idna_name_classify.c: New file.
8510 * inet/tst-idna_name_classify.c: Likewise.
8511 * inet/net-internal.h (__idna_to_dns_encoding)
8512 (__idna_from_dns_encoding): Declare.
8513 * inet/net-internal.h (enum idna_name_classification): Define.
8514 (__idna_name_classify): Declare.
8515 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
8516 __idna_from_dns_encoding.
8517 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
8518 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
8519 name as a fallback in case of encoding errors.
8520 (getnameinfo): Use DEPRECATED_NI_IDN.
8521 * inet/idna.c: New file.
8522 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
8523 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
8524 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
8525 (modules-names): Add tst-no-libidn2.
8526 (extra-test-objs): Add tst-no-libidn2.os.
8527 (LDFLAGS-tst-no-libidn2.so): Set soname.
8528 (LOCALES): Set, and generate locales.
8529 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
8530 (tst-resolv-ai_idn-latin1): Likewise.
8531 (tst-resolv-ai_idn-nolibidn2): Likewise.
8532 (tst-resolv-ai_idn.out): Depend on locales.
8533 (tst-resolv-ai_idn-latin1.out): Depend on locales.
8534 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
8536 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
8537 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
8538 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
8539 * resolv/tst-resolv-ai_idn.c: New file.
8540 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
8541 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
8542 * resolv/tst-no-libidn2.c: Likewise.
8543 * support/support_format_addrinfo.c (format_ai_flags): Do not
8544 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
8545 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
8546 (gaih_inet): Call __idna_to_dns_encoding and
8547 __idna_from_dns_encoding, and use the original (punycode) name if
8548 __idna_from_dns_encoding fails due to an encoding error.
8549 (getaddrinfo): Use DEPRECATED_AI_IDN.
8550 * sysdeps/unix/inet/Subdirs (libidn): Remove.
8551 * sysdeps/unix/inet/configure: Remove file.
8552 * sysdeps/unix/inet/configure.ac: Likewise.
8554 2018-05-23 Florian Weimer <fweimer@redhat.com>
8556 Implement allocate_once.
8557 * include/allocate_once.h: New file.
8558 * misc/allocate_once.c: Likewise.
8559 * misc/tst-allocate_once.c: Likewise.
8560 * misc/Makefile (routines): Add allocate_once.
8561 (tests-internal): Add tst-allocate_once.
8562 (generated): Add tst-allocate_once.mtrace,
8563 tst-allocate_once-mem.out.
8564 (tests-special): Add tst-allocate_once-mem.out.
8565 (tst-allocate_once-ENV): Set MALLOC_TRACE.
8566 (tst-allocate_once-mem.out): Call mtrace.
8567 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
8569 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
8572 * string/test-memcpy.c (do_test1): New function.
8573 (test_main): Call it.
8575 2018-05-23 Andreas Schwab <schwab@suse.de>
8579 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
8580 (L(preloop_large)): Save initial destination pointer in %r11 and
8581 use it instead of %rax after the loop.
8582 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
8584 2018-05-22 Joseph Myers <joseph@codesourcery.com>
8586 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
8587 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
8588 -I../soft-fp. Moved from ....
8589 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
8590 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
8591 * sysdeps/aarch64/e_sqrtl.c: ... here.
8592 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
8593 * sysdeps/aarch64/sfp-machine.h: ... here.
8595 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
8596 -Wmaybe-uninitialized around access to fq[0].
8597 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
8601 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
8602 aliases for non-libc case of versioned symbols.
8603 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
8604 (llseek): Define as compat symbol if
8605 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
8607 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
8608 Make into a compat symbol, disabled for minimum symbol version
8609 GLIBC_2.28 and later.
8610 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
8612 2018-05-22 Florian Weimer <fweimer@redhat.com>
8614 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
8615 not add -mpreferred-stack-boundary=4.
8616 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
8617 (stack-align-test-flags): Likewise.
8618 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
8620 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
8621 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
8622 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
8623 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
8624 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
8625 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
8626 (CFLAGS-tst-align2.c): Likewise.
8628 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
8630 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
8631 (index_arch_Prefer_FSRM): Likewise.
8632 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
8633 Also check Prefer_FSRM.
8634 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
8635 Also return OPTIMIZE (erms) for Prefer_FSRM.
8637 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
8639 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
8640 (index_cpu_FSRM): Likewise.
8641 (reg_FSRM): Likewise.
8643 2018-05-18 Joseph Myers <joseph@codesourcery.com>
8645 * math/gen-tgmath-tests.py: Import sys.
8646 (Tests.__init__): Initialize macros_seen.
8647 (Tests.add_tests): Add macro to macros_seen. Only generate tests
8648 if requested to do so for this macro.
8649 (Tests.add_all_tests): Take argument for macro for which to
8651 (Tests.check_macro_list): New function.
8652 (main): Handle check-list argument and argument specifying macro
8653 for which to generate tests.
8654 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
8655 [PYTHON] (tgmath3-macro-tests): Likewise.
8656 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
8657 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
8659 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
8660 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
8662 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
8664 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
8666 [PYTHON] (tests-special): Add
8667 $(objpfx)test-tgmath3-macro-list.out.
8668 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
8670 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
8671 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
8675 * time/tzset.c (SECSPERDAY): Cast to time_t.
8676 * time/tst-y2039.c: New file.
8677 * time/Makefile (tests): Add tst-y2039.
8679 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8681 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8682 (PREFETCH_ONE_SET): Remove duplicate line.
8684 2018-05-17 Florian Weimer <fweimer@redhat.com>
8686 * sysdeps/generic/math-type-macros-double.h: Include
8687 <math-nan-payload-double.h> after <libm-alias-double.h>.
8688 * sysdeps/generic/math-type-macros-float.h: Include
8689 <math-nan-payload-float.h> after <libm-alias-float.h>.
8690 * sysdeps/generic/math-type-macros-float128.h: Include
8691 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
8692 * sysdeps/generic/math-type-macros-ldouble.h: Include
8693 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
8695 2018-05-17 Andreas Schwab <schwab@suse.de>
8697 * resolv/res_send.c (__res_context_send): Don't set errno when
8698 returing error after malloc failure.
8700 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
8702 * nptl/allocatestack.c (allocate_stack): Remove the
8703 !__ASSUME_PRIVATE_FUTEX paths.
8704 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
8705 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
8707 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
8708 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
8709 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
8710 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
8711 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
8712 !__ASSUME_PRIVATE_FUTEX path.
8713 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
8714 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
8715 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
8716 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
8717 !__ASSUME_PRIVATE_FUTEX macros.
8718 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8719 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
8720 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
8721 * sysdeps/unix/sysv/linux/kernel-features.h
8722 (__ASSUME_PRIVATE_FUTEX): Removed.
8724 2018-05-17 Joseph Myers <joseph@codesourcery.com>
8726 * math/Makefile (libm-narrow-fns): Add div.
8727 (libm-test-funcs-narrow): Likewise.
8728 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
8729 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
8730 * math/gen-auto-libm-tests.c (test_functions): Add div.
8731 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
8732 (NARROW_DIV_ROUND_TO_ODD): Likewise.
8733 (NARROW_DIV_TRIVIAL): Likewise.
8734 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
8736 (__ddivl): Likewise.
8737 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
8739 (CFLAGS-nldbl-ddiv.c): New variable.
8740 (CFLAGS-nldbl-fdiv.c): Likewise.
8741 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
8743 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
8745 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
8746 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
8747 * math/auto-libm-test-in: Add tests of div.
8748 * math/auto-libm-test-out-narrow-div: New generated file.
8749 * math/libm-test-narrow-div.inc: New file.
8750 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
8751 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
8752 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
8753 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
8754 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
8755 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
8756 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
8757 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
8758 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
8759 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
8760 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
8761 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
8762 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
8763 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
8764 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
8765 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
8766 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
8767 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
8768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8769 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
8770 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8771 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8772 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8773 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8774 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8775 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8776 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8777 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8778 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8779 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8780 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8781 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
8783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
8784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
8785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
8786 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
8787 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8788 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8789 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8790 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8791 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8792 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8793 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8795 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8798 * nscd/nscd-client.h (sendfileall): Remove prototype.
8799 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
8800 (handle_request): Use writeall instead of sendfileall.
8801 * nscd/aicache.c (addhstaiX): Likewise.
8802 * nscd/grpcache.c (cache_addgr): Likewise.
8803 * nscd/hstcache.c (cache_addhst): Likewise.
8804 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8805 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
8806 * nscd/pwdcache.c (cache_addpw): Likewise.
8807 * nscd/servicescache.c (cache_addserv): Likewise.
8808 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
8809 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
8810 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
8813 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
8815 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
8816 Include <string/strncat.c>.
8817 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
8819 (__GI___strncat): New hidden alias.
8821 2018-05-16 Joseph Myers <joseph@codesourcery.com>
8823 * sysdeps/mips/mips32/libm-test-ulps: Update.
8824 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8826 2018-05-16 Florian Weimer <fweimer@redhat.com>
8828 * support/Makefile (libsupport-routines): Add support_quote_blob,
8829 support_test_compare_blob.
8830 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
8831 * support/check.h (TEST_COMPARE_BLOB): Define.
8832 (support_test_compare_blob): Declare.
8833 * support/support.h (support_quote_blob): Declare.
8834 * support/support_quote_blob.c: New file.
8835 * support/support_test_compare_blob.c: Likewise.
8836 * support/tst-support_quote_blob.c: Likewise.
8837 * support/tst-test_compare_blob.c: Likewise.
8839 2018-05-16 Florian Weimer <fweimer@redhat.com>
8841 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
8842 of <strtod_nan_double.h>.
8843 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
8844 instead of SET_MANTISSA.
8845 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
8846 of include <strtod_nan_float.h>.
8847 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
8848 instead of <strtod_nan_ldouble.h>.
8849 * stdlib/strtod_nan_double.h: Move to ...
8850 * sysdeps/generic/math-nan-payload-double.h: ... here.
8851 (FLOAT): Remove definition.
8852 (SET_MANTISSA): Rename to ...
8853 (SET_NAN_PAYLOAD): ... this.
8854 * stdlib/strtod_nan_float.h: Move to ...
8855 * sysdeps/generic/math-nan-payload-float.h: ... here.
8856 (FLOAT): Remove definition.
8857 (SET_MANTISSA): Rename to ...
8858 (SET_NAN_PAYLOAD): ... this.
8859 * sysdeps/generic/math-type-macros-double.h: Include
8860 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
8861 instead of <math-svid-compat.h>.
8862 * sysdeps/generic/math-type-macros-float.h: Include
8863 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
8864 instead of <math-svid-compat.h>.
8865 * sysdeps/generic/math-type-macros-float128.h: Include
8866 <math-nan-payload-float128.h>.
8867 * sysdeps/generic/math-type-macros-ldouble.h: Include
8868 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
8869 instead of <math-svid-compat.h>.
8870 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
8871 check for definition.
8872 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
8873 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
8874 Include <ieee754_float128.h>.
8875 (FLOAT): Remove definition.
8876 (SET_MANTISSA): Rename to ...
8877 (SET_NAN_PAYLOAD): ... this.
8878 * sysdeps/ieee754/float128/strtof128_nan.c: Include
8879 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
8880 Do not include <float128_private.h>.
8881 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
8882 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
8883 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
8884 (FLOAT): Remove definition.
8885 (SET_MANTISSA): Rename to ...
8886 (SET_NAN_PAYLOAD): ... this.
8887 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
8888 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
8889 (FLOAT): Remove definition.
8890 (SET_MANTISSA): Rename to ...
8891 (SET_NAN_PAYLOAD): ... this.
8892 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
8893 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
8894 (FLOAT): Remove definition.
8895 (SET_MANTISSA): Rename to ...
8896 (SET_NAN_PAYLOAD): ... this.
8897 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
8898 of "../stdlib/strtod_nan_double.h".
8899 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
8900 of "../stdlib/strtod_nan_float.h".
8901 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
8902 instead of "../stdlib/strtod_nan_ldouble.h".
8903 * manual/arith.texi (Parsing of Floats): Adjust comment.
8905 2018-05-16 Joseph Myers <joseph@codesourcery.com>
8907 * math/Makefile (libm-narrow-fns): Add mul.
8908 (libm-test-funcs-narrow): Likewise.
8909 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
8910 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
8911 * math/gen-auto-libm-tests.c (test_functions): Add mul.
8912 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
8913 (NARROW_MUL_ROUND_TO_ODD): Likewise.
8914 (NARROW_MUL_TRIVIAL): Likewise.
8915 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
8916 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
8918 (__dmull): Likewise.
8919 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
8921 (CFLAGS-nldbl-dmul.c): New variable.
8922 (CFLAGS-nldbl-fmul.c): Likewise.
8923 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
8925 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
8927 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
8928 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
8929 * math/auto-libm-test-in: Add tests of mul.
8930 * math/auto-libm-test-out-narrow-mul: New generated file.
8931 * math/libm-test-narrow-mul.inc: New file.
8932 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
8933 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
8934 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
8935 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
8936 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
8937 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
8938 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
8939 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
8940 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
8941 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
8942 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
8943 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
8944 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
8945 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
8946 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
8947 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
8948 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
8949 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
8950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8951 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
8952 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8953 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8954 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8955 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8956 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8957 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8958 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8959 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8960 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8961 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8962 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8963 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
8965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
8966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
8967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
8968 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
8969 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8970 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8971 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8972 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8973 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8974 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8975 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8977 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
8979 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
8982 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
8984 * sysdeps/i386/ldsodefs.h: Removed.
8985 * sysdeps/x86_64/ldsodefs.h: Moved to ...
8986 * sysdeps/x86/ldsodefs.h: This.
8988 (La_i86_retval): Likewise.
8989 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
8990 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
8992 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
8994 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
8997 2018-05-13 Alan Modra <amodra@gmail.com>
8999 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
9000 R_PARISC_TLS_DTPOFF32 reloc addend.
9002 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9004 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
9005 * math/math.h: Restrict the prototype definition for the functions
9006 issignaling(_Float128) and iszero(_Float128); and template
9007 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
9008 __HAVE_FLOAT128_UNLIKE_LDBL.
9009 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
9010 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
9011 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
9012 __f128() constants; define the type _Float128 as long double;
9013 and reuse long double in __CFLOAT128.
9015 2018-05-11 Joseph Myers <joseph@codesourcery.com>
9017 * sysdeps/generic/math_private.h: Do not include
9019 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
9021 * math/fromfp.h: Include <math-barriers.h>.
9022 * math/math-narrow.h: Likewise.
9023 * math/s_nextafter.c: Likewise.
9024 * math/s_nexttowardf.c: Likewise.
9025 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
9026 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
9027 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
9028 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
9029 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9030 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9031 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9032 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9033 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9034 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9035 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9036 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9037 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9038 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9039 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9040 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9041 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9042 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9043 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9044 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9045 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9046 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9047 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9048 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9049 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9050 * sysdeps/ieee754/k_standardl.c: Likewise.
9051 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9052 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9053 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9054 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9055 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9056 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9057 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9058 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9059 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9060 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9061 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9062 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9063 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9064 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9065 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9066 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9067 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9068 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9069 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9070 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9071 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
9072 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
9074 2018-05-11 Florian Weimer <fweimer@redhat.com>
9076 Use 64-bit epoch values in the time zone file parser.
9077 * include/time.h (internal_time_t): Define.
9078 (__tzfile_compute): Use it.
9079 * time/tzfile.c (struct leap): Use internal_time_t for epoch
9081 (transitions): Switch to internal_time_t.
9082 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
9084 (__tzfile_compute): Use internal_time_t for timer argument. Check
9085 for truncation before calling __offtime.
9087 2018-05-11 Florian Weimer <fweimer@redhat.com>
9090 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
9091 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
9093 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
9094 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
9095 export without --enable-obsolete-rpc.
9096 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
9097 symbol. This should not have been exported, ever.
9099 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
9102 * localedata/locales/gd_GB (abmon): Fix typo in May:
9103 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
9105 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9107 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
9108 Use multiple registers to copy data in loop tail.
9110 * sysdeps/aarch64/multiarch/memmove_falkor.S
9111 (__memmove_falkor): Use multiple registers to move data in
9114 2018-05-10 Joseph Myers <joseph@codesourcery.com>
9116 * math/math-underflow.h: New file.
9117 * sysdeps/generic/math_private.h: Do not include <float.h>.
9118 (fabs_tg): Remove macro. Moved to math-underflow.h.
9119 (min_of_type_f): Likewise.
9120 (min_of_type_): Likewise.
9121 (min_of_type_l): Likewise.
9122 (min_of_type_f128): Likewise.
9123 (min_of_type): Likewise.
9124 (math_check_force_underflow): Likewise.
9125 (math_check_force_underflow_nonneg): Likewise.
9126 (math_check_force_underflow_complex): Likewise.
9127 * math/e_exp2_template.c: Include <math-underflow.h>.
9128 * math/k_casinh_template.c: Likewise.
9129 * math/s_catan_template.c: Likewise.
9130 * math/s_catanh_template.c: Likewise.
9131 * math/s_ccosh_template.c: Likewise.
9132 * math/s_cexp_template.c: Likewise.
9133 * math/s_clog10_template.c: Likewise.
9134 * math/s_clog_template.c: Likewise.
9135 * math/s_csin_template.c: Likewise.
9136 * math/s_csinh_template.c: Likewise.
9137 * math/s_csqrt_template.c: Likewise.
9138 * math/s_ctan_template.c: Likewise.
9139 * math/s_ctanh_template.c: Likewise.
9140 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9141 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9142 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9143 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9144 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9145 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9146 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9147 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9148 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9149 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9150 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9151 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9152 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9153 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9154 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9155 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9156 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9157 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9158 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9159 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9160 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9161 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9162 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9163 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9164 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9165 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9166 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9167 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9168 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9169 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9170 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9171 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9172 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9173 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9174 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9175 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9176 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9177 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9178 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9179 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9180 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9181 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9182 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9183 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9184 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9185 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9186 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9187 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9188 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9189 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9190 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9191 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9192 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9193 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9194 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9195 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9196 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9197 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9198 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9199 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9200 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9201 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9202 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9203 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9204 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9205 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9206 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9207 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9208 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9209 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9210 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9211 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9212 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9213 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
9214 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9215 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9216 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9217 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9218 * sysdeps/x86/fpu/powl_helper.c: Likewise.
9219 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
9220 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
9221 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
9222 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
9223 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
9225 2018-05-09 Joseph Myers <joseph@codesourcery.com>
9227 * sysdeps/generic/math-barriers.h: New file.
9228 * sysdeps/generic/math_private.h [!math_opt_barrier]
9229 (math_opt_barrier): Move to math-barriers.h.
9230 [!math_opt_barrier] (math_force_eval): Likewise.
9231 * sysdeps/aarch64/fpu/math-barriers.h: New file.
9232 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
9234 (math_force_eval): Likewise.
9235 * sysdeps/alpha/fpu/math-barriers.h: New file.
9236 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
9238 (math_force_eval): Likewise.
9239 * sysdeps/x86/fpu/math-barriers.h: New file.
9240 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
9242 (math_force_eval): Likewise.
9243 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
9244 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
9245 multiple-include guard for rename.
9246 * sysdeps/powerpc/fpu/math-barriers.h: New file.
9247 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
9249 (math_force_eval): Likewise.
9251 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
9255 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
9257 * stdlib/Makefile (test-bz22786): New test.
9258 * stdlib/test-bz22786.c: New test.
9260 2018-05-09 Joseph Myers <joseph@codesourcery.com>
9262 * include/math-narrow-eval.h: New file. Contents moved from ....
9263 * sysdeps/generic/math_private.h: ... here.
9264 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
9265 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
9266 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
9267 * stdlib/strtod_l.c: Likewise.
9268 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
9269 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
9270 * sysdeps/i386/fpu/s_fdim.c: Likewise.
9271 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9272 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9273 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9274 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9275 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9276 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9277 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9278 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9279 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
9280 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9281 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9282 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9283 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9284 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9285 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9286 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9287 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9288 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9289 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9290 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9291 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9292 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9293 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9294 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9295 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9296 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9298 2018-05-08 Andreas Schwab <schwab@suse.de>
9300 * sysdeps/nptl/internaltypes.h: Fix comment.
9302 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
9304 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9305 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
9308 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9310 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
9311 of I into loop header.
9312 * benchtests/bench-memmove-walk.c
9313 (test_main): Likewise.
9315 2018-05-07 Alexandre Oliva <oliva@gnu.org>
9318 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
9319 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
9321 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9324 * elf/dl-load.c (open_verify): Fix stack overflow.
9325 * elf/Makefile (tst-big-note): New test.
9326 * elf/tst-big-note-lib.S: New.
9327 * elf/tst-big-note.c: New.
9329 2018-05-04 Joseph Myers <joseph@codesourcery.com>
9331 * scripts/abilist.awk: Ignore absolute symbols.
9332 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
9333 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
9334 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
9335 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
9336 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
9337 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
9338 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
9339 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
9340 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
9341 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
9342 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
9343 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
9344 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
9345 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
9346 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
9347 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
9348 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
9349 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
9350 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9351 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
9352 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
9353 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
9354 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
9355 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
9356 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
9357 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
9358 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
9359 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
9360 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9361 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
9362 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
9363 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9364 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
9365 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
9366 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
9367 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
9368 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
9369 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
9370 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
9371 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
9372 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
9373 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9374 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
9375 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
9376 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9377 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
9378 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
9379 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
9380 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
9381 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
9382 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
9383 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
9384 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
9385 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
9386 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9387 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
9388 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
9389 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9390 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
9391 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
9392 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
9393 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
9394 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
9395 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
9396 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
9397 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
9398 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
9399 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9400 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
9401 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
9402 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9403 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
9404 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
9405 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
9406 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
9407 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
9408 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
9409 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
9410 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
9411 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
9412 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9413 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
9414 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
9415 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9416 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
9417 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
9418 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
9419 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
9420 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
9421 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
9422 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
9423 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9425 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
9426 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9427 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
9428 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
9429 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9430 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
9431 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
9432 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
9433 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
9434 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
9435 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
9436 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
9437 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9439 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
9440 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9441 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
9442 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
9443 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9444 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
9445 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
9446 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
9447 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
9448 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
9449 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
9450 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
9451 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
9452 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
9453 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9454 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
9455 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
9456 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9457 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
9458 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
9459 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
9460 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
9461 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
9462 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
9463 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9464 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
9465 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9467 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
9468 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
9469 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
9470 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
9471 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9472 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
9473 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
9474 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
9475 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
9476 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
9477 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
9478 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
9479 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
9480 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
9481 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
9482 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
9483 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
9484 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
9485 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9486 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9488 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
9489 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
9490 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
9491 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9492 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
9493 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
9494 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
9495 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
9496 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
9497 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
9498 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9499 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
9500 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
9501 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9502 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
9503 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
9504 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
9505 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
9506 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9507 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
9508 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
9509 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9510 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
9511 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
9512 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
9513 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
9514 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
9515 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
9516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
9517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
9518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
9519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
9522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
9523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
9524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
9525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
9527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
9529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
9530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
9533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
9538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
9539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
9545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
9546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
9551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
9552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
9553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
9554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
9555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
9557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
9558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
9566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
9567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
9568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
9575 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
9576 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
9578 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
9579 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
9580 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
9581 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
9582 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
9583 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
9584 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
9585 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
9586 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
9587 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
9588 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
9589 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
9590 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
9591 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9593 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9594 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
9595 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
9596 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9597 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
9598 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
9599 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
9600 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
9601 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
9602 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
9603 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
9604 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9606 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9607 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
9608 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
9609 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9610 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
9611 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
9612 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
9613 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
9614 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
9615 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
9616 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
9617 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
9618 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
9619 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9620 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
9621 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
9622 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9623 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
9624 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
9625 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
9626 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
9627 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
9628 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
9629 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
9630 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9632 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
9633 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9634 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
9635 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
9636 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9637 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
9638 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
9639 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
9640 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
9641 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
9642 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
9643 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
9644 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9646 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
9647 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9648 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
9649 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
9650 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9651 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
9652 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
9653 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
9654 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
9655 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
9656 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
9657 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
9658 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
9659 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
9660 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9661 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
9662 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
9663 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9664 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
9665 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
9666 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
9667 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
9668 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
9669 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
9670 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
9671 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
9672 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
9673 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
9674 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9675 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
9676 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
9677 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9678 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
9679 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
9680 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
9681 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
9682 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
9683 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
9685 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
9688 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
9689 Use atomic_load_acquire to load __tid.
9691 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
9693 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
9694 Restore the pointer into %rdx, after syscall and use %rdx,
9695 instead of %rsi, to restore context.
9697 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
9699 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
9700 Pop the pointer into %rdx after syscall and use %rdx, instead
9701 of %rsi, to restore context.
9703 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
9705 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
9706 handlers after setjmp.
9707 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
9709 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
9710 <libc-pointer-arith.h>.
9711 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
9712 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
9713 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
9714 _JUMP_BUF_SIGSET_BITS_PER_WORD.
9715 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
9716 * sysdeps/x86/__longjmp_cancel.S: New file.
9717 * sysdeps/x86/longjmp.c: Likewise.
9718 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
9720 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9722 * NEWS: Add ustat.h deprecation entry.
9723 * bits/ustat.h: Remove file.
9724 * misc/sys/ustat.h: Likewise.
9725 * misc/ustat.h: Likewise.
9726 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
9727 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
9728 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
9730 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
9731 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
9732 generic Linux implementation.
9734 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9736 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
9737 * math/w_expl_compat.c: Likewise.
9738 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
9740 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
9742 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
9744 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9746 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
9747 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
9748 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
9750 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
9751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
9752 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9753 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
9754 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
9757 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9759 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
9761 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
9762 * math/w_asin_template.c: Likewise.
9763 * math/w_atanh_template.c: Likewise.
9765 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9767 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
9768 to powerpc/powerpc64/be for big-endian.
9769 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
9772 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
9773 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
9774 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
9775 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
9776 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9777 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
9778 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
9779 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
9780 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
9781 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9782 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
9783 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
9784 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
9785 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
9786 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
9787 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
9788 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
9789 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
9790 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
9791 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
9792 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
9793 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9794 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
9795 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
9796 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
9797 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9798 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
9799 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
9800 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
9801 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
9802 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
9803 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
9805 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
9806 adjusted to imply powerpc64 and older processors on powerpc64/be.
9807 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
9808 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
9809 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
9810 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
9811 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
9812 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
9813 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
9814 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
9815 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
9816 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
9817 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
9818 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
9819 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
9820 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
9821 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
9822 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
9823 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
9824 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
9825 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
9826 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
9827 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
9828 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
9829 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
9830 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
9831 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
9832 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
9833 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
9834 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
9835 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
9836 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
9837 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
9839 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
9840 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
9841 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
9842 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
9844 * sysdeps/powerpc/powerpc64/be/Implies: New file.
9845 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
9846 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
9847 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
9849 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
9850 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
9851 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
9852 * sysdeps/powerpc/powerpc64le/configure: Likewise.
9853 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
9854 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
9855 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
9856 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
9857 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
9858 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
9859 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
9861 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
9862 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
9863 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
9864 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
9865 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
9866 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
9867 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
9868 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
9869 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
9870 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
9871 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
9873 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
9874 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
9875 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
9876 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
9877 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
9878 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
9879 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
9880 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
9881 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
9882 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
9883 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
9884 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
9886 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
9887 and adjusted to imply olders processors.
9888 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
9889 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
9890 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
9891 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
9892 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
9893 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
9894 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
9895 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
9896 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
9897 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
9898 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
9900 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
9902 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
9903 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
9905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
9907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
9908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
9910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
9912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
9914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
9916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
9917 powerpc64 and adjusted.
9918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
9919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
9920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
9923 2018-04-27 Joseph Myers <joseph@codesourcery.com>
9925 * sysdeps/tile: Remove.
9926 * sysdeps/unix/sysv/linux/tile: Likewise.
9927 * README (tilegx-*-linux-gnu): Remove from list of supported
9929 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
9930 contribution of support for generic Linux kernel syscall
9932 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
9933 tilegx configurations.
9934 (Config.install_linux_headers): Do not handle tile.
9935 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
9937 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
9938 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
9939 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
9940 conditional undefine and redefine.
9941 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
9943 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
9944 conditional undefine and redefine.
9946 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
9948 * signal/tst-sigaction.c: New file to test BZ #23069.
9949 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
9951 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9954 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
9955 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
9956 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
9957 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
9959 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9961 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
9962 _DIRENT_MATCHES_DIRENT64 is not defined.
9963 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
9964 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
9966 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
9967 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
9969 2018-04-25 Joseph Myers <joseph@codesourcery.com>
9971 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
9972 version to GCC 8 branch.
9974 2018-04-24 Joseph Myers <joseph@codesourcery.com>
9976 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
9977 (check_no_hidden): Use type of original function when declaring
9980 * sysdeps/unix/sysv/linux/sys/ptrace.h
9981 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
9982 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
9983 (struct __ptrace_seccomp_metadata): New type.
9984 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9985 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9986 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
9987 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9988 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
9989 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9990 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9991 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9992 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
9993 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9994 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
9995 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9996 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
9997 (PTRACE_SECCOMP_GET_METADATA): Likewise.
9998 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
9999 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10001 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10003 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
10005 * dirent/versionsort.c (versionsort): Likewise.
10006 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
10007 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
10008 * dirent/versionsort64.c (versionsort64): Likewise.
10009 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
10010 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
10011 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
10012 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
10013 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
10014 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
10015 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
10016 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
10017 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
10018 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
10019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
10020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
10021 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
10022 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
10024 2018-04-23 Joseph Myers <joseph@codesourcery.com>
10026 * elf/elf.h (NT_PPC_PKEY): New macro.
10028 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
10031 * localedata/locales/hr_HR: fix thousands_sep and
10034 2018-04-20 Joseph Myers <joseph@codesourcery.com>
10036 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
10037 (XTABS): Define to TAB3.
10039 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10041 * sysdeps/hppa/fpu/libm-test-ulps: Update.
10043 * dirent/scandir-tail-common.c: New file.
10044 * dirent/scandir-tail.c: Use scandir-tail-common.c.
10045 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
10046 * dirent/scandir.c: Use scandir-tail-common.c.
10047 * dirent/scandirat.c: Likewise.
10048 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
10049 * dirent/scandir64.c (scandir64): Always build and alias to scandir
10050 if _DIRENT_MATCHES_DIRENT64 is defined.
10051 * dirent/scandirat64.c (scandirat64): Likewise.
10052 * include/dirent.h (__scandir_tail): Only define iff
10053 _DIRENT_MATCHES_DIRENT64 is not defined.
10054 (__scandir64_tail): Define regardless.
10055 (__scandirat, scandirat64): Remove libc_hidden_proto.
10056 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
10057 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
10058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
10059 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
10060 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10061 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
10062 * sysdeps/unix/sysv/linux/scandir64.c: New file.
10064 2018-04-20 Joseph Myers <joseph@codesourcery.com>
10066 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
10068 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
10070 (_dl_aarch64_cap_flags): Add asimdfhm.
10072 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
10074 * sysdeps/nios2/libm-test-ulps: Update.
10076 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10078 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
10079 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
10081 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
10083 (_DIRENT_MATCHES_DIRENT64): Undef
10084 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
10085 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
10086 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
10087 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
10088 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
10089 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
10090 use getdents64 syscalls as base.
10091 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
10092 symbol if required.
10093 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
10094 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
10095 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
10096 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
10097 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
10098 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
10099 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
10100 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
10101 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10102 (__get_clockfreq_via_proc_openprom): Use __getdents64.
10103 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
10105 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
10107 * scripts/test_printers_common.py (init_test): Disable lock elision.
10109 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
10111 * math/test-tgmath.c (count_double, count_float,
10112 count_ldouble, count_cdouble, count_cfloat,
10113 count_cldouble): Use volatile int.
10115 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
10117 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
10118 (conformtest-xfail-conds): Add i386-gnu.
10119 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
10121 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
10122 ipc_perm.cuid, ipc_perm.cgid): Likewise.
10123 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
10124 msqid_ds.msg_lrpid): Likewise.
10125 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
10127 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
10128 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
10129 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
10130 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
10132 (struct statvfs64): Likewise.
10133 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
10135 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
10136 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
10137 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
10138 instead of wait_queue.
10139 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
10140 instead of vm_area_struct.
10141 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
10142 struct sched_param definition to it.
10143 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10144 * bits/types/struct_sched_param.h: New file.
10145 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
10146 <bits/types/struct_sched_param.h> instead of <sched.h>.
10147 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
10148 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
10149 generic version but include <bits/pthreadtypes.h> to make struct
10150 sigevent's sigev_notify_attributes field a pthread_attr_t*.
10151 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
10153 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
10154 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
10155 [__USE_XOPEN] (OFDEL): New macro.
10156 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
10157 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
10158 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
10160 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
10161 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
10162 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
10164 * sysdeps/i386/sys/ucontext.h: Likewise.
10165 * sysdeps/m68k/sys/ucontext.h: Likewise.
10166 * sysdeps/mips/sys/ucontext.h: Likewise.
10167 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
10168 * sysdeps/mach/hurd/i386/Makefile
10169 (test-xfail-POSIX/fcntl.h/conform): Add.
10170 (test-xfail-POSIX/signal.h/conform): Add.
10171 (test-xfail-POSIX/semaphore.h/conform): Add.
10172 (test-xfail-POSIX/regex.h/conform): Add.
10173 (test-xfail-POSIX/aio.h/conform): Add.
10174 (test-xfail-POSIX/mqueue.h/conform): Add.
10175 (test-xfail-POSIX/sys/types.h/conform): Add.
10176 (test-xfail-UNIX98/fcntl.h/conform): Add.
10177 (test-xfail-UNIX98/netdb.h/conform): Add.
10178 (test-xfail-UNIX98/signal.h/conform): Add.
10179 (test-xfail-UNIX98/semaphore.h/conform): Add.
10180 (test-xfail-UNIX98/regex.h/conform): Add.
10181 (test-xfail-UNIX98/aio.h/conform): Add.
10182 (test-xfail-UNIX98/ftw.h/conform): Add.
10183 (test-xfail-UNIX98/mqueue.h/conform): Add.
10184 (test-xfail-UNIX98/netinet/in.h/conform): Add.
10185 (test-xfail-UNIX98/sys/wait.h/conform): Add.
10186 (test-xfail-UNIX98/sys/sem.h/conform): Add.
10187 (test-xfail-UNIX98/sys/uio.h/conform): Add.
10188 (test-xfail-UNIX98/sys/socket.h/conform): Add.
10189 (test-xfail-UNIX98/sys/types.h/conform): Add.
10190 (test-xfail-UNIX98/stdlib.h/conform): Add.
10191 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
10192 (test-xfail-POSIX2008/fcntl.h/conform): Add.
10193 (test-xfail-POSIX2008/netdb.h/conform): Add.
10194 (test-xfail-POSIX2008/signal.h/conform): Add.
10195 (test-xfail-POSIX2008/semaphore.h/conform): Add.
10196 (test-xfail-POSIX2008/regex.h/conform): Add.
10197 (test-xfail-POSIX2008/aio.h/conform): Add.
10198 (test-xfail-POSIX2008/mqueue.h/conform): Add.
10199 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
10200 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
10201 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
10202 (test-xfail-POSIX2008/sys/types.h/conform): Add.
10203 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
10204 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
10205 (test-xfail-XOPEN2K/netdb.h/conform): Add.
10206 (test-xfail-XOPEN2K/signal.h/conform): Add.
10207 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
10208 (test-xfail-XOPEN2K/regex.h/conform): Add.
10209 (test-xfail-XOPEN2K/aio.h/conform): Add.
10210 (test-xfail-XOPEN2K/ftw.h/conform): Add.
10211 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
10212 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
10213 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
10214 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
10215 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
10216 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
10217 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
10218 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
10219 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
10220 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
10221 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
10222 (test-xfail-XOPEN2K8/signal.h/conform): Add.
10223 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
10224 (test-xfail-XOPEN2K8/regex.h/conform): Add.
10225 (test-xfail-XOPEN2K8/aio.h/conform): Add.
10226 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
10227 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
10228 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
10229 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
10230 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
10231 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
10232 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
10233 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
10234 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
10235 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
10236 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
10238 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
10239 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
10241 2018-04-18 Joseph Myers <joseph@codesourcery.com>
10243 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
10244 --enable-obsolete for powerpc-linux-gnuspe.
10246 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10248 * conform/data/sys/un.h-data: Allow sun_ prefix.
10249 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
10251 * sysdeps/mach/include/mach.h: Likewise.
10252 * sysdeps/mach/include/mach/mig_support.h: Likewise.
10253 * sysdeps/mach/include/mach_error.h: Likewise.
10255 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10257 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
10258 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
10259 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
10260 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
10262 2018-04-16 Andreas Schwab <schwab@suse.de>
10265 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
10267 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
10269 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
10270 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
10272 2018-04-12 DJ Delorie <dj@redhat.com>
10274 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10277 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10279 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
10280 (struct kernel_sigaction): Use the same definition on 31bit as is used
10283 2018-04-09 Florian Weimer <fweimer@redhat.com>
10286 * resolv/res_send.c (send_dg): Use designated initializers instead
10287 of assignment to zero-initialize other fields of struct mmsghdr.
10289 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10291 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
10292 __READDIR_ALIAS): Undefine after usage.
10293 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
10294 __READDIR_R_ALIAS): Likewise.
10295 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
10296 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
10297 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
10298 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
10299 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
10300 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
10301 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10302 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10303 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
10304 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
10305 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
10306 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
10307 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10308 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
10309 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
10310 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
10311 * sysdeps/unix/sysv/linux/readdir.c: New file.
10312 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
10313 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
10314 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
10316 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
10318 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
10320 * manual/charset.texi (Converting a Character): Fix typo.
10322 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10326 * sysdeps/arm/libm-test-ulps: Update.
10328 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
10329 as base implementation.
10330 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10331 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10332 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10333 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10334 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10335 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
10336 remove unrequired definitions and update comments.
10337 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
10338 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
10339 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
10340 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
10341 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
10342 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
10343 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
10344 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
10345 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
10346 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
10347 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
10348 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10349 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
10350 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
10351 and RESET_SA_RESTORER hooks.
10353 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
10355 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10357 2018-04-05 Florian Weimer <fweimer@redhat.com>
10359 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
10360 integer overflow, memory leak on error, and indeterminate errno
10361 value. Add a null wide character to terminate the result string.
10362 * manual/charset.texi (Converting a Character): Mention embedded
10363 null bytes in the mbrtowc input string. Explain what happens in
10364 the -2 result case. Do not claim that mbrtowc is simple or
10365 obvious to use. Adjust the description of the code example. Use
10366 @code, not @var, for concrete variables.
10368 2018-04-05 Florian Weimer <fweimer@redhat.com>
10370 * manual/examples/mbstouwcs.c: New file.
10371 * manual/charset.texi (Converting a Character): Include it.
10373 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
10375 * include/dirent.h (dirfd): Add hidden proto.
10376 * dirent/dirfd.c (dirfd): Add hidden def.
10377 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
10378 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
10380 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10382 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
10383 sin, cos and sincos to 1 ULP.
10385 2018-04-04 Maciej W. Rozycki <macro@mips.com>
10388 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
10390 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
10391 * elf/tst-absolute-sym.c: New file.
10392 * elf/tst-absolute-sym-lib.c: New file.
10393 * elf/tst-absolute-sym-lib.lds: New file.
10394 * elf/Makefile (tests): Add `tst-absolute-sym'.
10395 (modules-names): Add `tst-absolute-sym-lib'.
10396 (LDLIBS-tst-absolute-sym-lib.so): New variable.
10397 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
10398 ($(objpfx)tst-absolute-sym): New dependency.
10401 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
10403 (SYMBOL_ADDRESS): New macro.
10404 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
10405 SYMBOL_ADDRESS for symbol address calculation.
10406 * elf/dl-runtime.c (_dl_fixup): Likewise.
10407 (_dl_profile_fixup): Likewise.
10408 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
10409 * elf/rtld.c (dl_main): Likewise.
10410 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
10411 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
10412 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
10413 (elf_machine_rela): Likewise.
10414 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
10415 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
10416 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
10417 (elf_machine_rela): Likewise.
10418 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10419 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
10420 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
10421 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
10423 (elf_machine_reloc): Likewise.
10424 (elf_machine_got_rel): Likewise.
10425 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
10426 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
10427 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10429 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10431 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
10432 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10434 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10436 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10437 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
10439 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
10441 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
10442 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10444 2018-04-04 Zack Weinberg <zackw@panix.com>
10446 * sysdeps/generic/internal-signals.h: Include signal.h,
10447 sigsetops.h, and stdbool.h.
10448 (__libc_signal_block_all): Actually block all signals.
10449 (__libc_signal_block_app): Likewise.
10450 (__libc_signal_restore_set): Actually restore the signal mask.
10452 2018-04-04 Florian Weimer <fweimer@redhat.com>
10454 inet: Actually build and run tst-deadline.
10455 * inet/Makefile (tests-internal): Add tst-deadline and do not
10456 overwrite the variable.
10457 (tests-static-internal): Remove variable.
10459 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
10462 * bits/uio-ext.h (RWF_APPEND): New.
10463 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
10464 * manual/llio.texi: Document RWF_APPEND.
10465 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
10466 (RWF_SUPPORTED): Add RWF_APPEND.
10468 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10471 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
10472 check for internal nptl signals.
10473 * nptl/sigaction.c (__sigaction): Likewise.
10474 * signal/sigaddset.c (sigaddset): Likewise.
10475 * signal/sigdelset.c (sigdelset): Likewise.
10476 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
10477 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
10479 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
10480 to filter out internal nptl signals.
10481 * signal/tst-sigset.c (do_test): Check ech signal indidually and
10482 also check realtime signals using standard macros.
10483 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
10484 __is_internal_signal, __libc_signal_block_all,
10485 __libc_signal_block_app, __libc_signal_restore_set): New functions.
10486 * sysdeps/nptl/sigfillset.c: Remove file.
10487 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
10488 Change return to bool.
10489 (__clear_internal_signals): Remove SIGTIMER clean since it is
10490 equal to SIGCANEL on Linux.
10491 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
10492 signal set was constructed using standard functions.
10494 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10496 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
10497 ifname is too long.
10498 * hurd/hurdsig.c (interrupted_reply_port_location): Use
10499 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
10500 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
10502 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
10503 * signal/sigaddset.c: Include <sigsetopts.h>.
10504 * signal/sigdelset.c: Likewise.
10506 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
10508 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
10510 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
10511 logic as sin and cos.
10513 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
10515 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
10516 inputs. Return correct sign.
10517 (do_sincos): Remove small input check before do_sin, let do_sin set
10522 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
10524 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
10525 (do_cos_slow): Likewise.
10526 (do_sin_slow): Likewise.
10527 (reduce_and_compute): Likewise.
10532 (sloww1): Likewise.
10533 (sloww2): Likewise.
10535 (bslow1): Likewise.
10536 (bslow2): Likewise.
10537 (cslow2): Likewise.
10539 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
10541 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
10542 (do_cos): Remove corp parameter and calculations.
10543 (do_sin): Likewise.
10544 (do_sincos): Remove cor variable.
10545 (__sin): Use do_sincos for huge inputs.
10547 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
10548 (reduce_and_compute_sincos): Remove unused function.
10550 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
10552 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
10553 reduce_sincos, improve accuracy to 136 bits.
10554 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
10555 (__sin): Use improved reduction and simplified do_sincos calculation.
10557 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
10559 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
10561 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
10562 (do_sincos_2): Likewise.
10563 (__sin): Remove middle range reduction case.
10565 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
10568 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
10570 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
10571 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
10574 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
10576 2018-04-03 Joseph Myers <joseph@codesourcery.com>
10578 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10581 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10583 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
10584 Remove definitions.
10585 (opendir_oflags): Use O_DIRECTORY regardless.
10586 (__opendir, __opendirat): Remove need_isdir_precheck usage.
10587 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
10589 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10591 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
10592 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
10594 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
10595 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
10596 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
10597 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
10598 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
10599 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
10601 * htl/Makefile: Bump licence to LGPL 2.1+.
10602 * htl/alloca_cutoff.c: Likewise.
10603 * htl/cthreads-compat.c: Likewise.
10604 * htl/lockfile.c: Likewise.
10605 * htl/pt-alloc.c: Likewise.
10606 * htl/pt-cancel.c: Likewise.
10607 * htl/pt-cleanup.c: Likewise.
10608 * htl/pt-create.c: Likewise.
10609 * htl/pt-dealloc.c: Likewise.
10610 * htl/pt-detach.c: Likewise.
10611 * htl/pt-exit.c: Likewise.
10612 * htl/pt-getattr.c: Likewise.
10613 * htl/pt-initialize.c: Likewise.
10614 * htl/pt-internal.h: Likewise.
10615 * htl/pt-join.c: Likewise.
10616 * htl/pt-self.c: Likewise.
10617 * htl/pt-setcancelstate.c: Likewise.
10618 * htl/pt-setcanceltype.c: Likewise.
10619 * htl/pt-sigmask.c: Likewise.
10620 * htl/pt-spin-inlines.c: Likewise.
10621 * htl/pt-testcancel.c: Likewise.
10622 * htl/pt-yield.c: Likewise.
10623 * htl/tests/test-1.c: Likewise.
10624 * htl/tests/test-10.c: Likewise.
10625 * htl/tests/test-11.c: Likewise.
10626 * htl/tests/test-12.c: Likewise.
10627 * htl/tests/test-13.c: Likewise.
10628 * htl/tests/test-14.c: Likewise.
10629 * htl/tests/test-15.c: Likewise.
10630 * htl/tests/test-16.c: Likewise.
10631 * htl/tests/test-17.c: Likewise.
10632 * htl/tests/test-2.c: Likewise.
10633 * htl/tests/test-3.c: Likewise.
10634 * htl/tests/test-4.c: Likewise.
10635 * htl/tests/test-5.c: Likewise.
10636 * htl/tests/test-6.c: Likewise.
10637 * htl/tests/test-7.c: Likewise.
10638 * htl/tests/test-8.c: Likewise.
10639 * htl/tests/test-9.c: Likewise.
10640 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
10641 * sysdeps/htl/bits/cancelation.h: Likewise.
10642 * sysdeps/htl/bits/pthread-np.h: Likewise.
10643 * sysdeps/htl/bits/pthread.h: Likewise.
10644 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
10645 * sysdeps/htl/bits/semaphore.h: Likewise.
10646 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
10647 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
10648 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
10649 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
10650 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
10651 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
10652 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
10653 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
10654 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
10655 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
10656 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
10657 * sysdeps/htl/old_pt-atfork.c: Likewise.
10658 * sysdeps/htl/pt-atfork.c: Likewise.
10659 * sysdeps/htl/pt-attr-destroy.c: Likewise.
10660 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
10661 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
10662 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
10663 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
10664 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
10665 * sysdeps/htl/pt-attr-getscope.c: Likewise.
10666 * sysdeps/htl/pt-attr-getstack.c: Likewise.
10667 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
10668 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
10669 * sysdeps/htl/pt-attr-init.c: Likewise.
10670 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
10671 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
10672 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
10673 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
10674 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
10675 * sysdeps/htl/pt-attr-setscope.c: Likewise.
10676 * sysdeps/htl/pt-attr-setstack.c: Likewise.
10677 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
10678 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
10679 * sysdeps/htl/pt-attr.c: Likewise.
10680 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
10681 * sysdeps/htl/pt-barrier-init.c: Likewise.
10682 * sysdeps/htl/pt-barrier-wait.c: Likewise.
10683 * sysdeps/htl/pt-barrier.c: Likewise.
10684 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
10685 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
10686 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
10687 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
10688 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
10689 * sysdeps/htl/pt-cond-destroy.c: Likewise.
10690 * sysdeps/htl/pt-cond-init.c: Likewise.
10691 * sysdeps/htl/pt-cond-signal.c: Likewise.
10692 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
10693 * sysdeps/htl/pt-cond-wait.c: Likewise.
10694 * sysdeps/htl/pt-cond.c: Likewise.
10695 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
10696 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
10697 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
10698 * sysdeps/htl/pt-condattr-init.c: Likewise.
10699 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
10700 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
10701 * sysdeps/htl/pt-destroy-specific.c: Likewise.
10702 * sysdeps/htl/pt-equal.c: Likewise.
10703 * sysdeps/htl/pt-getconcurrency.c: Likewise.
10704 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
10705 * sysdeps/htl/pt-getschedparam.c: Likewise.
10706 * sysdeps/htl/pt-getspecific.c: Likewise.
10707 * sysdeps/htl/pt-init-specific.c: Likewise.
10708 * sysdeps/htl/pt-key-create.c: Likewise.
10709 * sysdeps/htl/pt-key-delete.c: Likewise.
10710 * sysdeps/htl/pt-key.h: Likewise.
10711 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
10712 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
10713 * sysdeps/htl/pt-mutex-init.c: Likewise.
10714 * sysdeps/htl/pt-mutex-lock.c: Likewise.
10715 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
10716 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
10717 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
10718 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
10719 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
10720 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
10721 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
10722 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
10723 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
10724 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
10725 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
10726 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
10727 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
10728 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
10729 * sysdeps/htl/pt-mutexattr.c: Likewise.
10730 * sysdeps/htl/pt-once.c: Likewise.
10731 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
10732 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
10733 * sysdeps/htl/pt-rwlock-init.c: Likewise.
10734 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
10735 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
10736 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
10737 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
10738 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
10739 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
10740 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
10741 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
10742 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
10743 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
10744 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
10745 * sysdeps/htl/pt-setconcurrency.c: Likewise.
10746 * sysdeps/htl/pt-setschedparam.c: Likewise.
10747 * sysdeps/htl/pt-setschedprio.c: Likewise.
10748 * sysdeps/htl/pt-setspecific.c: Likewise.
10749 * sysdeps/htl/pt-spin.c: Likewise.
10750 * sysdeps/htl/pt-startup.c: Likewise.
10751 * sysdeps/htl/pthread.h: Likewise.
10752 * sysdeps/htl/sem-close.c: Likewise.
10753 * sysdeps/htl/sem-destroy.c: Likewise.
10754 * sysdeps/htl/sem-getvalue.c: Likewise.
10755 * sysdeps/htl/sem-init.c: Likewise.
10756 * sysdeps/htl/sem-open.c: Likewise.
10757 * sysdeps/htl/sem-post.c: Likewise.
10758 * sysdeps/htl/sem-timedwait.c: Likewise.
10759 * sysdeps/htl/sem-trywait.c: Likewise.
10760 * sysdeps/htl/sem-unlink.c: Likewise.
10761 * sysdeps/htl/sem-wait.c: Likewise.
10762 * sysdeps/hurd/htl/pt-kill.c: Likewise.
10763 * sysdeps/i386/htl/pt-machdep.h: Likewise.
10764 * sysdeps/mach/htl/pt-block.c: Likewise.
10765 * sysdeps/mach/htl/pt-spin.c: Likewise.
10766 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
10767 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
10768 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
10769 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
10770 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
10771 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
10772 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
10773 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
10774 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
10775 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
10776 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
10777 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
10778 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
10779 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
10780 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
10781 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
10782 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
10783 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
10784 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
10785 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
10786 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
10787 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
10788 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
10789 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
10790 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
10791 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
10792 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
10793 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
10794 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
10795 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
10796 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
10797 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
10798 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
10799 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
10800 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
10801 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
10802 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
10803 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
10804 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
10805 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
10806 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
10807 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
10808 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
10810 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
10811 * README: Remove the mention of out-of-tree patches needed for
10814 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
10815 (UTIME_NOW, UTIME_OMIT): Define macros.
10817 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
10818 instead of pthread_detach.
10819 (__cthread_fork): Call __pthread_create instead of pthread_create.
10820 (__cthread_keycreate): Call __pthread_key_create instead of
10821 pthread_key_create.
10822 (__cthread_getspecific): Call __pthread_getspecific instead of
10823 pthread_getspecific.
10824 (__cthread_setspecific): Call __pthread_setspecific instead of
10825 pthread_setspecific.
10826 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
10827 __pthread_mutex_unlock instead of pthread_mutex_lock and
10828 pthread_mutex_unlock.
10829 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
10830 ___pthread_get_cleanup_stack.
10831 (__pthread_get_cleanup_stack): New strong alias.
10832 * htl/pt-create.c: Include <pthreadP.h>.
10833 (entry_point): Call __pthread_exit instead of pthread_exit.
10834 (pthread_create): Rename to __pthread_create.
10835 (pthread_create): New strong alias.
10836 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
10837 (pthread_detach): New strong alias.
10838 (__pthread_detach): Call __pthread_cond_broadcast instead of
10839 pthread_cond_broadcast.
10840 * htl/pt-exit.c: Include <pthreadP.h>.
10841 (__pthread_exit): Call __pthread_setcancelstate and
10842 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
10843 __pthread_get_cleanup_stack.
10844 * htl/pt-testcancel.c: Include <pthreadP.h>.
10845 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
10846 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
10847 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
10848 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
10849 pthread_attr_getstacksize.
10850 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
10851 Rename to __pthread_attr_getstackaddr.
10852 (pthread_attr_getstackaddr): New strong alias.
10853 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
10854 Rename to __pthread_attr_getstacksize.
10855 (pthread_attr_getstacksize): New strong alias.
10856 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
10857 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
10858 (pthread_attr_setstack): New strong alias.
10859 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
10860 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
10861 pthread_attr_getstacksize, pthread_attr_setstacksize and
10862 pthread_attr_setstackaddr.
10863 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
10864 Rename to __pthread_attr_setstackaddr.
10865 (pthread_attr_setstackaddr): New strong alias.
10866 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
10867 Rename to __pthread_attr_setstacksize.
10868 (pthread_attr_setstacksize): New strong alias.
10869 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
10870 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
10872 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
10873 (__pthread_key_create): New hidden def.
10874 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
10875 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
10876 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
10877 __pthread_exit, __pthread_key_create, __pthread_getspecific,
10878 __pthread_setspecific, __pthread_setcancelstate,
10879 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
10880 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
10881 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
10883 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
10884 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
10885 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
10886 (pthread_attr_setstackaddr): New strong alias.
10887 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
10888 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
10889 (pthread_attr_setstacksize): New strong alias.
10890 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
10891 (call_exit): Call __pthread_exit instead of pthread_exit.
10892 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
10893 (_pthread_mutex_init): New hidden definition.
10894 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
10895 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
10896 instead of pthread_attr_init and pthread_attr_setstack.
10898 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
10899 __vm_deallocate instead of vm_allocate and vm_deallocate.
10900 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
10902 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
10904 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
10906 * hurd/siginfo.c: Include <libioP.h>.
10907 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
10908 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
10910 * mach/devstream.c: Include <libioP.h>.
10911 (dealloc_ref): Call __mach_port_deallocate instead of
10912 mach_port_deallocate.
10913 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
10914 Call __mach_port_deallocate instead of mach_port_deallocate.
10915 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
10917 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
10919 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
10920 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
10921 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
10923 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
10925 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
10926 instead of sysconf.
10927 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
10928 __clock_gettime instead of clock_gettime.
10929 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
10930 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
10931 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
10932 * sysdeps/unix/bsd/stty.c (stty): Likewise.
10933 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
10935 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
10936 __clock_gettime and __nanosleep instead of clock_gettime and
10938 * hurd/catch-signal.c (hurd_catch_signal): Rename to
10939 __hurd_catch_signal.
10940 (hurd_catch_signal): New strong alias.
10941 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
10942 __hurd_catch_signal instead of hurd_catch_signal.
10943 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
10944 * hurd/hurdexec.c (_hurd_init): Add hidden def.
10945 * hurd/hurdinit.c (_hurd_init): Add hidden def.
10946 * hurd/hurdsig.c: Include <mach/mig_support.h>.
10947 (_hurd_thread_sigstate): Add hidden def.
10948 (_hurd_internal_post_signal): Use __mutex_unlock instead of
10950 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
10951 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
10952 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
10953 __hurd_file_name_path_lookup.
10954 (hurd_file_name_path_lookup): New strong alias.
10955 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
10956 hurd_file_name_path_lookup.
10957 * mach/errstring.c (mach_error_type): Add hidden def.
10958 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
10959 * mach/mutex-init.c (__mutex_init): Add hidden def.
10960 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
10961 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
10962 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
10963 * sysdeps/mach/hurd/getcwd.c
10964 (_hurd_canonicalize_directory_name_internal): Rename to
10965 __hurd_canonicalize_directory_name_internal.
10966 (_hurd_canonicalize_directory_name_internal): New strong alias.
10967 (__canonicalize_directory_name_internal, __getcwd): Call
10968 __hurd_canonicalize_directory_name_internal instead of
10969 _hurd_canonicalize_directory_name_internal.
10970 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
10971 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
10973 * sysdeps/hurd/include/hurd.h: New file.
10974 * sysdeps/hurd/include/hurd/fd.h: New file.
10975 * sysdeps/hurd/include/hurd/signal.h: New file.
10976 * sysdeps/mach/include/lock-intern.h: New file.
10977 * sysdeps/mach/include/mach.h: New file.
10978 * sysdeps/mach/include/mach/mig_support.h: New file.
10979 * sysdeps/mach/include/mach_error.h: New file.
10980 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
10982 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
10983 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
10984 _HEADER_H_HIDDEN_DEF macro.
10985 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
10986 _hurd_fd_error_signal): Add hidden prototype.
10987 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
10989 * libio/iolibio.h (_IO_puts): New hidden prototype.
10990 * libio/ioputs.c (_IO_puts): New hidden def.
10991 * sysdeps/mach/hurd/localplt.data: New file.
10993 2018-04-02 Agustina Arzille <avarzille@riseup.net>
10994 Amos Jeffries <squid3@treenet.co.nz>
10995 David Michael <fedora.dm0@gmail.com>
10996 Marco Gerards <marco@gnu.org>
10997 Marcus Brinkmann <marcus@gnu.org>
10998 Neal H. Walfield <neal@gnu.org>
10999 Pino Toscano <toscano.pino@tiscali.it>
11000 Richard Braun <rbraun@sceen.net>
11001 Roland McGrath <roland@gnu.org>
11002 Samuel Thibault <samuel.thibault@ens-lyon.org>
11003 Thomas DiModica <ricinwich@yahoo.com>
11004 Thomas Schwinge <tschwinge@gnu.org>
11006 * htl: New directory.
11007 * sysdeps/htl: New directory.
11008 * sysdeps/hurd/htl: New directory.
11009 * sysdeps/i386/htl: New directory.
11010 * sysdeps/mach/htl: New directory.
11011 * sysdeps/mach/hurd/htl: New directory.
11012 * sysdeps/mach/hurd/i386/htl: New directory.
11013 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
11014 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
11015 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
11017 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11019 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
11020 signals in thread created for runing timers.
11022 2018-04-01 Florian Weimer <fweimer@redhat.com>
11024 * support/support_format_addrinfo.c (support_format_addrinfo):
11025 Include unknown error number in formatted result.
11027 2018-03-29 Florian Weimer <fweimer@redhat.com>
11029 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
11032 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11034 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
11035 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
11036 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11037 (__ASSUME_CLONE_BACKWARDS): Define.
11039 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
11042 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
11043 early when linux sentinel value is set.
11045 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11047 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
11049 2018-03-27 Andreas Schwab <schwab@suse.de>
11052 * resolv/res_send.c (__res_context_send): Return ENOMEM if
11053 allocation of private copy of nsaddr_list fails.
11055 2018-03-26 Joseph Myers <joseph@codesourcery.com>
11058 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
11059 * sysdeps/unix/sysv/linux/umount.c: ... here.
11060 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
11061 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
11062 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
11063 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
11064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
11065 * sysdeps/unix/sysv/linux/umount.S: Likewise.
11066 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
11068 2018-03-26 Andreas Schwab <schwab@suse.de>
11070 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
11071 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
11072 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
11073 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
11074 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
11075 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
11076 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
11077 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
11078 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
11079 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
11080 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
11081 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
11082 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
11083 (R_RISCV_NUM): Define.
11085 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
11087 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
11088 TLS declaration of errno.
11089 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
11091 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
11092 (ARCH_SETUP_TLS): Likewise.
11093 * sysdeps/mach/hurd/libc-start.h: New file copied from
11094 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
11095 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
11096 instead of __libc_setup_tls.
11097 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
11098 __libc_setup_tls before initializing libpthread and running _hurd_init
11099 which starts the signal thread.
11100 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
11102 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11104 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
11107 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
11108 after it is defined.
11110 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
11111 Max Horn <max@quendi.de>
11115 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
11117 * string/test-memmove.c (do_test2): New testcase.
11119 2018-03-22 Joseph Myers <joseph@codesourcery.com>
11121 * sysdeps/generic/frame.h: Remove file.
11122 * sysdeps/arm/frame.h: Likewise.
11123 * sysdeps/hppa/frame.h: Likewise.
11124 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
11126 (GET_FRAME): Likewise.
11127 (GET_STACK): Likewise.
11128 (CALL_SIGHANDLER): Likewise.
11129 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
11131 (GET_FRAME): Likewise.
11132 (GET_STACK): Likewise.
11133 (CALL_SIGHANDLER): Likewise.
11134 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
11135 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11136 (GET_FRAME): Likewise.
11137 (GET_STACK): Likewise.
11138 (CALL_SIGHANDLER): Likewise.
11139 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
11140 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11141 (GET_FRAME): Likewise.
11142 (GET_STACK): Likewise.
11143 (ADVANCE_STACK_FRAME): Likewise.
11144 (CALL_SIGHANDLER): Likewise.
11145 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
11146 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11147 (GET_FRAME): Likewise.
11148 (GET_STACK): Likewise.
11149 (CALL_SIGHANDLER): Likewise.
11150 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
11151 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11152 (GET_FRAME): Likewise.
11153 (GET_STACK): Likewise.
11154 (CALL_SIGHANDLER): Likewise.
11155 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
11156 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11157 (GET_FRAME): Likewise.
11158 (GET_STACK): Likewise.
11159 (CALL_SIGHANDLER): Likewise.
11160 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
11161 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11162 (GET_FRAME): Likewise.
11163 (GET_STACK): Likewise.
11164 (CALL_SIGHANDLER): Likewise.
11165 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
11166 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11167 (GET_FRAME): Likewise.
11168 (GET_STACK): Likewise.
11169 (CALL_SIGHANDLER): Likewise.
11170 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
11171 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11172 (GET_FRAME): Likewise.
11173 (GET_STACK): Likewise.
11174 (CALL_SIGHANDLER): Likewise.
11175 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
11176 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11177 (GET_FRAME): Likewise.
11178 (GET_STACK): Likewise.
11179 (CALL_SIGHANDLER): Likewise.
11180 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
11181 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11182 (GET_FRAME): Likewise.
11183 (GET_STACK): Likewise.
11184 (CALL_SIGHANDLER): Likewise.
11185 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
11186 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11187 (GET_FRAME): Likewise.
11188 (GET_STACK): Likewise.
11189 (CALL_SIGHANDLER): Likewise.
11190 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
11191 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11192 (FIRST_FRAME_POINTER): Likewise.
11193 (ADVANCE_STACK_FRAME): Likewise.
11194 (GET_STACK): Likewise.
11195 (GET_FRAME): Likewise.
11196 (CALL_SIGHANDLER): Likewise.
11197 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
11198 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11199 (ADVANCE_STACK_FRAME): Likewise.
11200 (GET_STACK): Likewise.
11201 (GET_FRAME): Likewise.
11202 (CALL_SIGHANDLER): Likewise.
11203 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
11204 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11205 (GET_FRAME): Likewise.
11206 (GET_STACK): Likewise.
11207 (CALL_SIGHANDLER): Likewise.
11208 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
11209 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11210 (GET_FRAME): Likewise.
11211 (GET_STACK): Likewise.
11212 (CALL_SIGHANDLER): Likewise.
11214 2018-03-21 Joseph Myers <joseph@codesourcery.com>
11216 * sysdeps/x86_64/backtrace.c: Move to ....
11217 * debug/backtrace.c: ... here.
11218 * sysdeps/aarch64/backtrace.c: Remove file.
11219 * sysdeps/alpha/backtrace.c: Likewise.
11220 * sysdeps/hppa/backtrace.c: Likewise.
11221 * sysdeps/ia64/backtrace.c: Likewise.
11222 * sysdeps/mips/backtrace.c: Likewise.
11223 * sysdeps/nios2/backtrace.c: Likewise.
11224 * sysdeps/riscv/backtrace.c: Likewise.
11225 * sysdeps/sh/backtrace.c: Likewise.
11226 * sysdeps/tile/backtrace.c: Likewise.
11228 2018-03-20 Joseph Myers <joseph@codesourcery.com>
11231 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
11234 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
11237 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
11238 possibly overflowing computations.
11240 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
11242 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
11243 values from Linux-specific section now that it is in the GNU section.
11244 * sysdeps/gnu/errlist.c: Regenerate.
11246 2018-03-20 Joseph Myers <joseph@codesourcery.com>
11248 * math/Makefile (libm-narrow-fns): Add sub.
11249 (libm-test-funcs-narrow): Likewise.
11250 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
11251 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
11252 * math/gen-auto-libm-tests.c (test_functions): Add sub.
11253 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
11254 (NARROW_SUB_ROUND_TO_ODD): Likewise.
11255 (NARROW_SUB_TRIVIAL): Likewise.
11256 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
11258 (__dsubl): Likewise.
11259 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
11261 (CFLAGS-nldbl-dsub.c): New variable.
11262 (CFLAGS-nldbl-fsub.c): Likewise.
11263 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11265 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
11267 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
11268 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
11269 * math/auto-libm-test-in: Add tests of sub.
11270 * math/auto-libm-test-out-narrow-sub: New generated file.
11271 * math/libm-test-narrow-sub.inc: New file.
11272 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11273 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
11274 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
11275 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
11276 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
11277 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
11278 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
11279 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
11280 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
11281 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
11282 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
11283 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
11284 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
11285 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
11286 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
11287 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
11288 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
11289 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
11290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11291 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11292 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11293 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11294 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11295 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11296 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11297 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11298 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11299 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11300 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11301 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11302 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11303 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11308 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11309 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11310 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11311 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11312 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11313 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11314 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
11315 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
11316 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11317 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11319 2018-03-19 Joseph Myers <joseph@codesourcery.com>
11322 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
11324 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
11326 * benchtests/bench-timing.h (attribute_hidden): Undefine.
11328 2018-03-18 Richard Braun <rbraun@sceen.net>
11330 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
11333 2018-03-18 Agustina Arzille <avarzille@riseup.net>
11335 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
11336 (__libc_cleanup_fct): Define function.
11337 (__libc_cleanup_region_start, __libc_cleanup_region_end,
11338 __libc_cleanup_end): Rewrite implementation using
11339 __attribute__ ((__cleanup__)).
11340 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
11341 * hurd/Makefile (routines): Add hurdlock.
11342 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
11344 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
11345 * hurd/hurdpid.c: Include <lowlevellock.h>
11346 (_S_msg_proc_newids): Use lll_wait to synchronize.
11347 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
11348 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
11349 * mach/Makefile (lock-headers): Remove machine-lock.h.
11350 * mach/lock-intern.h: Include <lowlevellock.h> instead of
11352 (__spin_lock_t): New type.
11353 (__SPIN_LOCK_INITIALIZER): New macro.
11354 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
11355 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
11356 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
11357 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
11358 (__mutex_init): Initialize with lll.
11359 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
11360 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
11362 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11363 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
11364 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
11365 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
11366 (__setpgid): Use lll for synchronization.
11367 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
11368 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
11369 instead of <cthreads.h>.
11370 (_IO_lock_inexpensive): New macro
11371 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
11372 (__libc_lock_self0): New declaration.
11373 (__libc_lock_owner_self): New macro.
11374 (__libc_key_t): Remove type.
11375 (_LIBC_LOCK_INITIALIZER): New macro.
11376 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
11377 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
11378 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
11379 __libc_lock_define_initialized_recursive,
11380 __rtld_lock_define_initialized_recursive,
11381 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
11382 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
11383 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
11384 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
11385 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
11386 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
11387 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
11389 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
11390 * hurd/hurdlock.c: New file.
11391 * hurd/hurdlock.h: New file.
11392 * mach/lowlevellock.h: New file
11394 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11396 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
11397 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
11398 when opening a symlink with O_NOFOLLOW.
11399 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
11400 path when flags contains O_NOFOLLOW.
11401 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
11402 if flags contains O_DIRECTORY and the result is a directory.
11403 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
11404 oneself when the pointer given in D is nul (as set by ext2fs).
11405 * sysdeps/mach/hurd/mlockall.c: New file.
11406 * sysdeps/mach/hurd/munlockall.c: New file.
11408 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
11410 * hurd/hurdsig.c: Include <pthread.h>.
11411 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
11412 get the signal thread stack layout.
11413 * hurd/Makefile (headers): Remove threadvar.h.
11414 (inline-headers): Remove threadvar.h.
11415 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
11416 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
11417 __hurd_threadvar_max, __hurd_errno_location.
11418 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
11419 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
11420 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
11421 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
11422 unless TLS is not initialized yet, in which case we do not need a
11423 critical section yet anyway.
11424 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
11426 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
11428 (__hurd_threadvar_index): Remove enum.
11429 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
11430 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
11432 (__hurd_reply_port0): New variable declaration.
11433 (__hurd_local_reply_port): New macro.
11434 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
11435 (interrupted_reply_port_location): Add thread_t parameter. Use it
11436 with THREAD_TCB to access thread-local variables.
11437 (_hurdsig_abort_rpcs): Pass ss->thread to
11438 interrupted_reply_port_location.
11439 (_hurd_internal_post_signal): Likewise.
11440 (_hurdsig_init): Use presence of cthread_fork instead of
11441 __hurd_threadvar_stack_mask to start signal thread by hand.
11442 Remove signal thread threadvar initialization.
11443 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
11444 * hurd/sigunwind.c: Include <hurd/threadvar.h>
11445 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
11447 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
11449 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
11450 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
11451 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
11452 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
11453 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
11454 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
11455 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
11457 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
11458 <hurd/threadvar.h>.
11459 [IS_IN(rtld)] (rtld_errno): New variable.
11460 [IS_IN(rtld)] (__errno_location): New weak function.
11461 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
11462 * sysdeps/mach/hurd/errno.c: Remove file.
11463 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
11464 (__fork): Remove THREADVAR_SPACE macro and its use.
11465 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
11467 (init): Do not initialize threadvar.
11468 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
11470 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
11471 __hurd_local_reply_port instead of threadvar.
11472 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
11473 _hurd_sigstate fields.
11474 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
11475 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
11476 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
11477 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
11478 instead of threadvar.
11479 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
11480 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
11481 (use_threadvar, global_reply_port): Remove variables.
11482 (__hurd_reply_port0): New variable.
11483 (__mig_get_reply_port): Use __hurd_local_reply_port and
11484 __hurd_reply_port0 instead of threadvar.
11485 (__mig_dealloc_reply_port): Likewise.
11486 (__mig_init): Do not initialize threadvar.
11487 * sysdeps/mach/hurd/profil.c: Fix comment.
11488 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
11489 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
11490 cthread_keycreate, cthread_getspecific, cthread_setspecific to
11491 __cthread_fork, __cthread_detach, __pthread_getattr_np,
11492 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
11493 __cthread_setspecific.
11494 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
11495 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
11496 __cthread_t instead of cthread_fork, cthread_detach,
11497 pthread_getattr_np, pthread_attr_getstack.
11498 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
11499 __cthread_keycreate.
11500 (cthread_getspecific): Rename to __cthread_getspecific.
11501 (cthread_setspecific): Rename to __cthread_setspecific.
11502 (__libc_getspecific): Use __cthread_getspecific instead of
11503 cthread_getspecific.
11504 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
11505 __cthread_keycreate instead of cthread_keycreate.
11506 (__libc_setspecific): Use __cthread_setspecific instead of
11507 cthread_setspecific.
11508 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
11510 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
11511 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
11512 testing whether it is defined.
11514 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11516 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
11518 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
11519 * sysdeps/mach/i386/thread_state.h
11520 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
11522 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
11524 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
11526 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
11527 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
11529 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
11531 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
11532 descriptor instead of creating a new one.
11533 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
11535 * mach/setup-thread.c: Include <ldsodefs.h>.
11536 (__mach_setup_thread): Call _dl_allocate_tls, pass
11537 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
11538 MACHINE_THREAD_STATE_FLAVOR, before getting
11539 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
11540 MACHINE_THREAD_STATE_FLAVOR with the result.
11541 * hurd/hurdfault.c (_hurdsig_fault_init): Call
11542 MACHINE_THREAD_STATE_FIX_NEW.
11543 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
11544 too. Add original thread parameter.
11546 2018-03-16 Joseph Myers <joseph@codesourcery.com>
11548 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
11549 Remove inline function.
11551 * sysdeps/i386/fpu/libm-test-ulps: Update.
11552 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
11554 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
11556 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
11559 2018-03-15 Joseph Myers <joseph@codesourcery.com>
11561 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
11562 (__sincos_code): Remove define and undefine.
11563 [__FAST_MATH__] (__sincos): Remove inline function.
11564 [__FAST_MATH__] (__sincosf): Remove inline function.
11565 [__FAST_MATH__] (__sincosl): Remove inline function.
11566 (__atan2l): Remove inline functions.
11567 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
11568 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
11570 (floor): Remove inline function.
11572 [__FAST_MATH__] (__ldexp_code): Remove macro.
11573 [__FAST_MATH__] (ldexp): Remove inline function.
11574 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
11575 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
11576 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
11577 [__USE_ISOC99] (__lrint_code): Remove macro.
11578 [__USE_ISOC99] (__llrint_code): Likewise.
11579 [__USE_ISOC99] (lrintf): Remove inline function.
11580 [__USE_ISOC99] (lrint): Likewise.
11581 [__USE_ISOC99] (lrintl): Likewise.
11582 [__USE_ISOC99] (llrint): Likewise.
11583 [__USE_ISOC99] (llrintf): Likewise.
11584 [__USE_ISOC99] (llrintl): Likewise.
11586 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
11588 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
11589 (__ieee754_sqrtf): Remove.
11590 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
11591 (__ieee754_sqrtf): Remove.
11592 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
11593 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
11594 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
11595 (__ieee754_sqrtf): Remove.
11596 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
11597 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
11600 (__ieee754_sqrt): Remove.
11601 (__ieee754_sqrtf): Remove.
11602 (__ieee754_sqrtl): Remove.
11603 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
11604 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
11605 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
11606 (__ieee754_sqrtf): Remove.
11607 (__ieee754_sqrtl): Remove.
11609 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
11611 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
11612 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
11613 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11614 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
11615 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
11616 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11617 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11618 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11620 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
11621 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
11622 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
11623 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
11624 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
11625 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
11626 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
11627 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
11628 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
11629 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
11630 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
11631 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
11632 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
11633 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
11634 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
11635 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11636 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11637 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11638 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
11639 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
11640 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11641 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11642 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
11643 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
11644 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
11645 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
11646 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11647 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11648 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
11649 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
11650 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
11651 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
11652 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11653 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
11654 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11655 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11656 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
11657 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
11658 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
11659 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
11661 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
11663 * include/math.h (sqrt): Declare with asm redirect.
11666 (sqrtf128): Likewise.
11667 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
11668 nonlib and libnldbl with -fmath-errno.
11669 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
11670 * math/w_sqrt_template.c: Likewise.
11671 * math/w_sqrtf_compat.c: Likewise.
11672 * math/w_sqrtl_compat.c: Likewise.
11673 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
11674 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
11675 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
11678 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
11680 * benchtests/Makefile: Define _ISOMAC.
11681 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
11682 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
11683 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
11684 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
11685 * benchtests/bench-timing.h: Define attribute_hidden.
11687 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
11689 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
11692 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
11695 * localedata/locales/cs_CZ (mon): Rename to...
11697 (mon): Import from CLDR (genitive case).
11699 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
11702 * localedata/locales/el_CY (abmon): Rename to...
11703 (ab_alt_mon): This.
11704 (abmon): Import from CLDR (abbreviated genitive case).
11705 * localedata/locales/el_GR (abmon): Rename to...
11706 (ab_alt_mon): This.
11707 (abmon): Import from CLDR (abbreviated genitive case).
11709 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
11712 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
11714 2018-03-15 Robert Buj <robert.buj@gmail.com>
11717 * localedata/locales/ca_ES (abmon): Rename to...
11718 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
11719 (mon): Rename to...
11721 (abmon): Import from CLDR (genitive case, month names preceded by
11724 (abday): Synchronize with CLDR.
11725 (d_t_fmt): Likewise.
11729 (LC_TIME): Improve indentation.
11730 (LC_TELEPHONE): Likewise.
11731 (LC_NAME): Likewise.
11732 (LC_ADDRESS): Likewise.
11734 2018-03-14 Joseph Myers <joseph@codesourcery.com>
11736 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
11737 (lrintf): Remove definitions used only with old GCC.
11738 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
11739 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
11740 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
11741 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
11742 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
11743 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
11744 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
11745 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
11746 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
11747 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
11748 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
11749 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
11750 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
11751 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
11752 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
11753 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
11754 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
11755 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
11756 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
11757 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
11758 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
11759 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
11760 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
11761 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
11762 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
11763 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
11764 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
11765 [__FAST_MATH__] (__M_SQRT2): Remove macro.
11767 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
11769 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
11770 instruction to unbreak builds with binutils 2.26 and older.
11772 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
11774 * sysdeps/aarch64/strncmp.S (count): New macro.
11775 (strncmp): Store misaligned length in SRC1 in COUNT.
11776 (mutual_align): Adjust.
11777 (misaligned8): Load dword at a time when it is safe.
11779 2018-03-12 Zack Weinberg <zackw@panix.com>
11783 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
11784 if the _IO_EOF_SEEN bit is already set; update commentary.
11785 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
11786 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
11788 * support/support_openpty.c, support/tty.h: New files.
11789 * support/Makefile (libsupport-routines): Add support_openpty.
11791 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
11793 * libio/Makefile (tests): Add tst-fgetc-after-eof.
11794 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
11796 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
11798 * po/pt_BR.po: Update translations.
11800 2018-03-12 David Michael <fedora.dm0@gmail.com>
11802 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
11803 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
11804 get a port to the startup server.
11806 2018-03-11 Zack Weinberg <zackw@panix.com>
11808 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
11809 before nldbl-compat.h.
11811 2018-03-10 Zack Weinberg <zackw@panix.com>
11813 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
11814 math.h or math_private.h.
11816 * sysdeps/alpha/fpu/s_isnan.c
11817 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
11818 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
11819 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
11820 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
11821 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
11822 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
11823 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
11824 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
11825 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
11826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
11827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
11828 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
11829 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
11830 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
11831 Include math_private.h.
11833 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
11834 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
11835 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
11836 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
11837 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
11838 * sysdeps/powerpc/power7/fpu/s_logb.c:
11839 Include math.h and math_private.h.
11841 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
11842 uses of $at in .set noat / .set at.
11844 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
11846 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
11847 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
11848 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
11849 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
11852 2018-03-09 Florian Weimer <fweimer@redhat.com>
11854 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
11857 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
11860 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
11861 Add nop before __startcontext, add explaining comments.
11863 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11866 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
11868 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
11869 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
11870 Do not build hardware transactional code for __SPE__.
11871 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11872 (__lll_trylock_elision): Likewise.
11873 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11874 (__lll_unlock_elision): Likewise.
11876 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
11877 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
11878 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
11879 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
11880 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
11881 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
11882 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
11883 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
11884 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
11885 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
11886 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
11887 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
11888 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
11889 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
11890 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
11891 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
11892 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
11893 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
11894 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
11895 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
11896 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
11897 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11898 (__ASSUME_CLONE_BACKWARDS): Define.
11899 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
11900 __clone2 if __NR_clone2 is defined.
11901 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11902 (__ASSUME_CLONE_BACKWARDS): Likewise.
11903 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11904 (__ASSUME_CLONE_BACKWARDS): Likewise.
11905 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11906 (__ASSUME_CLONE2): Likewise.
11907 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11908 (__ASSUME_CLONE_BACKWARDS3): Likewise.
11909 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
11910 variants and the define architecture can use.
11911 (__ASSUME_CLONE_DEFAULT): Define as default.
11912 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11913 (__ASSUME_CLONE_BACKWARDS): Likewise.
11914 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11915 (__ASSUME_CLONE_BACKWARDS): Likewise.
11916 * sysdeps/unix/sysv/linux/s390/kernel-features.h
11917 (__ASSUME_CLONE_BACKWARDS2): Likewise.
11919 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
11921 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
11923 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
11926 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
11927 (do_test_limit): Likewise.
11929 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
11930 for every implementation.
11931 (do_test): Likewise.
11933 * benchtests/bench-strncmp.c: Convert output to json.
11935 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11937 * io/futimens.c: Add missing start-of-file descriptive comment.
11938 * io/utime.c: Likewise.
11939 * misc/futimesat.c: Likewise.
11940 * misc/utimes.c: Likewise.
11941 * sysdeps/mach/hurd/futimesat.c: Likewise.
11942 * sysdeps/mach/hurd/utimes.c: Likewise.
11943 * sysdeps/posix/utime.c: Likewise.
11944 * sysdeps/posix/utimes.c: Likewise.
11945 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
11946 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
11947 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
11948 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
11950 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
11952 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
11954 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
11955 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
11956 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
11957 (__futimens): Move implementation to...
11958 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
11959 utime_tvalue_from_tspec): ... new helper functions.
11960 (hurd_futimens): New function.
11961 * sysdeps/mach/hurd/futimesat.c: New file.
11962 * sysdeps/mach/hurd/utimensat.c: New file.
11964 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
11966 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
11967 UTIME_OMIT): New macros.
11968 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
11969 before reverting to converting time spec to time value and calling
11971 * sysdeps/mach/hurd/utime-helper.c: New file.
11972 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
11973 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
11974 reverting to utime_tvalue_from_tval and __file_utimes.
11975 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
11976 (__lutimes): Just call hurd_futimens after lookup.
11977 * sysdeps/mach/hurd/utimes.c: Likewise.
11979 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
11981 * bits/sigaction.h: Add include guard.
11982 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
11983 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
11984 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
11985 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
11986 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
11987 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
11988 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
11989 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
11990 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
11992 2018-03-05 Joseph Myers <joseph@codesourcery.com>
11994 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
11995 -Wmaybe-uninitialized for -Os.
11996 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
11999 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12001 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
12002 __INO_T_MATCHES_INO64_T is defined.
12003 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
12004 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
12006 * dirent/alphasort64.c: Likewise.
12007 * dirent/scandir.c: Likewise.
12008 * dirent/scandir64-tail.c: Likewise.
12009 * dirent/scandir64.c: Likewise.
12010 * dirent/scandirat.c: Likewise.
12011 * dirent/scandirat64.c: Likewise.
12012 * dirent/versionsort.c: Likewise.
12013 * dirent/versionsort64.c: Likewise.
12014 * include/dirent.h: Likewise.
12016 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
12017 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
12018 for socketpair endpoint.
12019 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
12020 WRITE_BUFFER_SIZE as buffer size for sending socket.
12021 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
12022 issue on system where send is implemented with sendto syscall.
12023 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
12024 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
12025 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
12026 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
12029 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
12030 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
12031 sa_restorer for vDSO case.
12032 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
12034 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
12036 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
12037 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
12038 * hurd/hurd/ioctl.h: Include <mach/port.h>
12039 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
12040 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
12041 <mach/mach_types.h> and <mach/message.h>.
12042 (headers): Move mach/param.h to bits/mach/param.h.
12043 * sysdeps/mach/i386/mach/param.h: Move file to ...
12044 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
12045 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
12047 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
12048 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
12049 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
12050 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
12051 trivial, for C++ conformity.
12052 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
12053 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
12054 Process mig output through $(migheadersed).
12055 * hurd/Makefile (migheadersed): Define variable.
12056 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
12057 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
12059 * hurd/hurd.h: Include <bits/types/sigset_t.h>
12060 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
12061 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
12062 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
12063 <bits/types/sigset_t.h>.
12064 [!defined __USE_GNU]: Do not #error out.
12065 (struct hurd_sigstate): Use _NSIG instead of NSIG.
12066 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
12067 Include <stddef.h> and <bits/types/sigset_t.h>
12068 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
12069 instead of sighandler_t.
12070 * stdlib/errno.h (error_t): Move definition to...
12071 * bits/types/error_t.h: ... new header.
12072 * stdlib/Makefile (headers): Add bits/types/error_t.h.
12073 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
12074 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
12075 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
12076 * hurd/hurd.h: Include <bits/types/error_t.h>
12077 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
12078 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
12079 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
12080 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
12081 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
12082 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
12083 * sysdeps/mach/hurd/futimens.c: New file.
12085 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
12088 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
12089 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
12090 * nscd/gai.c (__nss_hosts_database): Readd definition.
12091 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
12092 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
12093 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
12095 2018-03-02 Joseph Myers <joseph@codesourcery.com>
12097 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
12098 (ifunc_one): Likewise.
12100 2018-03-01 DJ Delorie <dj@delorie.com>
12103 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
12106 2018-03-01 Maciej W. Rozycki <macro@mips.com>
12108 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
12109 `match_pid' parameter.
12110 (td_ta_thr_iter): Update accordingly.
12112 2018-03-01 Florian Weimer <fweimer@redhat.com>
12114 * nptl/Makefile (install-lib-ldscripts): Remove.
12115 (install): Remove rule.
12116 ($(inst_libdir)/libpthread.so): Likewise.
12118 2018-03-01 Mike FABIAN <mfabian@redhat.com>
12121 * localedata/locales/an_ES: update month and day names,
12122 improve d_fmt, improve postal_fmt, add country_post,
12125 2018-03-01 Mike FABIAN <mfabian@redhat.com>
12127 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
12128 Ukrainian instead of Bulgarian.
12130 2018-03-01 Florian Weimer <fweimer@redhat.com>
12132 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
12135 2018-03-01 Florian Weimer <fweimer@redhat.com>
12137 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
12138 * nptl/Makefile (routines): Add pthread_atfork.
12139 (static-only-routines): Set to pthread_atfork.
12140 (libpthread-routines): Remove pthread_atfork.
12141 (libpthread-static-only-routines): Remove.
12142 (install): Update comment.
12143 (libpthread.so): Do not install libpthread_nonshared.a.
12144 (tests): Do not link with libpthread_nonshared.a.
12145 (generated): Remove libpthread_nonshared.a.
12146 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
12147 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
12148 with libpthread_nonshared.a.
12150 2018-02-28 Joseph Myers <joseph@codesourcery.com>
12153 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
12154 (libc_feholdexcept_setroundf128): New macro.
12155 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
12158 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
12160 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
12161 * include/inttypes.h: New file.
12163 2018-02-27 Joseph Myers <joseph@codesourcery.com>
12165 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
12166 -Os in two more places.
12168 2018-02-27 Mike FABIAN <mfabian@redhat.com>
12170 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
12171 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
12172 be sorted correctly at the moment because of a bug.
12174 2018-02-27 Mike FABIAN <mfabian@redhat.com>
12176 [BZ #22550] - es_ES locale (and other es_* locales): collation should
12177 treat ñ as a primary different character, sync the collation
12178 for Spanish with CLDR.
12179 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
12180 * localedata/Makefile: Add new test files.
12181 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
12182 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
12184 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
12185 * localedata/am_ET.UTF-8.in: New test file.
12186 * localedata/az_AZ.UTF-8.in: Likewise.
12187 * localedata/be_BY.UTF-8.in: Likewise.
12188 * localedata/ber_DZ.UTF-8.in: Likewise.
12189 * localedata/ber_MA.UTF-8.in: Likewise.
12190 * localedata/bg_BG.UTF-8.in: Likewise.
12191 * localedata/br_FR.UTF-8.in: Likewise.
12192 * localedata/cmn_TW.UTF-8.in: Likewise.
12193 * localedata/crh_UA.UTF-8.in: Likewise.
12194 * localedata/csb_PL.UTF-8.in: Likewise.
12195 * localedata/cv_RU.UTF-8.in: Likewise.
12196 * localedata/cy_GB.UTF-8.in: Likewise.
12197 * localedata/dz_BT.UTF-8.in: Likewise.
12198 * localedata/eo.UTF-8.in: Likewise.
12199 * localedata/es_ES.UTF-8.in: Likewise.
12200 * localedata/fa_IR.UTF-8.in: Likewise.
12201 * localedata/fi_FI.UTF-8.in: Likewise.
12202 * localedata/fil_PH.UTF-8.in: Likewise.
12203 * localedata/fur_IT.UTF-8.in: Likewise.
12204 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
12205 * localedata/ha_NG.UTF-8.in: Likewise.
12206 * localedata/ig_NG.UTF-8.in: Likewise.
12207 * localedata/ik_CA.UTF-8.in: Likewise.
12208 * localedata/kk_KZ.UTF-8.in: Likewise.
12209 * localedata/ku_TR.UTF-8.in: Likewise.
12210 * localedata/ky_KG.UTF-8.in: Likewise.
12211 * localedata/ln_CD.UTF-8.in: Likewise.
12212 * localedata/mi_NZ.UTF-8.in: Likewise.
12213 * localedata/ml_IN.UTF-8.in: Likewise.
12214 * localedata/mn_MN.UTF-8.in: Likewise.
12215 * localedata/mr_IN.UTF-8.in: Likewise.
12216 * localedata/mt_MT.UTF-8.in: Likewise.
12217 * localedata/nb_NO.UTF-8.in: Likewise.
12218 * localedata/om_KE.UTF-8.in: Likewise.
12219 * localedata/os_RU.UTF-8.in: Likewise.
12220 * localedata/ps_AF.UTF-8.in: Likewise.
12221 * localedata/ro_RO.UTF-8.in: Likewise.
12222 * localedata/ru_RU.UTF-8.in: Likewise.
12223 * localedata/sc_IT.UTF-8.in: Likewise.
12224 * localedata/se_NO.UTF-8.in: Likewise.
12225 * localedata/sq_AL.UTF-8.in: Likewise.
12226 * localedata/sv_SE.UTF-8.in: Likewise.
12227 * localedata/szl_PL.UTF-8.in: Likewise.
12228 * localedata/tg_TJ.UTF-8.in: Likewise.
12229 * localedata/tk_TM.UTF-8.in: Likewise.
12230 * localedata/tt_RU.UTF-8.in: Likewise.
12231 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
12232 * localedata/ug_CN.UTF-8.in: Likewise.
12233 * localedata/uz_UZ.UTF-8.in: Likewise.
12234 * localedata/vi_VN.UTF-8.in: Likewise.
12235 * localedata/yi_US.UTF-8.in: Likewise.
12236 * localedata/yo_NG.UTF-8.in: Likewise.
12237 * localedata/zh_CN.UTF-8.in: Likewise.
12238 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
12239 file and fix bugs in the collation.
12240 * localedata/locales/az_AZ: Likewise.
12241 * localedata/locales/be_BY: Likewise.
12242 * localedata/locales/ber_DZ: Likewise.
12243 * localedata/locales/ber_MA: Likewise.
12244 * localedata/locales/bg_BG: Likewise.
12245 * localedata/locales/br_FR: Likewise.
12246 * localedata/locales/br_FR@euro: Likewise.
12247 * localedata/locales/ca_ES: Likewise.
12248 * localedata/locales/cns11643_stroke: Likewise.
12249 * localedata/locales/crh_UA: Likewise.
12250 * localedata/locales/cs_CZ: Likewise.
12251 * localedata/locales/csb_PL: Likewise.
12252 * localedata/locales/cv_RU: Likewise.
12253 * localedata/locales/cy_GB: Likewise.
12254 * localedata/locales/da_DK: Likewise.
12255 * localedata/locales/dz_BT: Likewise.
12256 * localedata/locales/en_CA: Likewise.
12257 * localedata/locales/eo: Likewise.
12258 * localedata/locales/es_CU: Likewise.
12259 * localedata/locales/es_EC: Likewise.
12260 * localedata/locales/es_ES: Likewise.
12261 * localedata/locales/es_US: Likewise.
12262 * localedata/locales/et_EE: Likewise.
12263 * localedata/locales/fa_IR: Likewise.
12264 * localedata/locales/fi_FI: Likewise.
12265 * localedata/locales/fil_PH: Likewise.
12266 * localedata/locales/fur_IT: Likewise.
12267 * localedata/locales/gez_ER@abegede: Likewise.
12268 * localedata/locales/ha_NG: Likewise.
12269 * localedata/locales/hr_HR: Likewise.
12270 * localedata/locales/hsb_DE: Likewise.
12271 * localedata/locales/hu_HU: Likewise.
12272 * localedata/locales/ig_NG: Likewise.
12273 * localedata/locales/ik_CA: Likewise.
12274 * localedata/locales/is_IS: Likewise.
12275 * localedata/locales/iso14651_t1_pinyin: Likewise.
12276 * localedata/locales/kk_KZ: Likewise.
12277 * localedata/locales/ku_TR: Likewise.
12278 * localedata/locales/ky_KG: Likewise.
12279 * localedata/locales/ln_CD: Likewise.
12280 * localedata/locales/lt_LT: Likewise.
12281 * localedata/locales/lv_LV: Likewise.
12282 * localedata/locales/mi_NZ: Likewise.
12283 * localedata/locales/ml_IN: Likewise.
12284 * localedata/locales/mn_MN: Likewise.
12285 * localedata/locales/mr_IN: Likewise.
12286 * localedata/locales/mt_MT: Likewise.
12287 * localedata/locales/nb_NO: Likewise.
12288 * localedata/locales/om_KE: Likewise.
12289 * localedata/locales/os_RU: Likewise.
12290 * localedata/locales/pl_PL: Likewise.
12291 * localedata/locales/ps_AF: Likewise.
12292 * localedata/locales/ro_RO: Likewise.
12293 * localedata/locales/ru_RU: Likewise.
12294 * localedata/locales/ru_UA: Likewise.
12295 * localedata/locales/sc_IT: Likewise.
12296 * localedata/locales/se_NO: Likewise.
12297 * localedata/locales/si_LK: Likewise.
12298 * localedata/locales/sq_AL: Likewise.
12299 * localedata/locales/sv_FI: Likewise.
12300 * localedata/locales/sv_FI@euro: Likewise.
12301 * localedata/locales/sv_SE: Likewise.
12302 * localedata/locales/szl_PL: Likewise.
12303 * localedata/locales/tg_TJ: Likewise.
12304 * localedata/locales/ti_ER: Likewise.
12305 * localedata/locales/tk_TM: Likewise.
12306 * localedata/locales/tl_PH: Likewise.
12307 * localedata/locales/tr_TR: Likewise.
12308 * localedata/locales/tt_RU: Likewise.
12309 * localedata/locales/tt_RU@iqtelif: Likewise.
12310 * localedata/locales/ug_CN: Likewise.
12311 * localedata/locales/uk_UA: Likewise.
12312 * localedata/locales/uz_UZ: Likewise.
12313 * localedata/locales/uz_UZ@cyrillic: Likewise.
12314 * localedata/locales/vi_VN: Likewise.
12315 * localedata/locales/yi_US: Likewise.
12316 * localedata/locales/yo_NG: Likewise.
12318 2018-02-27 Mike FABIAN <mfabian@redhat.com>
12320 * gen-locales.mk: Make test files which contain @ modifiers in their
12322 * localedata/gen-locale.sh: Likewise.
12324 2018-02-27 Mike FABIAN <mfabian@redhat.com>
12326 * posix/tst-fnmatch.input: Fix results for range expressions
12328 * posix/tst-regexloc.c: Do not use a range expression for
12329 de_DE.ISO-8859-1 locale.
12331 2018-02-27 Mike FABIAN <mfabian@redhat.com>
12333 * posix/bug-regex5.c: Fix test case because with the new
12334 iso14651_t1_common file, the da_DK locale now has 6 collating elements
12335 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
12338 2018-02-27 Mike FABIAN <mfabian@redhat.com>
12340 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
12341 downloaded from ISO, the collation order of @-. and space has changed.
12342 Therefore, this test file needed to be adapted.
12343 * localedata/fr_CA.UTF-8.in: Likewise.
12344 * localedata/fr_FR.UTF-8.in: Likewise.
12345 * localedata/uk_UA.UTF-8.in: Likewise.
12347 2018-02-27 Mike FABIAN <mfabian@redhat.com>
12349 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
12350 order of ȥ in the new iso14651_t1_common file.
12351 * localedata/pl_PL.UTF-8.in: Likewise.
12353 2018-02-27 Mike FABIAN <mfabian@redhat.com>
12355 * localedata/locales/iso14651_t1_common: Add sections for various
12356 scripts to the iso14651_t1_common file.
12358 2018-02-27 Mike FABIAN <mfabian@redhat.com>
12360 * localedata/locales/iso14651_t1_common: Use the code point of a
12361 character in the fourth collation level instead of IGNORE for all
12362 entries which have IGNORE on all 4 levels.
12364 2018-02-27 Mike FABIAN <mfabian@redhat.com>
12366 * localedata/locales/iso14651_t1_common: Add some convenient collation
12367 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
12368 rules similar to those in CLDR.
12370 2018-02-27 Mike FABIAN <mfabian@redhat.com>
12372 * localedata/locales/iso14651_t1_common: The new version of this
12373 file downloaded from ISO contained several syntax errors which
12374 are fixed by this patch.
12376 2018-02-27 Mike FABIAN <mfabian@redhat.com>
12378 * localedata/locales/iso14651_t1_common: replace all <U.....>
12379 with <U000.....> because glibc understands only 4 digit or 8 digit
12381 2018-02-27 Mike FABIAN <mfabian@redhat.com>
12383 * localedata/locales/iso14651_t1_common: Necessary changes
12384 to make the file downloaded from ISO usable by glibc.
12386 2018-02-27 Mike FABIAN <mfabian@redhat.com>
12389 * localedata/locales/iso14651_t1_common: Update file to
12390 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
12392 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12394 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
12395 of <nptl/pthreadP.h>
12396 (thread_attr_compare): Move function to...
12397 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
12398 * sysdeps/nptl/timer_routines.h: ... new header.
12399 * sysdeps/mach/hurd/gai_misc.h: New file.
12401 2018-02-26 Joseph Myers <joseph@codesourcery.com>
12403 * string/strcoll_l.c: Include <libc-diag.h>.
12404 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
12405 declarations of seq1 and seq2.
12408 * stdlib/atoi.c (atoi): Use libc_hidden_def.
12409 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
12411 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
12415 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
12416 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
12417 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
12418 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
12419 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
12420 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
12422 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12424 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
12425 macros used in __ptrace_request.
12427 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
12430 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
12432 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
12433 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
12434 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
12437 2018-02-23 Joseph Myers <joseph@codesourcery.com>
12440 * ctype/ctype.c (tolower): Use libc_hidden_def.
12441 (toupper): Likewise.
12442 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
12443 [!_ISOMAC] (toupper): Likewise.
12445 2018-02-23 Mike FABIAN <mfabian@redhat.com>
12447 * localedata/Makefile: Remove --quiet argument when
12450 2018-02-23 Mike FABIAN <mfabian@redhat.com>
12453 * localedata/locales/pt_BR (LC_TIME): use / instead of -
12455 * localedata/locales/pt_PT (LC_TIME): likewise
12457 2018-02-23 Mike FABIAN <mfabian@redhat.com>
12460 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
12461 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
12462 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
12464 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12468 * nptl/Makefile (routines): Remove unregister-atfork.
12469 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
12470 (fork_handler_alloc): Remove function.
12471 (fork_handlers, fork_handler_init): New variables.
12472 (__fork_lock): Rename to atfork_lock.
12473 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
12474 to use a dynamic array to add/remove atfork handlers.
12475 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
12476 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
12477 Remove declaration.
12478 (fork_handler): Remove next, refcntr, and need_signal member.
12479 (__run_fork_handler_type): New enum.
12480 (__run_fork_handlers): New prototype.
12481 * nptl/register-atfork.c: Remove file.
12482 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
12484 * sysdeps/nptl/nptl-signals.h: Move to ...
12485 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
12487 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
12488 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
12489 unnecessary check for SIGTIMER.
12490 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
12491 remove unnecessary removal of SIGTIMER.
12492 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
12493 include-signals.h rename.
12494 * nptl/pthreadP.h: Likewise.
12495 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
12496 __is_internal_signal instead of __nptl_is_internal_signal.
12498 2018-02-22 Andrew Waterman <andrew@sifive.com>
12501 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
12502 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
12503 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
12504 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
12506 2018-02-22 DJ Delorie <dj@delorie.com>
12508 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
12510 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
12512 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
12513 do_misaligned, not misaligned8.
12515 2018-02-22 Steve Ellcey <sellcey@cavium.com>
12517 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
12518 Add memcpy_thunderx2.
12519 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
12521 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
12522 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
12523 and IS_THUNDERX2PA checks.
12524 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
12525 Use macro to set name appropriately.
12526 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
12527 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
12528 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
12530 (IS_THUNDERX2): New macro.
12532 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
12534 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12536 2018-02-21 Zack Weinberg <zackw@panix.com>
12538 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
12539 Define here, unconditionally.
12540 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
12541 * libio/libioP.h: Remove #if 0 blocks.
12542 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
12543 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
12544 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
12546 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
12547 Assume weak_alias is always defined.
12549 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
12550 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
12551 Remove #if 0 and #ifdef TODO blocks.
12552 Assume text_set_element is always defined.
12554 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
12555 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
12556 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
12558 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
12559 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
12560 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
12561 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
12562 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
12563 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
12564 Reformat bit flags for _flags field to make occupancy clearer.
12566 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
12567 Keep definitions consistent with those in libio/libio.h.
12569 * libio/libio.h (_IO_file_flags): Remove macro.
12570 All uses changed to _flags.
12572 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
12573 (__HAVE_COLUMN, _IO_BE): Don't define.
12574 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
12575 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
12576 * libio/libioP.h (EOF): Don't define.
12577 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
12578 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
12579 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
12580 testing _IO_UNIFIED_JUMPTABLES.
12582 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
12583 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
12584 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
12585 (_IO_size_t): Delete; all uses changed to size_t.
12586 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
12587 (_IO_off_t): Delete; all uses changed to off_t.
12588 (_IO_off64_t): Delete; all uses changed to off64_t.
12589 (_IO_pid_t): Delete; all uses changed to pid_t.
12590 (_IO_uid_t): Delete; all uses changed to uid_t.
12591 (_IO_wint_t): Delete; all uses changed to wint_t.
12592 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
12593 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
12594 (_IO_cookie_io_functions_t): Delete; all uses changed to
12595 cookie_io_functions_t.
12596 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
12597 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
12598 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
12599 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
12601 * libio/iofopncook.c: Remove unnecessary forward declarations.
12602 * libio/iolibio.h: Correct outdated commentary.
12603 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
12604 * stdio-common/fxprintf.c (__fxprintf_nocancel):
12605 Remove unnecessary casts.
12606 * stdio-common/getline.c: Use _IO_getdelim directly.
12607 Don't redefine ssize_t.
12608 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
12609 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
12610 Remove outdated comments.
12611 * stdio-common/vfscanf.c: Don't redefine va_list.
12613 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
12614 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
12615 Remove preprocessor conditionals on _LIBC and __USE_GNU,
12616 which are always true, and __cplusplus, which is always false.
12618 2018-02-21 Joseph Myers <joseph@codesourcery.com>
12622 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
12623 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
12624 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
12625 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
12627 [!_ISOMAC] (putc_unlocked): Likewise.
12628 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
12629 define inline if [__USE_EXTERN_INLINES].
12630 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
12635 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
12636 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
12637 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
12638 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
12639 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
12641 * time/tzfile.c (__tzfile_read): Likewise.
12643 2018-02-21 Mike FABIAN <mfabian@redhat.com>
12646 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
12648 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
12650 * io/fcntl.h: Fix a typo in a comment.
12652 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
12655 * include/features.h: Add _ISOC11_SOURCE to test for whether to
12656 define _DEFAULT_SOURCE.
12657 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
12659 2018-02-21 Florian Weimer <fweimer@redhat.com>
12662 * elf/cache.c (save_cache): Call fsync on temporary file before
12664 (save_aux_cache): Call fdatasync on temporary file before renaming
12667 2018-02-21 Florian Weimer <fweimer@redhat.com>
12670 * include/caller.h: Remove file.
12671 * elf/dl-caller.c: Likewise.
12672 * elf/Makefile (dl-routines): Remove dl-caller.
12673 (shared-only-routines): Do not add dl-caller.
12674 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
12676 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
12678 (dl_open_worker): Do not call __check_caller.
12679 (_dl_open): Do not set caller_dl_open member.
12680 * elf/rtld.c (_rtld_global_ro): Do not initialize
12681 _dl_check_caller member.
12682 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
12683 _dl_check_caller member.
12684 (_dl_check_caller): Remove declaration.
12685 * sysdeps/unix/sysv/linux/dl-execstack.c
12686 (_dl_make_stack_executable): Do not call __check_caller.
12688 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
12690 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
12691 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
12693 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
12695 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
12698 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
12701 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
12702 of 199606L, 200112L, and 200809L.
12703 (_XOPEN_SOURCE): Document special values of 600 and 700.
12704 (_ISOC11_SOURCE): Document macro.
12705 (_ATFILE_SOURCE): Likewise.
12706 (_FORTIFY_SOURCE): Likewise.
12708 2018-02-19 Joseph Myers <joseph@codesourcery.com>
12712 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
12713 and define as weak alias of __ferror_unlocked. Use
12715 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
12717 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
12718 function if [__USE_EXTERN_INLINES].
12719 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
12722 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
12725 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
12727 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
12730 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
12731 the GLIBC_2.1 version.
12733 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
12736 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
12737 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
12738 intl/tst-gettext-de.po from po/de.po by removing the
12739 POT-Creation-Date line.
12740 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
12742 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
12745 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
12747 * mach/Makefile (headers): Add mach/param.h.
12748 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
12749 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
12750 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
12751 (__ptsname_r): Move implementation to...
12752 (__ptsname_internal): ... new function. Add filling the STP
12755 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
12757 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
12760 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
12762 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
12765 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12767 * nptl/Makefile (tst-mutex8-ENV): Delete.
12768 * nptl/tst-mutex8.c (check_type):
12769 Add runtime check if mutex will be elided.
12771 2018-02-15 Joseph Myers <joseph@codesourcery.com>
12775 * manual/install.texi (Configuring and compiling): Describe
12776 passing CC and CFLAGS on configure command line, not as
12777 environment variables. Use @code markup on those variables.
12778 Specify what options go in CC and what go in CFLAGS. Note the
12779 requirement to compile with optimization.
12780 * INSTALL: Regenerated.
12783 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
12784 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
12785 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
12786 __sigprocmask instead of sigprocmask.
12787 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
12789 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
12790 __sigsetjmp and sigprocmask.
12793 * include/argz.h (argz_next): Use libc_hidden_proto.
12794 (__argz_next): Likewise.
12795 * string-argz-next.c (__argz_next): Use libc_hidden_def.
12796 (argz_next): Use libc_hidden_weak.
12799 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
12801 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
12805 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
12807 * libio/iofputs.c (fputs): Use libc_hidden_weak.
12811 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
12812 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
12813 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
12814 (__feof_unlocked): New declaration, and inline function if
12815 [__USE_EXTERN_INLINES].
12816 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
12817 instead of feof_unlocked.
12818 * intl/localealias.c [_LIBC] (FEOF): Likewise.
12819 * nss/nsswitch.c (nss_parse_file): Likewise.
12820 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
12822 * time/getdate.c (__getdate_r): Likewise.
12823 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
12824 Define as macro to call __feof_unlocked.
12826 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
12828 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
12830 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
12832 * math/Makefile: Remove mpexp.c and mplog.c
12833 * sysdeps/i386/fpu/mpexp.c: Delete file.
12834 * sysdeps/i386/fpu/mplog.c: Likewise.
12835 * sysdeps/ia64/fpu/mpexp.c: Likewise.
12836 * sysdeps/ia64/fpu/mplog.c: Likewise.
12837 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
12838 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
12839 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
12840 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12841 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
12842 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
12843 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
12844 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
12845 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
12846 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12847 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
12848 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
12849 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12850 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
12851 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
12852 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12854 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
12856 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12858 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12860 * sysdeps/sh/libm-test-ulps: Update.
12862 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12864 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
12867 2018-02-12 Zack Weinberg <zackw@panix.com>
12870 * posix/sys/types.h: Don't include sys/sysmacros.h.
12871 * misc/sys/sysmacros.h: Remove the conditional deprecation
12872 warnings for the macros defined by this header.
12874 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
12876 * manual/probes.texi: Remove slowexp probes.
12877 * math/Makefile: Remove slowexp.
12878 * sysdeps/generic/math_private.h (__slowexp): Remove.
12879 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
12880 document error bounds.
12881 * sysdeps/i386/fpu/slowexp.c: Remove.
12882 * sysdeps/ia64/fpu/slowexp.c: Remove.
12883 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
12884 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
12885 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
12886 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
12887 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
12888 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
12889 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
12890 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
12891 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
12892 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
12893 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
12895 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
12898 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
12899 * benchtests/pow-inputs: Update comment for slow path cases.
12900 * manual/probes.texi (slowpow_p10): Delete removed probe.
12901 (slowpow_p10): Likewise.
12902 * math/Makefile: Remove halfulp.c and slowpow.c.
12903 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
12904 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
12905 (__halfulp): Remove.
12906 (__slowpow): Remove.
12907 * sysdeps/i386/fpu/halfulp.c: Delete file.
12908 * sysdeps/i386/fpu/slowpow.c: Likewise.
12909 * sysdeps/ia64/fpu/halfulp.c: Likewise.
12910 * sysdeps/ia64/fpu/slowpow.c: Likewise.
12911 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
12912 improve comments and add error analysis.
12913 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
12914 (power1): Remove function:
12915 (log1): Remove error argument, add error analysis.
12916 (my_log2): Remove function.
12917 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
12918 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12919 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
12920 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
12921 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
12922 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
12923 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
12924 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
12925 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
12926 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
12927 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
12928 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12929 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
12930 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12932 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
12934 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
12935 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
12937 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
12940 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
12941 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
12942 and PTRACE_SETHBPREGS.
12944 2018-02-10 Zack Weinberg <zackw@panix.com>
12947 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
12949 * malloc/tst-malloc-stats-cancellation.c: New test case.
12950 * malloc/Makefile: Add new test case.
12952 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
12954 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
12956 2018-02-10 Joseph Myers <joseph@codesourcery.com>
12958 * math/Makefile (libm-narrow-fns): Add add.
12959 (libm-test-funcs-narrow): Likewise.
12960 * math/Versions (GLIBC_2.28): Add narrowing add functions.
12961 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
12962 * math/gen-auto-libm-tests.c (test_functions): Add add.
12963 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
12964 (NARROW_ADD_ROUND_TO_ODD): Likewise.
12965 (NARROW_ADD_TRIVIAL): Likewise.
12966 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
12968 (__daddl): Likewise.
12969 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
12971 (CFLAGS-nldbl-dadd.c): New variable.
12972 (CFLAGS-nldbl-fadd.c): Likewise.
12973 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
12975 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
12977 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
12978 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
12979 * math/auto-libm-test-in: Add tests of add.
12980 * math/auto-libm-test-out-narrow-add: New generated file.
12981 * math/libm-test-narrow-add.inc: New file.
12982 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
12983 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
12984 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
12985 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
12986 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
12987 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
12988 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
12989 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
12990 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
12991 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
12992 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
12993 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
12994 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
12995 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
12996 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
12997 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
12998 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
12999 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
13000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13001 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13002 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13003 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13004 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13005 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13006 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13007 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13008 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13009 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13010 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13011 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13012 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13013 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13018 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13019 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13020 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13021 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13022 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13023 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13024 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
13025 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
13026 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13027 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13029 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
13030 (f128-pairs): New variable.
13031 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
13032 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
13034 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
13035 Also make tests add $(f128-loader-link) to gnulib-tests.
13037 2018-02-09 DJ Delorie <dj@redhat.com>
13040 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
13041 64-bit ELF type for 64-bit ELF objects.
13043 2018-02-09 Joseph Myers <joseph@codesourcery.com>
13045 * math/libm-test-driver.c (snan_tests_arg): New variable.
13046 * math/libm-test-support.h (snan_tests_arg): New declaration.
13047 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
13049 * math/Makefile (test-type-pairs): New variable.
13050 (test-type-pairs-f64xf128-yes): Likewise.
13051 (tests): Add test-narrow-macros.
13052 (libm-test-funcs-narrow): New variable.
13053 (libm-test-c-narrow): Likewise.
13054 (generated): Add $(libm-test-c-narrow).
13055 (libm-tests-base-narrow): New variable.
13056 (libm-tests-narrow): Likewise.
13057 (libm-tests): Add $(libm-tests-narrow).
13058 (libm-tests-for-type): Handle $(libm-tests-narrow).
13059 (libm-test-c-narrow-obj): New variable.
13060 ($(libm-test-c-narrow-obj)): New rule.
13061 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
13062 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
13063 $(o-iterator) to set dependencies and CFLAGS.
13064 * math/gen-auto-libm-tests.c: Document use for narrowing
13066 (output_for_one_input_case): Take argument NARROW.
13067 (generate_output): Likewise. Update call to
13068 output_for_one_input_case.
13069 (main): Take --narrow option. Update call to generate_output.
13070 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
13071 (apply_lit): Update call to _apply_lit.
13072 (apply_arglit): New function.
13073 (parse_args): Handle "a" arguments.
13074 (parse_auto_input): Handle format names using ":".
13075 * math/README.libm-test: Document "a" parameter type.
13076 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
13077 (ARG_TYPE_TRUE_MIN): Likewise.
13078 (ARG_TYPE_MAX): Likwise.
13079 (ARG_MIN_EXP): Likewise.
13080 (ARG_MAX_EXP): Likewise.
13081 (ARG_MANT_DIG): Likewise.
13082 (TEST_COND_arg_ibm128): Likewise.
13083 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
13084 (TEST_COND_arg_fmt): New macro.
13085 (init_max_error): Update prototype.
13086 * math/libm-test-support.c (test_ibm128): New variable.
13087 (init_max_error): Take argument testing_ibm128 and set test_ibm128
13088 instead of using [TEST_COND_ibm128] conditional.
13089 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
13090 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
13091 [TEST_NARROW] (TEST_MSG): New definition.
13092 (arg_plus_zero): New macro.
13093 (arg_minus_zero): Likewise.
13094 (arg_plus_infty): Likewise.
13095 (arg_minus_infty): Likewise.
13096 (arg_qnan_value_pl): Likewise.
13097 (arg_qnan_value): Likewise.
13098 (arg_snan_value_pl): Likewise.
13099 (arg_snan_value): Likewise.
13100 (arg_max_value): Likewise.
13101 (arg_min_value): Likewise.
13102 (arg_min_subnorm_value): Likewise.
13103 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
13104 (RUN_TEST_LOOP_aa_f): New macro.
13105 (TEST_SUFF): New macro.
13106 (TEST_SUFF_STR): Likewise.
13107 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
13108 (TEST_COND_any_ibm128): New macro.
13109 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
13110 this_func. Update call to init_max_error.
13111 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
13112 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
13113 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
13114 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
13115 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
13116 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
13117 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
13118 * math/test-math-scalar.h (TEST_NARROW): Likewise.
13119 * math/test-math-vector.h (TEST_NARROW): Likewise.
13120 * math/test-arg-double.h: New file.
13121 * math/test-arg-float128.h: Likewise.
13122 * math/test-arg-float32x.h: Likewise.
13123 * math/test-arg-float64.h: Likewise.
13124 * math/test-arg-float64x.h: Likewise.
13125 * math/test-arg-ldouble.h: Likewise.
13126 * math/test-math-narrow.h: Likewise.
13127 * math/test-narrow-macros.c: Likewise.
13128 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
13129 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
13130 test-narrow-macros-ldbl-64.
13131 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
13133 * math/bits/mathcalls-narrow.h: New file.
13134 * include/bits/mathcalls-narrow.h: Likewise.
13135 * math/math-narrow.h: Likewise.
13136 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
13137 (__MATHCALL_NARROW_ARGS_2): Likewise.
13138 (__MATHCALL_NARROW_ARGS_3): Likewise.
13139 (__MATHCALL_NARROW_NORMAL): Likewise.
13140 (__MATHCALL_NARROW_REDIR): Likewise.
13141 (__MATHCALL_NARROW): Likewise.
13142 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
13143 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
13145 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
13146 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
13147 (libm-narrow-fns): New variable.
13148 (libm-narrow-types-basic): Likewise.
13149 (libm-narrow-types-ldouble-yes): Likewise.
13150 (libm-narrow-types-float128-yes): Likewise.
13151 (libm-narrow-types-float128-alias-yes): Likewise.
13152 (libm-narrow-types): Likewise.
13153 (libm-routines): Add narrowing functions.
13154 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
13155 (libc_feholdexcept_setroundf128): New macro.
13156 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
13157 * sysdeps/ieee754/float128/float128_private.h: Include
13158 <math/math-narrow.h>.
13159 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
13160 Undefine and redefine.
13161 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
13162 (libm_alias_float_ldouble): Undefine and redefine.
13163 (libm_alias_double_ldouble): Likewise.
13165 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
13167 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
13169 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
13172 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
13174 * manual/creature.texi: Convert references to gcc.info to gcc.
13175 * manual/stdio.texi: Likewise.
13176 * manual/string.texi: Likewise.
13178 2018-02-07 Joseph Myers <joseph@codesourcery.com>
13181 * posix/bits/types.h (__int_least8_t): New typedef.
13182 (__uint_least8_t): Likewise.
13183 (__int_least16_t): Likewise.
13184 (__uint_least16_t): Likewise.
13185 (__int_least32_t): Likewise.
13186 (__uint_least32_t): Likewise.
13187 (__int_least64_t): Likewise.
13188 (__uint_least64_t): Likewise.
13189 * sysdeps/generic/stdint.h (int_least8_t): Define using
13191 (int_least16_t): Define using __int_least16_t.
13192 (int_least32_t): Define using __int_least32_t.
13193 (int_least64_t): Define using __int_least64_t.
13194 (uint_least8_t): Define using __uint_least8_t.
13195 (uint_least16_t): Define using __uint_least16_t.
13196 (uint_least32_t): Define using __uint_least32_t.
13197 (uint_least64_t): Define using __uint_least64_t.
13198 * wcsmbs/uchar.h: Include <bits/types.h>.
13199 (char16_t): Define using __uint_least16_t conditional only on
13201 (char32_t): Define using __uint_least32_t conditional only on
13203 * wcsmbs/test-char-types.c: New file.
13204 * wcsmbs/Makefile (tests): Add test-char-types.
13206 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
13209 2018-02-07 Zack Weinberg <zackw@panix.com>
13211 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
13212 Delete all contents except for definitions of _G_HAVE_MMAP and
13213 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
13214 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
13215 sysdeps/unix/sysv/linux/_G_config.h. Make same content
13218 * libio/libio.h: Don't include bits/_G_config.h here.
13219 Include stddef.h with __need_wchar_t defined. Include
13220 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
13221 Define _IO_iconv_t here, directly.
13222 Don't define _IO_HAVE_ST_BLKSIZE.
13223 * libio/libioP.h: Include _G_config.h here. Move include of
13224 shlib-compat.h up with rest of includes. Simplify conditionals
13225 controlling definition of _IO_JUMPS_OFFSET.
13227 * csu/init.c: Remove always-true #if around entire file.
13228 Don't include stdio.h. Set _IO_stdin_used to hardwired
13229 constant 0x20001, and update commentary.
13230 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
13231 Replace all uses of _G_va_list with __gnuc_va_list.
13232 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
13233 instead of #if _IO_HAVE_ST_BLKSIZE.
13234 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
13235 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
13238 * libio/bits/libio.h: Move back to libio/libio.h and adjust
13239 multiple-include guard to match.
13240 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
13242 Remove preprocessor conditionals that are always true and/or
13243 redundant to other preprocessor conditionals in the same nest.
13244 Include shlib-compat.h unconditionally.
13245 Error out if _LIBC is not defined, or if _ISOMAC is defined,
13246 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
13247 defined after including stdio.h.
13248 Use __BEGIN_DECLS/__END_DECLS.
13250 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
13251 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
13252 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
13254 2018-02-07 Zack Weinberg <zackw@panix.com>
13256 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
13257 New single-type headers split from _G_config.h.
13258 * libio/bits/types/cookie_io_functions_t.h
13259 * libio/bits/types/struct_FILE.h
13260 New single-type headers split from libio.h.
13262 * libio/Makefile: Install the above new headers. Don't install
13263 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
13265 * libio/_G_config.h, libio/libio.h: Delete file.
13267 * libio/bits/libio.h: Remove improper-inclusion guard.
13268 Include stdio.h and don't repeat anything that it does.
13269 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
13270 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
13271 __io_read_fn as cookie_read_function_t,
13272 __io_write_fn as cookie_write_function_t,
13273 __io_seek_fn as cookie_seek_function_t,
13274 __io_close_fn as cookie_close_function_t,
13275 and _IO_cookie_io_functions_t as cookie_io_functions_t.
13276 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
13277 here, in the "compatibility defines" section. Remove an #if 0
13278 block. Use the "body" macros from bits/types/struct_FILE.h to
13279 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
13280 and _IO_ferror_unlocked.
13281 Move prototypes of __uflow and __overflow...
13283 * libio/stdio.h: ...here. Don't include bits/libio.h.
13284 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
13285 directly from stdarg.h. Include bits/types/__fpos_t.h,
13286 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
13287 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
13288 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
13289 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
13290 cookie_io_functions_t, not _IO_cookie_io_functions_t;
13291 __ssize_t, not _IO_ssize_t. Unconditionally define
13292 BUFSIZ as 8192 and EOF as (-1).
13294 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
13295 macros from bits/types/struct_FILE.h instead of _IO_* macros
13296 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
13297 instead of _IO_ssize_t.
13298 * libio/bits/stdio2.h: Similarly.
13300 * libio/iolibio.h: Add multiple-include guard.
13301 Include bits/libio.h after stdio.h.
13302 * libio/libioP.h: Add multiple-include guard.
13303 Include stdio.h and bits/libio.h before iolibio.h.
13305 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
13306 * include/bits/types/cookie_io_functions_t.h
13307 * include/bits/types/struct_FILE.h: New wrappers.
13309 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
13310 Get definitions of _G_fpos_t and _G_fpos64_t from
13311 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
13312 respectively. Remove improper-inclusion guards.
13314 * conform/data/stdio.h-data: Update expectations of va_list.
13315 * scripts/check-installed-headers.sh: Remove special case for
13316 libio.h and _G_config.h.
13318 2018-02-07 Joseph Myers <joseph@codesourcery.com>
13322 * include/sys/sysmacros.h [!_ISOMAC]
13323 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
13324 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
13325 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
13326 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
13328 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
13329 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
13331 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
13332 Undefine and redefine to add use __gnu_dev_ prefix.
13333 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
13335 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
13336 and define as hidden inline function.
13337 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
13339 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
13341 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
13342 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
13343 (gnu_dev_minor): Likewise.
13344 (gnu_dev_makedev): Likewise.
13345 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
13347 * posix/wordexp.c (exec_comm_child): Likewise.
13348 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
13349 instead of minor and __gnu_dev_major instead of major.
13350 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
13351 __gnu_dev_major instead of major.
13352 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
13353 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
13354 instead of gnu_dev_minor.
13355 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
13356 (SLAVE_P): Likewise.
13357 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
13358 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
13362 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
13364 * locale/weightwc.h (findidx): Likewise.
13366 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
13368 * manual/probes.texi (slowlog): Delete documentation of removed probe.
13369 (slowlog_inexact): Likewise
13370 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
13371 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
13373 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
13376 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
13377 missing second underscore to parameter name.
13379 2018-02-06 Joseph Myers <joseph@codesourcery.com>
13385 * bits/byteswap.h: Update file comment. Do not include
13386 <bits/byteswap-16.h>.
13387 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
13389 (__bswap_16): Define as inline function.
13390 (__bswap_constant_32): Reformat definition.
13391 (__bswap_32): Always define as inline function, not macro, using
13392 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
13393 otherwise __bswap_constant_32.
13394 (__bswap_constant_64): Reformat definition. Do not use
13395 __extension__ here.
13396 (__bswap_64): Always define as inline function, not macro. Use
13397 __extension__ on function definition. Use __builtin_bswap64 if
13398 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
13399 * string/test-endian-file-scope.c: New file.
13400 * string/test-endian-sign-conversion.c: Likewise.
13401 * string/Makefile (headers): Remove bits/byteswap-16.h.
13402 (tests): Add test-endian-file-scope and
13403 test-endian-sign-conversion.
13404 (CFLAGS-test-endian-sign-conversion.c): New variable.
13405 * bits/byteswap-16.h: Remove file.
13406 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
13407 * sysdeps/ia64/bits/byteswap.h: Likewise.
13408 * sysdeps/m68k/bits/byteswap.h: Likewise.
13409 * sysdeps/s390/bits/byteswap-16.h: Likewise.
13410 * sysdeps/s390/bits/byteswap.h: Likewise.
13411 * sysdeps/tile/bits/byteswap.h: Likewise.
13412 * sysdeps/x86/bits/byteswap-16.h: Likewise.
13413 * sysdeps/x86/bits/byteswap.h: Likewise.
13416 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
13417 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
13418 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
13419 199901L] (__restrict): Define to restrict.
13422 * string/testcopy.c: Include <support/support.h>. Do not include
13423 <malloc.h>. Use <support/test-driver.c>.
13424 (main): Rename to do_test. Make static. Use xmalloc instead of
13428 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
13429 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
13430 (SSIZE_MAX): Define to INT_MAX.
13431 * posix/test-ssize-max.c: New file.
13432 * posix/Makefile (tests): Add test-ssize-max.
13435 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
13436 <support/support.h>. Do not include <malloc.h>.
13437 (query_auxv): Use xmalloc instead of malloc.
13440 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
13441 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
13444 2018-02-06 Florian Weimer <fweimer@redhat.com>
13447 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13448 Use scratch_buffer instead of extend_alloca.
13450 2018-02-06 Zack Weinberg <zackw@panix.com>
13452 * libio/stdio.h: Don't define getc or putc as macros.
13453 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
13454 not _IO_getc and _IO_putc.
13456 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
13457 * stdio-common/tstgetln.c: Don't redefine ssize_t.
13459 2018-02-06 Joseph Myers <joseph@codesourcery.com>
13461 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
13462 (TCP_FASTOPEN_NO_COOKIE): Likewise.
13464 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
13467 * elf/elf.h (NT_PRFPREG): New macro.
13468 (NT_S390_VXRS_LOW): Likewise.
13469 (NT_S390_VXRS_HIGH): Likewise.
13470 (NT_S390_GS_CB): Likewise.
13471 (NT_S390_GS_BC): Likewise.
13472 (NT_S390_RI_CB): Likewise.
13474 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
13475 (MAP_SYNC): New macro.
13476 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
13478 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
13479 (MAP_SYNC): Likewise.
13480 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
13481 (MAP_SYNC): Likewise.
13482 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
13483 (MAP_SYNC): Likewise.
13484 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
13485 (MAP_SYNC): Likewise.
13486 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
13487 (MAP_SYNC): Likewise.
13488 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
13489 (MAP_SYNC): Likewise.
13490 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
13492 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
13495 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
13496 (MAP_SHARED_VALIDATE): New macro.
13497 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13498 (MAP_SHARED_VALIDATE): Likewise.
13500 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
13502 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
13503 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
13504 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
13506 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
13508 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
13509 (DT_NUM): Updated to 35.
13511 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
13513 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
13514 __builtin_expect with __glibc_likely and __glibc_unlikely.
13515 (elf_machine_rela): Likewise.
13516 (elf_machine_lazy_rel): Likewise.
13518 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
13520 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
13521 __builtin_expect with __glibc_likely and __glibc_unlikely.
13522 (elf_machine_lazy_rel): Likewise.
13524 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
13527 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
13529 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
13531 2018-02-05 Andreas Schwab <schwab@suse.de>
13534 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
13537 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13539 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
13540 not check against PTHREAD_STACK_MIN.
13542 2018-02-02 Sean McKean <smckean83@gmail.com>
13545 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
13547 2018-02-02 Florian Weimer <fweimer@redhat.com>
13550 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
13551 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
13552 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
13553 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
13554 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
13555 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
13556 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
13557 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
13558 * manual/llio.texi (Scatter-Gather): Mention offset -1.
13559 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
13560 * misc/tst-preadvwritev2.c (do_test): Call it.
13561 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
13563 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
13565 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
13567 * benchtests/bench-memcmp.c: Print json instead of plain text.
13569 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
13572 2018-02-01 Joseph Myers <joseph@codesourcery.com>
13574 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13576 (s390_sthyi): New syscall.
13578 * sysdeps/generic/ldbl-classify-compat.h: New file.
13579 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
13580 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
13581 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
13582 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
13583 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
13584 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
13585 * sysdeps/ieee754/dbl-64/s_finite.c: Include
13586 <ldbl-classify-compat.h>.
13587 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
13588 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
13589 <ldbl-classify-compat.h>.
13590 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
13591 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
13592 <ldbl-classify-compat.h>.
13593 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
13594 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
13595 <ldbl-classify-compat.h>.
13596 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
13597 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
13598 <ldbl-classify-compat.h>.
13599 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
13600 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
13601 <ldbl-classify-compat.h>.
13602 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
13603 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
13604 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
13605 * sysdeps/m68k/coldfire/math_private.h: Remove file.
13606 * sysdeps/microblaze/math_private.h: Likewise.
13607 * sysdeps/nios2/math_private.h: Likewise.
13608 * sysdeps/sh/math_private.h: Likewise.
13610 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
13611 * sysdeps/m68k/coldfire/math_private.h: ... here.
13612 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
13613 * sysdeps/tile/math_private.h: Likewise.
13614 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
13616 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
13619 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
13621 (libc_fetestexcept): Likewise.
13622 (libc_feupdateenv_test): Likewise.
13623 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
13624 (libc_fetestexcept): Likewise.
13625 (libc_feupdateenv_test): Likewise.
13626 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
13627 (libc_fetestexcept): Likewise.
13628 (libc_feupdateenv_test): Likewise.
13629 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
13630 (libc_fetestexcept): Likewise.
13631 (libc_feupdateenv_test): Likewise.
13633 * sysdeps/generic/math_private.h
13634 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
13635 New inline function.
13636 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
13639 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
13640 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
13641 * sysdeps/generic/math_private.h
13642 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
13644 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
13646 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
13648 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
13650 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
13652 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
13654 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
13655 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
13656 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
13657 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
13658 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
13659 (__fegetenv): Likewise.
13660 (fesetenv): Likewise.
13661 (__fesetenv): Likewise.
13662 (feupdateenv): Likewise.
13663 (__feupdateenv): Likewise.
13664 (fegetround): Likewise.
13665 (__fegetround): Likewise.
13666 (fesetround): Likewise.
13667 (__fesetround): Likewise.
13669 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
13670 (feraiseexcept): New macro.
13671 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
13672 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
13674 (__feraiseexcept): Likewise.
13675 (feclearexcept): Likewise.
13676 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
13677 (__feraiseexcept): Likewise.
13678 (feclearexcept): Likewise.
13679 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
13680 (__feraiseexcept): Likewise.
13681 (feclearexcept): Likewise.
13682 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
13683 (__feraiseexcept): Likewise.
13684 (feclearexcept): Likewise.
13685 (fetestexcept): Likewise.
13687 * sysdeps/m68k/coldfire/math-tests.h: New file.
13689 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
13690 * sysdeps/m68k/bits/fenv.h: ... here.
13691 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
13693 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
13695 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
13697 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
13699 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
13701 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
13703 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
13704 (__FE_UNDEFINED): New enum constant.
13705 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
13707 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
13709 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
13711 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
13712 to match generic bits/fenv.h.
13713 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
13716 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
13718 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
13719 * soft-fp/half.h (union _FP_UNION_H): Likewise.
13720 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
13721 * soft-fp/single.h (union _FP_UNION_S): Likewise.
13723 2018-02-01 Carlos O'Donell <carlos@redhat.com>
13724 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
13725 Joseph Myers <joseph@codesourcery.com>
13728 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
13729 (__log1p): Disable -Wmaybe-uninitialized for -Os around
13730 computation using c.
13731 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
13732 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
13733 computation using c.
13735 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
13737 * version.h (RELEASE): Set to "development".
13738 (VERSION): Set to "2.27.9000".
13739 * NEWS (2.28): New section.
13741 * version.h (RELEASE): Set to "stable".
13742 (VERSION): Set to "2.27".
13743 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
13745 * NEWS: Add the list of bugs fixed in 2.27.
13747 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13749 * stdlib/test-atexit-race-common.c (do_test): Check stack size
13750 against PTHREAD_STACK_MIN.
13752 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
13754 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
13756 (Rafal Luzynski, Andreas Schwab): Update.
13758 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
13761 * NEWS: List the languages which actually use the alternative
13762 months feature in this release. Also explain that "alt_mon" and
13763 "ab_alt_mon" are optional.
13765 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
13768 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
13770 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
13772 * manual/install.texi (Tools for Compilation): Update the newest
13773 versions of gcc, binutils, texinfo, gawk, bison, and sed.
13774 * INSTALL: Regenerated.
13776 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13778 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
13779 instead of __builtin_expect.
13781 2018-01-30 Florian Weimer <fweimer@redhat.com>
13783 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
13785 * nss/tst-nss-getpwent.c (do_test): Likewise.
13787 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
13790 * localedata/locales/hr_HR (mon): Rename to...
13792 (mon): Import from CLDR (genitive case).
13793 (d_t_fmt): Update the comment.
13795 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
13797 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
13798 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
13799 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
13801 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
13803 * mach/Versions: Fix version when __mach_host_self_ was added.
13804 * hurd/Versions: Fix version when _hurd_exec_paths was added.
13805 * sysdeps/mach/hurd/i386/ld.abilist: New file.
13806 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
13807 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
13808 * sysdeps/mach/hurd/i386/libc.abilist: New file.
13809 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
13810 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
13811 * sysdeps/mach/hurd/i386/libm.abilist: New file.
13812 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
13813 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
13814 * sysdeps/mach/hurd/i386/librt.abilist: New file.
13815 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
13816 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
13817 || to respect codestyle.
13818 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
13819 (do_test_bz20181): Rename accordingly.
13820 * malloc/malloc.c: Include <assert.h>.
13821 (assert): Do not define.
13822 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
13823 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
13824 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
13825 * sysdeps/mach/hurd/hp-timing.h: New file.
13826 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
13828 2018-01-29 Darius Rad <darius@bluespec.com>
13830 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
13832 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
13834 * sysdeps/init_array/crti.S (.section .init_array): Add
13835 PREINIT_FUNCTION when defined.
13836 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
13837 * config.h.in: Regenerate.
13838 * manual/platform.texi: Add RISC-V documenation for
13839 __riscv_flush_icache.
13840 * sysdeps/riscv/__longjmp.S: New file.
13841 * sysdeps/riscv/backtrace.c: Likewise.
13842 * sysdeps/riscv/bits/endian.h: Likewise.
13843 * sysdeps/riscv/bits/setjmp.h: Likewise.
13844 * sysdeps/riscv/bits/wordsize.h: Likewise.
13845 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
13846 * sysdeps/riscv/bsd-setjmp.c: Likewise.
13847 * sysdeps/riscv/dl-trampoline.S: Likewise.
13848 * sysdeps/riscv/gccframe.h: Likewise.
13849 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
13850 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
13851 * sysdeps/riscv/machine-gmon.h: Likewise.
13852 * sysdeps/riscv/memusage.h: Likewise.
13853 * sysdeps/riscv/setjmp.S: Likewise.
13854 * sysdeps/riscv/sys/asm.h: Likewise.
13855 * sysdeps/riscv/tls-macros.h: Likewise.
13856 * sysdeps/riscv/dl-tls.h: New file.
13857 * sysdeps/riscv/libc-tls.c: Likewise.
13858 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
13859 * sysdeps/riscv/nptl/tls.h: Likewise.
13860 * sysdeps/riscv/stackinfo.h: Likewise.
13861 * sysdeps/riscv/bits/fenv.h: New file.
13862 * sysdeps/riscv/e_sqrtl.c: Likewise.
13863 * sysdeps/riscv/fpu_control.h: Likewise.
13864 * sysdeps/riscv/math-tests.h: Likewise.
13865 * sysdeps/riscv/nofpu/Implies: Likewise.
13866 * sysdeps/riscv/sfp-machine.h: Likewise.
13867 * sysdeps/riscv/tininess.h: Likewise.
13868 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
13869 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
13870 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
13871 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
13872 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
13873 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
13874 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
13875 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
13876 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
13877 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
13878 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
13879 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
13880 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
13881 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
13882 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
13883 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
13884 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
13885 * sysdeps/riscv/rvd/s_finite.c: Likewise.
13886 * sysdeps/riscv/rvd/s_fma.c: Likewise.
13887 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
13888 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
13889 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
13890 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
13891 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
13892 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
13893 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
13894 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
13895 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
13896 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
13897 * sysdeps/riscv/rvf/fegetround.c: Likewise.
13898 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
13899 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
13900 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
13901 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
13902 * sysdeps/riscv/rvf/fesetround.c: Likewise.
13903 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
13904 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
13905 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
13906 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
13907 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
13908 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
13909 * sysdeps/riscv/rvf/math_private.h: Likewise.
13910 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
13911 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
13912 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
13913 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
13914 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
13915 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
13916 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
13917 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
13918 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
13919 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
13920 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
13921 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
13922 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
13923 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
13924 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
13925 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
13926 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
13927 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
13928 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
13929 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
13930 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
13931 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
13932 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
13933 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
13934 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
13935 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
13936 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
13937 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
13938 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
13939 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
13940 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
13941 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
13942 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
13943 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
13944 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
13945 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
13946 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
13947 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
13948 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
13949 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
13950 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
13951 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
13952 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
13953 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
13954 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
13955 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
13956 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
13957 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
13958 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
13959 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
13960 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
13961 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
13962 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
13963 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
13964 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
13965 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
13966 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
13967 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
13968 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
13969 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
13970 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
13971 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
13972 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
13973 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
13974 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13975 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
13976 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
13977 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
13978 * sysdeps/riscv/Implies: New file.
13979 * sysdeps/riscv/Makefile: Likewise.
13980 * sysdeps/riscv/configure: Likewise.
13981 * sysdeps/riscv/configure.ac: Likewise.
13982 * sysdeps/riscv/nptl/Makefile: Likewise.
13983 * sysdeps/riscv/preconfigure: Likewise.
13984 * sysdeps/riscv/rv64/Implies-after: Likewise.
13985 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
13986 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
13987 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
13988 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
13989 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
13990 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
13991 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
13992 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
13993 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
13994 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
13995 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
13996 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
13997 (Config): Likewise.
13999 2018-01-29 Florian Weimer <fweimer@redhat.com>
14002 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
14003 libnsl_hidden_proto.
14004 * include/rpcsvc/yp.h (yp_xdrall): Declare with
14005 libnsl_hidden_proto.
14006 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
14007 * nis/Makefile (libnsl-routines): Add nss-default only for
14008 build-obsolete-nsl.
14009 * nis/nis_defaults.c (__nis_default_ttl): Add
14010 libnsl_hidden_nolink_def.
14011 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
14013 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
14014 * nis/ypclnt.c (yp_maplist): Likewise.
14016 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
14018 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14019 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
14021 2018-01-29 Joseph Myers <joseph@codesourcery.com>
14023 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
14024 clean -dxfq for git updates when replacing sources.
14026 * scripts/build-many-glibcs.py (Config.build_gcc): Use
14027 --disable-libcilkrts unconditionally, not just for the final GCC
14030 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14033 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14036 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
14039 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14042 * localedata/locales/be_BY (mon): Rename to...
14043 (alt_mon): This, then synchronize with CLDR (nominative case).
14044 (abmon): Rename to...
14045 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
14046 (mon): Import from CLDR (genitive case).
14048 * localedata/locales/be_BY@latin (mon): Rename to...
14050 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
14052 * localedata/locales/be_BY@latin (lang_name): Reworded to
14053 "biełaruskaja mova".
14055 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14058 * localedata/locales/el_CY (mon): Renamed to...
14060 (mon): Import from CLDR (genitive case).
14061 * localedata/locales/el_GR: Likewise.
14063 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14066 * localedata/locales/ru_RU (mon): Rename to...
14068 (abmon): Rename to...
14069 (ab_alt_mon): This.
14070 (mon): Import from CLDR (genitive case).
14071 (abmon): Copy from the old content except the 5th month which is
14072 now in the genitive case, even when abbreviated.
14073 * localedata/locales/ru_UA: Likewise.
14074 * time/tst-strptime.c (day_tests): Add an actual example of
14075 a difference between %b and %Ob in Russian.
14077 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14079 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
14080 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
14082 * resolv/res-close.c: Include <stdlib.h>.
14083 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
14084 <sys/wait.h>, <time.h>, <sys/uio.h>.
14085 (NOT_CANCEL_H): Add inclusion guard.
14086 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
14087 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
14088 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
14090 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
14091 vm_address_t * to ElfW(Addr) * for dl_main parameter.
14092 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
14094 * sysdeps/pthread/timer_create.c (timer_create): Do not use
14095 timer_ptr2id to cast struct timer_node * to void *.
14096 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
14097 --disable-libcilkrts to gcc configure.
14098 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
14099 and make them the default for now.
14100 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
14101 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
14102 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
14103 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
14104 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
14106 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
14107 __task_terminate would ever return successfully.
14108 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
14110 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
14111 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
14112 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
14113 critical section to make code simpler and avoid warning.
14114 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
14115 critical section to make code simpler and avoid warning.
14116 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
14117 const char * instead of char *.
14118 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
14119 __hurd_file_name_split, hurd_file_name_split,
14120 __hurd_directory_name_split, hurd_directory_name_split,
14121 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
14122 hurd_file_name_path_lookup): Make lookup function parameter take a
14123 const char *name instead of char *name.
14124 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
14125 __hurd_directory_name_split): Likewise.
14126 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
14127 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
14128 * sysdeps/mach/hurd/check_native.c: New file.
14129 * sysdeps/mach/hurd/check_pf.c: New file.
14130 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
14131 (__freeifaddrs): Define macro to freeifaddrs.
14132 * sysdeps/mach/hurd/libhurduser.abilist: New file.
14133 * sysdeps/mach/libmachuser.abilist: New file.
14134 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
14135 (do_test_bz20181): Rename accordingly.
14136 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
14137 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
14139 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
14140 version only if __USE_EXTERN_INLINES is defined.
14141 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
14142 __hurd_sockfail): Likewise.
14143 (_hurd_fd_get): Always declare functions, and provide inline versions
14144 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
14145 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
14146 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
14147 _hurd_port_set): Always declare functions, and provide inline versions
14148 only if __USE_EXTERN_INLINES and _LIBC are defined and
14150 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
14151 _hurd_critical_section_unlock): Likewise.
14152 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
14153 * __hurd_threadvar_location): Likewise.
14154 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
14155 _hurd_userlink_clear): Likewise.
14156 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
14157 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
14158 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
14159 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
14160 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
14161 __spin_lock_locked): Likewise.
14162 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
14163 __spin_lock_locked): Likewise.
14164 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
14165 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
14166 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
14167 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
14168 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
14169 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
14170 _POSIX_NO_TRUNC): Define to 0.
14171 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
14172 check size against PTHREAD_STACK_MIN.
14173 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
14174 IS_IN(libpthread)]: Include <sigsetops.h>.
14175 * mach/Makefile (user-interfaces): Add mach/gnumach.
14176 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
14177 * sysdeps/mach/configure (mach_interface_list): Regenerate.
14178 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
14179 instead of invalid -1.
14180 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
14181 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
14182 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
14185 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
14187 * hurd/fcntl-internal.h: New file.
14189 2018-01-27 James Clarke <jrtc27@jrtc27.com>
14191 * sysdeps/hppa/fpu/libm-test-ulps: Update.
14193 * sysdeps/alpha/fpu/libm-test-ulps: Update.
14195 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
14198 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
14199 Build only shared objects.
14201 2018-01-26 Carlos O'Donell <carlos@redhat.com>
14203 * README: Update for hppa.
14205 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14207 * sysdeps/sparc/fpu/libm-test-ulps: Update
14208 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
14210 2018-01-26 Carlos O'Donell <carlos@redhat.com>
14214 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
14217 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14218 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
14219 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14220 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
14223 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
14226 * bits/types/__cancel_jmp_buf_tag.h: New file.
14227 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
14228 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
14229 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
14230 * nptl/Makefile (headers): Add
14231 bits/types/__cancel_jmp_buf_tag.h.
14232 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
14233 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
14234 * sysdeps/nptl/pthread.h: Include
14235 <bits/types/__cancel_jmp_buf_tag.h>.
14236 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
14238 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
14240 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14243 * localedata/locales/uk_UA (mon): Renamed to...
14245 (alt_digits): "0" removed and then renamed to...
14247 (date_fmt): Definition changed not to use the alternative
14250 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
14252 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
14253 FLAG_RISCV_FLOAT_ABI_DOUBLE.
14254 * elf/elf.h (EF_RISCV_RVC): New define.
14255 (EF_RISCV_FLOAT_ABI): Likewise.
14256 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
14257 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
14258 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
14259 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
14260 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
14262 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
14264 2018-01-25 Andreas Schwab <schwab@suse.de>
14266 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
14268 * sysdeps/gnu/configure: Regenerate.
14269 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
14270 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14272 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
14273 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
14274 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
14275 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
14276 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
14278 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14280 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
14281 URL, and run autoconf, make it the default for now.
14283 2018-01-24 Joseph Myers <joseph@codesourcery.com>
14285 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
14286 soft-float ColdFire configuration.
14288 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
14289 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
14290 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
14292 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
14295 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
14297 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
14299 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
14302 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
14303 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
14304 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
14307 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
14310 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
14311 Rename to __reserved and add comment.
14312 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
14313 Rename to __reserved.
14315 2018-01-24 Joseph Myers <joseph@codesourcery.com>
14317 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
14318 i686-gnu configurations.
14319 (Context.run_builds): Include mig, gnumach and hurd in components
14321 (Context.checkout): Add mig, gnumach and hurd to components.
14322 (Context.checkout_tar): Add URL mappings for mig, gnumach and
14324 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
14325 (Config.build): Install gnumach headers, build mig and install
14326 hurd headers for 'gnu' OS.
14327 (Config.install_gnumach_headers): New function.
14328 (Config.install_hurd_headers): Likewise.
14329 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
14330 when building for 'gnu' OS.
14332 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
14334 * manual/tunables.texi (Hardware Capability Tunables): Fix
14337 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
14339 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
14340 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
14341 (ALTMON_11, ALTMON_12): Improve documentation.
14342 * manual/time.texi (strftime): Likewise.
14344 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
14347 * localedata/locales/pl_PL: Alternative month names added,
14348 primary month names are genitive now.
14349 * time/tst-strptime.c (day_tests): Actually use a genitive case
14350 of a month name in Polish language.
14352 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
14355 * manual/locale.texi: Document ALTMON_1..12 constants for
14356 nl_langinfo. Specify when to use ALTMON instead of MON.
14357 * manual/time.texi (strftime, strptime): Document GNU extension
14358 permitting O modifier with %B and %b. Specify when to use
14361 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
14364 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
14365 names, define them as the same as abbreviated month names explicitly.
14366 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
14367 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
14368 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
14369 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
14370 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
14371 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
14372 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
14373 _NL_WABALTMON_12): New enum constants.
14374 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
14375 wab_alt_mon, and ab_alt_mon_defined members.
14376 (time_output): Output ab_alt_mon and wab_alt_mon members.
14377 (time_read): Read them, initialize them as copies of abmon and wabmon
14378 respectively if they are missing, initialize ab_alt_mon_defined.
14379 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
14380 * locale/programs/locfile-kw.h: Regenerate.
14381 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
14382 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
14384 * time/strftime_l.c (a_altmonth, aam_len): New macros.
14385 [!COMPILE_WIDE] (ABALTMON_1): New macro.
14386 (__strftime_internal): Handle %Ob and %Oh formats.
14387 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
14388 (__strptime_internal): Handle %Ob and %Oh formats.
14389 * time/tst-strptime.c (day_tests): Add more tests to parse different
14390 forms of month names including the new %Ob format specifier.
14392 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
14395 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
14396 define them as the same as primary full month names explicitly.
14397 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
14398 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
14399 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
14400 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
14401 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
14402 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
14403 _NL_WALTMON_12): New enum constants.
14404 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
14405 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
14407 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
14408 walt_mon, and alt_mon_defined members.
14409 (time_output): Output alt_mon and walt_mon members.
14410 (time_read): Read them, initialize them as copies of mon and wmon
14411 respectively if they are missing, initialize alt_mon_defined.
14412 * locale/programs/locfile-kw.gperf (alt_mon): Define.
14413 * locale/programs/locfile-kw.h: Regenerate.
14414 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
14415 * localedata/tst-langinfo.c (map): Add tests for the new constants
14416 ALTMON_1 .. ALTMON_12.
14417 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
14419 * time/strftime_l.c (f_altmonth): New macro.
14420 (__strftime_internal): Handle %OB format.
14421 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
14422 (__strptime_internal): Handle %OB format.
14423 * time/tst-strptime.c (day_tests): Add tests to parse different forms
14424 of month names including the new %OB format specifier.
14426 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14429 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
14430 from ABORT_TRANSACTION.
14431 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
14432 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
14433 ABORT_TRANSACTION_IMPL): Likewise.
14434 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
14435 Linux code, but remove the code that aborts transactions.
14437 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
14439 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
14441 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
14443 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
14444 in date: "2004-14-09" should be "2004-09-14".
14445 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
14446 "2003-15-09" should be "2003-09-15".
14448 2018-01-18 Arjun Shankar <arjun@redhat.com>
14454 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
14456 (_int_memalign): check for integer overflow before calling
14458 * malloc/tst-malloc-too-large.c: New test.
14459 * malloc/Makefile: Add tst-malloc-too-large.
14461 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
14463 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
14464 in date: "2017-24-07" should be "2017-07-24".
14465 * localedata/locales/mai_IN: Likewise.
14466 * localedata/locales/mai_NP: Likewise.
14468 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
14470 * po/ru.po: Update translations.
14472 2018-01-17 Joseph Myers <joseph@codesourcery.com>
14475 * sysdeps/hppa/backtrace.c: New file.
14477 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
14480 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
14481 align La_x86_64_retval to VEC_SIZE.
14483 2018-01-16 Joseph Myers <joseph@codesourcery.com>
14485 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
14486 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
14488 2018-01-16 Florian Weimer <fweimer@redhat.com>
14490 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
14491 Move tst-thread-exit-clobber ...
14492 [$(CXX)] (tests-unsupported): ... to here.
14494 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
14496 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
14497 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
14498 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
14499 (_dl_aarch64_cap_flags): Update.
14500 (_DL_HWCAP_COUNT): Update.
14502 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
14504 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
14505 (_DL_HWCAP_LAST): Remove.
14506 (_DL_HWCAP_COUNT): Move to ...
14507 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
14508 (_DL_HWCAP_COUNT): ... here.
14510 2018-01-16 Florian Weimer <fweimer@redhat.com>
14512 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
14513 mode with GNU extensions.
14515 2018-01-15 Alan Hayward <alan.hayward@arm.com>
14517 * elf/elf.h (NT_ARM_SVE): Define.
14519 2018-01-15 Florian Weimer <fweimer@redhat.com>
14522 * nptl/tst-minstack-throw.cc: New file.
14523 * nptl/Makefile (tests): Add tst-minstack-throw.
14524 (LDLIBS-tst-minstack-throw): Link with libstdc++.
14525 [!CXX] (tests-unsupported): Add tst-minstack-throw.
14527 2018-01-15 Joseph Myers <joseph@codesourcery.com>
14529 * scripts/build-many-glibcs.py (Context.checkout): Default
14530 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
14533 2018-01-13 Carlos O'Donell <carlos@redhat.com>
14536 * elf/elf.h (DF_1_STUB): Define.
14537 (DF_1_PIE): Define.
14539 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14542 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
14543 Do not add 0.5 to integer or out-of-range arguments.
14545 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
14547 * po/bg.po: Update translations.
14548 * po/cs.po: Likewise.
14549 * po/de.po: Likewise.
14550 * po/ko.po: Likewise.
14551 * po/pl.po: Likewise.
14552 * po/sv.po: Likewise.
14553 * po/uk.po: Likewise.
14554 * po/vi.po: Likewise.
14556 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
14558 * aarch64/start.S (_start): Use __wrap_main.
14559 (__wrap_main): New local symbol.
14561 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
14565 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
14566 generic_getcwd if the path returned by getcwd syscall is not absolute.
14567 * io/tst-getcwd-abspath.c: New test.
14568 * io/Makefile (tests): Add tst-getcwd-abspath.
14570 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
14572 * malloc/malloc.c (malloc_consolidate): Add size check.
14574 2018-01-12 Florian Weimer <fweimer@redhat.com>
14576 * support/write_message.c (write_message): Preserve errno.
14577 * support/check.c (print_failure): Likewise.
14578 * support/support_test_verify_impl.c (support_test_verify_impl):
14580 * support/support_test_compare_failure.c
14581 (support_test_compare_failure): Likewise.
14583 2018-01-12 Florian Weimer <fweimer@redhat.com>
14586 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
14587 Prevent installation of libnsl.so.
14588 (libnsl-inhibit-o): Do not build (or install) static libraries.
14590 2018-01-12 Egmont Koblinger <egmont@gmail.com>
14593 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
14594 before the day number which may produce a double space.
14595 (date_fmt): Likewise.
14597 2018-01-12 Joseph Myers <joseph@codesourcery.com>
14599 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
14600 instead of fegetenv.
14602 2018-01-11 Joseph Myers <joseph@codesourcery.com>
14605 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
14606 comment to say exceptions are discarded.
14607 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
14609 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
14612 2018-01-11 Florian Weimer <fweimer@redhat.com>
14614 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
14617 2018-01-11 Florian Weimer <fweimer@redhat.com>
14620 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
14621 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
14623 2018-01-10 Joseph Myers <joseph@codesourcery.com>
14626 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
14627 negative arguments in test for NaN or infinity argument.
14629 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
14631 * po/libc.pot: Regenerate.
14633 2018-01-10 Florian Weimer <fweimer@redhat.com>
14636 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
14637 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
14639 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14641 * hurd/hurd/fd.h: Include <fcntl.h>
14642 (__hurd_at_flags): New function.
14643 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
14644 with call to __hurd_at_flags.
14645 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
14646 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
14648 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
14649 (__access_noerrno): Use __faccessat_common instead of access_common.
14650 (__access): Likewise.
14651 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
14652 with a call to __faccessat.
14653 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
14654 (__faccessat_common): ... this. Move implementation of __access into it when
14655 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
14656 reauthenticate_cwdir_at helper to implement AT mechanism.
14657 (__faccessat_noerrno): New function, just calls __faccessat_common.
14658 (__faccessat): New function, just calls __faccessat_common.
14659 (faccessat): Define weak alias.
14661 2018-01-10 Joseph Myers <joseph@codesourcery.com>
14664 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14665 (CFLAGS-s_fmaxmagl.c): New variable.
14666 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
14669 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
14670 long int for arguments of possibly overflowing addition or
14672 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
14674 2018-01-09 Joseph Myers <joseph@codesourcery.com>
14677 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14678 (CFLAGS-e_remainderl.c): New variable.
14681 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
14683 (CFLAGS-s_cacoshl.c): Likewise.
14684 (CFLAGS-s_casinhl.c): Likewise.
14685 (CFLAGS-s_catanl.c): Likewise.
14686 (CFLAGS-s_catanhl.c): Likewise.
14687 (CFLAGS-s_cexpl.c): Likewise.
14688 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
14689 (CFLAGS-s_csinhl.c): Likewise.
14690 (CFLAGS-s_clogl.c): Likewise.
14691 (CFLAGS-s_clog10l.c): Likewise.
14692 (CFLAGS-s_csinl.c): Likewise.
14693 (CFLAGS-s_csqrtl.c): Likewise.
14695 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
14696 2017-01-09 Svante Signell <svante.signell@gmail.com>
14698 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
14699 (_hurd_exec_paths): New function.
14700 * hurd/hurd.h (_hurd_exec): Deprecate function.
14701 (_hurd_exec_paths): Declare function.
14702 * hurd/Versions: Export _hurd_exec_paths.
14703 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
14704 (__execve): Use __getcwd to build absolute path, and use
14705 _hurd_exec_paths instead of _hurd_exec.
14706 * sysdeps/mach/hurd/spawni.c: Likewise.
14707 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
14710 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
14712 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
14713 test instead of failing in case of ENOENT returned by posix_openpt.
14715 2018-01-08 Florian Weimer <fweimer@redhat.com>
14717 resolv: Support binary labels in test framework.
14718 * support/resolv_test.c (struct to_be_freed): Remove.
14719 (struct compressed_name): New.
14720 (allocate_compressed_name, ascii_tolower)
14721 (compare_compressed_name): New functions.
14722 (struct resolv_response_builder): Update type of
14723 compression_offsets for use with tsearch. Rempve to_be_freed.
14724 (response_push_pointer_to_free): Remove function.
14725 (resolv_response_add_name): Rewrite using struct compressed_name
14726 and tsearch instead of hsearch_r.
14727 (response_builder_allocate): Remove initialization of
14728 compression_offsets.
14729 (response_builder_free): Update for removal of to_be_freed. Use
14730 tdestroy instead of hdestroy_r.
14731 * resolv/Makefile (tests): Add tst-resolv-binary.
14732 (tst-resolv-binary): Link with -lresolv -lpthread.
14734 2018-01-08 Florian Weimer <fweimer@redhat.com>
14736 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
14737 time. Pass positive flag instead of negative flag to
14738 support_test_compare_failure.
14739 (support_test_compare_failure): Change negative parameter to
14741 * support/support_test_compare_failure.c (report)
14742 (support_test_compare_failure): Likewise.
14743 * support/tst-test_compare.c (return_ssize_t, return_int): New.
14744 (do_test): Check int/size_t, ssize_t/size_t comparisons.
14746 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
14749 * nptl/descr.h (stackblock, stackblock_size): Update comments.
14750 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
14751 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
14753 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
14755 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
14757 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14758 Add s_sincosf-sse2 and s_sincosf-fma.
14759 (CFLAGS-s_sincosf-fma.c): New.
14760 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
14761 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
14762 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
14763 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
14764 __sincosf is defined.
14766 2018-01-08 Florian Weimer <fweimer@redhat.com>
14768 * nptl/tst-thread-exit-clobber.cc: New file.
14769 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
14771 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
14772 (tests): Add tst-thread-exit-clobber.
14773 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
14775 2018-01-08 Florian Weimer <fweimer@redhat.com>
14777 * support/check.h (support_static_assert): Define.
14778 (TEST_COMPARE): Use it.
14780 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
14782 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
14783 [!__RLIM_T_MATCHES_RLIM64_T]
14784 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
14785 __getrlimit64. Add libc_hidden_weak.
14787 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
14789 * elf/elf.h (R_RISCV_NONE): New define.
14790 (R_RISCV_32): Likewise.
14791 (R_RISCV_64): Likewise.
14792 (R_RISCV_RELATIVE): Likewise.
14793 (R_RISCV_COPY): Likewise.
14794 (R_RISCV_JUMP_SLOT): Likewise.
14795 (R_RISCV_TLS_DTPMOD32): Likewise.
14796 (R_RISCV_TLS_DTPMOD64): Likewise.
14797 (R_RISCV_TLS_DTPREL32): Likewise.
14798 (R_RISCV_TLS_DTPREL64): Likewise.
14799 (R_RISCV_TLS_TPREL32): Likewise.
14800 (R_RISCV_TLS_TPREL64): Likewise.
14801 * Makerules (make-link-multidir): Make directories before linking into
14803 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
14805 (VDSO_HASH_LINUX_4_15): Likewise.
14806 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
14807 in subdirectories of lib.
14808 * nptl/Makefile (/librt.so): Always depend on
14809 "$(shared-thread-library)".
14811 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14813 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
14814 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
14815 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
14817 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
14818 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
14820 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
14821 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
14822 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
14823 * sysdeps/gnu/glob-lstat-compat.c: New file.
14824 * sysdeps/gnu/glob64-lstat-compat.c: New file.
14825 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
14827 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14829 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
14830 Reserve 16 chars to reloc_addr before calling _itoa_word.
14832 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
14835 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
14836 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
14838 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
14839 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
14841 * resource/tst-getrlimit.c: Add copyright header.
14843 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
14844 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14846 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
14847 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
14848 Define __GI_getrlimit64 as weak alias of __getrlimit64.
14849 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
14851 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
14852 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
14853 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
14854 RLIM64_INFINITY): Fix values to match the kernel ones.
14855 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
14856 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
14857 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
14858 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
14859 getrlimit64@@GLIBC_2_27.
14860 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
14862 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
14863 getrlimit, setrlimit, getrlimit64 and setrlimit64.
14864 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
14865 setrlimit, getrlimit64 and setrlimit64.
14867 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
14870 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
14871 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
14873 2018-01-04 Joseph Myers <joseph@codesourcery.com>
14875 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
14876 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
14877 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
14879 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14883 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
14884 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
14888 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
14889 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
14890 * sysdeps/alpha/fpu/s_floor.c: Likewise.
14891 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
14893 2018-01-04 Florian Weimer <fweimer@redhat.com>
14896 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
14897 Align the stack before calling exit.
14898 * stdlib/tst-makecontext-align.c: New file.
14899 * stdlib/Makefile (tests): Add tst-makecontext-align.
14901 2018-01-04 Florian Weimer <fweimer@redhat.com>
14903 Add support for calling dlvsym from libc.so.
14904 * include/dlfcn.h (__libc_dlvsym): Declare.
14905 * elf/Makefile (tests-static-internal): Add
14906 tst-libc_dlvsym-static.
14907 (tests-internal): Add tst-libc_dlvsym.
14908 (modules-names): Add tst-libc_dlvsym-dso.
14909 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
14910 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
14911 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
14912 object tst-libc_dlvsym-dso.so needs to be built before running
14914 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
14915 * elf/Versions: Export __libc_dlvsym.
14916 * elf/dl-libc.c (struct do_dlvsym_args): New.
14917 (do_dlvsym, __libc_dlvsym): New functions.
14918 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
14919 (_dl_open_hook2): New variable.
14920 (__libc_register_dl_open_hook): Set it.
14921 * elf/tst-libc_dlvsym-dso.c: New file.
14922 * elf/tst-libc_dlvsym-static.c: Likewise.
14923 * elf/tst-libc_dlvsym.c: Likewise.
14924 * elf/tst-libc_dlvsym.h: Likewise.
14926 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
14928 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
14929 include <sys/mount.h>.
14931 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
14933 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
14934 Add __NO_MATH_ERRNO__ check.
14936 2018-01-02 Joseph Myers <joseph@codesourcery.com>
14938 * sysdeps/mips/mips32/libm-test-ulps: Update.
14939 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14941 2018-01-02 Florian Weimer <fweimer@redhat.com>
14943 * misc/tst-pselect.c: Add copyright header.
14945 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
14947 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
14949 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
14951 (settrlimit): Rename into setrlimit.
14952 (__sttrlimit): Rename into __setrlimit.
14954 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
14955 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
14956 never defined in that case.
14958 2018-01-02 Joseph Myers <joseph@codesourcery.com>
14960 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
14962 * sysdeps/arm/libm-test-ulps: Update.
14964 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
14965 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
14967 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14969 * NEWS: Add cosf and sincosf to list of optimized functions.
14971 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
14974 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
14975 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
14976 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
14977 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
14979 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
14982 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
14984 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
14985 making a copy of it.
14987 2018-01-01 Joseph Myers <joseph@codesourcery.com>
14989 * manual/texinfo.tex: Update to version 2017-12-26.21 with
14990 trailing whitespace removed.
14991 * scripts/config.guess: Update to version 2018-01-01.
14992 * scripts/config.sub: Update to version 2018-01-01.
14993 * scripts/move-if-change: Update from gnulib.
14995 * NEWS: Update copyright dates.
14996 * catgets/gencat.c (print_version): Likewise.
14997 * csu/version.c (banner): Likewise.
14998 * debug/catchsegv.sh: Likewise.
14999 * debug/pcprofiledump.c (print_version): Likewise.
15000 * debug/xtrace.sh (do_version): Likewise.
15001 * elf/ldconfig.c (print_version): Likewise.
15002 * elf/ldd.bash.in: Likewise.
15003 * elf/pldd.c (print_version): Likewise.
15004 * elf/sotruss.sh: Likewise.
15005 * elf/sprof.c (print_version): Likewise.
15006 * iconv/iconv_prog.c (print_version): Likewise.
15007 * iconv/iconvconfig.c (print_version): Likewise.
15008 * locale/programs/locale.c (print_version): Likewise.
15009 * locale/programs/localedef.c (print_version): Likewise.
15010 * login/programs/pt_chown.c (print_version): Likewise.
15011 * malloc/memusage.sh (do_version): Likewise.
15012 * malloc/memusagestat.c (print_version): Likewise.
15013 * malloc/mtrace.pl: Likewise.
15014 * manual/libc.texinfo: Likewise.
15015 * nptl/version.c (banner): Likewise.
15016 * nscd/nscd.c (print_version): Likewise.
15017 * nss/getent.c (print_version): Likewise.
15018 * nss/makedb.c (print_version): Likewise.
15019 * posix/getconf.c (main): Likewise.
15020 * scripts/test-installation.pl: Likewise.
15021 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
15023 * All files with FSF copyright notices: Update copyright dates
15024 using scripts/update-copyrights.
15025 * locale/programs/charmap-kw.h: Regenerated.
15026 * locale/programs/locfile-kw.h: Likewise.
15028 2017-12-31 Zack Weinberg <zackw@panix.com>
15030 * libio/bits/libio-ldbl.h: Correct check for improper
15031 inclusion. Add own multiple include guard.
15033 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
15034 Dmitry V. Levin <ldv@altlinux.org>
15038 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
15039 string token expansion. Check for NULL pointer or empty string possibly
15040 returned by expand_dynamic_string_token.
15041 (decompose_rpath): Check for empty path after dynamic string
15044 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
15047 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
15049 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
15050 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
15051 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
15052 and PTRACE_SYSCALL.
15053 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
15054 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15055 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15056 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15057 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15058 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
15060 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
15061 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
15062 __ptrace_peeksiginfo_flags, ptrace): Move to ...
15063 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
15064 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15065 bits/ptrace-shared.h.
15066 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
15067 <bits/ptrace-shared.h>.
15068 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
15069 __ptrace_peeksiginfo_flags, ptrace): Remove.
15070 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15071 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15072 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15073 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15074 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
15076 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
15079 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
15080 end of the loop. Improve comments.
15082 2017-12-29 Zack Weinberg <zackw@panix.com>
15085 * manual/errno.texi (Checking for Errors): Explicitly say that errno
15086 might be set on success.
15088 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
15091 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
15092 is unchanged on success.
15094 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
15096 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
15098 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
15099 expand_dynamic_string_token): Likewise.
15100 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
15103 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
15106 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
15107 is set and name contains ':', and all code depending on these checks.
15109 2017-12-24 Zack Weinberg <zackw@panix.com>
15111 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
15112 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
15114 * libio/libio.h: Rename the original version of this file to
15115 libio/bits/libio.h. Error out if not included by stdio.h or the
15117 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
15118 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
15119 if not included by bits/libio.h or the stub _G_config.h.
15120 * sysdeps/unix/sysv/linux/_G_config.h: Move to
15121 sysdeps/unix/sysv/linux/bits. Error out if not included by
15122 bits/libio.h or the stub _G_config.h.
15123 * libio/stdio.h: Include bits/libio.h, not libio.h.
15124 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
15125 well as libio.h and _G_config.h.
15127 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
15128 * libio/strfile.h, stdio-common/vfscanf.c
15129 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
15130 Include stdio.h, not _G_config.h nor libio.h.
15131 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
15132 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
15134 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
15136 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
15139 * stdlib/getrandom.c (getrandom): Fix comment.
15140 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
15142 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
15145 * manual/arith.texi (strtoul): Fix a typo.
15148 * manual/arith.texi (finite): Fix the description of the return
15151 2017-12-22 Eric Blake <ebb9@byu.net>
15153 Avoid gcc warnings on cygwin
15154 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
15155 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
15156 Avoid unused variable.
15158 2017-12-22 Florian Weimer <fweimer@redhat.com>
15160 * io/Makefile (routines): Add copy_file_range.
15161 (tests): Add tst-copy_file_range.
15162 (tests-static, tests-internal): Add tst-copy_file_range-compat.
15163 * io/Versions (GLIBC_2.27): Export copy_file_range.
15164 * io/copy_file_range-compat.c: New file.
15165 * io/copy_file_range.c: Likewise.
15166 * io/tst-copy_file_range-compat.c: Likewise.
15167 * io/tst-copy_file_range.c: Likewise.
15168 * manual/llio.texi (Copying File Data): New section.
15169 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
15170 * support/Makefile (libsupport-routines): Add support-xfstat,
15171 xftruncate, xlseek.
15172 * support/support-xfstat.c: New file.
15173 * support/xftruncate.c: Likewise.
15174 * support/xlseek.c: Likewise.
15175 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
15176 * sysdeps/unix/sysv/linux/**.abilist: Update.
15177 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
15179 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
15181 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
15182 disable-multi-arch variant to aarch64-linux-gnu.
15184 2017-12-20 Joseph Myers <joseph@codesourcery.com>
15186 * manual/texinfo.tex: Update to version 2017-12-18.20 with
15187 trailing whitespace removed.
15188 * scripts/config.guess: Update to version 2017-12-17.
15189 * scripts/config.sub: Update to version 2017-11-23.
15190 * scripts/install-sh: Update to version 2017-09-23.17.
15191 * scripts/move-if-change: Update to version 2017-09-13 06:45.
15193 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15195 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
15196 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
15197 * sysdeps/tile/_mcount.S (__mcount): Likewise.
15198 * sysdeps/tile/crti.S (_init, _fini): Likewise.
15199 * sysdeps/tile/crtn.S: Likewise.
15200 * sysdeps/tile/dl-start.S (_start): Likewise.
15201 * sysdeps/tile/dl-trampoline.S: Likewise.
15202 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
15203 * sysdeps/tile/start.S (_start): Likewise.
15204 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
15205 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
15206 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
15207 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
15208 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
15209 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
15210 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
15212 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
15214 * sysdeps/tile/preconfigure: Remove tilegx folder.
15215 * sysdeps/tile/tilegx/Implies: Move definitions to ...
15216 * sysdeps/tile/Implies: ... here.
15217 * sysdeps/tile/tilegx/Makefile: Move rules to ...
15218 * sysdeps/tile/Makefile: ... here.
15219 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
15220 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
15221 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
15222 * sysdeps/tile/bits/wordsize.h: ... here.
15223 * sysdeps/tile/tilegx/*: Move to ...
15224 * sysdeps/tile/*: ... here.
15225 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
15226 * sysdeps/tile/tilegx32/Implies: ... here.
15227 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
15228 * sysdeps/tile/tilegx64/Implies: ... here.
15229 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
15231 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
15232 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
15233 * sysdeps/unix/sysv/linux/tile/*: ... here.
15234 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
15235 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
15236 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
15237 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
15239 * README: Remove tilepro-*-linux-gnu from supported architecture.
15240 * scripts/build-many-glibcs.py: Likewise.
15241 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
15242 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
15243 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
15244 elf_machine_matches_host, elf_machine_dynamic,
15245 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
15246 howto, elf_machine_rela): Likewise.
15247 * sysdeps/tile/dl-start.S (_start): Likewise.
15248 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
15249 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
15250 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
15251 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
15252 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
15253 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
15255 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
15256 * sysdeps/tile/preconfigure: Likewise.
15257 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
15258 POINTER_CHK_GUARD): Likewise.
15259 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
15260 * sysdeps/tile/start.S (_start): Likewise.
15261 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
15263 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
15264 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
15266 * sysdeps/unix/sysv/linux/tile/bits/environments.h
15267 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
15268 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
15270 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
15271 * sysdeps/tile/tilepro/Implies: Remove file.
15272 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
15273 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
15274 * sysdeps/tile/tilepro/memchr.c: Likewise.
15275 * sysdeps/tile/tilepro/memcpy.S: Likewise.
15276 * sysdeps/tile/tilepro/memset.c: Likewise.
15277 * sysdeps/tile/tilepro/memusage.h: Likewise.
15278 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
15279 * sysdeps/tile/tilepro/strchr.c: Likewise.
15280 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
15281 * sysdeps/tile/tilepro/strlen.c: Likewise.
15282 * sysdeps/tile/tilepro/strrchr.c: Likewise.
15283 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
15284 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
15285 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
15286 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
15287 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
15288 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
15290 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
15291 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15292 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
15293 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
15294 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15295 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
15296 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
15297 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
15298 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
15299 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
15300 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
15301 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
15302 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
15303 tilepro mention in comment.
15305 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
15306 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
15307 * nptl/pthread_join_common.c: New file: common function used on
15308 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
15309 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
15310 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
15311 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
15312 (cleanup): Move definition to pthread_join_common.c.
15313 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
15314 Remove superflous checks.
15315 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
15318 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
15320 * sysdeps/aarch64/libm-test-ulps: Update.
15322 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15324 * sysdeps/aarch64/memset.S (MEMSET): Define.
15326 2017-12-20 Florian Weimer <fweimer@redhat.com>
15329 nptl: Provide full implementation of pthread_self in libc.so.
15330 * nptl/Makefile (routines): Add pthread_self.
15331 (libpthread-routines): Replace pthread_self with
15332 compat-pthread_self.
15333 * nptl/forward.c (pthread_self): Remove.
15334 * nptl/nptl-init.c (pthread_functions): Do not initialize
15336 * nptl/pthread_self.c (pthread_self): Remove weak alias.
15337 * nptl/compat-pthread_self.c: New file.
15338 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
15339 Remove ptr_pthread_self.
15341 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
15343 * posix/regcomp.c: Fix spelling in comments.
15344 * posix/regex.h: Likewise.
15345 * posix/regex_internal.c: Likewise.
15346 * posix/regexec.c: Likewise.
15348 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15351 * math/Makefile [C++] (tests): Add test for iseqsig.
15352 * math/math.h [C++] (iseqsig): New implementation, which does
15353 not rely on __MATH_TG/__builtin_types_compatible_p.
15354 * math/test-math-iseqsig.cc: New file.
15355 * sysdeps/powerpc/powerpc64le/Makefile
15356 (CFLAGS-test-math-iseqsig.cc): New variable.
15358 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
15360 * elf/dl-load.c (is_trusted_path): Remove.
15361 (fillin_rpath): Remove check_trusted argument and its use,
15362 all callers changed.
15364 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15367 * Makeconfig (link-pie-before-libc): Replace -pie with
15368 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
15369 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
15370 (tst-dlopen-aout-no-pie): New.
15371 (LDFLAGS-tst-prelink): Removed.
15372 (tst-prelink-no-pie): New.
15373 (LDFLAGS-tst-main1): Removed.
15374 (tst-main1-no-pie): New.
15375 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
15376 (tst-gmon-no-pie): New.
15378 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15380 * manual/install.texi: Document that --enable-static-pie
15382 * INSTALL: Regenerated.
15384 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
15387 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
15390 2017-12-19 Joseph Myers <joseph@codesourcery.com>
15394 2017-12-19 Joseph Myers <joseph@codesourcery.com>
15396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15398 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15400 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
15401 <errno.h>. Include "eexp.tbl".
15402 (half): New constant.
15404 (__ieee754_exp): Rewrite.
15405 (__slowexp): Remove prototype.
15406 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
15407 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
15408 * sysdeps/i386/fpu/slowexp.c: Likewise.
15409 * sysdeps/ia64/fpu/slowexp.c: Likewise.
15410 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
15411 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
15412 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
15413 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15414 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
15415 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
15417 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
15418 (CPPFLAGS-slowexp.c): Remove variable.
15419 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15420 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
15421 (CFLAGS-slowexp-fma.c): Remove variable.
15422 (CFLAGS-slowexp-fma4.c): Likewise.
15423 (CFLAGS-slowexp-avx.c): Likewise.
15424 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
15426 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
15427 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
15428 * math/Makefile (type-double-routines): Remove slowexp.
15429 * manual/probes.texi (slowexp_p6): Remove.
15430 (slowexp_p32): Likewise.
15432 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15434 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
15437 * lib/glob.c (glob): Do not pass NULL to mempcpy.
15439 2017-12-19 Joseph Myers <joseph@codesourcery.com>
15441 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15443 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15445 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
15446 <errno.h>. Include "eexp.tbl".
15447 (half): New constant.
15449 (__ieee754_exp): Rewrite.
15450 (__slowexp): Remove prototype.
15451 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
15452 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
15453 * sysdeps/i386/fpu/slowexp.c: Likewise.
15454 * sysdeps/ia64/fpu/slowexp.c: Likewise.
15455 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
15456 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
15457 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
15458 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15459 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
15460 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
15462 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
15463 (CPPFLAGS-slowexp.c): Remove variable.
15464 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15465 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
15466 (CFLAGS-slowexp-fma.c): Remove variable.
15467 (CFLAGS-slowexp-fma4.c): Likewise.
15468 (CFLAGS-slowexp-avx.c): Likewise.
15469 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
15471 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
15472 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
15473 * math/Makefile (type-double-routines): Remove slowexp.
15474 * manual/probes.texi (slowexp_p6): Remove.
15475 (slowexp_p32): Likewise.
15477 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15478 James Clarke <jrtc27@jrtc27.com>
15481 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
15484 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15487 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
15490 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15493 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15494 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
15495 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15496 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
15499 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15502 * bits/types/__cancel_jmp_buf_tag.h: New file.
15503 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
15504 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
15505 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
15506 * nptl/Makefile (headers): Add
15507 bits/types/__cancel_jmp_buf_tag.h.
15508 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
15509 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
15510 * sysdeps/nptl/pthread.h: Include
15511 <bits/types/__cancel_jmp_buf_tag.h>.
15512 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
15514 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
15516 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
15518 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
15519 --enable-static-pie variants to x86_64, x32 and i686.
15521 2017-12-19 Joseph Myers <joseph@codesourcery.com>
15524 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
15525 argument for attrubutes. All callers changed.
15526 (__inline_mathop1): Likewise. All callers changed.
15527 (__inline_mathop): Likewise. All callers changed.
15528 [__USE_MISC] (scalbn): Use __inline_forward instead of
15529 __inline_forward_c.
15530 [__USE_ISOC99] (scalbln): Likewise.
15531 [__USE_ISOC99] (nearbyint): Likewise.
15532 [__USE_ISOC99] (lrint): Likewise.
15533 [__USE_MISC] (scalbnf): Likewise.
15534 [__USE_ISOC99] (scalblnf): Likewise.
15535 [__USE_ISOC99] (nearbyintf): Likewise.
15536 [__USE_ISOC99] (lrintf): Likewise.
15537 [__USE_MISC] (scalbnl): Likewise.
15538 [__USE_ISOC99] (scalblnl): Likewise.
15539 [__USE_ISOC99] (nearbyintl): Likewise.
15540 [__USE_ISOC99] (lrintl): Likewise.
15541 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
15542 __inline_mathop and __m81_defun changed.
15544 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
15545 CPU or FPU for ARM hard-float configurations.
15547 2017-12-18 Joseph Myers <joseph@codesourcery.com>
15549 * nptl/tst-attr3.c: Include <libc-diag.h>.
15550 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
15552 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
15554 * string/tester.c (test_strncat): Also disable -Warray-bounds
15555 warnings for two tests.
15557 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
15560 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
15561 $(cc-pie-default) == yes.
15562 * config.make.in (cc-pie-default): New.
15563 * configure.ac (libc_cv_pie_default): Renamed to ...
15564 (libc_cv_cc_pie_default): This.
15565 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
15566 * configure: Regenerated.
15568 2017-12-18 Florian Weimer <fweimer@redhat.com>
15571 ld.so: Harden dl-libc/libdl hooks.
15572 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
15573 (rtld_active): New function.
15574 * dlfcn/dladdr.c (__dladdr): Call it.
15575 * dlfcn/dladdr1.c (__dladdr1): Likewise.
15576 * dlfcn/dlclose.c (__dlcose): Likewise.
15577 * dlfcn/dlerror.c (__dlerror): Likewise.
15578 * dlfcn/dlinfo.c (__dlinfo): Likewise.
15579 * dlfcn/dlmopen.c (__dlmopen): Likewise.
15580 * dlfcn/dlopen.c (__dlopen): Likewise.
15581 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15582 * dlfcn/dlsym.c (__dlsym): Likewise.
15583 * dlfcn/dlvsym.c (__dlvsym): Likewise.
15584 * libio/vtables.c (_IO_vtable_check): Likewise.
15585 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
15586 (__libc_dlclose): Likewise.
15587 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
15590 2017-12-18 Joseph Myers <joseph@codesourcery.com>
15593 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
15594 buffers for readlink input and output.
15596 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
15599 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
15600 inhibit_stack_protector.
15603 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
15604 inhibit_stack_protector.
15606 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
15609 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
15610 code and invocation.
15612 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
15614 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
15616 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
15619 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
15621 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15623 * sysdeps/s390/fpu/libm-test-ulps: Update.
15625 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15629 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15631 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
15632 constants to s_sincosf.h file.
15633 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15634 * sysdeps/ieee754/flt-32/s_sincosf.c: New
15636 * sysdeps/ieee754/flt-32/s_sincosf.h:
15639 2017-12-12 Carlos O'Donell <carlos@redhat.com>
15642 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
15645 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
15648 * INSTALL: Regenerated.
15649 * Makeconfig (real-static-start-installed-name): New.
15650 (pic-default): Updated for --enable-static-pie.
15651 (pie-default): New for --enable-static-pie.
15652 (default-pie-ldflag): Likewise.
15653 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
15654 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
15655 Replace $(static-start-installed-name) with
15656 $(real-static-start-installed-name).
15657 (+prectorT): Updated for --enable-static-pie.
15658 (+postctorT): Likewise.
15659 (CFLAGS-.o): Add $(pie-default).
15660 (CFLAGS-.op): Likewise.
15661 * NEWS: Mention --enable-static-pie.
15662 * config.h.in (ENABLE_STATIC_PIE): New.
15663 * configure.ac (--enable-static-pie): New configure option.
15664 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
15665 (have-static-pie): Likewise.
15666 Enable static PIE if linker supports --no-dynamic-linker.
15667 (ENABLE_STATIC_PIE): New AC_DEFINE.
15668 (enable-static-pie): New LIBC_CONFIG_VAR.
15669 * configure: Regenerated.
15670 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
15671 gr$(start-installed-name) for --enable-static-pie.
15672 (extra-objs): Likewise.
15673 (install-lib): Likewise.
15674 (extra-objs): Add static-reloc.o and static-reloc.os
15675 ($(objpfx)$(start-installed-name)): Also depend on
15676 $(objpfx)static-reloc.o.
15677 ($(objpfx)r$(start-installed-name)): New.
15678 ($(objpfx)g$(start-installed-name)): Also depend on
15679 $(objpfx)static-reloc.os.
15680 ($(objpfx)gr$(start-installed-name)): New.
15681 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
15683 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
15685 * csu/static-reloc.c: New file.
15686 * elf/Makefile (routines): Add dl-reloc-static-pie.
15687 (elide-routines.os): Likewise.
15688 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
15689 (tst-tls1-static-non-pie-no-pie): New.
15690 * elf/dl-reloc-static-pie.c: New file.
15691 * elf/dl-support.c (_dl_get_dl_main_map): New function.
15692 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
15693 STATIC_PIE_BOOTSTRAP.
15694 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
15695 * gmon/Makefile (tests): Add tst-gmon-static-pie.
15696 (tests-static): Likewise.
15697 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
15698 (tst-gmon-static-no-pie): New.
15699 (CFLAGS-tst-gmon-static-pie.c): Likewise.
15700 (CRT-tst-gmon-static-pie): Likewise.
15701 (tst-gmon-static-pie-ENV): Likewise.
15702 (tests-special): Likewise.
15703 ($(objpfx)tst-gmon-static-pie.out): Likewise.
15704 (clean-tst-gmon-static-pie-data): Likewise.
15705 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
15706 * gmon/tst-gmon-static-pie.c: New file.
15707 * manual/install.texi: Document --enable-static-pie.
15708 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
15709 (_dl_get_dl_main_map): Likewise.
15710 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
15711 * sysdeps/x86_64/configure.ac: Likewise.
15712 * sysdeps/i386/configure: Regenerated.
15713 * sysdeps/x86_64/configure: Likewise.
15714 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
15715 (ASFLAGS-.op): Likewise.
15717 2017-12-15 Joseph Myers <joseph@codesourcery.com>
15719 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
15720 * posix/tst-mmap-offset.c (fname): Use /tmp.
15721 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
15723 2017-12-15 Steve Ellcey <sellcey@cavium.com>
15725 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
15727 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
15729 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
15732 2017-12-15 Joseph Myers <joseph@codesourcery.com>
15734 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
15735 --with-float=hard for arm-linux-gnueabihf configurations.
15738 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
15739 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
15740 ($(mo-installed)): Use $(objpfx)%.mo.
15741 (realclean): Remove rule.
15743 * po/Makefile (linguas): Remove rule and dependencies.
15744 (linguas.mo): Likewise.
15745 (.PHONY): Do not depend on linguas and linguas.mo.
15746 (podir): Remove variable.
15747 (pofiles): Likewise.
15748 [$(pofiles)] (%.po): Remove rule.
15750 * sysdeps/sparc/sparc32/Makefile
15751 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
15752 start-of-line whitespace in argument of echo.
15753 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
15754 with whitespace. Generate __wrap_.udiv alias.
15755 * sysdeps/sparc/sparc32/rem.S: Regenerated.
15756 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15757 * sysdeps/sparc/sparc32/udiv.S: Likewise.
15758 * sysdeps/sparc/sparc32/urem.S: Likewise.
15760 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15762 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
15763 for aligned inputs.
15765 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
15767 * benchtests/bench-strcmp.c: Print output in JSON format.
15769 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
15771 2017-12-14 Florian Weimer <fweimer@redhat.com>
15775 * elf/dl-load.c (_dl_init_paths): Compute number of components in
15776 the expanded path string.
15778 2017-12-14 Florian Weimer <fweimer@redhat.com>
15782 * elf/dl-load.c (system_dirs): Update comment.
15783 (nsystem_dirs_len): Use array_length.
15784 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
15786 2017-12-14 Florian Weimer <fweimer@redhat.com>
15788 Simplify compiling most of support/ outside of glibc.
15789 * support/check_addrinfo.c: Include <string.h>.
15790 * support/check_dns_packet.c: Likewise.
15791 * support/check_hostent.c: Likewise.
15792 * support/support_can_chroot.c: Include <support/xunistd.h>.
15793 * support/support_format_addrinfo.c: Include <stdlib.h>
15794 * support/support_format_dns_packet.c: Include <stdbool.h>.
15795 * support/support_format_hostent.c: Include <stdlib.h>.
15796 * support/support_format_netent.c: Likewise.
15797 * support/support_write_string.c: Include <support/xunistd.h>.
15798 * support/xdlfcn.c: Include <stddef.h>.
15800 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
15802 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
15804 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15805 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15807 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
15808 (sysdeps_routines): Add memset-niagara7.
15809 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
15811 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
15813 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
15814 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
15815 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
15816 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
15817 Add niagara7 option.
15818 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
15821 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
15822 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
15823 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
15825 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
15827 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
15828 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
15829 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
15830 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
15831 and __memmove_niagara7.
15832 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
15833 Add niagara7 option.
15834 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
15835 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
15836 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
15837 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
15838 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
15840 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
15842 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
15843 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
15844 * sysdeps/sparc/sparc64/memmove.S: Likewise.
15845 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
15847 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
15848 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
15849 _dl_sparc_cap_flags array.
15850 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
15852 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
15854 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
15855 time whenever possible.
15857 2017-12-12 Carlos O'Donell <carlos@redhat.com>
15859 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
15860 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
15862 2017-12-12 Joseph Myers <joseph@codesourcery.com>
15864 * soft-fp/fmadf4.c: Move to ....
15865 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
15866 * soft-fp/fmasf4.c: Move to ....
15867 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
15868 * soft-fp/fmatf4.c: Move to ....
15869 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
15870 * sysdeps/ieee754/soft-fp/Makefile: New file.
15871 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
15872 * sysdeps/arm/preconfigure: Regenerated.
15873 * sysdeps/arm/nofpu/Implies: New file.
15874 * sysdeps/arm/s_fma.c: Remove file.
15875 * sysdeps/arm/s_fmaf.c: Likewise.
15876 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
15877 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
15878 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
15879 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
15880 * sysdeps/microblaze/s_fma.c: Remove file.
15881 * sysdeps/microblaze/s_fmaf.c: Likewise.
15882 * sysdeps/mips/mips32/nofpu/Implies: New file.
15883 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
15884 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
15885 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
15886 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
15887 * sysdeps/mips/ieee754/s_fma.c: Remove file.
15888 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
15889 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
15891 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
15892 * sysdeps/nios2/s_fma.c: Remove file.
15893 * sysdeps/nios2/s_fmaf.c: Likewise.
15894 * sysdeps/sh/nofpu/Implies: New file.
15895 * sysdeps/sh/s_fma.c: Remove file.
15896 * sysdeps/sh/s_fmaf.c: Likewise.
15897 * sysdeps/tile/Implies: Add ieee754/soft-fp.
15898 * sysdeps/tile/s_fma.c: Remove file.
15899 * sysdeps/tile/s_fmaf.c: Likewise.
15901 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
15903 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15904 Add s_cosf-sse2 and s_cosf-fma.
15905 (CFLAGS-s_cosf-fma.c): New.
15906 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
15907 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
15908 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
15910 2017-12-12 Steve Ellcey <sellcey@cavium.com>
15912 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
15914 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15916 * libio/Makefile (tests): Add tst-bz22415.
15917 (tst-bz22415-ENV): New rule.
15918 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
15919 (tests-special): Add tst-bz22415-mem.out.
15920 ($(objpfx)tst-bz22415-mem.out): New rule.
15921 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
15922 in case of a successful seek operation.
15923 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15924 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
15925 buffer is required.
15926 * libio/tst-bz22415.c: New test.
15928 * sysdeps/ia64/fpu/libm-test-ulps: Update.
15930 2017-12-12 James Clarke <jrtc27@jrtc27.com>
15932 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
15933 __IPC_64 to 0 to avoid IPC_64 being set.
15935 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15938 * math/bits/mathcalls.h (nextafter): Remove const.
15939 (nexttoward): Likewise.
15941 2017-12-12 Joseph Myers <joseph@codesourcery.com>
15943 * configure.ac (--with-fp): Remove configure option.
15944 (with_fp_cond): New variable.
15945 (libc_cv_with_fp): New configure test. Use this variable instead
15947 * configure: Regenerated.
15948 * config.make.in (with-fp): Use @libc_cv_with_fp@.
15949 * manual/install.texi (Configuring and compiling): Remove
15951 * INSTALL: Regenerated.
15952 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
15953 * sysdeps/mips/preconfigure (with_fp_cond): Define.
15954 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
15955 * sysdeps/sh/preconfigure (with_fp_cond): Define.
15956 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
15957 use --without-fp to configure glibc.
15959 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
15961 * manual/locale.texi (nl_langinfo): Fix a typo.
15963 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
15966 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
15968 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
15970 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
15971 (CFLAGS-argp-parse.c): Likewise.
15972 (CFLAGS-argp-fmtstream.c): Likewise.
15973 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
15974 (CPPFLAGS-sha512-crypt.c): Likewise.
15975 (CPPFLAGS-md5-crypt.c): Likewise.
15976 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
15977 (CFLAGS-stack_chk_fail_local.c): Likewise.
15978 (CFLAGS-backtrace.c): Likewise.
15979 (CFLAGS-sprintf_chk.c): Likewise.
15980 (CFLAGS-snprintf_chk.c): Likewise.
15981 (CFLAGS-vsprintf_chk.c): Likewise.
15982 (CFLAGS-vsnprintf_chk.c): Likewise.
15983 (CFLAGS-asprintf_chk.c): Likewise.
15984 (CFLAGS-vasprintf_chk.c): Likewise.
15985 (CFLAGS-obprintf_chk.c): Likewise.
15986 (CFLAGS-dprintf_chk.c): Likewise.
15987 (CFLAGS-vdprintf_chk.c): Likewise.
15988 (CFLAGS-printf_chk.c): Likewise.
15989 (CFLAGS-fprintf_chk.c): Likewise.
15990 (CFLAGS-vprintf_chk.c): Likewise.
15991 (CFLAGS-vfprintf_chk.c): Likewise.
15992 (CFLAGS-gets_chk.c): Likewise.
15993 (CFLAGS-fgets_chk.c): Likewise.
15994 (CFLAGS-fgets_u_chk.c): Likewise.
15995 (CFLAGS-fread_chk.c): Likewise.
15996 (CFLAGS-fread_u_chk.c): Likewise.
15997 (CFLAGS-swprintf_chk.c): Likewise.
15998 (CFLAGS-vswprintf_chk.c): Likewise.
15999 (CFLAGS-wprintf_chk.c): Likewise.
16000 (CFLAGS-fwprintf_chk.c): Likewise.
16001 (CFLAGS-vwprintf_chk.c): Likewise.
16002 (CFLAGS-vfwprintf_chk.c): Likewise.
16003 (CFLAGS-fgetws_chk.c): Likewise.
16004 (CFLAGS-fgetws_u_chk.c): Likewise.
16005 (CFLAGS-read_chk.c): Likewise.
16006 (CFLAGS-pread_chk.c): Likewise.
16007 (CFLAGS-pread64_chk.c): Likewise.
16008 (CFLAGS-recv_chk.c): Likewise.
16009 (CFLAGS-recvfrom_chk.c): Likewise.
16010 (CFLAGS-tst-longjmp_chk.c): Likewise.
16011 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
16012 (CFLAGS-tst-longjmp_chk2.c): Likewise.
16013 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
16014 (CFLAGS-tst-longjmp_chk3.c): Likewise.
16015 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16016 (CFLAGS-tst-chk1.c): Likewise.
16017 (CFLAGS-tst-chk2.c): Likewise.
16018 (CFLAGS-tst-chk3.c): Likewise.
16019 (CFLAGS-tst-chk4.cc): Likewise.
16020 (CFLAGS-tst-chk5.cc): Likewise.
16021 (CFLAGS-tst-chk6.cc): Likewise.
16022 (CFLAGS-tst-lfschk1.c): Likewise.
16023 (CFLAGS-tst-lfschk2.c): Likewise.
16024 (CFLAGS-tst-lfschk3.c): Likewise.
16025 (CFLAGS-tst-lfschk4.cc): Likewise.
16026 (CFLAGS-tst-lfschk5.cc): Likewise.
16027 (CFLAGS-tst-lfschk6.cc): Likewise.
16028 (CFLAGS-tst-ssp-1.c): Likewise.
16029 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
16030 (CFLAGS-scandir64.c): Likewise.
16031 (CFLAGS-scandir-tail.c): Likewise.
16032 (CFLAGS-scandir64-tail.c): Likewise.
16033 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
16034 (CFLAGS-dl-tunables.c): Likewise.
16035 (CFLAGS-dl-runtime.c): Likewise.
16036 (CFLAGS-dl-lookup.c): Likewise.
16037 (CFLAGS-dl-iterate-phdr.c): Likewise.
16038 (CFLAGS-vismain.c): Likewise.
16039 (CFLAGS-tst-linkall-static.c): Likewise.
16040 (CFLAGS-tst-linkall-static.c): Likewise.
16041 (CPPFLAGS-dl-load.c): Likewise.
16042 (CFLAGS-ldconfig.c): Likewise.
16043 (CFLAGS-dl-cache.c): Likewise.
16044 (CFLAGS-cache.c): Likewise.
16045 (CFLAGS-rtld.c): Likewise.
16046 (CFLAGS-multiload.c): Likewise.
16047 (CFLAGS-filtmod1.c): Likewise.
16048 (CFLAGS-tst-align.c): Likewise.
16049 (CFLAGS-tst-align2.c): Likewise.
16050 (CFLAGS-tst-alignmod.c): Likewise.
16051 (CFLAGS-tst-alignmod2.c): Likewise.
16052 (CPPFLAGS-tst-execstack.c): Likewise.
16053 (CFLAGS-tst-ptrguard1-static.c): Likewise.
16054 (CFLAGS-tst-latepthreadmod.c): Likewise.
16055 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
16056 (CFLAGS-getgrnam_r.c): Likewise.
16057 (CFLAGS-getgrent_r.c): Likewise.
16058 (CFLAGS-getgrent.c): Likewise.
16059 (CFLAGS-fgetgrent.c): Likewise.
16060 (CFLAGS-fgetgrent_r.c): Likewise.
16061 (CFLAGS-putgrent.c): Likewise.
16062 (CFLAGS-initgroups.c): Likewise.
16063 (CFLAGS-getgrgid.c): Likewise.
16064 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
16065 (CFLAGS-getsgent.c): Likewise.
16066 (CFLAGS-fgetsgent.c): Likewise.
16067 (CFLAGS-fgetsgent_r.c): Likewise.
16068 (CFLAGS-putsgent.c): Likewise.
16069 (CFLAGS-getsgnam.c): Likewise.
16070 (CFLAGS-getsgnam_r.c): Likewise.
16071 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
16072 (CFLAGS-iconv_charmap.c): Likewise.
16073 (CFLAGS-dummy-repertoire.c): Likewise.
16074 (CFLAGS-charmap.c): Likewise.
16075 (CFLAGS-linereader.c): Likewise.
16076 (CFLAGS-simple-hash.c): Likewise.
16077 (CFLAGS-gconv_conf.c): Likewise.
16078 (CFLAGS-iconvconfig.c): Likewise.
16079 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16080 (CFLAGS-gethstbyad.c): Likewise.
16081 (CFLAGS-gethstbynm_r.c): Likewise.
16082 (CFLAGS-gethstbynm.c): Likewise.
16083 (CFLAGS-gethstbynm2_r.c): Likewise.
16084 (CFLAGS-gethstbynm2.c): Likewise.
16085 (CFLAGS-gethstent_r.c): Likewise.
16086 (CFLAGS-gethstent.c): Likewise.
16087 (CFLAGS-rcmd.c): Likewise.
16088 (CFLAGS-getnetbynm_r.c): Likewise.
16089 (CFLAGS-getnetbynm.c): Likewise.
16090 (CFLAGS-getnetbyad_r.c): Likewise.
16091 (CFLAGS-getnetbyad.c): Likewise.
16092 (CFLAGS-getnetent_r.c): Likewise.
16093 (CFLAGS-getnetent.c): Likewise.
16094 (CFLAGS-getaliasent_r.c): Likewise.
16095 (CFLAGS-getaliasent.c): Likewise.
16096 (CFLAGS-getrpcent_r.c): Likewise.
16097 (CFLAGS-getrpcent.c): Likewise.
16098 (CFLAGS-getservent_r.c): Likewise.
16099 (CFLAGS-getservent.c): Likewise.
16100 (CFLAGS-getprtent_r.c): Likewise.
16101 (CFLAGS-getprtent.c): Likewise.
16102 (CFLAGS-either_ntoh.c): Likewise.
16103 (CFLAGS-either_hton.c): Likewise.
16104 (CFLAGS-getnetgrent.c): Likewise.
16105 (CFLAGS-getnetgrent_r.c): Likewise.
16106 (CFLAGS-tst-checks-posix.c): Likewise.
16107 (CFLAGS-tst-sockaddr.c): Likewise.
16108 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
16109 (CFLAGS-tst-translit.c): Likewise.
16110 (CFLAGS-tst-gettext2.c): Likewise.
16111 (CFLAGS-tst-codeset.c): Likewise.
16112 (CFLAGS-tst-gettext3.c): Likewise.
16113 (CFLAGS-tst-gettext4.c): Likewise.
16114 (CFLAGS-tst-gettext5.c): Likewise.
16115 (CFLAGS-tst-gettext6.c): Likewise.
16116 * io/Makefile (CFLAGS-open.c): Likewise.
16117 (CFLAGS-open64.c): Likewise.
16118 (CFLAGS-creat.c): Likewise.
16119 (CFLAGS-creat64.c): Likewise.
16120 (CFLAGS-fcntl.c): Likewise.
16121 (CFLAGS-poll.c): Likewise.
16122 (CFLAGS-ppoll.c): Likewise.
16123 (CFLAGS-lockf.c): Likewise.
16124 (CFLAGS-statfs.c): Likewise.
16125 (CFLAGS-fstatfs.c): Likewise.
16126 (CFLAGS-statvfs.c): Likewise.
16127 (CFLAGS-fstatvfs.c): Likewise.
16128 (CFLAGS-fts.c): Likewise.
16129 (CFLAGS-fts64.c): Likewise.
16130 (CFLAGS-ftw.c): Likewise.
16131 (CFLAGS-ftw64.c): Likewise.
16132 (CFLAGS-lockf.c): Likewise.
16133 (CFLAGS-posix_fallocate.c): Likewise.
16134 (CFLAGS-posix_fallocate64.c): Likewise.
16135 (CFLAGS-fallocate.c): Likewise.
16136 (CFLAGS-fallocate64.c): Likewise.
16137 (CFLAGS-read.c): Likewise.
16138 (CFLAGS-write.c): Likewise.
16139 (CFLAGS-test-stat.c): Likewise.
16140 (CFLAGS-test-lfs.c): Likewise.
16141 * libio/Makefile (CFLAGS-fileops.c): Likewise.
16142 (CFLAGS-fputc.c): Likewise.
16143 (CFLAGS-fputwc.c): Likewise.
16144 (CFLAGS-freopen64.c): Likewise.
16145 (CFLAGS-freopen.c): Likewise.
16146 (CFLAGS-fseek.c): Likewise.
16147 (CFLAGS-fseeko64.c): Likewise.
16148 (CFLAGS-fseeko.c): Likewise.
16149 (CFLAGS-ftello64.c): Likewise.
16150 (CFLAGS-ftello.c): Likewise.
16151 (CFLAGS-fwide.c): Likewise.
16152 (CFLAGS-genops.c): Likewise.
16153 (CFLAGS-getc.c): Likewise.
16154 (CFLAGS-getchar.c): Likewise.
16155 (CFLAGS-getwc.c): Likewise.
16156 (CFLAGS-getwchar.c): Likewise.
16157 (CFLAGS-iofclose.c): Likewise.
16158 (CFLAGS-iofflush.c): Likewise.
16159 (CFLAGS-iofgetpos64.c): Likewise.
16160 (CFLAGS-iofgetpos.c): Likewise.
16161 (CFLAGS-iofgets.c): Likewise.
16162 (CFLAGS-iofgetws.c): Likewise.
16163 (CFLAGS-iofputs.c): Likewise.
16164 (CFLAGS-iofputws.c): Likewise.
16165 (CFLAGS-iofread.c): Likewise.
16166 (CFLAGS-iofsetpos64.c): Likewise.
16167 (CFLAGS-iofsetpos.c): Likewise.
16168 (CFLAGS-ioftell.c): Likewise.
16169 (CFLAGS-iofwrite.c): Likewise.
16170 (CFLAGS-iogetdelim.c): Likewise.
16171 (CFLAGS-iogetline.c): Likewise.
16172 (CFLAGS-iogets.c): Likewise.
16173 (CFLAGS-iogetwline.c): Likewise.
16174 (CFLAGS-ioputs.c): Likewise.
16175 (CFLAGS-ioseekoff.c): Likewise.
16176 (CFLAGS-ioseekpos.c): Likewise.
16177 (CFLAGS-iosetbuffer.c): Likewise.
16178 (CFLAGS-iosetvbuf.c): Likewise.
16179 (CFLAGS-ioungetc.c): Likewise.
16180 (CFLAGS-ioungetwc.c): Likewise.
16181 (CFLAGS-oldfileops.c): Likewise.
16182 (CFLAGS-oldiofclose.c): Likewise.
16183 (CFLAGS-oldiofgetpos64.c): Likewise.
16184 (CFLAGS-oldiofgetpos.c): Likewise.
16185 (CFLAGS-oldiofsetpos64.c): Likewise.
16186 (CFLAGS-oldiofsetpos.c): Likewise.
16187 (CFLAGS-peekc.c): Likewise.
16188 (CFLAGS-putc.c): Likewise.
16189 (CFLAGS-putchar.c): Likewise.
16190 (CFLAGS-putwc.c): Likewise.
16191 (CFLAGS-putwchar.c): Likewise.
16192 (CFLAGS-rewind.c): Likewise.
16193 (CFLAGS-wfileops.c): Likewise.
16194 (CFLAGS-wgenops.c): Likewise.
16195 (CFLAGS-oldiofopen.c): Likewise.
16196 (CFLAGS-iofopen.c): Likewise.
16197 (CFLAGS-iofopen64.c): Likewise.
16198 (CFLAGS-oldtmpfile.c): Likewise.
16199 (CFLAGS-tst_putwc.c): Likewise.
16200 * locale/Makefile (CFLAGS-md5.c): Likewise.
16201 (CFLAGS-charmap.c): Likewise.
16202 (CFLAGS-locfile.c): Likewise.
16203 (CFLAGS-charmap-dir.c): Likewise.
16204 * login/Makefile (CFLAGS-grantpt.c): Likewise.
16205 (CFLAGS-getpt.c): Likewise.
16206 (CFLAGS-pt_chown.c): Likewise.
16207 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
16208 (CFLAGS-obstack.c): Likewise.
16209 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
16210 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
16211 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
16212 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
16213 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
16214 (CFLAGS-test-tgmath.c): Likewise.
16215 (CFLAGS-test-tgmath2.c): Likewise.
16216 (CFLAGS-test-tgmath-ret.c): Likewise.
16217 (CFLAGS-test-powl.c): Likewise.
16218 (CFLAGS-test-snan.c): Likewise.
16219 (CFLAGS-test-signgam-finite.c): Likewise.
16220 (CFLAGS-test-signgam-finite-c99.c): Likewise.
16221 (CFLAGS-test-signgam-finite-c11.c): Likewise.
16222 (CFLAGS-test-signgam-uchar.c): Likewise.
16223 (CFLAGS-test-signgam-uchar-init.c): Likewise.
16224 (CFLAGS-test-signgam-uchar-static.c): Likewise.
16225 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
16226 (CFLAGS-test-signgam-uint.c): Likewise.
16227 (CFLAGS-test-signgam-uint-init.c): Likewise.
16228 (CFLAGS-test-signgam-uint-static.c): Likewise.
16229 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
16230 (CFLAGS-test-signgam-ullong.c): Likewise.
16231 (CFLAGS-test-signgam-ullong-init.c): Likewise.
16232 (CFLAGS-test-signgam-ullong-static.c): Likewise.
16233 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
16234 (CFLAGS-test-math-cxx11.cc): Likewise.
16235 (CFLAGS-test-math-isinff.cc): Likewise.
16236 (CFLAGS-test-math-iszero.cc): Likewise.
16237 (CFLAGS-test-math-issignaling.cc): Likewise.
16238 (CFLAGS-test-math-iscanonical.cc): Likewise.
16239 (CFLAGS-test-iszero-excess-precision.c): Likewise.
16240 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
16241 (CFLAGS-test-flt-eval-method.c): Likewise.
16242 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
16243 (CFLAGS-test-finite-macros.c): Likewise.
16244 * misc/Makefile (CFLAGS-select.c): Likewise.
16245 (CFLAGS-tsearch.c): Likewise.
16246 (CFLAGS-lsearch.c): Likewise.
16247 (CFLAGS-pselect.c): Likewise.
16248 (CFLAGS-readv.c): Likewise.
16249 (CFLAGS-writev.c): Likewise.
16250 (CFLAGS-preadv.c): Likewise.
16251 (CFLAGS-preadv64.c): Likewise.
16252 (CFLAGS-pwritev.c): Likewise.
16253 (CFLAGS-pwritev64.c): Likewise.
16254 (CFLAGS-preadv2.c): Likewise.
16255 (CFLAGS-preadv64v2.c): Likewise.
16256 (CFLAGS-pwritev2.c): Likewise.
16257 (CFLAGS-pwritev64v2.c): Likewise.
16258 (CFLAGS-usleep.c): Likewise.
16259 (CFLAGS-syslog.c): Likewise.
16260 (CFLAGS-error.c): Likewise.
16261 (CFLAGS-getpass.c): Likewise.
16262 (CFLAGS-mkstemp.c): Likewise.
16263 (CFLAGS-mkstemp64.c): Likewise.
16264 (CFLAGS-getsysstats.c): Likewise.
16265 (CFLAGS-getusershell.c): Likewise.
16266 (CFLAGS-err.c): Likewise.
16267 (CFLAGS-tst-tsearch.c): Likewise.
16268 (CFLAGS-msync.c): Likewise.
16269 (CFLAGS-fdatasync.c): Likewise.
16270 (CFLAGS-fsync.c): Likewise.
16271 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
16272 (CFLAGS-unwind.c): Likewise.
16273 (CFLAGS-unwind-forcedunwind.c): Likewise.
16274 (CFLAGS-pthread_cancel.c): Likewise.
16275 (CFLAGS-pthread_setcancelstate.c): Likewise.
16276 (CFLAGS-pthread_setcanceltype.c): Likewise.
16277 (CFLAGS-cancellation.c): Likewise.
16278 (CFLAGS-libc-cancellation.c): Likewise.
16279 (CFLAGS-pthread_exit.c): Likewise.
16280 (CFLAGS-forward.c): Likewise.
16281 (CFLAGS-pthread_testcancel.c): Likewise.
16282 (CFLAGS-pthread_join.c): Likewise.
16283 (CFLAGS-pthread_timedjoin.c): Likewise.
16284 (CFLAGS-pthread_once.c): Likewise.
16285 (CFLAGS-pthread_cond_wait.c): Likewise.
16286 (CFLAGS-sem_wait.c): Likewise.
16287 (CFLAGS-sem_timedwait.c): Likewise.
16288 (CFLAGS-fcntl.c): Likewise.
16289 (CFLAGS-lockf.c): Likewise.
16290 (CFLAGS-pread.c): Likewise.
16291 (CFLAGS-pread64.c): Likewise.
16292 (CFLAGS-pwrite.c): Likewise.
16293 (CFLAGS-pwrite64.c): Likewise.
16294 (CFLAGS-wait.c): Likewise.
16295 (CFLAGS-waitpid.c): Likewise.
16296 (CFLAGS-sigwait.c): Likewise.
16297 (CFLAGS-msgrcv.c): Likewise.
16298 (CFLAGS-msgsnd.c): Likewise.
16299 (CFLAGS-tcdrain.c): Likewise.
16300 (CFLAGS-open.c): Likewise.
16301 (CFLAGS-open64.c): Likewise.
16302 (CFLAGS-pause.c): Likewise.
16303 (CFLAGS-recv.c): Likewise.
16304 (CFLAGS-send.c): Likewise.
16305 (CFLAGS-accept.c): Likewise.
16306 (CFLAGS-sendto.c): Likewise.
16307 (CFLAGS-connect.c): Likewise.
16308 (CFLAGS-recvfrom.c): Likewise.
16309 (CFLAGS-recvmsg.c): Likewise.
16310 (CFLAGS-sendmsg.c): Likewise.
16311 (CFLAGS-close.c): Likewise.
16312 (CFLAGS-read.c): Likewise.
16313 (CFLAGS-write.c): Likewise.
16314 (CFLAGS-nanosleep.c): Likewise.
16315 (CFLAGS-sigsuspend.c): Likewise.
16316 (CFLAGS-msync.c): Likewise.
16317 (CFLAGS-fdatasync.c): Likewise.
16318 (CFLAGS-fsync.c): Likewise.
16319 (CFLAGS-pt-system.c): Likewise.
16320 (CFLAGS-tst-cleanup2.c): Likewise.
16321 (CFLAGS-tst-cleanupx2.c): Likewise.
16322 (CFLAGS-flockfile.c): Likewise.
16323 (CFLAGS-ftrylockfile.c): Likewise.
16324 (CFLAGS-funlockfile.c): Likewise.
16325 (CFLAGS-tst-initializers1.c): Likewise.
16326 (CFLAGS-tst-initializers1-c89.c): Likewise.
16327 (CFLAGS-tst-initializers1-c99.c): Likewise.
16328 (CFLAGS-tst-initializers1-c11.c): Likewise.
16329 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
16330 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
16331 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
16332 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
16333 (CFLAGS-nscd_getgr_r.c): Likewise.
16334 (CFLAGS-nscd_gethst_r.c): Likewise.
16335 (CFLAGS-nscd_getai.c): Likewise.
16336 (CFLAGS-nscd_initgroups.c): Likewise.
16337 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
16338 (CFLAGS-pause.c): Likewise.
16339 (CFLAGS-pread.c): Likewise.
16340 (CFLAGS-pread64.c): Likewise.
16341 (CFLAGS-pwrite.c): Likewise.
16342 (CFLAGS-pwrite64.c): Likewise.
16343 (CFLAGS-sleep.c): Likewise.
16344 (CFLAGS-wait.c): Likewise.
16345 (CFLAGS-waitid.c): Likewise.
16346 (CFLAGS-waitpid.c): Likewise.
16347 (CFLAGS-getopt.c): Likewise.
16348 (CFLAGS-wordexp.c): Likewise.
16349 (CFLAGS-sysconf.c): Likewise.
16350 (CFLAGS-pathconf.c): Likewise.
16351 (CFLAGS-fpathconf.c): Likewise.
16352 (CFLAGS-spawn.c): Likewise.
16353 (CFLAGS-spawnp.c): Likewise.
16354 (CFLAGS-spawni.c): Likewise.
16355 (CFLAGS-glob.c): Likewise.
16356 (CFLAGS-glob64.c): Likewise.
16357 (CFLAGS-getconf.c): Likewise.
16358 (CFLAGS-nanosleep.c): Likewise.
16359 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
16360 (CFLAGS-getpwent.c): Likewise.
16361 (CFLAGS-getpw.c): Likewise.
16362 (CFLAGS-fgetpwent_r.c): Likewise.
16363 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
16364 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
16365 (CFLAGS-mq_timedreceive.c): Likewise.
16366 (CFLAGS-mq_timedsend.c): Likewise.
16367 (CFLAGS-clock_nanosleep.c): Likewise.
16368 (CFLAGS-librt-cancellation.c): Likewise.
16369 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
16370 (CFLAGS-getspent.c): Likewise.
16371 (CFLAGS-fgetspent.c): Likewise.
16372 (CFLAGS-fgetspent_r.c): Likewise.
16373 (CFLAGS-putspent.c): Likewise.
16374 (CFLAGS-getspnam.c): Likewise.
16375 (CFLAGS-getspnam_r.c): Likewise.
16376 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
16377 (CFLAGS-sigsuspend.c): Likewise.
16378 (CFLAGS-sigtimedwait.c): Likewise.
16379 (CFLAGS-sigwait.c): Likewise.
16380 (CFLAGS-sigwaitinfo.c): Likewise.
16381 (CFLAGS-sigreturn.c): Likewise.
16382 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
16383 (CFLAGS-vfwprintf.c): Likewise.
16384 (CFLAGS-tmpfile.c): Likewise.
16385 (CFLAGS-tmpfile64.c): Likewise.
16386 (CFLAGS-tempname.c): Likewise.
16387 (CFLAGS-psignal.c): Likewise.
16388 (CFLAGS-vprintf.c): Likewise.
16389 (CFLAGS-cuserid.c): Likewise.
16390 (CFLAGS-errlist.c): Likewise.
16391 (CFLAGS-siglist.c): Likewise.
16392 (CFLAGS-scanf15.c): Likewise.
16393 (CFLAGS-scanf17.c): Likewise.
16394 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
16395 (CFLAGS-msort.c): Likewise.
16396 (CFLAGS-qsort.c): Likewise.
16397 (CFLAGS-system.c): Likewise.
16398 (CFLAGS-fmtmsg.c): Likewise.
16399 (CFLAGS-strfmon.c): Likewise.
16400 (CFLAGS-strfmon_l.c): Likewise.
16401 (CFLAGS-strfromd.c): Likewise.
16402 (CFLAGS-strfromf.c): Likewise.
16403 (CFLAGS-strfroml.c): Likewise.
16404 (CFLAGS-tst-bsearch.c): Likewise.
16405 (CFLAGS-tst-qsort.c): Likewise.
16406 (CFLAGS-tst-makecontext2.c): Likewise.
16407 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
16408 (CFLAGS-xnlm_prot.c): Likewise.
16409 (CFLAGS-xrstat.c): Likewise.
16410 (CFLAGS-xyppasswd.c): Likewise.
16411 (CFLAGS-xklm_prot.c): Likewise.
16412 (CFLAGS-xrex.c): Likewise.
16413 (CFLAGS-xsm_inter.c): Likewise.
16414 (CFLAGS-xmount.c): Likewise.
16415 (CFLAGS-xrusers.c): Likewise.
16416 (CFLAGS-xspray.c): Likewise.
16417 (CFLAGS-xnfs_prot.c): Likewise.
16418 (CFLAGS-xrquota.c): Likewise.
16419 (CFLAGS-xkey_prot.c): Likewise.
16420 (CFLAGS-auth_unix.c): Likewise.
16421 (CFLAGS-key_call.c): Likewise.
16422 (CFLAGS-pmap_rmt.c): Likewise.
16423 (CFLAGS-clnt_perr.c): Likewise.
16424 (CFLAGS-openchild.c): Likewise.
16425 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
16426 (CFLAGS-msgsnd.c): Likewise.
16427 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
16428 * time/Makefile (CFLAGS-tzfile.c): Likewise.
16429 (CFLAGS-tzset.c): Likewise.
16430 (CFLAGS-getdate.c): Likewise.
16431 (CFLAGS-test_time.c): Likewise.
16432 (CPPFLAGS-tst-tzname.c): Likewise.
16433 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
16434 (CFLAGS-zic.c): Likewise.
16435 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
16436 (CFLAGS-wcswidth.c): Likewise.
16437 (CFLAGS-wcstol.c): Likewise.
16438 (CFLAGS-wcstoul.c): Likewise.
16439 (CFLAGS-wcstoll.c): Likewise.
16440 (CFLAGS-wcstoull.c): Likewise.
16441 (CFLAGS-wcstod.c): Likewise.
16442 (CFLAGS-wcstold.c): Likewise.
16443 (CFLAGS-wcstof128.c): Likewise.
16444 (CFLAGS-wcstof.c): Likewise.
16445 (CFLAGS-wcstol_l.c): Likewise.
16446 (CFLAGS-wcstoul_l.c): Likewise.
16447 (CFLAGS-wcstoll_l.c): Likewise.
16448 (CFLAGS-wcstoull_l.c): Likewise.
16449 (CFLAGS-wcstod_l.c): Likewise.
16450 (CFLAGS-wcstold_l.c): Likewise.
16451 (CFLAGS-wcstof128_l.c): Likewise.
16452 (CFLAGS-wcstof_l.c): Likewise.
16453 (CPPFLAGS-tst-wchar-h.c): Likewise.
16454 (CPPFLAGS-wcstold_l.c): Likewise.
16456 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
16458 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
16460 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16461 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16463 * manual/tunables.texi (Hardware Capability Tunables): Document
16464 glibc.tune.cached_memopt.
16465 * sysdeps/powerpc/cpu-features.c: New file.
16466 * sysdeps/powerpc/cpu-features.h: New file.
16467 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
16468 _dl_powerpc_cpu_features.
16469 * sysdeps/powerpc/dl-tunables.list: New file.
16470 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
16471 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16472 (INIT_ARCH): Initialize use_aligned_memopt.
16473 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
16474 IS_IN(rtld))]: Restrict dl_platform_init availability and
16475 initialize CPU features used by tunables.
16476 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
16477 Add memcpy-power8-cached.
16478 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
16479 __memcpy_power8_cached.
16480 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
16481 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
16484 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
16486 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
16487 (CFLAGS-noinl-tester.c): Likewise.
16488 (CFLAGS-tst-strlen.c): Likewise.
16489 (CFLAGS-stratcliff.c): Likewise.
16490 (CFLAGS-test-ffs.c): Likewise.
16491 (CFLAGS-tst-inlcall.c): Likewise.
16492 (CFLAGS-tst-xbzero-opt.c): Likewise.
16493 (CFLAGS-memcpy.c): Likewise.
16494 (CFLAGS-wordcopy.c): Likewise.
16496 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16498 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
16499 Store r15 on stack and add cfi rule.
16500 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
16503 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
16506 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
16509 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
16511 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16512 Add s_sinf-sse2 and s_sinf-fma.
16513 (CFLAGS-s_sinf-fma.c): New.
16514 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
16515 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
16516 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
16518 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
16520 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
16522 2017-12-07 Joseph Myers <joseph@codesourcery.com>
16525 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
16526 part of result to imaginary part of argument if it is zero and the
16527 real part of the argument is not finite.
16528 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
16529 of result to real part of argument if it is zero and the imaginary
16530 part of the argument is not finite.
16532 2017-12-07 Mike FABIAN <mfabian@redhat.com>
16535 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
16536 and to the list of locales to be built for testing.
16537 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
16538 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
16539 and build the collation rules upon that.
16541 2017-12-07 Joseph Myers <joseph@codesourcery.com>
16543 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
16544 * manual/math.texi (Mathematics): Document support for _Float32.
16545 * math/Makefile (test-types): Add float32.
16546 * math/Versions (GLIBC_2.27): Add _Float32 functions.
16547 * stdlib/Versions (GLIBC_2.27): Likewise.
16548 * wcsmbs/Versions (GLIBC_2.27): Likewise.
16549 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
16550 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16551 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16552 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16553 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16554 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16555 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16556 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16557 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16558 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16559 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16560 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16561 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16562 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16563 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16564 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16565 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16566 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16567 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16568 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16569 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
16571 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16572 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16573 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16574 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16575 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
16587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
16589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16593 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16594 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16595 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16596 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16597 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16598 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16599 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16600 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16601 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16602 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
16605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
16609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16611 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16612 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16613 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16614 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16615 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16616 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16617 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16618 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16620 2017-12-06 Joseph Myers <joseph@codesourcery.com>
16622 * stdlib/strtof.c: Include <bits/floatn.h>
16623 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
16624 and later undefine as macro. Define as weak alias if
16626 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
16627 and later undefine as macro. Define as weak alias if
16629 * stdlib/strtof_l.c: Include <bits/floatn.h>
16630 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
16631 and later undefine as macro. Define as weak alias if
16633 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
16634 and later undefine as macro. Define as weak alias if
16637 * stdlib/strfromf.c: Include <bits/floatn.h>.
16638 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
16639 and later undefine as macro and define as weak alias.
16641 * math/test-float32.h: New file.
16643 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
16644 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
16645 (libm_alias_float_other_r): Create f32 alias.
16646 (libm_alias_float_r): Use semicolon before call to
16647 libm_alias_float_other_r.
16649 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
16650 second argument to libm_alias_float_other.
16651 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
16652 second argument to libm_alias_float_other.
16653 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
16654 argument to libm_alias_float_other.
16657 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
16658 real part of result for argument 0 + i * NaN.
16659 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
16660 results for tests of 0 + i * NaN.
16662 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16664 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16666 2017-12-06 David S. Miller <davem@davemloft.net>
16668 * sysdeps/sparc/fpu/libm-test-ulps: Update
16669 exp_{downward,towardzero,upward} ulps.
16671 2017-12-06 Joseph Myers <joseph@codesourcery.com>
16673 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
16676 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
16678 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
16680 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
16682 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
16685 2017-12-06 Mike FABIAN <mfabian@redhat.com>
16688 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
16689 and to the list of locales to be built for testing.
16690 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
16691 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
16692 and build the collation rules upon that.
16694 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16696 * NEWS: Add sinf to list of optimized functions.
16698 2017-12-06 Joseph Myers <joseph@codesourcery.com>
16700 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
16701 (__HAVE_FLOAT32X): Likewise.
16702 * manual/math.texi (Mathematics): Document support for _Float64
16704 * math/Makefile (test-types): Add float64 and float32x.
16705 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
16707 * stdlib/Versions (GLIBC_2.27): Likewise.
16708 * wcsmbs/Versions (GLIBC_2.27): Likewise.
16709 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
16710 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16711 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16712 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16713 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16714 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16715 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16716 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16717 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16718 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16719 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16720 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16721 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16722 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16723 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16724 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16725 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16726 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16727 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16728 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16729 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
16731 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16732 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16733 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16734 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16735 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
16746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
16748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16752 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16753 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16754 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16755 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16756 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16757 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16758 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16759 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16760 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16761 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16762 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
16764 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16766 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
16768 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16770 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16771 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16772 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16773 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16774 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16775 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16776 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16777 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16779 2017-12-05 Joseph Myers <joseph@codesourcery.com>
16781 * bits/floatn-common.h: Include <bits/long-double.h>.
16782 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
16783 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
16784 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
16785 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
16786 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
16787 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
16788 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
16789 (__builtin_huge_valf64): Use __builtin_huge_vall.
16790 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
16791 (__builtin_inff64): Use __builtin_infl.
16792 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
16793 (__builtin_nanf64): Use __builtin_nanl.
16794 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
16795 (__builtin_nansf64): Use __builtin_nansl.
16797 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
16798 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16799 Carlos O'Donnell <carlos@redhat.com>
16801 * elf/dl-tunables.list: Add elision parameters.
16802 * manual/tunables.texi: Add entries about elision tunable.
16803 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
16804 Add callback functions to dynamically enable/disable elision.
16805 Add multiple callbacks functions to set elision parameters.
16806 Deleted __libc_enable_secure check.
16807 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
16808 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
16809 * configure: Regenerated.
16810 * configure.ac: Option enable_lock_elision was deleted.
16811 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
16812 * config.make.in: Remove references to enable_lock_elision.
16813 * manual/install.texi: Elision configure option was removed.
16814 * INSTALL: Regenerated to remove enable_lock_elision.
16816 Disable elision so it can verify error case for destroying a mutex.
16817 * sysdeps/powerpc/nptl/elide.h:
16818 Cleanup ENABLE_LOCK_ELISION check.
16819 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
16820 * sysdeps/s390/configure: Regenerated.
16821 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
16822 * nptl/tst-mutex8.c:
16823 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
16824 * sysdeps/powerpc/powerpc32/sysdep.h:
16825 Deleted all ENABLE_LOCK_ELISION checks.
16826 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16827 * sysdeps/powerpc/sysdep.h: Likewise.
16828 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
16829 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
16830 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
16831 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
16832 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16833 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
16834 enable-lock-elision.
16836 2017-12-05 Joseph Myers <joseph@codesourcery.com>
16838 * stdlib/strtod.c: Include <bits/floatn.h>.
16839 (BUILD_DOUBLE): New macro.
16840 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
16841 (strtof64): Define and later undefine as macro. Define as weak
16842 alias if [!USE_WIDE_CHAR].
16843 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
16844 (wcstof64): Define and later undefine as macro. Define as weak
16845 alias if [USE_WIDE_CHAR].
16846 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
16847 (strtof32x): Define and later undefine as macro. Define as weak
16848 alias if [!USE_WIDE_CHAR].
16849 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
16850 (wcstof32x): Define and later undefine as macro. Define as weak
16851 alias if [USE_WIDE_CHAR].
16852 * stdlib/strtod_l.c: Include <bits/floatn.h>.
16853 (BUILD_DOUBLE): New macro.
16854 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
16855 (strtof64_l): Define and later undefine as macro. Define as weak
16856 alias if [!USE_WIDE_CHAR].
16857 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
16858 (wcstof64_l): Define and later undefine as macro. Define as weak
16859 alias if [USE_WIDE_CHAR].
16860 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
16861 (strtof32x_l): Define and later undefine as macro. Define as weak
16862 alias if [!USE_WIDE_CHAR].
16863 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
16864 (wcstof32x_l): Define and later undefine as macro. Define as weak
16865 alias if [USE_WIDE_CHAR].
16867 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16869 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
16870 (reduced): Use ones as double instead of integer.
16872 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
16874 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
16876 2017-12-05 Joseph Myers <joseph@codesourcery.com>
16878 * stdlib/strfromd.c: Include <bits/floatn.h>.
16879 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
16880 and later undefine as macro and define as weak alias.
16881 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
16884 * math/test-float32x.h: New file.
16885 * math/test-float64.h: Likewise.
16887 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
16888 (libm_alias_double_other_r_f64): New macro.
16889 (libm_alias_double_other_r_f32x): Likewise.
16890 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
16891 libm_alias_double_other_r_f32x.
16892 (libm_alias_double_r): Use semicolon before call to
16893 libm_alias_double_other_r.
16894 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
16896 (libm_alias_double_other_r_f64): New macro.
16897 (libm_alias_double_other_r_f32x): Likewise.
16898 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
16899 libm_alias_double_other_r_f32x.
16901 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
16903 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
16905 (SINF_FUNC): Likewise. Replace floor with simple casts.
16907 2017-12-05 Mike FABIAN <mfabian@redhat.com>
16910 * localedata/Makefile: Add et_EE.UTF-8 to test-input
16911 and to the list of locales to be built for testing.
16912 * localedata/et_EE.UTF-8.in: New file for testing the collation.
16913 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
16914 and build the collation rules upon that.
16916 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
16918 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
16919 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
16920 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
16921 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
16922 instead of __insn__xxx.
16923 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
16924 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
16925 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
16926 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
16927 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
16928 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
16930 2017-12-05 Florian Weimer <fweimer@redhat.com>
16932 Linux: Implement interfaces for memory protection keys
16933 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
16935 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
16936 * support/xunistd.h (xsysconf): Declare.
16937 * support/xraise.c: New file.
16938 * support/xsigaction.c: Likewise.
16939 * support/xsignal.c: Likewise.
16940 * support/xsysconf.c: Likewise.
16941 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
16942 pkey_set, pkey_get, pkey_mprotect.
16943 [misc] (tests): Add tst-pkey.
16944 (tst-pkey): Link with -lpthread.
16945 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
16946 pkey_free, pkey_set, pkey_get, pkey_mprotect.
16947 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
16948 (PKEY_DISABLE_WRITE): Define.
16949 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
16951 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
16952 (SEGV_PKUERR): Add.
16953 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
16954 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
16955 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
16956 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
16958 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
16959 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
16960 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
16961 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
16962 * sysdeps/unix/sysv/linux/**.abilist: Update.
16964 2017-12-05 Florian Weimer <fweimer@redhat.com>
16966 * support/tst-test_compare.c (subprocess): Use long long instead
16967 of long argument for consistent type width across 32-bit and
16968 64-bit architectures.
16969 (do_test): Adjust expected output.
16971 2017-12-05 Joseph Myers <joseph@codesourcery.com>
16973 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
16974 (cosf): Define using libm_alias_float.
16975 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
16976 (fabsf): Define using libm_alias_float.
16977 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
16978 (fmaf): Define using libm_alias_float.
16979 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
16980 (rintf): Define using libm_alias_float.
16981 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
16982 (sinf): Define using libm_alias_float.
16983 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
16984 <libm-alias-float.h>.
16985 (modff): Define using libm_alias_float.
16986 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
16987 <libm-alias-float.h>.
16988 (logbf): Define using libm_alias_float.
16989 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
16990 <libm-alias-float.h>.
16991 (ceilf): Define using libm_alias_float.
16992 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
16993 <libm-alias-float.h>.
16994 (copysignf): Define using libm_alias_float.
16995 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
16996 <libm-alias-float.h>.
16997 (floorf): Define using libm_alias_float.
16998 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
16999 <libm-alias-float.h>.
17000 (llrintf): Define using libm_alias_float.
17001 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
17002 <libm-alias-float.h>.
17003 (llroundf): Define using libm_alias_float.
17004 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
17005 <libm-alias-float.h>.
17006 (lrintf): Define using libm_alias_float.
17007 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
17008 <libm-alias-float.h>.
17009 (lroundf): Define using libm_alias_float.
17010 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
17011 <libm-alias-float.h>.
17012 (nearbyintf): Define using libm_alias_float.
17013 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
17014 <libm-alias-float.h>.
17015 (rintf): Define using libm_alias_float.
17016 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
17017 <libm-alias-float.h>.
17018 (roundf): Define using libm_alias_float.
17019 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
17020 <libm-alias-float.h>.
17021 (truncf): Define using libm_alias_float.
17022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
17023 Include <libm-alias-float.h>.
17024 (ceilf): Define using libm_alias_float.
17025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
17026 Include <libm-alias-float.h>.
17027 (copysignf): Define using libm_alias_float.
17028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
17029 Include <libm-alias-float.h>.
17030 (floorf): Define using libm_alias_float.
17031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
17032 Include <libm-alias-float.h>.
17033 (llrintf): Define using libm_alias_float.
17034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
17035 Include <libm-alias-float.h>.
17036 (llroundf): Define using libm_alias_float.
17037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
17038 Include <libm-alias-float.h>.
17039 (logbf): Define using libm_alias_float.
17040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
17041 Include <libm-alias-float.h>.
17042 (lrintf): Define using libm_alias_float.
17043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
17044 Include <libm-alias-float.h>.
17045 (lroundf): Define using libm_alias_float.
17046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
17047 Include <libm-alias-float.h>.
17048 (modff): Define using libm_alias_float.
17049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
17050 Include <libm-alias-float.h>.
17051 (roundf): Define using libm_alias_float.
17052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
17053 Include <libm-alias-float.h>.
17054 (truncf): Define using libm_alias_float.
17055 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
17056 <libm-alias-float.h>.
17057 (llrintf): Define using libm_alias_float.
17058 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
17059 <libm-alias-float.h>.
17060 (llroundf): Define using libm_alias_float.
17061 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
17062 <libm-alias-float.h>.
17063 (ceilf): Define using libm_alias_float.
17064 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
17065 <libm-alias-float.h>.
17066 (floorf): Define using libm_alias_float.
17067 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
17068 <libm-alias-float.h>.
17069 (llroundf): Define using libm_alias_float.
17070 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
17071 <libm-alias-float.h>.
17072 (lroundf): Define using libm_alias_float.
17073 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
17074 <libm-alias-float.h>.
17075 (roundf): Define using libm_alias_float.
17076 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
17077 <libm-alias-float.h>.
17078 (truncf): Define using libm_alias_float.
17079 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
17080 <libm-alias-float.h>.
17081 (copysignf): Define using libm_alias_float.
17082 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
17083 <libm-alias-float.h>.
17084 (llrintf): Define using libm_alias_float.
17085 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
17086 <libm-alias-float.h>.
17087 (llroundf): Define using libm_alias_float.
17088 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
17089 <libm-alias-float.h>.
17090 (lrintf): Define using libm_alias_float.
17091 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
17092 <libm-alias-float.h>.
17093 (lroundf): Define using libm_alias_float.
17094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
17095 <libm-alias-float.h>.
17096 (ceilf): Define using libm_alias_float.
17097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
17098 <libm-alias-float.h>.
17099 (copysignf): Define using libm_alias_float.
17100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
17101 <libm-alias-float.h>.
17102 (cosf): Define using libm_alias_float.
17103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
17104 <libm-alias-float.h>.
17105 (floorf): Define using libm_alias_float.
17106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
17107 <libm-alias-float.h>.
17108 (llrintf): Define using libm_alias_float.
17109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
17110 <libm-alias-float.h>.
17111 (llroundf): Define using libm_alias_float.
17112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
17113 <libm-alias-float.h>.
17114 (logbf): Define using libm_alias_float.
17115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
17116 <libm-alias-float.h>.
17117 (modff): Define using libm_alias_float.
17118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
17119 <libm-alias-float.h>.
17120 (roundf): Define using libm_alias_float.
17121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
17122 <libm-alias-float.h>.
17123 (sinf): Define using libm_alias_float.
17124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
17125 <libm-alias-float.h>.
17126 (truncf): Define using libm_alias_float.
17127 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
17128 <libm-alias-float.h>.
17129 (ceilf): Define using libm_alias_float.
17130 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
17131 <libm-alias-float.h>.
17132 (copysignf): Define using libm_alias_float.
17133 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
17134 <libm-alias-float.h>.
17135 (floorf): Define using libm_alias_float.
17136 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
17137 <libm-alias-float.h>.
17138 (llrintf): Define using libm_alias_float.
17139 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
17140 <libm-alias-float.h>.
17141 (llroundf): Define using libm_alias_float.
17142 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
17143 <libm-alias-float.h>.
17144 (nearbyintf): Define using libm_alias_float.
17145 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
17146 <libm-alias-float.h>.
17147 (rintf): Define using libm_alias_float.
17148 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
17149 <libm-alias-float.h>.
17150 (roundf): Define using libm_alias_float.
17151 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
17152 <libm-alias-float.h>.
17153 (truncf): Define using libm_alias_float.
17154 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
17155 <libm-alias-float.h>.
17156 (ceilf): Define using libm_alias_float.
17157 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
17158 <libm-alias-float.h>.
17159 (floorf): Define using libm_alias_float.
17160 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
17161 <libm-alias-float.h>.
17162 (llroundf): Define using libm_alias_float.
17163 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
17164 <libm-alias-float.h>.
17165 (roundf): Define using libm_alias_float.
17166 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
17167 <libm-alias-float.h>.
17168 (truncf): Define using libm_alias_float.
17169 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
17170 <libm-alias-float.h>.
17171 (copysignf): Define using libm_alias_float.
17172 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
17173 <libm-alias-float.h>.
17174 (llrintf): Define using libm_alias_float.
17175 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
17176 <libm-alias-float.h>.
17177 (llroundf): Define using libm_alias_float.
17178 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
17179 <libm-alias-float.h>.
17180 (cosf): Define using libm_alias_float.
17181 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
17182 <libm-alias-float.h>.
17183 (llrintf): Define using libm_alias_float.
17184 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
17185 <libm-alias-float.h>.
17186 (llroundf): Define using libm_alias_float.
17187 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
17188 <libm-alias-float.h>.
17189 (sinf): Define using libm_alias_float.
17191 2017-12-04 Florian Weimer <fweimer@redhat.com>
17193 * support/check.h (TEST_COMPARE): Define.
17194 (support_test_compare_failure): Declare.
17195 * support/Makefile (libsupport-routines): Add
17196 support_test_compare_failure.
17197 (tests): Add tst-test_compare.
17198 * support /support_test_compare_failure.c: New file.
17199 * support/tst-test_compare.c: Likewise.
17201 2017-12-04 Mike FABIAN <mfabian@redhat.com>
17204 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
17205 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
17206 available, this rewrite of the collation rules does reproduce
17207 the test file in the same order.
17209 2017-12-04 Mike FABIAN <mfabian@redhat.com>
17212 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
17213 digraphs in the month and day names. Using single code points for
17214 digraphs is deprecated. While there are dedicated Unicode
17215 codepoints, for the digraphs, these are included for backwards
17216 compatibility and modern texts use a sequence of Basic Latin
17217 characters. See: https://www.unicode.org/faq/ligature_digraph.html
17218 This makes the month and day names agree exactly with CLDR now,
17219 CLDR does not use the single code points for the digraphs either.
17221 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
17223 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
17225 2017-12-04 Joseph Myers <joseph@codesourcery.com>
17227 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
17230 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
17232 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
17233 Define only for libc.so.
17235 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
17237 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17238 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
17239 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
17240 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
17241 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17243 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17246 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
17248 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
17251 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
17252 PREINIT_FUNCTION_WEAK is nonzero.
17253 (gmon_initializer): New function. Put procedure label for it in
17254 .init_array section.
17255 (_init): Don't call PREINIT_FUNCTION.
17256 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
17257 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
17258 value when map argument is null.
17260 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
17261 depi instruction from PIC pc-relative sequence.
17262 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
17263 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
17264 (elf_machine_load_address): Likewise.
17265 (elf_machine_runtime_setup): Likewise.
17267 2017-12-02 Joseph Myers <joseph@codesourcery.com>
17269 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
17270 <libm-alias-double.h>.
17271 (logb): Define using libm_alias_double.
17272 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
17273 <libm-alias-double.h>.
17274 (copysign): Define using libm_alias_double.
17275 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
17276 <libm-alias-double.h>.
17277 (llrint): Define using libm_alias_double.
17278 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
17279 <libm-alias-double.h>.
17280 (llround): Define using libm_alias_double.
17281 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
17282 <libm-alias-double.h>.
17283 (lrint): Define using libm_alias_double.
17284 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
17285 <libm-alias-double.h>.
17286 (lround): Define using libm_alias_double.
17287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
17288 Include <libm-alias-double.h>.
17289 (copysign): Define using libm_alias_double.
17290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
17291 Include <libm-alias-double.h>.
17292 (llrint): Define using libm_alias_double.
17293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
17294 Include <libm-alias-double.h>.
17295 (llround): Define using libm_alias_double.
17296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
17297 <libm-alias-double.h>.
17298 (logb): Define using libm_alias_double.
17299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
17300 Include <libm-alias-double.h>.
17301 (lrint): Define using libm_alias_double.
17302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
17303 Include <libm-alias-double.h>.
17304 (lround): Define using libm_alias_double.
17305 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
17306 <libm-alias-double.h>.
17307 (llrint): Define using libm_alias_double.
17308 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
17309 <libm-alias-double.h>.
17310 (llround): Define using libm_alias_double.
17311 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
17312 <libm-alias-double.h>.
17313 (llround): Define using libm_alias_double.
17314 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
17315 <libm-alias-double.h>.
17316 (lround): Define using libm_alias_double.
17317 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
17318 <libm-alias-double.h>.
17319 (copysign): Define using libm_alias_double.
17320 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
17321 <libm-alias-double.h>.
17322 (llrint): Define using libm_alias_double.
17323 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
17324 <libm-alias-double.h>.
17325 (llround): Define using libm_alias_double.
17326 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
17327 <libm-alias-double.h>.
17328 (lrint): Define using libm_alias_double.
17329 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
17330 <libm-alias-double.h>.
17331 (lround): Define using libm_alias_double.
17332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
17333 <libm-alias-double.h>.
17334 (copysign): Define using libm_alias_double.
17335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
17336 <libm-alias-double.h>.
17337 (llrint): Define using libm_alias_double.
17339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
17340 <libm-alias-double.h>.
17341 (llround): Define using libm_alias_double.
17342 (lround): Likewise.
17343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
17344 <libm-alias-double.h>.
17345 (logb): Define using libm_alias_double.
17346 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
17347 <libm-alias-double.h>.
17348 (copysign): Define using libm_alias_double.
17349 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
17350 <libm-alias-double.h>.
17351 (llrint): Define using libm_alias_double.
17353 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
17354 <libm-alias-double.h>.
17355 (llround): Define using libm_alias_double.
17356 (lround): Likewise.
17357 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
17358 <libm-alias-double.h>.
17359 (llround): Define using libm_alias_double.
17360 (lround): Likewise.
17361 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
17362 <libm-alias-double.h>.
17363 (copysign): Define using libm_alias_double.
17364 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
17365 <libm-alias-double.h>.
17366 (llrint): Define using libm_alias_double.
17368 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
17369 <libm-alias-double.h>.
17370 (llround): Define using libm_alias_double.
17371 (lround): Likewise.
17372 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
17373 <libm-alias-double.h>.
17374 (llrint): Define using libm_alias_double.
17376 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
17377 <libm-alias-double.h>.
17378 (llround): Define using libm_alias_double.
17379 (lround): Likewise.
17381 2017-12-01 Joseph Myers <joseph@codesourcery.com>
17383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17384 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
17385 compat symbol based on llround.
17387 * sysdeps/powerpc/power7/fpu/s_logb.c
17388 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
17389 symbol based on __logb, not on logb.
17390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
17391 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
17392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
17393 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
17395 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
17396 (rint): Define using libm_alias_double.
17397 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
17398 <libm-alias-double.h>.
17399 (modf): Define using libm_alias_double.
17400 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
17401 <libm-alias-double.h>.
17402 (ceil): Define using libm_alias_double.
17403 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
17404 <libm-alias-double.h>.
17405 (floor): Define using libm_alias_double.
17406 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
17407 <libm-alias-double.h>.
17408 (nearbyint): Define using libm_alias_double.
17409 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
17410 <libm-alias-double.h>.
17411 (rint): Define using libm_alias_double.
17412 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
17413 <libm-alias-double.h>.
17414 (round): Define using libm_alias_double.
17415 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
17416 <libm-alias-double.h>.
17417 (trunc): Define using libm_alias_double.
17418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
17419 <libm-alias-double.h>.
17420 (ceil): Define using libm_alias_double.
17421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
17422 Include <libm-alias-double.h>.
17423 (floor): Define using libm_alias_double.
17424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
17425 <libm-alias-double.h>.
17426 (modf): Define using libm_alias_double.
17427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
17428 Include <libm-alias-double.h>.
17429 (round): Define using libm_alias_double.
17430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
17431 Include <libm-alias-double.h>.
17432 (trunc): Define using libm_alias_double.
17433 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
17434 <libm-alias-double.h>.
17435 (ceil): Define using libm_alias_double.
17436 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
17437 <libm-alias-double.h>.
17438 (floor): Define using libm_alias_double.
17439 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
17440 <libm-alias-double.h>.
17441 (round): Define using libm_alias_double.
17442 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
17443 <libm-alias-double.h>.
17444 (trunc): Define using libm_alias_double.
17445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
17446 <libm-alias-double.h>.
17447 (ceil): Define using libm_alias_double.
17448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
17449 <libm-alias-double.h>.
17450 (floor): Define using libm_alias_double.
17451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
17452 <libm-alias-double.h>.
17453 (modf): Define using libm_alias_double.
17454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
17455 <libm-alias-double.h>.
17456 (round): Define using libm_alias_double.
17457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
17458 <libm-alias-double.h>.
17459 (trunc): Define using libm_alias_double.
17460 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
17461 <libm-alias-double.h>.
17462 (ceil): Define using libm_alias_double.
17463 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
17464 <libm-alias-double.h>.
17465 (floor): Define using libm_alias_double.
17466 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
17467 <libm-alias-double.h>.
17468 (nearbyint): Define using libm_alias_double.
17469 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
17470 <libm-alias-double.h>.
17471 (rint): Define using libm_alias_double.
17472 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
17473 <libm-alias-double.h>.
17474 (round): Define using libm_alias_double.
17475 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
17476 <libm-alias-double.h>.
17477 (trunc): Define using libm_alias_double.
17478 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
17479 <libm-alias-double.h>.
17480 (ceil): Define using libm_alias_double.
17481 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
17482 <libm-alias-double.h>.
17483 (floor): Define using libm_alias_double.
17484 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
17485 <libm-alias-double.h>.
17486 (round): Define using libm_alias_double.
17487 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
17488 <libm-alias-double.h>.
17489 (trunc): Define using libm_alias_double.
17491 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
17492 (fabs): Define using libm_alias_double.
17493 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
17494 (fma): Define using libm_alias_double.
17495 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
17496 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
17497 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
17498 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
17500 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17502 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
17504 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
17505 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
17506 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
17508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
17509 due redirect macro.
17511 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
17513 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
17515 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17517 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
17518 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
17519 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
17520 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
17522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17523 (libm-sysdep_routines): Add s_nearbyintf-generic and
17524 s_nearbyint-generic.
17525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
17527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
17528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
17530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
17532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
17534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
17537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17538 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
17539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
17541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
17542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
17544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
17545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
17546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17549 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
17550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
17552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
17553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
17555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
17556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
17557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
17559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17560 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
17561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
17563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
17564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
17566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
17567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
17568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17571 (sysdep_calls): New rule.
17572 (sysdep_routines): Use sysdep_calls as base.
17573 (libm-sysdep_routines): Add generic rule for symbols shared with
17574 libc. Add s_copysign-generic and s_copysign-generic objects.
17575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
17577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
17578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
17580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
17581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
17582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
17584 2017-12-01 Mike FABIAN <mfabian@redhat.com>
17587 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
17588 the list of locales to be built for testing.
17589 * localedata/is_IS.UTF-8.in: New file.
17590 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
17593 2017-12-01 Joseph Myers <joseph@codesourcery.com>
17595 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
17596 <libm-alias-float.h>.
17597 (fabsf): Define using libm_alias_float.
17599 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
17601 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
17603 2017-11-30 Joseph Myers <joseph@codesourcery.com>
17605 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
17606 <libm-alias-float.h>.
17607 (fabsf): Define using libm_alias_float.
17608 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
17609 <libm-alias-float.h>.
17610 (lrintf): Define using libm_alias_float.
17611 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
17612 <libm-alias-float.h>.
17613 (rintf): Define using libm_alias_float.
17615 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
17616 <libm-alias-double.h>.
17617 (fabs): Define using libm_alias_double.
17618 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
17619 <libm-alias-double.h>.
17620 (lrint): Define using libm_alias_double.
17621 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
17622 <libm-alias-double.h>.
17623 (rint): Define using libm_alias_double.
17625 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
17626 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
17627 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
17628 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
17629 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
17630 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
17631 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
17632 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
17633 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
17634 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
17635 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
17636 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
17637 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
17638 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
17639 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
17640 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
17641 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
17642 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
17644 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
17645 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
17646 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
17648 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
17649 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
17650 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
17652 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
17653 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
17654 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
17655 s_expm1_template.c.
17656 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
17657 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
17658 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
17660 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
17661 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
17662 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
17663 s_floor_template.c.
17664 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
17665 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
17666 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
17667 s_frexp_template.c.
17668 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
17669 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
17670 s_lrint_template.c.
17671 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
17672 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
17673 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
17675 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
17676 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
17677 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
17678 s_nearbyint_template.c.
17679 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
17680 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
17681 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
17682 s_remquo_template.c.
17683 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
17684 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
17685 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
17687 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
17688 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
17689 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
17691 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
17692 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
17693 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
17694 s_sincos_template.c.
17695 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
17696 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
17697 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
17699 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
17700 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
17701 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
17703 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
17704 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
17705 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
17706 s_trunc_template.c.
17707 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
17708 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
17709 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
17710 s_atan.c instead of including s_atan.c.
17711 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
17712 s_atanf.c instead of including s_atanf.c.
17713 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
17714 s_atanl.c instead of including s_atanl.c.
17715 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
17716 instead of s_atan.c.
17717 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
17718 instead of s_atanf.c.
17719 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
17720 instead of s_atanl.c.
17722 * scripts/update-copyrights: Do not handle intl/plural.c
17725 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
17728 * configure.ac (BISON): Require to be present.
17729 * configure: Regenerated.
17730 * intl/Makefile (generated): Add plural.c.
17731 [$(BISON) != no]: Make code unconditional.
17732 (plural.c): Change rule to $(objpfx)plural.c.
17733 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
17734 * intl/plural.c: Remove.
17735 * manual/install.texi (Tools for Compilation): Document bison as
17737 * INSTALL: Regenerated.
17739 2017-11-30 Joseph Myers <joseph@codesourcery.com>
17741 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
17742 <libm-alias-double.h>.
17743 (llrint): Define using libm_alias_double.
17744 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
17745 <libm-alias-float.h>.
17746 (llrintf): Define using libm_alias_float.
17747 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
17748 <libm-alias-ldouble.h>.
17749 (llrintl): Define using libm_alias_ldouble.
17751 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
17752 declare_mgen_alias instead of weak_alias.
17753 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
17754 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
17755 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
17757 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17759 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
17761 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
17762 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
17763 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
17765 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
17766 Add submul_1-generic.
17767 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
17768 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
17769 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
17771 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
17772 Add addmul_1-generic.
17773 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
17774 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
17775 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
17777 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
17779 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
17780 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
17781 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
17783 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
17785 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
17786 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
17787 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
17789 2017-11-30 Mike FABIAN <mfabian@redhat.com>
17791 According to CLDR, collation rules for Serbian and Bosnian
17792 should be the same as for Croatian.
17795 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
17796 and to the list of locales to be built for testing.
17797 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
17798 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
17799 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
17800 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
17802 2017-11-30 Mike FABIAN <mfabian@redhat.com>
17804 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
17805 to make test case pass.
17806 * localedata/hr_HR.UTF-8.in: Add more test strings.
17808 2017-11-30 Mike FABIAN <mfabian@redhat.com>
17810 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
17812 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
17814 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
17815 the list of locales to built for testing.
17816 * localedata/hr_HR.UTF-8.in: New file.
17818 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
17821 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
17823 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
17824 CLDR (except use ligatures for the digraphs, CLDR does not use
17825 the ligatures), add first_workday, some fixes in the date and time
17827 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
17829 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
17830 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
17831 Add int_p_cs_precedes and int_n_cs_precedes.
17832 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
17833 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
17835 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
17836 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
17838 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
17839 and lang_lib. Change postal_fmt.
17841 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
17843 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
17845 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
17846 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
17847 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
17848 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
17849 * sysdeps/generic/setjmpP.h: New file.
17850 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
17851 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
17852 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
17853 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
17854 Add jmp_buf-ssp.sym.
17855 (tests): Add tst-saved_mask-1.
17857 2017-11-30 Arjun Shankar <arjun@redhat.com>
17861 * malloc/malloc.c (__libc_malloc): Use checked_request2size
17862 instead of request2size.
17864 2017-11-30 Joseph Myers <joseph@codesourcery.com>
17866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
17867 (__lllrint): Remove alias.
17868 (lllrint): Likewise.
17869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
17870 (__lllrintf): Likewise.
17871 (lllrintf): Likewise.
17873 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
17874 <libm-alias-float.h>.
17875 (copysignf): Define using libm_alias_float.
17876 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
17877 <libm-alias-float.h>.
17878 (fabsf): Define using libm_alias_float.
17879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17880 Include <libm-alias-float.h>.
17881 (copysignf): Define using libm_alias_float.
17882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
17883 <libm-alias-float.h>.
17884 (fabsf): Define using libm_alias_float.
17885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
17886 <libm-alias-float.h>.
17887 (fdimf): Define using libm_alias_float.
17888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
17889 <libm-alias-float.h>.
17890 (fmaf): Define using libm_alias_float.
17891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
17892 <libm-alias-float.h>.
17893 (llrintf): Define using libm_alias_float.
17894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
17895 Include <libm-alias-float.h>.
17896 (nearbyintf): Define using libm_alias_float.
17897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
17898 <libm-alias-float.h>.
17899 (rintf): Define using libm_alias_float.
17900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
17901 <libm-alias-float.h>.
17902 (llrintf): Define using libm_alias_float.
17903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
17904 <libm-alias-float.h>.
17905 (lrintf): Define using libm_alias_float.
17906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
17907 <libm-alias-float.h>.
17908 (nearbyintf): Define using libm_alias_float.
17909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
17910 <libm-alias-float.h>.
17911 (rintf): Define using libm_alias_float.
17912 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
17913 <libm-alias-float.h>.
17914 (ceilf): Define using libm_alias_float.
17915 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
17916 <libm-alias-float.h>.
17917 (floorf): Define using libm_alias_float.
17918 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
17919 <libm-alias-float.h>.
17920 (fmaf): Define using libm_alias_float.
17921 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
17922 <libm-alias-float.h>.
17923 (lrintf): Define using libm_alias_float.
17924 (llrintf): Likewise.
17925 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
17926 <libm-alias-float.h>.
17927 (nearbyintf): Define using libm_alias_float.
17928 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
17929 <libm-alias-float.h>.
17930 (rintf): Define using libm_alias_float.
17931 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
17932 <libm-alias-float.h>.
17933 (truncf): Define using libm_alias_float.
17934 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
17935 <libm-alias-float.h>.
17936 (copysignf): Define using libm_alias_float.
17937 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
17938 <libm-alias-float.h>.
17939 (fabsf): Define using libm_alias_float.
17940 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
17941 <libm-alias-float.h>.
17942 (lrintf): Define using libm_alias_float.
17943 (llrintf): Likewise.
17944 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
17945 <libm-alias-float.h>.
17946 (nearbyintf): Define using libm_alias_float.
17947 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
17948 <libm-alias-float.h>.
17949 (rintf): Define using libm_alias_float.
17951 2017-11-29 Joseph Myers <joseph@codesourcery.com>
17953 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
17954 <libm-alias-double.h>.
17955 (copysign): Define using libm_alias_double.
17956 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
17957 <libm-alias-double.h>.
17958 (fabs): Define using libm_alias_double.
17959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17960 Include <libm-alias-double.h>.
17961 (copysign): Define using libm_alias_double.
17962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
17963 <libm-alias-double.h>.
17964 (fabs): Define using libm_alias_double.
17965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
17966 <libm-alias-double.h>.
17967 (fdim): Define using libm_alias_double.
17968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
17969 <libm-alias-double.h>.
17970 (fma): Define using libm_alias_double.
17971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
17972 <libm-alias-double.h>.
17973 (llrint): Define using libm_alias_double.
17974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
17975 Include <libm-alias-double.h>.
17976 (nearbyint): Define using libm_alias_double.
17977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
17978 <libm-alias-double.h>.
17979 (rint): Define using libm_alias_double.
17980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
17981 <libm-alias-double.h>.
17982 (fabs): Define using libm_alias_double.
17983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
17984 <libm-alias-double.h>.
17985 (llrint): Define using libm_alias_double.
17986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
17987 <libm-alias-double.h>.
17988 (nearbyint): Define using libm_alias_double.
17989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
17990 <libm-alias-double.h>.
17991 (rint): Define using libm_alias_double.
17992 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
17993 <libm-alias-double.h>.
17994 (ceil): Define using libm_alias_double.
17995 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
17996 <libm-alias-double.h>.
17997 (floor): Define using libm_alias_double.
17998 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
17999 <libm-alias-double.h>.
18000 (fma): Define using libm_alias_double.
18001 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
18002 <libm-alias-double.h>.
18003 (lrint): Define using libm_alias_double.
18004 (llrint): Likewise.
18005 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
18006 <libm-alias-double.h>.
18007 (nearbyint): Define using libm_alias_double.
18008 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
18009 <libm-alias-double.h>.
18010 (rint): Define using libm_alias_double.
18011 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
18012 <libm-alias-double.h>.
18013 (trunc): Define using libm_alias_double.
18014 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
18015 <libm-alias-double.h>.
18016 (copysign): Define using libm_alias_double.
18017 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
18018 <libm-alias-double.h>.
18019 (fabs): Define using libm_alias_double.
18020 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
18021 <libm-alias-double.h>.
18022 (lrint): Define using libm_alias_double.
18023 (llrint): Likewise.
18024 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
18025 <libm-alias-double.h>.
18026 (nearbyint): Define using libm_alias_double.
18027 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
18028 <libm-alias-double.h>.
18029 (rint): Define using libm_alias_double.
18032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
18034 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
18036 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18037 SPARC --disable-multi-arch glibc variants.
18039 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
18040 <libm-alias-float.h>.
18041 (exp2f): Define using libm_alias_float, or libm_alias_float_other
18043 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
18044 <libm-alias-float.h>.
18045 (exp2f): Define using libm_alias_float, or libm_alias_float_other
18047 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
18048 <libm-alias-float.h>.
18049 (exp2f): Define using libm_alias_float, or libm_alias_float_other
18051 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
18052 <libm-alias-float.h>.
18053 (exp2f): Define using libm_alias_float, or libm_alias_float_other
18055 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
18056 <libm-alias-float.h>.
18057 (exp2f): Define using libm_alias_float, or libm_alias_float_other
18059 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
18060 <libm-alias-float.h>.
18061 (ceilf): Define using libm_alias_float.
18062 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
18063 <libm-alias-float.h>.
18064 (floorf): Define using libm_alias_float.
18065 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
18066 <libm-alias-float.h>.
18067 (fmaf): Define using libm_alias_float.
18068 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
18069 <libm-alias-float.h>.
18070 (nearbyintf): Define using libm_alias_float.
18071 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
18072 <libm-alias-float.h>.
18073 (rintf): Define using libm_alias_float.
18074 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
18075 <libm-alias-float.h>.
18076 (truncf): Define using libm_alias_float.
18077 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
18078 (copysignf): Define using libm_alias_float.
18079 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
18080 (cosf): Define using libm_alias_float.
18081 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
18082 (fabsf): Define using libm_alias_float.
18083 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
18084 (fmaxf): Define using libm_alias_float.
18085 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
18086 (fminf): Define using libm_alias_float.
18087 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
18088 (llrintf): Define using libm_alias_float.
18089 [!__ILP32__] (lrintf): Likewise.
18090 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
18091 (sincosf): Define using libm_alias_float.
18092 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
18093 (sinf): Define using libm_alias_float.
18094 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
18095 (lrintf): Define using libm_alias_float.
18097 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
18098 <libm-alias-double.h>.
18099 (atan): Define using libm_alias_double.
18100 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
18101 <libm-alias-double.h>.
18102 (ceil): Define using libm_alias_double.
18103 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
18104 <libm-alias-double.h>.
18105 (floor): Define using libm_alias_double.
18106 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
18107 <libm-alias-double.h>.
18108 (fma): Define using libm_alias_double.
18109 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
18110 <libm-alias-double.h>.
18111 (nearbyint): Define using libm_alias_double.
18112 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
18113 <libm-alias-double.h>.
18114 (rint): Define using libm_alias_double.
18115 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
18116 <libm-alias-double.h>.
18117 (sin): Define using libm_alias_double.
18119 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
18120 <libm-alias-double.h>.
18121 (tan): Define using libm_alias_double.
18122 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
18123 <libm-alias-double.h>.
18124 (trunc): Define using libm_alias_double.
18125 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
18126 (copysign): Define using libm_alias_double.
18127 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
18128 (fabs): Define using libm_alias_double.
18129 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
18130 (fmax): Define using libm_alias_double.
18131 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
18132 (fmin): Define using libm_alias_double.
18133 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
18134 (llrint): Define using libm_alias_double.
18135 [!__ILP32__] (lrint): Likewise.
18136 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
18137 (lrint): Define using libm_alias_double.
18139 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18141 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18142 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
18144 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
18145 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
18146 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
18147 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
18148 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
18149 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18151 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18152 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
18154 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
18155 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
18156 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
18157 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
18158 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
18159 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18161 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18162 (libm-sysdep_routines): Add s_nearbyint-generic and
18163 s_nearbyintf-generic objects.
18164 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
18165 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
18166 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
18167 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
18168 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
18169 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
18171 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
18172 Add s_finitef-generic and s_finite-generic objects.
18173 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
18174 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
18175 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
18176 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
18177 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
18178 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
18180 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
18181 Add s_isinff-generic and s_isinf-generic objects.
18182 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
18183 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
18184 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
18185 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
18186 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
18187 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18189 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
18190 Add s_isnanf-generic and s_isnan-generic objects.
18191 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
18192 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
18193 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
18194 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
18195 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
18196 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18198 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
18200 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
18202 (sysdep_routines): Use sysdep_calls as base.
18203 (libm-sysdep_routines): Add generic rule for symbols shared with
18204 libc. Add s_signbit-generic and s_signbitf-generic objects.
18205 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
18206 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
18207 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
18208 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
18209 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
18210 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18212 2017-11-29 Joseph Myers <joseph@codesourcery.com>
18214 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
18215 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
18216 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
18217 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
18218 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
18219 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
18220 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
18221 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
18222 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
18223 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
18224 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
18225 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
18226 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
18227 libm_alias_float_r.
18228 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
18229 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
18231 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
18232 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
18233 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
18234 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
18235 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
18236 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
18237 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
18238 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
18239 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
18240 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
18242 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
18244 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
18245 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
18246 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
18247 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
18248 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
18249 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
18250 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
18251 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
18252 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
18253 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
18254 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
18255 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
18256 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
18257 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
18258 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
18259 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
18260 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
18261 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
18262 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
18264 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
18265 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
18266 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
18267 * sysdeps/ia64/fpu/w_lgammaf_main.c
18268 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
18269 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
18271 2017-11-28 Mike FABIAN <mfabian@redhat.com>
18272 Alexandre Oliva <aoliva@redhat.com>
18275 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
18276 * localedata/fr_CA.UTF-8.in: New file with test data for backward
18278 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
18280 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
18281 * localedata/locales/de_DE (LC_COLLATE): Likewise.
18282 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
18283 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
18284 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
18285 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
18286 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
18287 instead of “ifdef DIACRIT_BACKWARD”.
18289 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18291 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
18292 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
18293 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
18294 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
18295 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
18296 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
18297 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
18298 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
18299 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
18300 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
18301 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
18302 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
18303 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
18304 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
18305 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
18306 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
18307 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
18308 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
18309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18310 ($(have-as-vis3) == yes): Remove conditional.
18311 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
18313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
18315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
18317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
18319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
18321 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
18322 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
18323 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
18324 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
18325 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
18326 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
18327 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
18328 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
18330 2017-11-29 Joseph Myers <joseph@codesourcery.com>
18332 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
18333 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
18334 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
18335 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
18336 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
18337 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
18338 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
18339 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
18340 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
18341 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
18342 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
18343 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
18344 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
18345 libm_alias_double_r.
18346 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
18348 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
18349 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
18350 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
18351 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
18352 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
18353 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
18354 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
18355 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
18356 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
18357 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
18358 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
18360 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
18362 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
18363 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
18364 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
18365 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
18366 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
18367 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
18368 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
18369 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
18370 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
18371 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
18372 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
18373 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
18374 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
18375 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
18376 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
18377 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
18378 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
18379 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
18381 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
18382 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
18383 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
18384 * sysdeps/ia64/fpu/w_lgamma_main.c
18385 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
18386 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
18388 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
18390 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
18391 address of $global$ into %dp register earlier. Use pc-relative
18392 instruction sequence for PIC case.
18394 2017-11-28 Joseph Myers <joseph@codesourcery.com>
18396 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
18397 (asinhf): Define using libm_alias_float.
18398 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
18399 (atanf): Define using libm_alias_float.
18400 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
18401 (cbrtf): Define using libm_alias_float.
18402 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
18403 (ceilf): Define using libm_alias_float.
18404 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
18405 (copysignf): Define using libm_alias_float.
18406 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
18407 (expm1f): Define using libm_alias_float.
18408 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
18409 (fabsf): Define using libm_alias_float.
18410 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
18411 (floorf): Define using libm_alias_float.
18412 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
18413 (fmaxf): Define using libm_alias_float.
18414 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
18415 (fminf): Define using libm_alias_float.
18416 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
18417 (frexpf): Define using libm_alias_float.
18418 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
18419 (llrintf): Define using libm_alias_float.
18420 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
18421 (logbf): Define using libm_alias_float.
18422 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
18423 (lrintf): Define using libm_alias_float.
18424 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
18425 (nearbyintf): Define using libm_alias_float.
18426 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
18427 (remquof): Define using libm_alias_float.
18428 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
18429 (rintf): Define using libm_alias_float.
18430 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
18431 (truncf): Define using libm_alias_float.
18432 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
18433 <libm-alias-float.h>.
18434 (exp2f): Define using libm_alias_float, or libm_alias_float_other
18436 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
18437 <libm-alias-float.h>.
18438 (expf): Define using libm_alias_float, or libm_alias_float_other
18440 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
18441 <libm-alias-float.h>.
18442 (log2f): Define using libm_alias_float, or libm_alias_float_other
18444 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
18445 <libm-alias-float.h>.
18446 (logf): Define using libm_alias_float, or libm_alias_float_other
18448 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
18449 <libm-alias-float.h>.
18450 (powf): Define using libm_alias_float, or libm_alias_float_other
18452 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
18453 <libm-alias-float.h>.
18454 (cosf): Define using libm_alias_float.
18455 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
18456 <libm-alias-float.h>.
18457 (sincosf): Define using libm_alias_float.
18458 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
18459 <libm-alias-float.h>.
18460 (sinf): Define using libm_alias_float.
18461 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
18462 (fmaxf): Define using libm_alias_float.
18463 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
18464 (fminf): Define using libm_alias_float.
18465 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18466 <libm-alias-float.h>.
18467 (fmaf): Define using libm_alias_float.
18469 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
18470 (asinh): Define using libm_alias_double.
18471 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
18472 (atan): Define using libm_alias_double.
18473 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
18474 (cbrt): Define using libm_alias_double.
18475 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
18476 (ceil): Define using libm_alias_double.
18477 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
18478 (copysign): Define using libm_alias_double.
18479 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
18480 (expm1): Define using libm_alias_double.
18481 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
18482 (fabs): Define using libm_alias_double.
18483 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
18484 (fdim): Define using libm_alias_double.
18485 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
18486 (floor): Define using libm_alias_double.
18487 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
18488 (fmax): Define using libm_alias_double.
18489 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
18490 (fmin): Define using libm_alias_double.
18491 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
18492 (frexp): Define using libm_alias_double.
18493 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
18494 (llrint): Define using libm_alias_double.
18495 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
18496 (logb): Define using libm_alias_double.
18497 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
18498 (lrint): Define using libm_alias_double.
18499 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
18500 (nearbyint): Define using libm_alias_double.
18501 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
18502 (remquo): Define using libm_alias_double.
18503 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
18504 (rint): Define using libm_alias_double.
18505 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
18506 (trunc): Define using libm_alias_double.
18507 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
18508 (fmax): Define using libm_alias_double.
18509 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
18510 (fmin): Define using libm_alias_double.
18511 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
18512 (fma): Define using libm_alias_double.
18514 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
18517 * elf/dl-hwcaps.c (ROUND): Removed.
18518 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
18519 and ELF_NOTE_NEXT_OFFSET.
18520 * elf/dl-load.c (ROUND): Removed.
18521 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
18522 * elf/readelflib.c (ROUND): Removed.
18523 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
18524 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
18525 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
18526 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
18528 2017-11-28 Joseph Myers <joseph@codesourcery.com>
18530 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
18531 [!__fmaf] (fmaf): Define using libm_alias_float.
18533 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
18534 [!__fma] (fma): Define using libm_alias_double.
18535 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
18537 2017-11-28 Mike FABIAN <mfabian@redhat.com>
18540 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
18541 and implement the collation rules for cs from CLDR on top of that.
18542 * Makefile: Add cs_CZ.UTF-8 to test-input.
18543 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
18545 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
18547 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
18549 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
18550 Icarus Sparry <icarus.w.sparry@intel.com>
18552 * benchtests/Makefile:Add BENCHSET to allow subsets of
18553 benchmarks to be run.
18554 * benchtests/README: Add documentation for: Running subsets of
18557 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
18559 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
18560 range of tests names.
18562 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
18563 result from property and remove "max", min" and "mean" from
18564 required properties based on benchtests/bench-skeleton.c.
18566 2017-11-28 Florian Weimer <fweimer@redhat.com>
18569 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
18570 due to Internet requirement.
18571 * posix/Makefile (tests): Remove tst-getaddrinfo4,
18573 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
18575 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18577 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18578 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
18579 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
18580 (sysdep_routines): Add memset-ultra1.
18581 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
18583 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
18584 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
18585 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
18586 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
18587 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
18588 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
18589 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
18590 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18592 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
18594 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
18595 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
18596 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
18597 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
18598 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
18599 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
18600 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
18602 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
18603 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
18604 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
18605 (sysdep_routines): Add memcpy-ultra1.
18606 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
18607 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
18609 2017-11-28 Joseph Myers <joseph@codesourcery.com>
18611 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
18612 (cfloat_versions): Take function argument without trailing 'f'.
18613 Call libm_alias_float_other.
18614 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
18615 * sysdeps/alpha/fpu/cargf.c: Likewise.
18616 * sysdeps/alpha/fpu/cimagf.c: Likewise.
18617 * sysdeps/alpha/fpu/conjf.c: Likewise.
18618 * sysdeps/alpha/fpu/crealf.c: Likewise.
18619 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
18620 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
18621 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
18622 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
18623 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
18624 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
18625 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
18626 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
18627 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
18628 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
18629 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
18630 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
18631 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
18632 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
18633 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
18634 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
18635 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
18636 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
18637 (clog10f): Use libm_alias_float_other.
18638 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
18639 (ceilf): Define using libm_alias_float.
18640 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
18641 (copysignf): Define using libm_alias_float.
18642 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
18643 (fabsf): Define using libm_alias_float.
18644 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
18645 (floorf): Define using libm_alias_float.
18646 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
18647 (fmaxf): Define using libm_alias_float.
18648 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
18649 (fminf): Define using libm_alias_float.
18650 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
18651 (lrintf): Define using libm_alias_float.
18652 (llrintf): Likewise.
18653 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
18654 (lroundf): Define using libm_alias_float.
18655 (llroundf): Likewise.
18656 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
18657 (rintf): Define using libm_alias_float.
18658 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
18659 (truncf): Define using libm_alias_float.
18661 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
18662 (ceilf): Define using libm_alias_float.
18663 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
18664 (floorf): Define using libm_alias_float.
18665 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
18666 (fmaf): Define using libm_alias_float.
18667 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
18668 (fmaxf): Define using libm_alias_float.
18669 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
18670 (fminf): Define using libm_alias_float.
18671 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
18672 (llrintf): Define using libm_alias_float.
18673 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
18674 (llroundf): Define using libm_alias_float.
18675 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
18676 (lrintf): Define using libm_alias_float.
18677 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
18678 (lroundf): Define using libm_alias_float.
18679 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
18680 <libm-alias-float.h>.
18681 (nearbyintf): Define using libm_alias_float.
18682 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
18683 (rintf): Define using libm_alias_float.
18684 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
18685 (roundf): Define using libm_alias_float.
18686 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
18687 (truncf): Define using libm_alias_float.
18689 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
18690 (ceil): Define using libm_alias_double.
18691 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
18692 (copysign): Define using libm_alias_double.
18693 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
18694 (fabs): Define using libm_alias_double.
18695 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
18696 (floor): Define using libm_alias_double.
18697 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
18698 (fmax): Define using libm_alias_double.
18699 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
18700 (fmin): Define using libm_alias_double.
18701 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
18702 (lrint): Define using libm_alias_double.
18703 (llrint): Likewise.
18704 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
18705 (lround): Define using libm_alias_double.
18706 (llround): Likewise.
18707 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
18708 (rint): Define using libm_alias_double.
18709 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
18710 (trunc): Define using libm_alias_double.
18712 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
18713 (libm_alias_double_r): Add semicolon after weak_alias call.
18715 2017-11-27 Joseph Myers <joseph@codesourcery.com>
18717 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
18718 (ceil): Define using libm_alias_double.
18719 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
18720 (floor): Define using libm_alias_double.
18721 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
18722 (fma): Define using libm_alias_double.
18723 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
18724 (fmax): Define using libm_alias_double.
18725 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
18726 (fmin): Define using libm_alias_double.
18727 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
18728 (llrint): Define using libm_alias_double.
18729 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
18730 (llround): Define using libm_alias_double.
18731 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
18732 (lrint): Define using libm_alias_double.
18733 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
18734 (lround): Define using libm_alias_double.
18735 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
18736 (nearbyint): Define using libm_alias_double.
18737 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
18738 (rint): Define using libm_alias_double.
18739 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
18740 (round): Define using libm_alias_double.
18741 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
18742 (trunc): Define using libm_alias_double.
18744 2017-11-27 Florian Weimer <fweimer@redhat.com>
18746 * sysdeps/unix/sysv/linux/mlock2.c: New file.
18747 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
18748 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
18749 (tests): Add tst-mlock2.
18750 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
18751 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
18752 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
18753 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
18754 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
18755 for mlock. Document mlock2.
18757 2017-11-27 Joseph Myers <joseph@codesourcery.com>
18759 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
18760 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
18762 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
18764 * sysdeps/x86/Makeconfig: New file.
18765 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
18766 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
18767 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
18768 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
18769 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
18770 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
18771 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
18773 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
18774 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
18775 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
18776 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
18777 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
18778 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
18779 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
18780 * manual/math.texi (Mathematics): Document support for _Float64x.
18781 * math/Versions (GLIBC_2.27): Add _Float64x functions.
18782 * stdlib/Versions (GLIBC_2.27): Likewise.
18783 * wcsmbs/Versions (GLIBC_2.27): Likewise.
18784 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
18785 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18786 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18787 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18788 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18789 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18790 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18791 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18792 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18793 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18794 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
18797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18799 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18800 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18801 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18802 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18803 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18804 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18805 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18806 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18807 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18808 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18809 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18810 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18811 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18812 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
18814 2017-11-27 Andreas Schwab <schwab@suse.de>
18816 * elf/Makefile (dl-routines): Add dl-sort-maps.
18817 * elf/dl-sort-maps.c: New file.
18818 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
18819 (_dl_sort_maps): Declare.
18820 * elf/dl-fini.c (_dl_sort_fini): Remove.
18821 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
18822 * elf/dl-close.c (_dl_close_worker): Likewise.
18823 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
18825 * elf/dl-open.c (dl_open_worker): Likewise.
18827 2017-11-24 Joseph Myers <joseph@codesourcery.com>
18829 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
18830 using libm_alias_float128.
18831 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
18833 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
18835 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
18836 (setpayloadsigf128): Likewise.
18837 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
18839 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
18842 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
18843 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
18844 -mfloat128 to CFLAGS.
18846 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
18848 (CFLAGS-libm-test-support-float64x.c): New variable.
18849 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
18850 $(f128-loader-link) to gnulib-tests.
18852 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
18853 (libm_alias_float128_other_r): If
18854 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
18856 (libm_alias_float128_r): Add semicolon after weak_alias call.
18857 * sysdeps/generic/libm-alias-ldouble.h
18858 (libm_alias_ldouble_other_r_f128): New macro.
18859 (libm_alias_ldouble_other_r_f64x): Likewise.
18860 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
18861 and libm_alias_ldouble_other_r_f64x.
18862 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
18863 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
18864 (libm_alias_ldouble_other_r_f128): New macro.
18865 (libm_alias_ldouble_other_r_f64x): Likewise.
18866 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
18867 and libm_alias_ldouble_other_r_f64x.
18869 * stdlib/strfroml.c: Always include <stdlib.h>.
18870 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
18871 undefine as macro and define as weak alias.
18872 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
18873 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
18875 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
18876 Define and later undefine as macro and define as weak alias.
18878 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
18879 Define and later undefine as macro. Define as weak alias if
18881 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
18882 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
18883 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
18884 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
18885 Define and later undefine as macro. Define as weak alias if
18887 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
18888 Define and later undefine as macro. Define as weak alias if
18890 * sysdeps/ieee754/float128/strtof128_l.c
18891 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
18892 Define and later undefine as macro. Define as weak alias if
18894 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
18895 Define and later undefine as macro. Define as weak alias if
18897 * sysdeps/ieee754/ldbl-128/strtold_l.c
18898 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
18899 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
18900 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
18901 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
18902 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
18903 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
18904 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
18905 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
18906 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
18907 * sysdeps/ieee754/ldbl-96/strtold_l.c
18908 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
18909 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
18910 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
18911 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
18913 * math/test-float64x.h: New file.
18914 * math/Makefile (type-float64x-yes): New variable.
18915 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
18917 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
18918 function-like macro.
18919 (min_of_type_): Likewise.
18920 (min_of_type_l): Likewise.
18921 (min_of_type_f128): Likewise.
18922 (min_of_type): Pass () as last argument of __MATH_TG.
18924 * stdlib/tst-strtod-round-skeleton.c
18925 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
18928 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
18929 for combinations of long double with _Float64 and _Float64x.
18931 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
18932 (__DECL_SIMD_cosf32): Likewise.
18933 (__DECL_SIMD_cosf64): Likewise.
18934 (__DECL_SIMD_cosf32x): Likewise.
18935 (__DECL_SIMD_cosf64x): Likewise.
18936 (__DECL_SIMD_cosf128x): Likewise.
18937 (__DECL_SIMD_sinf16): Likewise.
18938 (__DECL_SIMD_sinf32): Likewise.
18939 (__DECL_SIMD_sinf64): Likewise.
18940 (__DECL_SIMD_sinf32x): Likewise.
18941 (__DECL_SIMD_sinf64x): Likewise.
18942 (__DECL_SIMD_sinf128x): Likewise.
18943 (__DECL_SIMD_sincosf16): Likewise.
18944 (__DECL_SIMD_sincosf32): Likewise.
18945 (__DECL_SIMD_sincosf64): Likewise.
18946 (__DECL_SIMD_sincosf32x): Likewise.
18947 (__DECL_SIMD_sincosf64x): Likewise.
18948 (__DECL_SIMD_sincosf128x): Likewise.
18949 (__DECL_SIMD_logf16): Likewise.
18950 (__DECL_SIMD_logf32): Likewise.
18951 (__DECL_SIMD_logf64): Likewise.
18952 (__DECL_SIMD_logf32x): Likewise.
18953 (__DECL_SIMD_logf64x): Likewise.
18954 (__DECL_SIMD_logf128x): Likewise.
18955 (__DECL_SIMD_expf16): Likewise.
18956 (__DECL_SIMD_expf32): Likewise.
18957 (__DECL_SIMD_expf64): Likewise.
18958 (__DECL_SIMD_expf32x): Likewise.
18959 (__DECL_SIMD_expf64x): Likewise.
18960 (__DECL_SIMD_expf128x): Likewise.
18961 (__DECL_SIMD_powf16): Likewise.
18962 (__DECL_SIMD_powf32): Likewise.
18963 (__DECL_SIMD_powf64): Likewise.
18964 (__DECL_SIMD_powf32x): Likewise.
18965 (__DECL_SIMD_powf64x): Likewise.
18966 (__DECL_SIMD_powf128x): Likewise.
18968 * stdlib/Versions (libc): Move entries for wcstof128 and
18969 wcstof128_l to ....
18970 * wcsmbs/Versions (libc): ... here.
18971 Include <float128-abi.h>.
18973 2017-11-24 Florian Weimer <fweimer@redhat.com>
18975 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18976 bits/mman-shared.h.
18977 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
18978 <bits/mman-shared.h>.
18979 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
18981 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
18982 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
18983 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
18984 <bits/mman-shared.h>.
18986 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18989 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
18990 posix_memalign/free.
18991 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
18993 2017-11-22 Mike FABIAN <mfabian@redhat.com>
18996 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
18997 and implement the collation rules for pl from CLDR on top of that.
18998 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
18999 of locales to be built for testing.
19000 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
19002 2017-11-23 Joseph Myers <joseph@codesourcery.com>
19004 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
19005 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
19006 libm_alias_ldouble_other.
19007 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
19008 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
19009 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
19010 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
19011 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
19012 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
19013 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
19014 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
19015 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
19016 libm_alias_ldouble_r.
19017 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
19018 libm_alias_ldouble_other.
19019 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
19020 (log10l): Likewise.
19021 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
19022 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
19023 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
19024 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
19025 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
19026 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
19027 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
19028 (atan2l): Likewise.
19029 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
19030 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
19031 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
19032 libm_alias_ldouble.
19033 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
19035 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
19036 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
19037 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
19039 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
19040 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
19041 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
19042 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
19043 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
19044 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
19045 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
19046 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
19047 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
19048 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
19049 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
19050 libm_alias_ldouble.
19051 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
19052 libm_alias_ldouble_other.
19053 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
19054 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
19055 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
19056 libm_alias_ldouble.
19057 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
19058 libm_alias_ldouble_other.
19059 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
19060 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
19061 * sysdeps/ia64/fpu/w_lgammal_main.c
19062 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
19063 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
19065 2017-11-23 Florian Weimer <fweimer@redhat.com>
19067 * malloc/malloc.c (tcache_thread_shutdown): Rename from
19068 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
19069 alike. Remove freeres marker.
19070 * malloc/arena.c (arena_thread_freeres): Call
19071 tcache_thread_shutdown.
19073 2017-11-23 Florian Weimer <fweimer@redhat.com>
19076 Export nscd hash function as __nss_hash.
19077 * include/nss.h (__nss_hash): Declare.
19078 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
19080 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
19081 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
19083 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
19084 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
19085 * nss/Makefiles (routines): Add nss_hash.
19086 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
19087 * nss/nss_hash.c: Rename from nis/nis_hash.c.
19088 (__nss_hash): Rename from __nis_hash. Define hidden alias.
19089 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
19091 2017-11-23 Florian Weimer <fweimer@redhat.com>
19094 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
19095 Return error code, not -1.
19096 * signal/tst-sigwait-eintr.c: New file.
19097 * signal/Makefile (tests): Add tst-sigwait-eintr.
19099 2017-11-23 Florian Weimer <fweimer@redhat.com>
19101 Linux: Add memfd_create system call wrapper
19102 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
19104 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
19105 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
19106 [__USE_GNU] (memfd_create): Declare.
19107 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
19108 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
19109 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
19110 * sysdeps/unix/sysv/linux/**.abilist: Update.
19111 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
19113 2017-11-22 Joseph Myers <joseph@codesourcery.com>
19115 * localedata/gen-locale.sh: Fix typo in variable name.
19117 * resolv/res_debug.c (p_secstodate): Condition definition on
19118 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
19119 directly as __p_secstodate, and as a compat symbol. Do not use
19120 libresolv_hidden_def.
19121 * resolv/resolv.h (p_secstodate): Remove macro and function
19123 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
19124 using p_secstodate.
19125 * include/resolv.h (__p_secstodate): Do not use
19126 libresolv_hidden_proto.
19127 * resolv/Makefile (tests): Move tst-p_secstodate to ....
19128 (tests-internal): ... here.
19129 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
19130 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
19131 and declare and use __p_secstodate and use compat_symbol_reference
19133 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
19134 implementation returning 77.
19137 * resolv/res_debug.c: Include <libc-diag.h>.
19138 (p_secstodate): Assert time_t at least as wide as u_long. On
19139 overflow, use integer seconds since the epoch as output, or use
19140 "<overflow>" as output and set errno to EOVERFLOW if integer
19141 seconds since the epoch would be 14 or more characters.
19142 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
19144 * resolv/tst-p_secstodate.c: New file.
19145 * resolv/Makefile (tests): Add tst-p_secstodate.
19146 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
19148 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
19149 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
19150 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
19152 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
19154 * posix/regcomp.c (init_word_char): Add comments.
19156 2017-11-22 Joseph Myers <joseph@codesourcery.com>
19159 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
19160 strlen to compute length of ut_user and set trailing NUL byte of
19163 2017-11-21 Mike FABIAN <mfabian@redhat.com>
19166 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
19167 using “copy "iso14651_t1"” and then implementing the
19168 collation rules for lv from CLDR on top of that.
19169 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
19170 of locales to be built for testing.
19171 * lv_LV.UTF-8.in: New file with test data to test the Latvian
19174 2017-11-21 Joseph Myers <joseph@codesourcery.com>
19176 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
19177 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
19178 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
19179 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
19180 [__USE_MISC] (MADV_HWPOISON): New macro.
19181 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
19183 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19185 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
19186 -Wmissing-braces on GCC 4.9.
19188 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
19190 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
19191 * sysdeps/s390/s390-32/start.S (_start): Likewise
19192 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
19193 (thread_start): Likewise.
19194 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
19195 (thread_start): Likewise.
19196 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
19197 (__makecontext_ret): Likewise.
19198 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
19199 (__makecontext_ret): Likewise.
19201 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
19203 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
19204 __wcschrnul): Remove attribute_hidden.
19206 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
19208 regex: don't assume uint64_t or uint32_t
19209 This avoids -Werror=overflow errors for 32-bit systems in
19210 the 64-bit case. Problem reported by Joseph Myers in:
19211 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
19212 Also, when this code is used in Gnulib it ports to platforms
19213 that lack uint64_t and uint32_t. The C standard doesn't guarantee
19214 them, and on some 32-bit compilers there is no uint64_t.
19215 Problem reported by Gianluigi Tiesi in:
19216 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
19217 * posix/regcomp.c (init_word_char): Don't assume that the types
19218 uint64_t and uint32_t exist. Adapted from Gnulib patch
19219 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
19220 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
19222 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
19224 * sysdeps/aarch64/memset-reg.h: New file.
19225 * sysdeps/aarch64/memset.S: Use it.
19226 (__memset): Rename to MEMSET macro.
19227 [ZVA_MACRO]: Use zva_macro.
19228 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
19229 Add memset_generic and memset_falkor.
19230 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
19231 (__libc_ifunc_impl_list): Add memset ifuncs.
19232 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
19233 local variable zva_size.
19234 * sysdeps/aarch64/multiarch/memset.c: New file.
19235 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
19236 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
19237 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
19238 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
19239 (DCZID_DZP_MASK): New macro.
19240 (DCZID_BS_MASK): Likewise.
19241 (init_cpu_features): Read and set zva_size.
19242 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
19243 (struct cpu_features): New member zva_size.
19245 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
19246 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
19247 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
19249 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
19250 backwards. Fix timing computation.
19251 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
19252 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
19253 on memset by N at a time. Fix timing computation.
19255 2017-11-20 Florian Weimer <fweimer@redhat.com>
19257 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
19258 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
19260 2017-11-19 Florian Weimer <fweimer@redhat.com>
19262 manual: Document mprotect
19263 * manual/memory.texi (Memory Protection): New section.
19264 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
19265 documentation of PROT_* flags and reference the Memory Protection
19268 2017-11-19 Florian Weimer <fweimer@redhat.com>
19270 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
19271 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
19272 (Scatter-Gather): ... to here. Remove misleading comment.
19274 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
19276 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
19279 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
19280 when /proc/<pid>/setgroups does not exist.
19282 2017-11-18 Florian Weimer <fweimer@redhat.com>
19284 * sysdeps/unix/sysv/linux/tst-ttyname.c
19285 (become_root_in_mount_ns): Remove.
19286 (do_in_chroot_1): Call support_enter_mount_namespace.
19287 (do_in_chroot_2): Likewise.
19288 (do_test): Call support_become_root early.
19290 2017-11-18 Florian Weimer <fweimer@redhat.com>
19292 * support/namespace.h (support_enter_mount_namespace): Declare.
19293 * support/support_enter_mount_namespace.c: New file.
19294 * support/Makefile (libsupport-routines): Add
19295 support_enter_mount_namespace.
19297 2017-11-18 Florian Weimer <fweimer@redhat.com>
19299 * support/temp_file.c (support_create_temp_directory): Use
19300 test_dir and do not rely on the presence of the XXXXXX suffix.
19301 * support/temp_file.h (support_create_temp_directory): Update
19303 * support/tst-xreadlink.c (do_test): Adjust.
19304 * support/support_chroot.c (support_chroot_create): Likewise.
19306 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19308 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
19310 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
19313 2017-11-17 Joseph Myers <joseph@codesourcery.com>
19315 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
19316 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
19317 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
19318 (ceill): Define using libm_alias_ldouble.
19319 * sysdeps/x86_64/fpu/s_copysignl.S: Include
19320 <libm-alias-ldouble.h>.
19321 (copysignl): Define using libm_alias_ldouble.
19322 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
19323 (fabsl): Define using libm_alias_ldouble.
19324 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
19325 (floorl): Define using libm_alias_ldouble.
19326 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
19327 (fmaxl): Define using libm_alias_ldouble.
19328 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
19329 (fminl): Define using libm_alias_ldouble.
19330 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
19331 (llrintl): Define using libm_alias_ldouble.
19332 (lrintl): Likewise.
19333 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
19334 <libm-alias-ldouble.h>.
19335 (nearbyintl): Define using libm_alias_ldouble.
19336 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
19337 (truncl): Define using libm_alias_ldouble.
19338 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
19339 <libm-alias-ldouble.h>.
19340 (lrintl): Define using libm_alias_ldouble.
19342 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
19343 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
19344 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
19345 (asinhl): Define using libm_alias_ldouble.
19346 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
19347 (atanl): Define using libm_alias_ldouble.
19348 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
19349 (cbrtl): Define using libm_alias_ldouble.
19350 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
19351 (ceill): Define using libm_alias_ldouble.
19352 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
19353 (copysignl): Define using libm_alias_ldouble.
19354 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
19355 (fabsl): Define using libm_alias_ldouble.
19356 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
19357 (floorl): Define using libm_alias_ldouble.
19358 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
19359 (fmaxl): Define using libm_alias_ldouble.
19360 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
19361 (fminl): Define using libm_alias_ldouble.
19362 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
19363 (frexpl): Define using libm_alias_ldouble.
19364 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
19365 (llrintl): Define using libm_alias_ldouble.
19366 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
19367 (logbl): Define using libm_alias_ldouble.
19368 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
19369 (lrintl): Define using libm_alias_ldouble.
19370 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
19371 (nearbyintl): Define using libm_alias_ldouble.
19372 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
19373 (nextafterl): Define using libm_alias_ldouble.
19374 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
19375 (remquol): Define using libm_alias_ldouble.
19376 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
19377 (rintl): Define using libm_alias_ldouble.
19378 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
19379 (truncl): Define using libm_alias_ldouble.
19380 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
19381 (fmaxl): Define using libm_alias_ldouble.
19382 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
19383 (fminl): Define using libm_alias_ldouble.
19385 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
19386 to C syntax instead of availability and properties of types.
19387 * bits/floatn.h [!__ASSEMBLER]: Likewise.
19388 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
19389 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
19390 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
19391 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
19392 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
19394 2017-11-17 Florian Weimer <fweimer@redhat.com>
19396 support_become_root: Enable file creation in namespaces.
19397 * support/support_become_root.c (setup_mapping): New function.
19398 (support_become_root): Call it.
19400 2017-11-17 Joseph Myers <joseph@codesourcery.com>
19402 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
19405 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19407 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
19408 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
19410 2017-11-16 Joseph Myers <joseph@codesourcery.com>
19412 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
19414 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
19417 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
19419 * INSTALL: Fix botched up regeneration.
19421 * NEWS: Update sourceare link to https.
19422 * configure.ac: Likewise.
19423 * crypt/md5test-giant.c: Likewise.
19424 * dlfcn/bug-atexit1.c: Likewise.
19425 * dlfcn/bug-atexit2.c: Likewise.
19426 * localedata/README: Likewise.
19427 * malloc/tst-mallocfork.c: Likewise.
19428 * manual/install.texi: Likewise.
19429 * nptl/tst-pthread-getattr.c: Likewise.
19430 * stdio-common/tst-fgets.c: Likewise.
19431 * stdio-common/tst-fwrite.c: Likewise.
19432 * sunrpc/Makefile: Likewise.
19433 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
19434 * wcsmbs/tst-mbrtowc2.c: Likewise.
19435 * configure: Regenerate.
19436 * INSTALL: Regenerate.
19438 2017-11-15 Martin Sebor <msebor@redhat.com>
19440 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
19441 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
19442 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
19444 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
19447 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
19448 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
19451 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
19452 Defer is_pty check until end of the function.
19453 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19456 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
19457 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
19458 (ttyname): Likewise.
19459 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
19460 (__ttyname_r): Likewise.
19462 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
19465 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
19467 * manual/terminal.texi (Is It a Terminal):
19468 Mention ENODEV for ttyname and ttyname_r.
19470 2017-11-15 Joseph Myers <joseph@codesourcery.com>
19472 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
19473 constant and macro.
19475 * sysdeps/unix/sysv/linux/bits/mman-linux.h
19476 [__USE_MISC] (MADV_WIPEONFORK): New macro.
19477 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
19478 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
19479 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
19480 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
19482 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19484 * signal/sigrelse.c (sigrelse): Optimize implementation.
19486 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
19487 (__sigpause): Rely on __sigsuspend to implement single thread
19488 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
19490 2017-11-15 Joseph Myers <joseph@codesourcery.com>
19492 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19493 kernel version to 4.14.
19495 2017-11-15 Steve Ellcey <sellcey@cavium.com>
19498 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
19499 Check if ifname is too long.
19501 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
19503 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
19505 2017-11-15 Mike FABIAN <mfabian@redhat.com>
19507 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
19508 was accidentally lost.
19510 2017-11-15 Mike FABIAN <mfabian@redhat.com>
19512 * localedata/locales/az_IR: Add standard copyright header.
19514 2017-11-15 Florian Weimer <fweimer@redhat.com>
19517 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
19518 not just the top one. Output a new "subheaps" statistic.
19520 2017-11-15 Florian Weimer <fweimer@redhat.com>
19523 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
19524 under the per-arena lock.
19525 * malloc/Makefile (tests): Add tst-malloc_info.
19526 (tst-malloc_info): Link with libpthread.
19527 * malloc/tst-malloc_info.c: New file.
19529 2017-11-15 Joseph Myers <joseph@codesourcery.com>
19532 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
19533 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
19534 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
19535 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
19536 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
19537 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
19538 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
19539 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
19540 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
19541 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
19542 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
19543 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
19544 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
19545 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
19546 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
19547 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
19548 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
19549 (__floating_type): Likewise.
19550 (__real_integer_type): Likewise.
19551 (__complex_integer_type): Likewise.
19552 (__expr_is_real): Likewise.
19553 (__tgmath_real_type_sub): Likewise.
19554 (__tgmath_real_type): Likewise.
19555 (__tgmath_complex_type_sub): Likewise.
19556 (__tgmath_complex_type): Likewise.
19557 (__TGMATH_F128): Likewise.
19558 (__TGMATH_CF128): Likewise.
19559 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
19561 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
19562 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
19564 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
19566 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
19567 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
19568 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
19569 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
19571 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
19572 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
19574 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
19575 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
19576 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
19578 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
19579 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
19580 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
19584 2017-11-14 Joseph Myers <joseph@codesourcery.com>
19586 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
19587 for stpncpy calls for GCC 8.
19588 (test_strncat): Disable -Wstringop-truncation warning for strncat
19589 calls for GCC 8. Disable -Wstringop-overflow= warning for one
19590 strncat call for GCC 7.
19591 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
19593 (test_memcmp): Use memcpy instead of strncpy for calls not copying
19596 * string/bug-strncat1.c: Include <libc-diag.h>.
19597 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
19599 2017-11-13 Claude Paroz <claude@2xlibre.net>
19602 * localedata/locales/aa_DJ: Improved readibility by replacing
19603 <Uxxxx> sequences in the ASCII printable range by their ASCII
19604 character equivalents.
19605 * localedata/locales/aa_ER: Likewise.
19606 * localedata/locales/aa_ER@saaho: Likewise.
19607 * localedata/locales/aa_ET: Likewise.
19608 * localedata/locales/af_ZA: Likewise.
19609 * localedata/locales/agr_PE: Likewise.
19610 * localedata/locales/ak_GH: Likewise.
19611 * localedata/locales/am_ET: Likewise.
19612 * localedata/locales/anp_IN: Likewise.
19613 * localedata/locales/ar_AE: Likewise.
19614 * localedata/locales/ar_BH: Likewise.
19615 * localedata/locales/ar_DZ: Likewise.
19616 * localedata/locales/ar_EG: Likewise.
19617 * localedata/locales/ar_IN: Likewise.
19618 * localedata/locales/ar_IQ: Likewise.
19619 * localedata/locales/ar_JO: Likewise.
19620 * localedata/locales/ar_KW: Likewise.
19621 * localedata/locales/ar_LB: Likewise.
19622 * localedata/locales/ar_LY: Likewise.
19623 * localedata/locales/ar_MA: Likewise.
19624 * localedata/locales/ar_OM: Likewise.
19625 * localedata/locales/ar_QA: Likewise.
19626 * localedata/locales/ar_SA: Likewise.
19627 * localedata/locales/ar_SD: Likewise.
19628 * localedata/locales/ar_SS: Likewise.
19629 * localedata/locales/ar_SY: Likewise.
19630 * localedata/locales/ar_TN: Likewise.
19631 * localedata/locales/ar_YE: Likewise.
19632 * localedata/locales/as_IN: Likewise.
19633 * localedata/locales/ast_ES: Likewise.
19634 * localedata/locales/ayc_PE: Likewise.
19635 * localedata/locales/az_AZ: Likewise.
19636 * localedata/locales/az_IR: Likewise.
19637 * localedata/locales/be_BY: Likewise.
19638 * localedata/locales/be_BY@latin: Likewise.
19639 * localedata/locales/bem_ZM: Likewise.
19640 * localedata/locales/ber_DZ: Likewise.
19641 * localedata/locales/ber_MA: Likewise.
19642 * localedata/locales/bg_BG: Likewise.
19643 * localedata/locales/bhb_IN: Likewise.
19644 * localedata/locales/bho_IN: Likewise.
19645 * localedata/locales/bi_VU: Likewise.
19646 * localedata/locales/bn_BD: Likewise.
19647 * localedata/locales/bn_IN: Likewise.
19648 * localedata/locales/bo_CN: Likewise.
19649 * localedata/locales/bo_IN: Likewise.
19650 * localedata/locales/br_FR: Likewise.
19651 * localedata/locales/brx_IN: Likewise.
19652 * localedata/locales/bs_BA: Likewise.
19653 * localedata/locales/byn_ER: Likewise.
19654 * localedata/locales/ca_AD: Likewise.
19655 * localedata/locales/ca_ES: Likewise.
19656 * localedata/locales/ca_FR: Likewise.
19657 * localedata/locales/ca_IT: Likewise.
19658 * localedata/locales/ce_RU: Likewise.
19659 * localedata/locales/chr_US: Likewise.
19660 * localedata/locales/cmn_TW: Likewise.
19661 * localedata/locales/crh_UA: Likewise.
19662 * localedata/locales/cs_CZ: Likewise.
19663 * localedata/locales/csb_PL: Likewise.
19664 * localedata/locales/cv_RU: Likewise.
19665 * localedata/locales/cy_GB: Likewise.
19666 * localedata/locales/da_DK: Likewise.
19667 * localedata/locales/de_AT: Likewise.
19668 * localedata/locales/de_BE: Likewise.
19669 * localedata/locales/de_CH: Likewise.
19670 * localedata/locales/de_DE: Likewise.
19671 * localedata/locales/de_IT: Likewise.
19672 * localedata/locales/de_LI: Likewise.
19673 * localedata/locales/de_LU: Likewise.
19674 * localedata/locales/doi_IN: Likewise.
19675 * localedata/locales/dv_MV: Likewise.
19676 * localedata/locales/dz_BT: Likewise.
19677 * localedata/locales/el_CY: Likewise.
19678 * localedata/locales/el_GR: Likewise.
19679 * localedata/locales/en_AG: Likewise.
19680 * localedata/locales/en_AU: Likewise.
19681 * localedata/locales/en_BW: Likewise.
19682 * localedata/locales/en_CA: Likewise.
19683 * localedata/locales/en_DK: Likewise.
19684 * localedata/locales/en_GB: Likewise.
19685 * localedata/locales/en_HK: Likewise.
19686 * localedata/locales/en_IE: Likewise.
19687 * localedata/locales/en_IL: Likewise.
19688 * localedata/locales/en_IN: Likewise.
19689 * localedata/locales/en_NG: Likewise.
19690 * localedata/locales/en_NZ: Likewise.
19691 * localedata/locales/en_PH: Likewise.
19692 * localedata/locales/en_SG: Likewise.
19693 * localedata/locales/en_US: Likewise.
19694 * localedata/locales/en_ZA: Likewise.
19695 * localedata/locales/en_ZM: Likewise.
19696 * localedata/locales/en_ZW: Likewise.
19697 * localedata/locales/eo: Likewise.
19698 * localedata/locales/es_AR: Likewise.
19699 * localedata/locales/es_BO: Likewise.
19700 * localedata/locales/es_CL: Likewise.
19701 * localedata/locales/es_CO: Likewise.
19702 * localedata/locales/es_CR: Likewise.
19703 * localedata/locales/es_CU: Likewise.
19704 * localedata/locales/es_DO: Likewise.
19705 * localedata/locales/es_EC: Likewise.
19706 * localedata/locales/es_ES: Likewise.
19707 * localedata/locales/es_GT: Likewise.
19708 * localedata/locales/es_HN: Likewise.
19709 * localedata/locales/es_MX: Likewise.
19710 * localedata/locales/es_NI: Likewise.
19711 * localedata/locales/es_PA: Likewise.
19712 * localedata/locales/es_PE: Likewise.
19713 * localedata/locales/es_PR: Likewise.
19714 * localedata/locales/es_PY: Likewise.
19715 * localedata/locales/es_SV: Likewise.
19716 * localedata/locales/es_US: Likewise.
19717 * localedata/locales/es_UY: Likewise.
19718 * localedata/locales/es_VE: Likewise.
19719 * localedata/locales/et_EE: Likewise.
19720 * localedata/locales/eu_ES: Likewise.
19721 * localedata/locales/eu_ES@euro: Likewise.
19722 * localedata/locales/fa_IR: Likewise.
19723 * localedata/locales/ff_SN: Likewise.
19724 * localedata/locales/fi_FI: Likewise.
19725 * localedata/locales/fil_PH: Likewise.
19726 * localedata/locales/fo_FO: Likewise.
19727 * localedata/locales/fr_BE: Likewise.
19728 * localedata/locales/fr_CA: Likewise.
19729 * localedata/locales/fr_CH: Likewise.
19730 * localedata/locales/fr_FR: Likewise.
19731 * localedata/locales/fr_LU: Likewise.
19732 * localedata/locales/fur_IT: Likewise.
19733 * localedata/locales/fy_DE: Likewise.
19734 * localedata/locales/fy_NL: Likewise.
19735 * localedata/locales/ga_IE: Likewise.
19736 * localedata/locales/gd_GB: Likewise.
19737 * localedata/locales/gez_ER: Likewise.
19738 * localedata/locales/gez_ET: Likewise.
19739 * localedata/locales/gl_ES: Likewise.
19740 * localedata/locales/gu_IN: Likewise.
19741 * localedata/locales/gv_GB: Likewise.
19742 * localedata/locales/ha_NG: Likewise.
19743 * localedata/locales/hak_TW: Likewise.
19744 * localedata/locales/he_IL: Likewise.
19745 * localedata/locales/hi_IN: Likewise.
19746 * localedata/locales/hif_FJ: Likewise.
19747 * localedata/locales/hne_IN: Likewise.
19748 * localedata/locales/hr_HR: Likewise.
19749 * localedata/locales/hsb_DE: Likewise.
19750 * localedata/locales/ht_HT: Likewise.
19751 * localedata/locales/hu_HU: Likewise.
19752 * localedata/locales/hy_AM: Likewise.
19753 * localedata/locales/i18n: Likewise.
19754 * localedata/locales/ia_FR: Likewise.
19755 * localedata/locales/id_ID: Likewise.
19756 * localedata/locales/ig_NG: Likewise.
19757 * localedata/locales/ik_CA: Likewise.
19758 * localedata/locales/is_IS: Likewise.
19759 * localedata/locales/it_CH: Likewise.
19760 * localedata/locales/it_IT: Likewise.
19761 * localedata/locales/iu_CA: Likewise.
19762 * localedata/locales/ja_JP: Likewise.
19763 * localedata/locales/ka_GE: Likewise.
19764 * localedata/locales/kk_KZ: Likewise.
19765 * localedata/locales/kl_GL: Likewise.
19766 * localedata/locales/kn_IN: Likewise.
19767 * localedata/locales/ko_KR: Likewise.
19768 * localedata/locales/kok_IN: Likewise.
19769 * localedata/locales/ks_IN: Likewise.
19770 * localedata/locales/ks_IN@devanagari: Likewise.
19771 * localedata/locales/ku_TR: Likewise.
19772 * localedata/locales/kw_GB: Likewise.
19773 * localedata/locales/ky_KG: Likewise.
19774 * localedata/locales/lb_LU: Likewise.
19775 * localedata/locales/lg_UG: Likewise.
19776 * localedata/locales/li_BE: Likewise.
19777 * localedata/locales/li_NL: Likewise.
19778 * localedata/locales/lij_IT: Likewise.
19779 * localedata/locales/ln_CD: Likewise.
19780 * localedata/locales/lo_LA: Likewise.
19781 * localedata/locales/lt_LT: Likewise.
19782 * localedata/locales/lv_LV: Likewise.
19783 * localedata/locales/lzh_TW: Likewise.
19784 * localedata/locales/mag_IN: Likewise.
19785 * localedata/locales/mai_IN: Likewise.
19786 * localedata/locales/mg_MG: Likewise.
19787 * localedata/locales/mhr_RU: Likewise.
19788 * localedata/locales/mi_NZ: Likewise.
19789 * localedata/locales/mk_MK: Likewise.
19790 * localedata/locales/ml_IN: Likewise.
19791 * localedata/locales/mn_MN: Likewise.
19792 * localedata/locales/mni_IN: Likewise.
19793 * localedata/locales/mr_IN: Likewise.
19794 * localedata/locales/ms_MY: Likewise.
19795 * localedata/locales/mt_MT: Likewise.
19796 * localedata/locales/my_MM: Likewise.
19797 * localedata/locales/nan_TW: Likewise.
19798 * localedata/locales/nan_TW@latin: Likewise.
19799 * localedata/locales/nb_NO: Likewise.
19800 * localedata/locales/nds_DE: Likewise.
19801 * localedata/locales/nds_NL: Likewise.
19802 * localedata/locales/ne_NP: Likewise.
19803 * localedata/locales/nhn_MX: Likewise.
19804 * localedata/locales/niu_NU: Likewise.
19805 * localedata/locales/niu_NZ: Likewise.
19806 * localedata/locales/nl_AW: Likewise.
19807 * localedata/locales/nl_BE: Likewise.
19808 * localedata/locales/nl_NL: Likewise.
19809 * localedata/locales/nn_NO: Likewise.
19810 * localedata/locales/nr_ZA: Likewise.
19811 * localedata/locales/nso_ZA: Likewise.
19812 * localedata/locales/oc_FR: Likewise.
19813 * localedata/locales/om_ET: Likewise.
19814 * localedata/locales/om_KE: Likewise.
19815 * localedata/locales/or_IN: Likewise.
19816 * localedata/locales/os_RU: Likewise.
19817 * localedata/locales/pa_IN: Likewise.
19818 * localedata/locales/pa_PK: Likewise.
19819 * localedata/locales/pap_AW: Likewise.
19820 * localedata/locales/pap_CW: Likewise.
19821 * localedata/locales/pl_PL: Likewise.
19822 * localedata/locales/ps_AF: Likewise.
19823 * localedata/locales/pt_BR: Likewise.
19824 * localedata/locales/pt_PT: Likewise.
19825 * localedata/locales/quz_PE: Likewise.
19826 * localedata/locales/raj_IN: Likewise.
19827 * localedata/locales/ro_RO: Likewise.
19828 * localedata/locales/ru_RU: Likewise.
19829 * localedata/locales/ru_UA: Likewise.
19830 * localedata/locales/rw_RW: Likewise.
19831 * localedata/locales/sa_IN: Likewise.
19832 * localedata/locales/sat_IN: Likewise.
19833 * localedata/locales/sc_IT: Likewise.
19834 * localedata/locales/sd_IN: Likewise.
19835 * localedata/locales/sd_IN@devanagari: Likewise.
19836 * localedata/locales/se_NO: Likewise.
19837 * localedata/locales/sgs_LT: Likewise.
19838 * localedata/locales/shs_CA: Likewise.
19839 * localedata/locales/si_LK: Likewise.
19840 * localedata/locales/sid_ET: Likewise.
19841 * localedata/locales/sk_SK: Likewise.
19842 * localedata/locales/sl_SI: Likewise.
19843 * localedata/locales/sm_WS: Likewise.
19844 * localedata/locales/so_DJ: Likewise.
19845 * localedata/locales/so_ET: Likewise.
19846 * localedata/locales/so_KE: Likewise.
19847 * localedata/locales/so_SO: Likewise.
19848 * localedata/locales/sq_AL: Likewise.
19849 * localedata/locales/sq_MK: Likewise.
19850 * localedata/locales/sr_ME: Likewise.
19851 * localedata/locales/sr_RS: Likewise.
19852 * localedata/locales/sr_RS@latin: Likewise.
19853 * localedata/locales/ss_ZA: Likewise.
19854 * localedata/locales/st_ZA: Likewise.
19855 * localedata/locales/sv_FI: Likewise.
19856 * localedata/locales/sv_SE: Likewise.
19857 * localedata/locales/sw_KE: Likewise.
19858 * localedata/locales/sw_TZ: Likewise.
19859 * localedata/locales/szl_PL: Likewise.
19860 * localedata/locales/ta_IN: Likewise.
19861 * localedata/locales/ta_LK: Likewise.
19862 * localedata/locales/tcy_IN: Likewise.
19863 * localedata/locales/te_IN: Likewise.
19864 * localedata/locales/tg_TJ: Likewise.
19865 * localedata/locales/th_TH: Likewise.
19866 * localedata/locales/the_NP: Likewise.
19867 * localedata/locales/ti_ER: Likewise.
19868 * localedata/locales/ti_ET: Likewise.
19869 * localedata/locales/tig_ER: Likewise.
19870 * localedata/locales/tk_TM: Likewise.
19871 * localedata/locales/tl_PH: Likewise.
19872 * localedata/locales/tn_ZA: Likewise.
19873 * localedata/locales/to_TO: Likewise.
19874 * localedata/locales/tpi_PG: Likewise.
19875 * localedata/locales/tr_CY: Likewise.
19876 * localedata/locales/tr_TR: Likewise.
19877 * localedata/locales/ts_ZA: Likewise.
19878 * localedata/locales/tt_RU: Likewise.
19879 * localedata/locales/tt_RU@iqtelif: Likewise.
19880 * localedata/locales/ug_CN: Likewise.
19881 * localedata/locales/uk_UA: Likewise.
19882 * localedata/locales/unm_US: Likewise.
19883 * localedata/locales/ur_IN: Likewise.
19884 * localedata/locales/ur_PK: Likewise.
19885 * localedata/locales/uz_UZ: Likewise.
19886 * localedata/locales/uz_UZ@cyrillic: Likewise.
19887 * localedata/locales/ve_ZA: Likewise.
19888 * localedata/locales/vi_VN: Likewise.
19889 * localedata/locales/wa_BE: Likewise.
19890 * localedata/locales/wae_CH: Likewise.
19891 * localedata/locales/wal_ET: Likewise.
19892 * localedata/locales/wo_SN: Likewise.
19893 * localedata/locales/xh_ZA: Likewise.
19894 * localedata/locales/yi_US: Likewise.
19895 * localedata/locales/yo_NG: Likewise.
19896 * localedata/locales/yue_HK: Likewise.
19897 * localedata/locales/yuw_PG: Likewise.
19898 * localedata/locales/zh_CN: Likewise.
19899 * localedata/locales/zh_HK: Likewise.
19900 * localedata/locales/zh_SG: Likewise.
19901 * localedata/locales/zh_TW: Likewise.
19902 * localedata/locales/zu_ZA: Likewise.
19904 2017-11-13 Florian Weimer <fweimer@redhat.com>
19906 * support/next_to_fault.h, support/next_to_fault.c: New files.
19907 * support/Makefile (libsupport-routines): Add next_to_fault.
19908 * resolv/tst-inet_pton.c (struct next_to_fault)
19909 (next_to_fault_allocate, next_to_fault_free): Remove.
19910 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
19912 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
19914 * elf/dl-support.c: Include <dl-procruntime.c>.
19915 * include/link.h: Include <link_map.h>.
19916 * sysdeps/generic/dl-procruntime.c: New file.
19917 * sysdeps/generic/link_map.h: Likewise.
19918 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
19919 the writable ld.so namespace.
19921 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
19923 timezone: pacify GCC -Wstringop-truncation
19924 Problem reported by Martin Sebor in:
19925 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
19926 * timezone/zic.c (writezone): Use memcpy, not strncpy.
19928 2017-11-12 Florian Weimer <fweimer@redhat.com>
19930 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
19932 (tests): Add tst-xreadlink.
19933 * support/support.h (xstrndup): Declare.
19934 * support/xunistd.h (xunlink, xreadlink): Declare.
19935 * support/temp_file.h (support_create_temp_directory): Declare.
19936 * support/temp_file.c (support_create_temp_directory): New function.
19937 * support/support_chroot.c (support_chroot_create): Use it.
19938 * support/xreadlink.c: New file.
19939 * support/xstrndup.c: Likewise.
19940 * support/xunlink.c: Likewise.
19941 * support/tst-xreadlink.c: Likewise.
19943 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
19945 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
19947 2017-11-11 Florian Weimer <fweimer@redhat.com>
19951 * resolv/res_comp.c (printable_string, binary_hnok)
19952 (binary_leading_dash): New functions.
19953 (res_hnok): Reimplement using these functions and ns_name_pton.
19954 (res_ownok): Likewise.
19955 (res_mailok): Reimplement using printable_string, ns_name_pton and
19957 (res_dnok): Reimplement using printable_string and ns_name_pton.
19958 * resolv/tst-res_hnok.c (tests): Add additional tests.
19959 (LETTERDIGITS, PRINTABLE): Define.
19960 (do_test): Adjust one_char results.
19962 2017-11-11 Florian Weimer <fweimer@redhat.com>
19965 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
19966 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
19968 2017-11-11 Florian Weimer <fweimer@redhat.com>
19970 * resolv/tst-ns_name_pton.c: New file.
19971 * resolv/Makefile (tests): Add tst-ns_name_pton.
19972 (tst-ns_name_pton): Link against libresolv.
19974 2017-11-11 Florian Weimer <fweimer@redhat.com>
19976 * resolv/tst-res_hnok.c: New file.
19977 * resolv/Makefile (tests): Add tst-res_hnok.
19978 (tst-res_hnok): Link against libresolv.
19980 2017-11-11 Florian Weimer <fweimer@redhat.com>
19982 * resolv/tst-resolv-network.c: Use test framework instead explicit
19985 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
19987 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
19988 <jmp_buf-macros.h>.
19989 [!_ISOMAC] (STR_HELPER): New.
19990 [!_ISOMAC] (STR): Likewise.
19991 [!_ISOMAC] (TEST_SIZE): Likewise.
19992 [!_ISOMAC] (TEST_ALIGN): Likewise.
19993 [!_ISOMAC] (TEST_OFFSET): Likewise.
19994 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
19995 field offsets of jmp_buf as well as sigjmp_buf.
19996 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
19997 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
19998 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
19999 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
20000 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
20001 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
20002 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
20003 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
20004 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
20005 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
20007 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
20009 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
20010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
20012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
20014 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
20015 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
20016 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
20017 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
20018 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
20019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
20021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
20023 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
20024 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
20025 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
20027 2017-11-07 Joseph Myers <joseph@codesourcery.com>
20030 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20031 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
20032 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20033 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
20034 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20035 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
20036 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20037 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
20038 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20039 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
20040 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20041 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
20042 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20043 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
20044 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20045 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
20046 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20047 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
20048 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20049 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
20050 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20051 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
20052 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20053 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
20054 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20055 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
20056 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20057 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
20058 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20059 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
20060 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20061 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
20062 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20063 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
20064 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20065 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
20066 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20067 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
20068 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20069 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
20070 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20071 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
20072 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20073 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
20074 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20075 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
20076 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20077 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
20078 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20079 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
20080 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20081 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
20082 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20083 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
20084 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20085 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
20086 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20087 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
20088 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20089 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
20090 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20091 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
20092 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20093 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
20094 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20095 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
20096 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20097 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
20098 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20099 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
20100 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20101 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
20102 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20103 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
20104 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20105 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
20106 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20107 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
20108 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20109 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
20110 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20111 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
20112 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20113 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
20114 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20115 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
20116 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20117 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
20119 * stdlib/tst-strtod.h (F16): New macro.
20125 (IF_FLOAT16): Likewise.
20126 (IF_FLOAT32): Likewise.
20127 (IF_FLOAT64): Likewise.
20128 (IF_FLOAT32X): Likewise.
20129 (IF_FLOAT64X): Likewise.
20130 (IF_FLOAT128X): Likewise.
20131 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
20132 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
20133 (STRTOD_TEST_FOREACH): Likewise.
20134 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
20135 (CHOOSE_f64): Likewise.
20136 (CHOOSE_f32x): Likewise.
20137 (CHOOSE_f64x): Likewise.
20139 2017-11-07 Andreas Schwab <schwab@suse.de>
20141 * nptl/Makefile (tests-internal): Remove tst-typesizes.
20143 2017-11-07 Mike FABIAN <mfabian@redhat.com>
20146 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
20148 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
20151 2017-11-07 Claude Paroz <claude@2xlibre.net>
20154 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
20156 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
20158 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
20161 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20164 * nptl/allocatestack.c (allocate_stack): Check if
20165 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
20166 __PTHREAD_MUTEX_HAVE_PREV is defined.
20167 * nptl/descr.h (pthread): Likewise.
20168 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20170 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
20171 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20172 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
20173 * sysdeps/nptl/bits/thread-shared-types.h
20174 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
20176 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
20177 of __WORDSIZE for internal layout.
20178 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
20179 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
20180 instead of __WORDSIZE whether to use an union for __spins and __list
20182 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
20184 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
20185 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
20187 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
20188 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20190 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
20191 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20193 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
20194 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20196 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
20197 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20199 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
20200 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20202 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
20203 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20205 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
20206 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20208 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
20209 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20211 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
20212 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20214 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
20215 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20217 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
20218 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20220 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
20221 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20223 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
20224 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20226 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
20227 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20230 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
20232 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
20233 checks for expected input type size.
20234 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
20235 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
20237 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
20238 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
20239 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
20240 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
20241 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
20242 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
20243 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
20244 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
20245 superflous runtime assert check.
20246 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
20248 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
20250 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
20252 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
20254 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
20256 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
20258 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
20259 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
20260 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
20262 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
20264 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
20266 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
20268 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
20270 * nptl/pthread_attr_setinheritsched.c
20271 (__pthread_attr_setinheritsched): Likewise.
20272 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
20274 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
20276 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
20277 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
20278 __old_pthread_attr_setstack): Likewise.
20279 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
20281 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
20283 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
20285 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
20286 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
20288 * nptl/tst-typesizes.c: Remove file.
20290 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
20291 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
20292 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
20293 checks for internal pthread_mutex_t offsets.
20294 * sysdeps/aarch64/nptl/pthread-offsets.h
20295 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
20296 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
20297 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
20298 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
20299 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
20300 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
20301 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
20302 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
20303 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
20304 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
20305 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
20306 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
20307 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
20308 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
20309 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
20310 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
20311 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
20312 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
20314 2017-11-07 Florian Weimer <fweimer@redhat.com>
20316 * bits/mman-linux.h: Move ...
20317 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
20319 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
20322 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20324 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
20325 Redefine STRNLEN as __strnlen_power8.
20327 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20329 * signal/sighold.c (sighold): Optimize implementation.
20331 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
20332 __NR_rt_sigqueueinfo.
20334 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
20336 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
20337 assume __NR_rt_sigtimedwait.
20338 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
20339 and add LIBC_CANCEL_HANDLED for cancellation marking.
20340 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20342 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
20343 (sysdeps_routines): Add memchr_noneon.
20344 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
20345 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
20346 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
20347 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
20348 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
20349 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
20350 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
20352 * sysdeps/arm/arm-ifunc.h: New file.
20353 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
20354 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
20355 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
20356 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
20357 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
20358 (__memcpy_neon): Avoid create hidden alias.
20359 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
20360 (__memcpy_vfp): Likewise.
20361 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
20362 (sysdep_routines): Add memcpy_arm.
20363 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
20365 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
20368 * Makerules (make-link-multidir): New.
20369 * config.make.in (multidir): New.
20370 * configure.ac (libc_cv_multidir): New. AC_SUBST.
20371 * configure: Regenerated.
20372 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
20373 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
20374 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
20377 2017-11-06 Joseph Myers <joseph@codesourcery.com>
20380 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
20381 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
20383 2017-11-04 Mike FABIAN <mfabian@redhat.com>
20385 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
20388 2017-11-04 Florian Weimer <fweimer@redhat.com>
20390 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
20392 2017-11-03 Joseph Myers <joseph@codesourcery.com>
20394 * math/math.h [__HAVE_DISTINCT_FLOAT16
20395 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
20396 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
20397 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
20398 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
20399 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
20400 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
20401 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
20402 (__MATH_TG_F32): New macro.
20403 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
20404 (__MATH_TG_F64X): Likewise.
20405 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
20406 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
20408 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
20410 * po/de.po: Update translations.
20411 * po/ru.po: Likewise.
20413 2017-11-03 Florian Weimer <fweimer@redhat.com>
20415 * manual/filesys.texi (Hard Links): Document linkat.
20417 2017-11-03 Joseph Myers <joseph@codesourcery.com>
20419 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
20420 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
20421 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
20422 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
20423 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
20424 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
20425 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
20426 the same as _Float128.
20427 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
20428 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
20429 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
20432 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
20434 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
20436 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
20438 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20439 (strtof32x): Likewise.
20440 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20441 (strtof64x): Likewise.
20442 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20443 (strtof128x): Likewise.
20444 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20445 (strfromf16): Likewise.
20446 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20447 (strfromf32): Likewise.
20448 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20449 (strfromf64): Likewise.
20450 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20451 (strfromf32x): Likewise.
20452 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20453 (strfromf64x): Likewise.
20454 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20455 (strfromf128x): Likewise.
20456 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
20457 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
20458 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
20459 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
20460 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
20461 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
20463 2017-11-03 Richard Henderson <rth@twiddle.net>
20465 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
20467 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20469 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
20471 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20473 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
20474 DT_TLSDESC_GOT initialization.
20475 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
20476 (_dl_tlsdesc_resolve_hold): Likewise.
20477 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
20478 (_dl_tlsdesc_resolve_hold): Likewise.
20479 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
20480 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
20482 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20484 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
20486 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20489 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
20490 non-lazily for R_ARM_TLS_DESC.
20492 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20495 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
20496 R_ARM_TLS_DESC case.
20497 (elf_machine_lazy_rel): Remove the prelink check.
20499 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20501 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
20502 DT_TLSDESC_GOT initialization.
20503 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
20504 (_dl_tlsdesc_resolve_rela): Likewise.
20505 (_dl_tlsdesc_resolve_hold): Likewise.
20506 (_dl_tlsdesc_undefweak): Remove ldar.
20507 (_dl_tlsdesc_dynamic): Likewise.
20508 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
20509 (_dl_tlsdesc_resolve_rela): Likewise.
20510 (_dl_tlsdesc_resolve_hold): Likewise.
20511 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
20512 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
20513 (_dl_tlsdesc_resolve_rela): Likewise.
20514 (_dl_tlsdesc_resolve_hold): Likewise.
20516 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20518 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
20519 binding and initialization non-lazily for R_AARCH64_TLSDESC.
20521 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20523 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
20524 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20526 2017-11-02 Joseph Myers <joseph@codesourcery.com>
20528 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
20530 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
20531 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
20532 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
20533 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
20534 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
20535 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
20536 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
20537 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
20538 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
20539 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
20540 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
20542 2017-11-02 Mike FABIAN <mfabian@redhat.com>
20545 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
20546 * localedata/locales/tpi_PG: Add standard header.
20548 2017-11-02 Florian Weimer <fweimer@redhat.com>
20550 test-errno-linux: quotactl can fail with EPERM in containers.
20551 * sysdeps/unix/sysv/linux/test-errno-linux.c
20552 (LIST, LIST_FORWARD): New macros.
20553 (check_error_in_list): New function.
20554 (test_wrp_rv): Accept list of permitted error codes.
20555 (test_wrp_rv2): Remove.
20556 (test_wrp): Call test_wrp_rv with list of error codes.
20557 (test_wrp2): Accept list of error codes.
20558 (do_test): Adjust. Allow EPERM for quotactl.
20560 2017-11-02 Florian Weimer <fweimer@redhat.com>
20562 * stdio-common/bug16.c (do_test): Use array_length.
20563 * stdio-common/errlist.c (_sys_nerr): Likewise.
20564 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
20565 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
20566 * stdio-common/psiginfo.c (psiginfo): Use array_length.
20567 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
20568 (do_test): Use array_length.
20569 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
20570 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
20571 * stdio-common/tst-printf-round.c (do_test): Likewise.
20572 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
20573 (CHECK): Use array_length.
20574 * stdio-common/tstdiomisc.c (t3, F): Likewise.
20575 * stdio-common/tstscanf.c (main): Likewise.
20576 * stdio-common/vfprintf.c (process_string_arg): Likewise.
20578 2017-11-02 Florian Weimer <fweimer@redhat.com>
20580 Add array_length and array_end macros.
20581 * include/array_length.h: New file.
20583 2017-11-02 Florian Weimer <fweimer@redhat.com>
20586 * posix/tst-glob-tilde.c (do_noescape): New variable.
20587 (one_test): Process it.
20588 (do_test): Set do_noescape. Add unescaping test case.
20590 2017-11-01 Joseph Myers <joseph@codesourcery.com>
20593 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
20594 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
20595 with appropriate macros defined and undefined.
20596 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
20597 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
20598 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
20599 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
20600 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
20601 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
20602 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
20603 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
20604 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
20605 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
20608 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
20609 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
20610 that for long double. Do not condition define and undefine of
20611 _Mdouble_complex_ on [__CFLOAT128].
20613 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
20615 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
20616 of <sysdeps/generic/sysdep.h>.
20617 (ALIGNARG): Removed.
20618 (ASM_SIZE_DIRECTIVE): Likewise.
20621 (ENTRY_CHK): Likewise.
20622 (END_CHK): Likewise.
20623 (syscall_error): Likewise.
20624 (mcount): Likewise.
20625 (PSEUDO_END): Likewise.
20627 (atom_text_section): Likewise.
20628 * sysdeps/x86/sysdep.h: New file.
20629 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
20630 of <sysdeps/generic/sysdep.h>.
20631 (ALIGNARG): Removed.
20632 (ASM_SIZE_DIRECTIVE): Likewise.
20635 (ENTRY_CHK): Likewise.
20636 (END_CHK): Likewise.
20637 (syscall_error): Likewise.
20638 (mcount): Likewise.
20639 (PSEUDO_END): Likewise.
20641 (atom_text_section): Likewise.
20643 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
20645 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
20646 category of LC_CTYPE set to "i18n:2012".
20647 * localedata/locales/i18n_ctype: Regenerate.
20649 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
20651 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
20652 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
20653 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
20654 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
20656 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
20657 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
20658 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
20659 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
20661 2017-10-31 Joseph Myers <joseph@codesourcery.com>
20664 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
20666 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
20668 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
20670 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20671 (CMPLXF32X): Likewise.
20672 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20673 (CMPLXF64X): Likewise.
20674 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20675 (CMPLXF128X): Likewise.
20678 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
20679 (__MATH_EVAL_FMT2): Define to add 0.0f.
20681 2017-10-31 Alan Modra <amodra@gmail.com>
20683 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
20685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
20686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
20687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
20688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
20689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
20690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
20691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
20692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
20693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
20694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
20695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
20696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
20697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
20698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
20699 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
20700 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
20701 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
20702 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
20703 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
20704 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
20705 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
20706 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
20707 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
20708 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
20709 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
20710 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
20711 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
20712 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
20713 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
20714 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
20715 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
20716 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
20717 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
20718 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
20719 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
20720 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
20721 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
20722 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
20723 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
20724 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20725 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
20726 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
20727 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
20728 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
20729 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
20730 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
20731 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
20732 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
20733 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
20734 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
20735 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
20736 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
20737 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
20738 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
20739 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
20740 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
20741 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
20742 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
20743 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
20744 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
20745 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
20746 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
20747 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
20748 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20749 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
20750 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
20751 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
20752 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
20753 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
20755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
20756 include sysdep.h and math_ldbl_opt.h.
20758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
20759 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
20760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
20761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
20762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
20763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
20764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
20765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
20766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
20767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
20768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
20769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
20770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
20771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
20772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
20773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
20774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
20775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
20776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
20777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
20778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
20779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
20780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
20781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
20782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
20783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
20785 2017-10-31 Alan Modra <amodra@gmail.com>
20787 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
20788 string/strncase_l.c, not string/strncase.c.
20789 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
20790 (libc_hidden_def): Redefine.
20792 2017-10-31 Alan Modra <amodra@gmail.com>
20794 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
20795 (__STRCMP, STRCMP, __strcasecmp_l): Define.
20796 (__strcasecmp): Don't define.
20798 2017-10-31 Alan Modra <amodra@gmail.com>
20800 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
20802 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
20803 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
20804 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
20806 2017-10-31 Alan Modra <amodra@gmail.com>
20808 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
20811 2017-10-31 Alan Modra <amodra@gmail.com>
20813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
20814 Redefine only when SHARED.
20816 2017-10-30 Joseph Myers <joseph@codesourcery.com>
20818 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
20819 Include <bits/math-finite.h> with appropriate macros defined and
20821 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
20822 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
20823 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
20824 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
20825 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
20827 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
20828 [!_Mlong_double_] (_Mlong_double_): Likewise.
20829 [!_Mfloat16_] (_Mfloat16_): Likewise.
20830 [!_Mfloat32_] (_Mfloat32_): Likewise.
20831 [!_Mfloat64_] (_Mfloat64_): Likewise.
20832 [!_Mfloat128_] (_Mfloat128_): Likewise.
20833 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
20834 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
20835 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
20836 (_Mdouble_): Define without indirection through those macros.
20837 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
20838 [!_Mfloat128_] (_Mfloat128_): Likewise.
20839 [_Mlong_double_] (_Mlong_double_): Likewise.
20840 (_Mdouble_): Define without indirection through those macros.
20841 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
20842 not add -D_Mlong_double_=double.
20843 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
20844 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
20846 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
20848 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
20850 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
20852 * sysdeps/x86/libc-start.c: Reformat.
20854 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
20857 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
20858 (1): Renamed to ...
20861 (L(Src2)): Likewise.
20862 (L(1)): Renamed to ...
20865 2017-10-30 Joseph Myers <joseph@codesourcery.com>
20867 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
20868 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
20869 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
20870 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
20871 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
20872 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
20873 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
20874 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
20875 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
20876 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
20877 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
20878 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
20879 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
20880 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
20881 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
20882 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
20883 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
20884 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
20885 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
20886 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
20887 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
20888 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
20889 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
20890 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
20891 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
20892 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
20893 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
20894 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
20895 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
20896 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
20897 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
20898 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
20899 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
20900 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
20901 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
20902 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
20903 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
20904 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
20905 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
20906 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
20907 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
20908 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
20909 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
20910 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
20911 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
20912 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
20913 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
20914 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
20915 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
20916 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
20917 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
20918 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
20919 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
20920 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
20921 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
20922 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
20923 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
20924 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
20925 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
20926 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
20927 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
20928 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
20929 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
20930 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
20931 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
20932 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
20934 2017-10-30 Florian Weimer <fweimer@redhat.com>
20936 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
20938 * io/tst-mkdirat.c (do_test): Likewise.
20939 * io/tst-mkfifoat.c (do_test): Likewise.
20940 * io/tst-mknodat.c (do_test): Likewise.
20941 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
20942 * locale/programs/locale.c (select_dirs): Likewise.
20943 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
20944 * posix/bug-glob2.c (my_readdir): Likewise.
20945 * posix/tst-dir.c (main): Likewise.
20946 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
20947 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
20949 2017-10-30 Florian Weimer <fweimer@redhat.com>
20951 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
20954 2017-10-30 Florian Weimer <fweimer@redhat.com>
20956 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
20957 Convert to support/test-driver.c.
20958 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
20959 New macro parameters.
20960 (PRINTF): Remove macro. Use test_verbose conditionals instead.
20961 * posix/tst-gnuglob.c: New file.
20962 * posix/tst-gnuglob64.c: Likewise.
20963 * posix/Makefile (tests): Add tst-gnuglob64.
20965 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
20968 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
20969 and use a better translation for March in “mon”.
20970 * localedata/locales/csb_PL: Use more ASCII to improve the
20971 readability of the source.
20973 2017-10-30 Mike FABIAN <mfabian@redhat.com>
20976 * localedata/locales/km_KH: Use ASCII as much
20977 as possible for better readability of the source and
20978 remove useless comments.
20979 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
20980 was commented out and apparently wrong anyway because it was
20981 using Lao characters. If Buddhist era should be used
20982 for km_KH, a native speaker should write the correct formaat
20984 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
20985 (According to CLDR, the first weekday for Cambodia is Sunday).
20986 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
20987 (These were using Lao characters which must be wrong. If we get
20988 the correct data from a native speaker, we could add it back, until
20989 then it is better not to have name_mr and name_mrs at all than
20992 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
20994 * locale/loadlocale.c: Correct size of
20995 _nl_value_type_LC_<category> arrays.
20997 2017-10-27 Joseph Myers <joseph@codesourcery.com>
20999 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
21000 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
21001 with appropriate macros defined and undefined.
21002 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
21003 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
21004 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
21005 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
21006 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
21008 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
21010 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
21013 2017-10-27 Mike FABIAN <mfabian@redhat.com>
21015 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
21016 with lowercase letters to make it agree with CLDR.
21018 2017-10-27 Mike FABIAN <mfabian@redhat.com>
21021 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
21022 first letters of yesstr and nostr in yesexpr and noexpr,
21023 not for the full words.
21024 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
21025 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
21026 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
21027 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
21028 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
21029 first letters of yesstr and nostr in yesexpr and noexpr,
21030 until now only English was matched in yesexpr and noexpr.
21031 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
21032 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
21033 fil but not for tl. As tl and fil are very similar, using fil
21034 is probably better than using English.
21036 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
21039 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
21040 in yesstr and nostr.
21042 2017-10-26 Joseph Myers <joseph@codesourcery.com>
21044 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
21045 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
21046 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
21048 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
21050 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
21052 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
21054 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21055 (SNANF128X): Likewise.
21057 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
21058 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
21059 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21060 (HUGE_VAL_F32): Likewise.
21061 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21062 (HUGE_VAL_F64): Likewise.
21063 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21064 (HUGE_VAL_F32X): Likewise.
21065 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21066 (HUGE_VAL_F64X): Likewise.
21067 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21068 (HUGE_VAL_F128X): Likewise.
21070 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
21072 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
21073 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
21074 for the br_FR locale.
21076 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
21079 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
21081 2017-10-25 Carlos O'Donell <carlos@redhat.com>
21083 * locale/programs/record-status.h: Define globals, and function
21084 prototypes. Move function bodies...
21085 * locale/programs/record-status.c: ... to here. New file.
21086 * iconv/Makefile (iconv_prog-modules): Add record-status.
21087 * locale/Makefile (lib-modules): Likewise.
21088 * iconv/iconv_prog.c: Remove verbose.
21089 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
21090 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
21091 record a warning about ASCII compatibility.
21092 * locale/programs/ld-monetary.c (monetary_finish): If
21093 warn_int_curr_symbol is true then record a warning about the symbol
21094 not being in our ISO 4217 list.
21095 * locale/programs/locale.c: Include record-status.h. Remove verbose.
21096 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
21097 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
21098 (OPT_NO_WARN): Define.
21099 (OPT_WARN): Define.
21100 (options): Add entry for --no-warnings, and --warnings.
21101 (set_warnings): New function to enable/disable warnings.
21102 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
21103 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
21104 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
21105 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
21106 Pass flags to generate_locale.
21107 (generate_locale): Accept new flag argument and pass it to localedef
21109 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
21110 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
21112 * localedata/Makefile (test-input-data): Use full file name.
21113 * localedata/da_DK.in: Rename to...
21114 * localedata/da_DK.ISO-8859-1.in: ...this.
21115 * localedata/de_DE.in: Rename to...
21116 * localedata/de_DE.ISO-8859-1.in: ...this.
21117 * localedata/en_US.in: Rename to...
21118 * localedata/en_US.ISO-8859-1.in: ...this.
21119 * localedata/fr_FR.in: Rename to...
21120 * localedata/fr_FR.UTF-8.in: ... this.
21121 * localedata/hr_HR.in: Rename to...
21122 * localedata/hr_HR.ISO-8859-2.in: ...this.
21123 * localedata/hu_HU.in: Rename to...
21124 * localedata/hu_HU.UTF-8.in: ...this.
21125 * localedata/si_LK.in: Rename to...
21126 * localedata/si_LK.UTF-8.in: ...this.
21127 * localedata/sv_SE.in: Rename to...
21128 * localedata/sv_SE.ISO-8859-1.in: ...this.
21129 * localedata/tr_TR.in: Rename to...
21130 * localedata/tr_TR.UTF-8.in: ...this.
21131 * localedata/uk_UA.in: Rename to...
21132 * localedata/uk_UA.UTF-8.in: ...this.
21133 * localedata/sort-test.sh: Test file is locale name with the
21136 * localedata/unicode-gen/Makefile (check_i18n): Rename to
21137 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
21139 * localedata/locales/i18n_ctype: Regenerate.
21140 * localedata/locales/tr_TR: Likewise.
21141 * localedata/locales/translit_circle: Likewise.
21142 * localedata/locales/translit_cjk_compat: Likewise.
21143 * localedata/locales/translit_combining: Likewise.
21144 * localedata/locales/translit_compat: Likewise.
21145 * localedata/locales/translit_font: Likewise.
21146 * localedata/locales/translit_fraction: Likewise.
21148 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21150 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
21151 lxvd2x/stxvd2x with lvx/stvx.
21152 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
21154 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
21156 * include/alloc_buffer.h: Replace "if if " with "if " in
21158 * sysdeps/mips/memcpy.S: Likkewise.
21159 * sysdeps/mips/memset.S: Likewise.
21160 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
21162 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
21164 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
21167 2017-10-25 Mike FABIAN <mfabian@redhat.com>
21170 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
21171 yesexpr and noexpr.
21172 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
21173 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
21174 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
21175 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
21176 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
21177 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
21178 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
21180 2017-10-25 Mike FABIAN <mfabian@redhat.com>
21182 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
21183 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
21184 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
21185 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
21186 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
21187 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
21188 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
21189 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
21190 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
21191 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
21192 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
21193 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
21195 2017-10-25 Mike FABIAN <mfabian@redhat.com>
21197 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
21198 as possible for better readability of the source.
21199 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
21200 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
21201 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
21202 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
21203 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
21204 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
21205 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
21206 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
21207 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
21208 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
21209 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
21210 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
21211 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
21212 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
21213 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
21214 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
21215 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
21216 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
21217 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
21218 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
21219 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
21220 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
21221 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
21222 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
21223 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
21224 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
21225 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
21226 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
21227 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
21228 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
21229 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
21230 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
21231 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
21232 * localedata/locales/en_US (LC_MESSAGES): Likewise.
21233 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
21234 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
21235 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
21236 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
21237 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
21238 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
21239 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
21240 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
21241 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
21242 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
21243 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
21244 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
21245 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
21246 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
21247 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
21248 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
21249 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
21250 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
21251 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
21252 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
21253 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
21254 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
21255 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
21256 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
21257 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
21258 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
21259 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
21260 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
21261 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
21262 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
21263 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
21264 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
21265 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
21266 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
21267 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
21268 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
21269 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
21270 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
21271 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
21272 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
21273 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
21274 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
21275 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
21276 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
21277 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
21278 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
21279 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
21280 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
21281 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
21282 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
21283 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
21284 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
21285 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
21286 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
21287 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
21288 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
21289 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
21290 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
21291 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
21292 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
21293 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
21294 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
21295 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
21296 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
21297 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
21298 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
21299 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
21300 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
21301 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
21302 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
21303 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
21304 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
21305 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
21306 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
21307 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
21308 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
21309 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
21310 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
21311 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
21312 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
21313 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
21314 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
21315 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
21316 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
21317 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
21318 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
21319 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
21320 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
21321 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
21322 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
21323 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
21324 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
21325 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
21326 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
21327 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
21328 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
21329 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
21330 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
21331 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
21332 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
21333 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
21334 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
21335 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
21336 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
21337 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
21338 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
21339 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
21340 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
21341 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
21342 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
21343 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
21344 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
21345 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
21346 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
21347 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
21348 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
21349 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
21350 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
21351 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
21352 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
21353 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
21354 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
21355 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
21356 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
21357 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
21358 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
21359 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
21360 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
21361 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
21362 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
21363 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
21364 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
21365 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
21366 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
21367 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
21368 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
21369 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
21370 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
21371 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
21372 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
21374 2017-10-25 Mike FABIAN <mfabian@redhat.com>
21376 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
21377 (Use first letters of yesstr and nostr correctly instead of using
21380 2017-10-25 Mike FABIAN <mfabian@redhat.com>
21382 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
21383 (Use first letters of yesstr and nostr correctly).
21385 2017-10-25 Mike FABIAN <mfabian@redhat.com>
21387 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
21388 also check for the first characters of yesstr and nostr.
21389 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
21390 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
21392 2017-10-25 Mike FABIAN <mfabian@redhat.com>
21394 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
21395 also check for Chinese characters.
21397 2017-10-25 Mike FABIAN <mfabian@redhat.com>
21399 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
21400 match also for the contents of yesstr and nostr. As the first letter
21401 of yesstr and nostr is equal, checking only for the first letter
21404 2017-10-25 Mike FABIAN <mfabian@redhat.com>
21406 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
21407 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
21409 2017-10-25 Mike FABIAN <mfabian@redhat.com>
21411 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
21412 of main contributor.
21414 2017-10-25 Mike FABIAN <mfabian@redhat.com>
21416 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
21417 instead of using English.
21419 2017-10-25 Mike FABIAN <mfabian@redhat.com>
21421 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
21422 by including the first letters of nostr and yesexpr in the regexp.
21423 Also make it more readable by using ASCII where possible.
21425 2017-10-25 Mike FABIAN <mfabian@redhat.com>
21427 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
21428 the first letter of nostr in the regexp. It agrees with CLDR now.
21429 Also make it more readable by using ASCII where possible.
21431 2017-10-24 Mike FABIAN <mfabian@redhat.com>
21433 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
21434 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
21435 these strings contain a U+17D6 (which somewhat looks like a colon)
21436 instead of a real colon to separate the full words for “yes”
21437 and “no” from the single letter responses.
21439 2017-10-24 Mike FABIAN <mfabian@redhat.com>
21441 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
21442 it agree with CLDR (include the first letter of yesstr).
21443 Also make it more readable by using ASCII where possible.
21445 2017-10-24 Mike FABIAN <mfabian@redhat.com>
21447 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
21448 and improve yesexpr and noexpr. The yesstr and nostr apparently
21449 came from CLDR. And CLDR has a bug there: these strings contain
21450 a U+0903 (which looks like a colon) instead of a real colon
21451 to separate the full words for “yes” and “no” from the single
21454 2017-10-24 Mike FABIAN <mfabian@redhat.com>
21456 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
21457 letters of the full yesstr and nostr in yesexpr and noexpr.
21459 2017-10-24 Mike FABIAN <mfabian@redhat.com>
21461 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
21462 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
21463 * localedata/locales/an_ES: Make source more readable by using ASCII
21466 2017-10-24 Mike FABIAN <mfabian@redhat.com>
21469 * localedata/locales/yuw_PG: New file.
21470 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
21471 * locale/iso-639.def: Add Yau (Uruwa).
21473 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
21475 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
21477 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
21479 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
21480 (__libc_realloc): Likewise.
21481 (_mid_memalign): Likewise.
21482 (__libc_calloc): Likewise.
21484 2017-10-23 Mike FABIAN <mfabian@redhat.com>
21486 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
21487 by adding the generic +1 and -0 as in all other locales.
21488 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
21489 day names and make it more readable by using ASCII where possible.
21491 2017-10-24 Joseph Myers <joseph@codesourcery.com>
21493 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
21494 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
21496 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21498 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
21499 WNOHANG in waitpid call.
21501 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
21503 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
21504 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
21506 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
21507 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
21508 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
21509 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
21510 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
21511 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
21512 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
21513 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
21516 2017-10-23 Michael Collison <michael.collison@arm.com>
21518 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
21519 with __builtin_sqrt.
21520 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
21521 with __builtin_sqrtf.
21522 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
21523 with __builtin_ceil.
21524 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
21525 with __builtin_ceilf.
21526 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
21527 with __builtin_floor.
21528 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
21529 with __builtin_floorf.
21530 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
21531 with __builtin_fma.
21532 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
21533 with __builtin_fmaf.
21534 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
21535 with __builtin_fmax.
21536 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
21537 with __builtin_fmaxf.
21538 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
21539 with __builtin_fmin.
21540 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
21541 with __builtin_fminf.
21542 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
21543 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
21544 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
21545 with builtin_rint and conversion to int.
21546 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
21547 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
21548 with builtin_llround.
21549 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
21550 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
21551 with builtin_rint and conversion to long int.
21552 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
21553 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
21554 with builtin_lround.
21555 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
21556 with builtin_lroundf.
21557 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
21558 statements with __builtin_nearbyint.
21559 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
21560 statements with __builtin_nearbyintf.
21561 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
21562 with __builtin_rint.
21563 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
21564 with __builtin_rintf.
21565 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
21566 with __builtin_round.
21567 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
21568 with __builtin_roundf.
21569 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
21570 with __builtin_trunc.
21571 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
21572 with __builtin_truncf.
21573 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
21574 and s_l[l]round[f].c too.
21576 2017-10-23 Alan Modra <amodra@gmail.com>
21578 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
21579 Adjust stack after restoring regs. Add missing LR cfi_restore.
21581 2017-10-23 Alan Modra <amodra@gmail.com>
21583 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
21584 Move LR save and frame setup/teardown and LR restore to
21585 immediately around memset call. Provide cfi.
21587 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
21589 * sysdeps/i386/fpu/e_powf.S: Removed.
21590 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
21591 * sysdeps/i386/fpu/w_powf.c: Likewise.
21592 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
21593 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21594 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
21596 (CFLAGS-e_powf-sse2.c): New.
21597 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
21598 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
21600 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
21602 * sysdeps/i386/fpu/e_log2f.S: Removed.
21603 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
21604 * sysdeps/i386/fpu/w_log2f.c: Likewise.
21605 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
21606 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21607 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
21609 (CFLAGS-e_log2f-sse2.c): New.
21610 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
21611 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
21613 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
21615 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21617 (CFLAGS-e_powf-fma.c): New.
21618 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
21619 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
21621 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
21623 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21625 (CFLAGS-e_log2f-fma.c): New.
21626 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
21627 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
21629 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
21631 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21633 (CFLAGS-e_logf-fma.c): New.
21634 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
21635 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
21637 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
21639 * sysdeps/i386/fpu/e_logf.S: Removed.
21640 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
21641 * sysdeps/i386/fpu/w_logf.c: Likewise.
21642 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
21643 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
21644 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21645 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
21647 (CFLAGS-e_logf-sse2.c): New.
21648 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
21649 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
21651 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
21653 * sysdeps/i386/fpu/e_exp2f.S: Removed.
21654 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
21655 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
21656 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21657 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
21659 (CFLAGS-e_exp2f-sse2.c): New.
21660 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
21661 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
21663 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
21665 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21667 (CFLAGS-e_exp2f-fma.c): New.
21668 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
21669 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
21671 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
21673 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
21674 * sysdeps/i386/fpu/e_expf.S: Likewise.
21675 * sysdeps/i386/fpu/math_errf.c: Likewise.
21676 * sysdeps/i386/fpu/w_expf.c: Likewise.
21677 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
21678 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
21679 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
21680 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
21681 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21682 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
21683 Remove e_expf-ia32.
21684 (CFLAGS-e_expf-sse2.c): New.
21685 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
21686 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
21688 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
21690 * sysdeps/x86_64/fpu/e_expf.S: Removed.
21691 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
21692 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
21693 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
21695 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
21697 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
21698 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
21700 (__redirect_expf): This.
21701 (SYMBOL_NAME): Changed to expf.
21702 (__ieee754_expf): Renamed to ...
21704 (__GI___expf): This.
21705 (__ieee754_expf): Add strong_alias.
21706 (__expf_finite): Likewise.
21708 Include <sysdeps/ieee754/flt-32/e_expf.c>.
21710 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
21713 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
21716 2017-10-21 Florian Weimer <fweimer@redhat.com>
21718 * posix/Makefile (tests): Add tst-glob-tilde.
21719 (tests-special): Add tst-glob-tilde-mem.out
21720 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
21721 (tst-glob-tilde-mem.out): Add mtrace check.
21722 * posix/tst-glob-tilde.c: New file.
21724 2017-10-20 Joseph Myers <joseph@codesourcery.com>
21726 * bits/floatn-common.h: New file.
21727 * math/Makefile (headers): Add bits/floatn-common.h.
21728 * bits/floatn.h: Include <bits/floatn-common.h>.
21729 * sysdeps/ia64/bits/floatn.h: Likewise.
21730 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
21731 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
21732 * sysdeps/powerpc/bits/floatn.h: Likewise.
21733 * sysdeps/x86/bits/floatn.h: Likewise.
21735 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21737 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
21738 indicates whether compiler emits an warning for alias for
21739 functions with incompatible types.
21742 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
21743 the auxiliary process is terminated by a signal before calling _exit
21746 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
21749 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
21751 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
21752 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
21753 and bit_arch_XSAVEC_Usable if needed.
21754 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
21755 and bit_arch_Use_dl_runtime_resolve_opt.
21756 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
21758 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
21759 (bit_arch_Prefer_No_AVX512): Updated.
21760 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
21761 (bit_arch_XSAVEC_Usable): New.
21762 (STATE_SAVE_OFFSET): Likewise.
21763 (STATE_SAVE_MASK): Likewise.
21764 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
21765 (cpu_features): Add xsave_state_size and xsave_state_full_size.
21766 (index_arch_Use_dl_runtime_resolve_opt): Removed.
21767 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
21768 (index_arch_XSAVEC_Usable): New.
21769 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
21770 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
21771 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
21773 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
21774 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
21775 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
21776 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
21777 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
21778 _dl_runtime_resolve_xsavec.
21779 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
21781 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
21782 instead of VEC_SIZE.
21783 (REGISTER_SAVE_BND0): Removed.
21784 (REGISTER_SAVE_BND1): Likewise.
21785 (REGISTER_SAVE_BND3): Likewise.
21786 (REGISTER_SAVE_RAX): Always defined to 0.
21788 (_dl_runtime_resolve_avx): Likewise.
21789 (_dl_runtime_resolve_avx_slow): Likewise.
21790 (_dl_runtime_resolve_avx_opt): Likewise.
21791 (_dl_runtime_resolve_avx512): Likewise.
21792 (_dl_runtime_resolve_avx512_opt): Likewise.
21793 (_dl_runtime_resolve_sse): Likewise.
21794 (_dl_runtime_resolve_sse_vex): Likewise.
21796 (_dl_runtime_resolve_fxsave): Likewise.
21797 (USE_XSAVE): Likewise.
21798 (_dl_runtime_resolve_xsave): Likewise.
21799 (USE_XSAVEC): Likewise.
21800 (_dl_runtime_resolve_xsavec): Likewise.
21801 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
21803 (_dl_runtime_resolve_avx512_opt): Likewise.
21804 (_dl_runtime_resolve_avx): Likewise.
21805 (_dl_runtime_resolve_avx_opt): Likewise.
21806 (_dl_runtime_resolve_sse): Likewise.
21807 (_dl_runtime_resolve_sse_vex): Likewise.
21808 (_dl_runtime_resolve_fxsave): New.
21809 (_dl_runtime_resolve_xsave): Likewise.
21810 (_dl_runtime_resolve_xsavec): Likewise.
21812 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
21816 * posix/glob.c (__glob): Fix one-byte overflow.
21818 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
21820 * malloc/malloc.c (sysdep-cancel.h): Add include.
21822 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
21824 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
21826 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
21828 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
21829 (tests): Remove $(objpfx)ga_test depdendency.
21830 * resolv/ga_test.c: Remove file.
21832 2017-10-20 Mike FABIAN <mfabian@redhat.com>
21835 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
21836 * localedata/locales/kab_DZ: New file.
21838 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
21840 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
21841 _dl_relocate_static_pie instead of _dl_start to compute load
21842 address in static PIE.
21844 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
21846 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
21848 2017-10-20 Mike FABIAN <mfabian@redhat.com>
21851 * localedata/SUPPORTED: Add shn_MM/UTF-8.
21852 * localedata/locales/shn_MM: New file.
21854 2017-10-20 Florian Weimer <fweimer@redhat.com>
21857 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
21858 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
21859 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
21860 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
21861 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
21862 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
21864 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
21866 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21868 2017-10-19 Joseph Myers <joseph@codesourcery.com>
21870 * sysdeps/mips/ieee754/bits/floatn.h: New file.
21873 * sysdeps/mips/bits/long-double.h: Move to ....
21874 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
21876 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
21878 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
21880 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
21881 H.J. Lu <hongjiu.lu@intel.com>
21884 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
21885 GLRO(dl_platform) to NULL.
21886 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
21887 (modules-names): Add tst-platformmod-1 and
21888 x86_64/tst-platformmod-2.
21889 (CFLAGS-tst-platform-1.c): New.
21890 (CFLAGS-tst-platformmod-1.c): Likewise.
21891 (CFLAGS-tst-platformmod-2.c): Likewise.
21892 (LDFLAGS-tst-platformmod-2.so): Likewise.
21893 ($(objpfx)tst-platform-1): Likewise.
21894 ($(objpfx)tst-platform-1.out): Likewise.
21895 (tst-platform-1-ENV): Likewise.
21896 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
21897 * sysdeps/x86_64/tst-platform-1.c: New file.
21898 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
21899 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
21901 2017-10-19 Mike FABIAN <mfabian@redhat.com>
21904 * locale/iso-639.def: Add Karbi.
21905 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
21906 * localedata/locales/mjw_IN: New file.
21908 2017-10-18 Joseph Myers <joseph@codesourcery.com>
21910 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
21911 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
21912 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
21913 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
21914 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
21915 (libm_alias_ldouble_other_r): Also create _Float128 alias.
21916 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
21918 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
21919 (libm_alias_ldouble_other_r): Also create _Float128 alias.
21920 * manual/math.texi (Mathematics): Document additional architecture
21921 support for _Float128.
21922 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21923 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21924 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21925 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21926 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21927 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21928 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21929 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21930 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21931 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21932 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21933 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21934 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21935 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21936 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21938 2017-10-18 Renlin Li <renlin.li@arm.com>
21940 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
21941 _DYNAMIC symbol to calculate load address.
21943 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
21945 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
21946 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
21948 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
21949 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
21951 2017-10-18 Mike FABIAN <mfabian@redhat.com>
21954 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
21955 and improve readability by using more ASCII.
21956 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
21957 and improve readability by using more ASCII.
21959 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
21961 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
21962 not all targets support atomics on bool.
21964 2017-10-17 Joseph Myers <joseph@codesourcery.com>
21966 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
21967 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
21969 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
21970 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
21971 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
21972 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
21973 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
21974 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
21976 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21978 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
21981 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
21984 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
21985 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
21986 (do_check_remalloced_chunk): Fix build bug.
21987 (do_check_malloc_state): Add assert that checks arena->top.
21988 (malloc_consolidate): Remove initialization.
21989 (int_mallinfo): Remove call to malloc_consolidate.
21990 (__libc_mallopt): Clarify why malloc_consolidate is needed.
21992 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
21994 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
21995 (have_fastchunks): Remove.
21996 (clear_fastchunks): Remove.
21997 (set_fastchunks): Remove.
21998 (malloc_state): Add have_fastchunks.
21999 (malloc_init_state): Use have_fastchunks.
22000 (do_check_malloc_state): Remove incorrect invariant checks.
22001 (_int_malloc): Use have_fastchunks.
22002 (_int_free): Likewise.
22003 (malloc_consolidate): Likewise.
22005 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
22007 * malloc/malloc.c (tcache_put): Inline.
22008 (tcache_get): Inline.
22010 2017-10-17 Jordi Mallach <jordi@gnu.org>
22012 Aurelien Jarno <aurelien@aurel32.net>
22014 * localedata/locales/ca_ES@valencia: New file.
22015 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
22017 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
22020 * math/math.h: Let signbit use the builtin in C++ mode with gcc
22023 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22025 * scripts/build-many-glibcs.py (Context.add_all_configs):
22026 Add arm-linux-gnueabihf multiarch extra_glibcs.
22028 * sysdeps/generic/ifunc-init.h: New file.
22029 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
22031 2017-10-17 Mike FABIAN <mfabian@redhat.com>
22034 * localedata/locales/el_GR: Set n_cs_precedes to 0.
22035 * localedata/locales/el_CY: copy "el_GR" because it is identical.
22036 * stdlib/tst-strfmon_l.c: adapt test case.
22038 2017-10-16 Joseph Myers <joseph@codesourcery.com>
22040 * sysdeps/generic/float128-abi.h: New file.
22041 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
22042 non-__prefixed symbols to ....
22043 * math/Versions: ... here. Include <float128-abi.h>.
22044 * stdlib/Versions ... and here. Include <float128-abi.h>
22046 2017-10-16 Florian Weimer <fweimer@redhat.com>
22048 * version.h (VERSION): Switch to ".9000" as the development
22051 2017-10-16 Florian Weimer <fweimer@redhat.com>
22054 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
22055 compat_symbol_reference to access non-default version.
22057 2017-10-16 Florian Weimer <fweimer@redhat.com>
22059 * malloc/Makefile (others-extras): Set to mcheck-init.o.
22061 2017-10-16 Carlos O'Donell <carlos@redhat.com>
22063 * include/shlib-compat.h (compat_symbol_reference): Update
22066 2017-10-16 Joseph Myers <joseph@codesourcery.com>
22068 * math/Makefile (test-types): Add
22069 $(type-float128-$(float128-alias-fcts)).
22070 * math/test-float128.h (TYPE_STR): Define conditional on
22071 [FLT128_MANT_DIG == LDBL_MANT_DIG].
22072 (ULP_IDX): Likewise.
22073 (ULP_I_IDX): Likewise.
22075 * stdlib/strtold.c: Include <bits/floatn.h>
22076 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
22077 and later undefine as macro. Define as weak alias if
22079 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
22080 and later undefine as macro. Define as weak alias if
22082 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
22083 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
22084 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22085 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
22086 Define and later undefine as macro. Define as weak alias if
22088 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
22090 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
22091 Define and later undefine as macro. Define as weak alias if
22093 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
22094 Define and later undefine as macro. Define as weak alias if
22097 2017-10-15 Carlos O'Donell <carlos@redhat.com>
22099 * localedata/collate-test.c (allocate_arrays): Don't use \n in
22100 record_verbose messages.
22102 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
22105 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
22106 to silence -O3 -Wall warning with GCC 7.
22108 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
22110 * Makeconfig (+link-static-before-libc): Use the first of
22111 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
22112 * gmon/Makefile (tests): Add tst-gmon-static.
22113 (tests-static): Likewise.
22114 (CFLAGS-tst-gmon-static.c): New.
22115 (CRT-tst-gmon-static): Likewise.
22116 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
22117 (tst-gmon-static-ENV): Likewise.
22118 (tests-special): Likewise.
22119 ($(objpfx)tst-gmon-static.out): Likewise.
22120 (clean-tst-gmon-static-data): Likewise.
22121 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
22122 * gmon/tst-gmon-static-gprof.sh: New file.
22123 * gmon/tst-gmon-static.c: Likewise.
22125 2017-10-13 Carlos O'Donell <carlos@redhat.com>
22128 * locale/programs/linereader.c (get_string): Don't warn on
22129 non-symbolic character.
22132 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
22136 * locale/programs/record-status.h: New file
22137 * locale/programs/locale.c: Add comment.
22138 * locale/programs/charmap-dir.c: Don't include error.h.
22139 (charmap_opendir): Use record_error.
22140 * locale/programs/charmap.c: Don't include error.h.
22141 (charmap_read): Use record_error, and record_warning.
22142 (parse_charmap): Likewise.
22143 * locale/programs/ld-address.c: Don't include error.h.
22144 (address_finish): Use record_error, and record_warning.
22145 * locale/programs/ld-collate.c: Don't include error.h.
22146 (collate_finish): Use record_error, and record_error_at_line.
22147 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
22148 (ctype_class_new): Likewise.
22149 (ctype_map_new): Likewise.
22150 (set_one_default): Likewise.
22151 (set_class_defaults): Likewise.
22152 (translit_flatten): Likewise.
22153 (allocate_arrays): Use record_error, and record_verbose.
22154 * locale/programs/ld-identification.c: Don't include error.h.
22155 (indentation_finish): Use record_error and record_warning.
22156 * locale/programs/ld-measurement.c: Don't include error.h.
22157 (measurement_finish): Use record_error.
22158 * locale/programs/ld-messages.c
22159 (message_finish): Likewise.
22160 * locale/programs/ld-monetary.c
22161 (monetary_finish): Likewise.
22162 * locale/programs/ld-name.c (name_finish): Use record_error
22163 and record_warning.
22164 * locale/programs/ld-numeric.c
22165 (numeric_finish): Use record_error.
22166 * locale/programs/ld-paper.c: Don't include error.h.
22167 (paper_finish): Use record_error.
22168 * locale/programs/ld-telephone.c: Don't include error.h.
22169 (telephone_finish): Use record_error.
22170 * locale/programs/ld-time.c (time_finish): Likewise.
22171 * locale/programs/linereader.h (lr_error): Make inline func.
22172 * locale/programs/localedef.c: Define recorded_warning_count,
22173 and recorded_error_count.
22174 (main): Use record_error. Use recorded_error_count and
22175 recorded_warning_count to issue correct error returns.
22176 (add_to_readlist): Use record_error.
22177 (find_locale): Likewise.
22178 (load_locale): Likewise.
22179 * locale/programs/localedef.h: Remove be_quiet
22180 and WITH_CUR_LOCALE.
22181 * locale/programs/locarchive.c (compare_from_file): Use
22183 * locale/programs/locfile.c (write_locale_data): Use
22185 * locale/programs/repertoire.c: Dont include error.h.
22186 (repertoire_complain): Use record_error.
22187 * localedata/tst-fmon.sh: Expect failures from localedef.
22188 * localedata/tst-locale.sh: Likewise.
22189 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
22191 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
22192 (REPORTS): Likewise.
22194 (i18n): Rename to...
22195 (i18n_ctype): ...this.
22196 (i18n-report): Rename to...
22197 (i18n_ctype-report): ...this.
22198 * localedata/locales/i18n_ctype: Regenerate.
22199 * localedata/locales/i18n: copy i18n_ctype.
22201 2017-10-13 Joseph Myers <joseph@codesourcery.com>
22203 * stdlib/strfroml.c: Include <bits/floatn.h>.
22204 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
22205 Define before include of <stdlib.h> and undefine afterwards, then
22206 define as weak alias.
22208 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
22209 Undefine and restore default definition. Use
22210 libm_alias_ldouble_other.
22212 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
22215 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
22218 2017-10-13 James Clarke <jrtc27@jrtc27.com>
22220 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22221 Assign sym_map to be map for local symbols, as TLS relocations
22222 use sym_map to determine whether the symbol is defined and to
22223 extract the TLS information.
22224 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22225 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22227 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22230 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
22231 (math_force_eval): Add powerpc version.
22234 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
22236 (do_test): Likewise.
22237 * stdio-common/tst-printf.sh: Likewise.
22238 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
22239 ifdef clause in order to set the carry bit right. Replace r0 by
22240 0 without changing the behavior.
22242 2017-10-13 Joseph Myers <joseph@codesourcery.com>
22244 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
22245 <libm-alias-ldouble.h>.
22246 (fabsl): Define using libm_alias_ldouble.
22247 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
22248 <libm-alias-ldouble.h>.
22249 (fabsl): Define using libm_alias_ldouble.
22251 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
22252 Remove conditional code.
22254 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
22255 Rename to __clog10_internal_l.
22256 (__clog10_internal_l): Define aliases using
22257 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
22260 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22262 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
22263 * benchtests/sincosf-inputs: New file.
22264 * benchtests/cosf-inputs: New file.
22265 * benchtests/sinf-inputs: New file.
22267 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
22269 * posix/tst-spawn.c (do_test): Wait for both children.
22271 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
22274 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
22275 tests-pie): Add tst-gmon-pie.
22276 (CFLAGS-tst-gmon-pie.c): New.
22277 (CRT-tst-gmon-pie): Likewise.
22278 (tst-gmon-pie-ENV): Likewise.
22279 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
22280 ($(objpfx)tst-gmon-pie.out): Likewise.
22281 (clean-tst-gmon-pie-data): Likewise.
22282 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
22283 * gmon/gmon.c [PIC]: Include <link.h>.
22284 [PIC] (callback): New function.
22285 (write_hist): Add an argument for load address. Subtract load
22287 (write_call_graph): Likewise.
22288 (write_gmon): Call __dl_iterate_phdr to get load address, pass
22289 it to write_hist and write_call_graph.
22290 * gmon/tst-gmon-pie.c: New file.
22292 2017-10-11 Joseph Myers <joseph@codesourcery.com>
22294 * math/Makefile (test-types-basic): New variable.
22295 (test-types): Likewise.
22296 (libm-test-support): Use $(test-types) instead of $(types).
22297 (libm-tests-base-normal): Likewise.
22298 (libm-tests-base-finite): Likewise.
22299 (libm-tests-base-inline): Likewise.
22300 (generated): Likewise.
22301 ($(objpfx)libm-test-support-$(t).c): Likewise.
22302 (libm-tests-for-type iterator): Likewise.
22303 (libm-test-support iterator): Likewise.
22304 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
22305 (ulp_idx): Use ULP_IDX.
22306 * math/test-ldouble.h: Include <float.h>.
22307 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
22308 (ULP_IDX): New macro.
22309 (ULP_I_IDX): Likewise.
22310 * math/test-double.h (ULP_IDX): Likewise.
22311 (ULP_I_IDX): Likewise.
22312 * math/test-float.h (ULP_IDX): Likewise.
22313 (ULP_I_IDX): Likewise.
22314 * math/test-float128.h (ULP_IDX): Likewise.
22315 (ULP_I_IDX): Likewise.
22317 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22319 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
22320 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22321 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22322 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
22323 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22324 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
22325 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
22326 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22327 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22328 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22329 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
22330 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22331 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22332 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22333 (SINGLE_THREAD_BY_GLOBAL): Define.
22334 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
22336 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
22338 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
22340 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
22342 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
22343 (SINGLE_THREAD_BY_GLOBAL): Likewise.
22344 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
22347 2017-10-11 Andreas Schwab <schwab@suse.de>
22349 * nis/Makefile (aux): Remove.
22350 * nscd/Makefile (aux): Add nscd_hash.
22351 (nscd-modules): Likewise.
22352 ($(objpfx)nscd): Don't depend on libnsl.
22353 * nscd/nscd_hash.c: New file.
22354 * nscd/nscd_hash.h: Likewise.
22355 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
22356 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
22357 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
22358 instead of <nis/rpcsvc/nis.h>.
22359 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
22361 2017-10-11 Florian Weimer <fweimer@redhat.com>
22364 Avoid large NSS buffers with many addresses, aliases.
22365 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
22366 using dynarrays and struct alloc_buffer.
22367 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
22368 (tst-nss-files-hosts-multi): Link with -ldl.
22369 * nss/tst-nss-files-hosts-multi.c: New file.
22371 2017-10-11 Florian Weimer <fweimer@redhat.com>
22374 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
22375 scratch_buffer. Eliminate gotos.
22377 2017-10-11 Joseph Myers <joseph@codesourcery.com>
22379 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
22380 libm_alias_ldouble_other.
22381 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
22382 undefine and redefine.
22383 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
22384 (exp10l): Do not define here.
22385 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
22386 (weak_alias): Undefine and redefine.
22387 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
22388 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
22389 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
22390 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
22392 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
22393 [!__fma] (fma): Define using libm_alias_double.
22394 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
22395 [!__fmaf] (fmaf): Define using libm_alias_float.
22396 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
22397 (fmal): Define using libm_alias_ldouble.
22399 2017-10-10 Joseph Myers <joseph@codesourcery.com>
22401 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
22403 (libm_alias_double_other): Likewise.
22404 (libm_alias_double_r): Use libm_alias_double_other_r.
22405 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
22407 (libm_alias_float_other): Likewise.
22408 (libm_alias_float_r): Use libm_alias_float_other_r.
22409 * sysdeps/generic/libm-alias-float128.h
22410 (libm_alias_float128_other_r): New macro.
22411 (libm_alias_float128_other): Likewise.
22412 (libm_alias_float128_r): Use libm_alias_float128_other_r.
22413 * sysdeps/generic/libm-alias-ldouble.h
22414 (libm_alias_ldouble_other_r): New macro.
22415 (libm_alias_ldouble_other): Likewise.
22416 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
22417 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
22418 (libm_alias_double_other_r): New macro.
22419 (libm_alias_double_other): Likewise.
22420 (libm_alias_double_r): Use libm_alias_double_other_r.
22421 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
22422 (libm_alias_ldouble_other_r): New macro.
22423 (libm_alias_ldouble_other): Likewise.
22424 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
22425 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
22426 [!USE_AS_COMPAT]: Use libm_alias_double_other.
22427 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
22428 [!USE_AS_COMPAT]: Use libm_alias_float_other.
22429 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
22430 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
22431 * math/w_exp2f.c: Use libm_alias_float_other.
22432 * math/w_expf.c: Likewise.
22433 * math/w_log2f.c: Likewise.
22434 * math/w_logf.c: Likewise.
22435 * math/w_powf.c: Likewise.
22436 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
22437 [!__exp2f]: Use libm_alias_float_other.
22438 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
22439 [!__expf]: Use libm_alias_float_other.
22440 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
22441 [!__log2f]: Use libm_alias_float_other.
22442 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
22443 [!__logf]: Use libm_alias_float_other.
22444 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
22445 [!__powf]: Use libm_alias_float_other.
22447 2017-10-10 Florian Weimer <fweimer@redhat.com>
22449 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
22451 (_nss_files_gethostbyname3_r): Call it.
22453 2017-10-09 Joseph Myers <joseph@codesourcery.com>
22455 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
22456 error. Remove default definition of declare_mgen_alias.
22457 [!declare_mgen_alias_r]: Likewise.
22458 * sysdeps/generic/math-type-macros-double.h
22459 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
22460 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
22461 (declare_mgen_alias_r): Likewise.
22462 * sysdeps/generic/math-type-macros-float128.h
22463 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
22464 * sysdeps/generic/math-type-macros-ldouble.h
22465 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
22466 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
22468 (declare_mgen_alias_r_s): Likewise.
22469 (declare_mgen_alias_r): Likewise.
22470 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
22471 (lgamma_r): Define using libm_alias_double_r.
22472 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
22473 (lgammaf_r): Define using libm_alias_float_r.
22474 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
22475 (lgammal_r): Define using libm_alias_ldouble_r.
22476 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
22477 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
22479 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22481 * lib/glob.c (__glob_pattern_type): Remove now-spurious
22482 extern declaration.
22484 2017-10-09 Joseph Myers <joseph@codesourcery.com>
22486 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
22488 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
22491 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
22492 [__cplusplus >= 201103] (__USE_ISOC99): Define.
22493 * math/Makefile (test-math-cxx11): New test.
22494 * math/test-math-cxx11.cc: New file.
22496 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
22498 * login/openpty.c (openpty): Close slave pty file descriptor on error.
22500 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
22501 call to allocate the slave pty file descriptor.
22503 2017-10-06 Joseph Myers <joseph@codesourcery.com>
22505 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
22506 [!__fma] (fma): Define using libm_alias_double.
22507 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
22508 [!__fma] (fma): Define using libm_alias_double.
22510 * sysdeps/ieee754/float128/float128_private.h: Include
22511 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
22512 (libm_alias_ldouble_r): Undefine and redefine.
22513 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
22514 <libm-alias-ldouble.h>.
22515 (asinhl): Define using libm_alias_ldouble.
22516 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
22517 <libm-alias-ldouble.h>.
22518 (atanl): Define using libm_alias_ldouble.
22519 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
22520 <libm-alias-ldouble.h>.
22521 (cbrtl): Define using libm_alias_ldouble.
22522 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
22523 <libm-alias-ldouble.h>.
22524 (ceill): Define using libm_alias_ldouble.
22525 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
22526 <libm-alias-ldouble.h>.
22527 (copysignl): Define using libm_alias_ldouble.
22528 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
22529 <libm-alias-ldouble.h>.
22530 (cosl): Define using libm_alias_ldouble.
22531 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
22532 <libm-alias-ldouble.h>.
22533 (erfl): Define using libm_alias_ldouble.
22535 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
22536 <libm-alias-ldouble.h>.
22537 (expm1l): Define using libm_alias_ldouble.
22538 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
22539 <libm-alias-ldouble.h>.
22540 (fabsl): Define using libm_alias_ldouble.
22541 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
22542 <libm-alias-ldouble.h>.
22543 (floorl): Define using libm_alias_ldouble.
22544 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
22545 <libm-alias-ldouble.h>.
22546 (fmal): Define using libm_alias_ldouble.
22547 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
22548 <libm-alias-ldouble.h>.
22549 (frexpl): Define using libm_alias_ldouble.
22550 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
22551 libm_alias_ldouble.
22552 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
22553 <libm-alias-ldouble.h>.
22554 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
22555 libm_alias_ldouble.
22556 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
22557 <libm-alias-ldouble.h>.
22558 (getpayloadl): Define using libm_alias_ldouble.
22559 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
22560 <libm-alias-ldouble.h>.
22561 (llrintl): Define using libm_alias_ldouble.
22562 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
22563 <libm-alias-ldouble.h>.
22564 (llroundl): Define using libm_alias_ldouble.
22565 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
22566 <libm-alias-ldouble.h>.
22567 (logbl): Define using libm_alias_ldouble.
22568 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
22569 <libm-alias-ldouble.h>.
22570 (lrintl): Define using libm_alias_ldouble.
22571 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
22572 <libm-alias-ldouble.h>.
22573 (lroundl): Define using libm_alias_ldouble.
22574 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
22575 <libm-alias-ldouble.h>.
22576 (modfl): Define using libm_alias_ldouble.
22577 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
22578 <libm-alias-ldouble.h>.
22579 (nearbyintl): Define using libm_alias_ldouble.
22580 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
22581 <libm-alias-ldouble.h>.
22582 (nextafterl): Define using libm_alias_ldouble.
22583 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
22584 <libm-alias-ldouble.h>.
22585 (nextupl): Define using libm_alias_ldouble.
22586 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
22587 <libm-alias-ldouble.h>.
22588 (remquol): Define using libm_alias_ldouble.
22589 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
22590 <libm-alias-ldouble.h>.
22591 (rintl): Define using libm_alias_ldouble.
22592 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
22593 <libm-alias-ldouble.h>.
22594 (roundevenl): Define using libm_alias_ldouble.
22595 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
22596 <libm-alias-ldouble.h>.
22597 (roundl): Define using libm_alias_ldouble.
22598 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
22599 using libm_alias_ldouble.
22600 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
22601 <libm-alias-ldouble.h>.
22602 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
22603 Define using libm_alias_ldouble.
22604 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
22605 <libm-alias-ldouble.h>.
22606 (sincosl): Define using libm_alias_ldouble.
22607 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
22608 <libm-alias-ldouble.h>.
22609 (sinl): Define using libm_alias_ldouble.
22610 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
22611 <libm-alias-ldouble.h>.
22612 (tanhl): Define using libm_alias_ldouble.
22613 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
22614 <libm-alias-ldouble.h>.
22615 (tanl): Define using libm_alias_ldouble.
22616 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
22617 <libm-alias-ldouble.h>.
22618 (totalorderl): Define using libm_alias_ldouble.
22619 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
22620 <libm-alias-ldouble.h>.
22621 (totalordermagl): Define using libm_alias_ldouble.
22622 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
22623 <libm-alias-ldouble.h>.
22624 (truncl): Define using libm_alias_ldouble.
22625 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
22626 libm_alias_ldouble.
22627 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
22628 libm_alias_ldouble.
22629 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
22630 <libm-alias-ldouble.h>.
22631 (weak_alias): Do not undefine and redefine.
22632 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
22633 (copysignl): Define with long_double_symbol only if [IS_IN
22635 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
22636 <libm-alias-ldouble.h>.
22637 (weak_alias): Do not undefine and redefine.
22638 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
22639 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
22640 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
22641 <libm-alias-ldouble.h>.
22642 (weak_alias): Do not undefine and redefine.
22643 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
22644 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
22645 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
22646 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
22647 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
22648 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
22649 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
22650 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
22651 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
22652 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
22653 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
22654 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
22655 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
22656 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
22657 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
22658 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
22659 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
22660 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
22661 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
22662 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
22663 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
22664 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
22665 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
22666 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
22667 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
22668 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
22670 2017-10-06 Carlos O'Donell <carlos@redhat.com>
22673 * malloc/malloc.c (tcache_shutting_down): Use bool type.
22674 (tcache_thread_freeres): Set tcache_shutting_down before
22675 freeing the tcache.
22676 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
22677 * malloc/tst-malloc-tcache-leak.c: New file.
22679 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22681 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
22682 back to powerpc32 file.
22683 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
22684 (memrchr): Add __memrchr_power8 to ifunc list.
22685 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
22686 extra bytes for unaligned inputs.
22688 2017-10-06 Joseph Myers <joseph@codesourcery.com>
22690 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
22691 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
22692 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
22693 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
22694 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
22696 2017-10-05 Joseph Myers <joseph@codesourcery.com>
22698 * sysdeps/arm/libm-test-ulps: Update.
22700 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
22701 <libm-alias-ldouble.h>.
22702 (asinhl): Define using libm_alias_ldouble.
22703 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
22704 <libm-alias-ldouble.h>.
22705 (cbrtl): Define using libm_alias_ldouble.
22706 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
22707 <libm-alias-ldouble.h>.
22708 (copysignl): Define using libm_alias_ldouble.
22709 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
22710 <libm-alias-ldouble.h>.
22711 (cosl): Define using libm_alias_ldouble.
22712 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
22713 <libm-alias-ldouble.h>.
22714 (erfl): Define using libm_alias_ldouble.
22716 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
22717 <libm-alias-ldouble.h>.
22718 (fmal): Define using libm_alias_ldouble.
22719 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
22720 <libm-alias-ldouble.h>.
22721 (frexpl): Define using libm_alias_ldouble.
22722 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
22723 libm_alias_ldouble.
22724 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
22725 <libm-alias-ldouble.h>.
22726 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
22727 libm_alias_ldouble.
22728 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
22729 <libm-alias-ldouble.h>.
22730 (getpayloadl): Define using libm_alias_ldouble.
22731 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
22732 <libm-alias-ldouble.h>.
22733 (llrintl): Define using libm_alias_ldouble.
22734 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
22735 <libm-alias-ldouble.h>.
22736 (llroundl): Define using libm_alias_ldouble.
22737 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
22738 <libm-alias-ldouble.h>.
22739 (lrintl): Define using libm_alias_ldouble.
22740 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
22741 <libm-alias-ldouble.h>.
22742 (lroundl): Define using libm_alias_ldouble.
22743 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
22744 <libm-alias-ldouble.h>.
22745 (modfl): Define using libm_alias_ldouble.
22746 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
22747 <libm-alias-ldouble.h>.
22748 (nextupl): Define using libm_alias_ldouble.
22749 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
22750 <libm-alias-ldouble.h>.
22751 (remquol): Define using libm_alias_ldouble.
22752 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
22753 <libm-alias-ldouble.h>.
22754 (roundevenl): Define using libm_alias_ldouble.
22755 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
22756 <libm-alias-ldouble.h>.
22757 (roundl): Define using libm_alias_ldouble.
22758 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
22759 using libm_alias_ldouble.
22760 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
22761 <libm-alias-ldouble.h>.
22762 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
22763 <libm-alias-ldouble.h>.
22764 (setpayloadsigl): Define using libm_alias_ldouble.
22765 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
22766 <libm-alias-ldouble.h>.
22767 (sincosl): Define using libm_alias_ldouble.
22768 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
22769 <libm-alias-ldouble.h>.
22770 (sinl): Define using libm_alias_ldouble.
22771 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
22772 <libm-alias-ldouble.h>.
22773 (tanhl): Define using libm_alias_ldouble.
22774 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
22775 <libm-alias-ldouble.h>.
22776 (tanl): Define using libm_alias_ldouble.
22777 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
22778 <libm-alias-ldouble.h>.
22779 (totalorderl): Define using libm_alias_ldouble.
22780 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
22781 <libm-alias-ldouble.h>.
22782 (totalordermagl): Define using libm_alias_ldouble.
22783 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
22784 libm_alias_ldouble.
22785 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
22786 libm_alias_ldouble.
22788 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
22790 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
22792 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
22793 (__libc_ifunc_impl_list): Likewise.
22794 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
22795 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
22797 * benchtests/bench-memmove-walk.c: New file.
22798 * benchtests/Makefile (string-benchset): Add it.
22800 * benchtests/bench-memset-walk.c: New file.
22801 * benchtests/Makefile (string-benchset): Add it.
22803 * benchtests/bench-memcpy-walk.c: New file.
22804 * benchtests/Makefile (string-benchset): Add it.
22806 2017-10-05 Florian Weimer <fweimer@redhat.com>
22808 nscd: Eliminate compilation time dependency in the build output.
22809 * nscd/nscd_stat.c (STATDATA_VERSION)
22810 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
22811 (STATDATA_VERSION_FULL): New macro definitions.
22812 (compilation): Remove.
22813 (struct statdata): Adjust version member.
22814 (send_stats): Set version from STATDATA_VERSION_FULL.
22815 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
22817 2017-10-05 Joseph Myers <joseph@codesourcery.com>
22819 * configure.ac (--enable-add-ons): Remove option.
22820 (machine): Do not mention add-ons in comment.
22821 (LIBC_PRECONFIGURE): Likewise.
22822 (add_ons): Remove variable and sanity checks and logic to locate
22824 (add_ons_automatic): Remove variable.
22825 (configured_add_ons): Likewise.
22826 (add_ons_sfx): Likewise.
22827 (add_ons_pfx): Likewise.
22828 (add_on_subdirs): Likewise.
22829 (sysnames_add_ons): Likewise. Remove loop over add-ons and
22830 consideration of add-ons in Implies handling.
22831 (sysdeps_add_ons): Likewise.
22832 * configure: Regenerated.
22833 * libidn/configure.ac: Remove.
22834 * libidn/configure: Likewise.
22835 * sysdeps/unix/inet/configure.ac: New file.
22836 * sysdeps/unix/inet/configure: New generated file.
22837 * sysdeps/unix/inet/Subdirs: Add libidn.
22838 * Makeconfig (sysdeps-srcdirs): Remove variable.
22839 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
22840 ($(common-objpfx)config.status): Do not depend on add-on files.
22841 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
22843 (all-subdirs): Do not include $(add-on-subdirs).
22844 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
22845 * config.make.in (add-ons): Remove variable.
22846 (add-on-subdirs): Likewise.
22847 (sysdeps-add-ons): Likewise.
22848 * manual/Makefile (add-chapters): Remove.
22849 ($(objpfx)texis): Do not depend on $(add-chapters).
22850 (nonexamples): Do not handle $(add-chapters).
22851 (examples): Do not handle $(add-ons).
22852 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
22854 * manual/install.texi (Installation): Do not mention add-ons.
22855 (--enable-add-ons): Do not document configure option.
22856 * INSTALL: Regenerated.
22857 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
22858 * manual/maint.texi (Hierarchy Conventions): Do not mention
22860 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
22862 * scripts/gen-sorted.awk: Do not handle Subdirs files from
22864 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
22865 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
22867 2017-10-05 Andreas Schwab <schwab@suse.de>
22870 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
22871 (_IO_flush_all_lockp): Always lock list_all_lock.
22872 (_IO_flush_all_linebuffered): Likewise.
22873 (_IO_unbuffer_all): Likewise.
22875 2017-10-05 Florian Weimer <fweimer@redhat.com>
22878 Do not flush stdio streams on abort.
22879 * stdlib/abort.c (fflush): Remove macro definition.
22880 (abort): Remove stages related to stdio flushing.
22882 2017-10-05 Florian Weimer <fweimer@redhat.com>
22884 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
22886 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
22888 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22890 2017-10-05 Florian Weimer <fweimer@redhat.com>
22892 * support/support_format_hostent.c (support_format_hostent): Add
22893 more error information for NETDB_INTERNAL.
22895 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
22897 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
22898 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
22899 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
22900 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
22901 AC_DEFINE if multi-arch is enabled.
22902 * sysdeps/i386/configure: Regenerated.
22904 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
22906 * Makeconfig (+link-static-before-libc): Use
22907 $(DEFAULT-LDFLAGS-$(@F)).
22908 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
22909 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
22910 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
22912 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
22914 * elf/Makefile (tests): Add tst-main1.
22915 (modules-names): Add tst-main1mod.
22916 ($(objpfx)tst-main1): New.
22917 (CRT-tst-main1): Likewise.
22918 (LDFLAGS-tst-main1): Likewise.
22919 (LDLIBS-tst-main1): Likewise.
22920 (tst-main1mod.so-no-z-defs): Likewise.
22921 * elf/tst-main1.c: New file.
22922 * elf/tst-main1mod.c: Likewise.
22924 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
22926 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
22928 2017-10-04 Joseph Myers <joseph@codesourcery.com>
22930 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
22931 (fma): Define using libm_alias_double.
22932 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
22933 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
22935 (fmal): Do not define as compat symbol here.
22936 * sysdeps/alpha/fpu/s_fma.c: New file.
22938 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
22940 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
22942 2017-10-04 Joseph Myers <joseph@codesourcery.com>
22945 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
22947 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
22949 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
22950 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22951 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
22952 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
22953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22954 Include <math_ldbl_opt.h>
22955 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
22957 (compat_symbol): Undefine and redefine.
22958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
22960 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
22961 (compat_symbol): Undefine and redefine.
22962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
22963 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
22964 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
22965 GLIBC_2_1 for libm.
22966 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
22967 GLIBC_2.0 copysignl symbol.
22968 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
22969 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
22971 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
22973 2017-10-04 Florian Weimer <fweimer@redhat.com>
22975 * scripts/check-local-headers.sh: Ignore nspr4 header file
22976 directory in addition to nspr.
22978 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
22981 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
22982 * configure: Regenerate.
22983 * crypt/Makefile (nss-cpp-flags): New variable.
22984 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
22985 (CPPFLAGS-md5-crypt.c): Use it.
22986 * scripts/check-local-headers.sh: Ignore nspr header file
22989 2017-10-04 Andreas Schwab <schwab@suse.de>
22991 * nis/Makefile (services): Remove compat.
22992 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
22993 ($(objpfx)libnss_compat.so): Remove rule.
22994 * nis/Versions (libnss_compat): Remove.
22995 * nss/Makefile (services): Add compat.
22996 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
22997 * nss/Versions (libnss_compat): Define.
22998 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
22999 Don't include <rpc/types.h>. Replace bool_t by bool.
23000 * nss/nss_compat/compat-initgroups.c: Likewise.
23001 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
23002 instead of <rpcsrv/ypclnt.h>.
23003 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
23004 yp_get_default_domain.
23005 * nss/nss_compat/compat-pwd.c: Likewise.
23006 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
23007 yp_get_default_domain.
23008 * nss/nss_compat/nisdomain.c: New file.
23009 * nss/nss_compat/nisdomain.h: Likewise.
23011 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
23014 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
23015 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
23017 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
23020 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
23021 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
23023 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
23025 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
23026 "movl main@GOTOFF(%ebx), %eax".
23028 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
23030 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
23031 allow undefined _DYNAMIC in PIE libc.a.
23032 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
23035 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
23037 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
23040 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
23042 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
23045 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
23047 * math/test-math-iscanonical.cc (error): Replace bool with int.
23049 2017-10-03 Joseph Myers <joseph@codesourcery.com>
23051 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
23052 (modf): Define using libm_alias_double, only if [!__modf].
23053 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
23054 <libm-alias-double.h>.
23055 (modf): Define using libm_alias_double, only if [!__modf].
23056 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
23057 compat symbol here.
23058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
23059 (weak_alias): Do not undefine and redefine.
23060 (strong_alias): Likewise.
23061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
23062 (weak_alias): Likewise.
23063 (strong_alias): Likewise.
23065 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
23066 (logb): Define using libm_alias_double, only if [!__logb].
23067 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
23068 <libm-alias-double.h>.
23069 (logb): Define using libm_alias_double, only if [!__logb].
23070 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
23071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
23072 (weak_alias): Do not undefine and redefine.
23073 (strong_alias): Likewise.
23074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
23075 (weak_alias): Likewise.
23076 (strong_alias): Likewise.
23078 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
23080 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
23081 Check SHARED instead PIC.
23083 2017-10-03 Joseph Myers <joseph@codesourcery.com>
23085 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
23086 [!__fmaf] (fmaf): Define using libm_alias_float.
23088 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
23089 (frexp): Define using libm_alias_double.
23090 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
23091 <libm-alias-double.h>.
23092 (frexp): Define using libm_alias_double.
23093 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
23094 compat symbol here.
23096 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23099 * math/math.h: Trivial fix for unbalanced parentheses in comment.
23100 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
23101 (CFLAGS-test-math-iscanonical.cc): New variable.
23102 * math/test-math-iscanonical.cc: New file.
23103 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
23104 Provide a C++ implementation based on function overloading,
23105 rather than using __MATH_TG, which uses C-only builtins.
23106 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
23108 * sysdeps/powerpc/powerpc64le/Makefile
23109 (CFLAGS-test-math-iscanonical.cc): New variable.
23111 2017-10-03 Joseph Myers <joseph@codesourcery.com>
23113 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
23114 (ceil): Define using libm_alias_double.
23115 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
23116 (floor): Define using libm_alias_double.
23117 * sysdeps/ieee754/dbl-64/s_llround.c: Include
23118 <libm-alias-double.h>.
23119 (llround): Define using libm_alias_double.
23120 * sysdeps/ieee754/dbl-64/s_lround.c: Include
23121 <libm-alias-double.h>.
23122 (lround): Define using libm_alias_double.
23123 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
23124 <libm-alias-double.h>.
23125 (nearbyint): Define using libm_alias_double.
23126 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
23127 <libm-alias-double.h>.
23128 (remquo): Define using libm_alias_double.
23129 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
23130 (rint): Define using libm_alias_double.
23131 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
23132 (round): Define using libm_alias_double.
23133 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
23134 (trunc): Define using libm_alias_double.
23135 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
23136 <libm-alias-double.h>.
23137 (ceil): Define using libm_alias_double.
23138 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
23139 <libm-alias-double.h>.
23140 (floor): Define using libm_alias_double.
23141 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
23142 <libm-alias-double.h>.
23143 (llround): Define using libm_alias_double.
23144 [_LP64] (lround): Likewise.
23145 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
23146 <libm-alias-double.h>.
23147 [!_LP64] (lround): Define using libm_alias_double.
23148 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
23149 <libm-alias-double.h>.
23150 (nearbyint): Define using libm_alias_double.
23151 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
23152 <libm-alias-double.h>.
23153 (remquo): Define using libm_alias_double.
23154 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
23155 <libm-alias-double.h>.
23156 (rint): Define using libm_alias_double.
23157 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
23158 <libm-alias-double.h>.
23159 (round): Define using libm_alias_double.
23160 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
23161 <libm-alias-double.h>.
23162 (trunc): Define using libm_alias_double.
23163 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
23164 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
23165 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
23166 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
23167 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
23168 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
23169 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
23170 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
23171 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
23173 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23175 * math/w_remainder.c: New file.
23176 * math/w_remainderf.c: New file.
23177 * math/w_remainderl.c: New file.
23179 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
23181 * elf/rtld.c (BOOTSTRAP_MAP): New.
23182 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
23183 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
23185 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
23187 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
23190 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
23192 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
23193 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
23194 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
23195 rtld_hidden_data_ver): Define to empty.
23196 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
23197 __assert_perror_fail): Likewise.
23198 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
23199 (__rewinddir): Likewise.
23200 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
23201 (__profile_frequency): Likewise.
23202 * include/setjmp.h (__sigsetjmp): Likewise.
23203 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
23204 __libc_sigaction): Likewise.
23205 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
23206 not set hidden attribute.
23207 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
23208 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
23209 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
23210 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
23211 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
23212 __fxstatat64): Likewise.
23213 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
23214 (__uname): Likewise.
23215 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
23216 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
23217 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
23218 (NO_RTLD_HIDDEN): Set.
23219 * sysdeps/mach/hurd/configure: Refresh.
23220 * config.h.in: Refresh.
23222 2017-10-02 Joseph Myers <joseph@codesourcery.com>
23224 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
23225 (atan): Define using libm_alias_double.
23226 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
23227 (tan): Define using libm_alias_double.
23228 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
23229 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
23231 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
23232 define as weak alias of __atan. Do not define any aliases if
23234 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
23235 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
23236 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
23237 as weak alias of __tan. Do not define any aliases if [__tan].
23238 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
23239 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
23240 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
23242 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
23243 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
23244 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
23245 and define as weak alias of __atan.
23246 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
23248 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
23249 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
23250 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
23251 define as weak alias of __tan.
23253 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
23255 * math/w_lgamma.c: New file.
23256 * math/w_lgammaf.c: New file.
23257 * math/w_lgammal.c: New file.
23259 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
23261 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
23262 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
23263 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
23264 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
23265 * sysdeps/ieee754/flt-32/w_logf.c: New file.
23266 * sysdeps/ieee754/flt-32/w_powf.c: New file.
23267 * sysdeps/i386/fpu/w_log2f.c: New file.
23268 * sysdeps/i386/fpu/w_logf.c: New file.
23269 * sysdeps/i386/fpu/w_powf.c: New file.
23270 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
23271 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
23272 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
23274 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
23275 H.J. Lu <hongjiu.lu@intel.com>
23277 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
23278 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
23279 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
23280 * sysdeps/ieee754/flt-32/w_expf.c: New file.
23281 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
23283 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
23284 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
23285 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
23286 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
23287 * sysdeps/i386/fpu/w_exp2f.c: New file.
23288 * sysdeps/i386/fpu/w_expf.c: New file.
23289 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
23290 * sysdeps/x86_64/fpu/w_expf.c: New file.
23292 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
23294 * math/Versions (logf): New libm symbol at GLIBC_2.27.
23297 * math/w_log2f.c: New file.
23298 * math/w_logf.c: New file.
23299 * math/w_powf.c: New file.
23300 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
23301 * math/w_logf_compat.c (__logf_compat): Likewise.
23302 * math/w_powf_compat.c (__powf_compat): Likewise.
23303 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
23304 * sysdeps/ia64/fpu/e_logf.S: Likewise.
23305 * sysdeps/ia64/fpu/e_powf.S: Likewise.
23306 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
23307 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23308 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23309 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23310 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23311 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23312 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23313 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23314 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23315 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23316 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23317 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23326 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23327 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23328 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23329 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23330 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23333 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23335 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23336 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23337 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23339 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23341 * sysdeps/powerpc/powerpc64/multiarch/Makefile
23342 (sysdep_routines): Add memrchr_power8.
23343 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23344 (memrchr): Add __memrchr_power8 to list of memrchr functions.
23345 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
23347 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
23348 (memrchr): Add __memrchr_power8 to ifunc list.
23349 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
23351 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23354 * sysdeps/unix/sysv/linux/posix_fadvise64.c
23355 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
23357 * sysdeps/unix/sysv/linux/posix_fallocate64.c
23358 (__posix_fallocate64_l64): Likewise.
23360 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23363 * sysdeps/unix/sysv/linux/sched_setaffinity.c
23364 (__sched_setaffinity_new): Add libc_hidden_proto and
23367 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23370 * include/glob.h (__glob64): Add libc_hidden_proto.
23371 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
23374 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23377 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
23380 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23383 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
23385 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23388 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
23391 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23394 * csu/version.c (__libc_print_version): Add attribute_hidden.
23396 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23399 * include/libc-internal.h (__init_misc): Add attribute_hidden.
23401 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23404 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
23406 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23409 * nscd/nscd_helper.c (__nis_hash): New prototype.
23411 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23414 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
23415 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
23417 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23418 * termios/tcgetattr.c (__tcgetattr): Likewise.
23420 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23423 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
23424 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
23425 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
23426 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
23427 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
23429 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23432 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
23434 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23437 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
23438 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
23440 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23443 * intl/hash-string.h (__hash_string): Add attribute_hidden.
23445 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23448 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
23449 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
23451 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23454 * include/ifreq.h: New file.
23455 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
23456 (__ifreq): Likewise.
23457 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
23458 (__ifreq): Likewise.
23460 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23463 * include/idna.h: New file.
23464 * inet/getnameinfo.c: Include <idna.h> instead of
23466 (__idna_to_unicode_lzlz): Removed.
23467 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
23469 (__idna_to_ascii_lz): Removed.
23470 (__idna_to_unicode_lzlz): Likewise.
23472 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23475 * include/plural-exp.h: New file.
23476 * intl/plural-exp.c: Include <plural-exp.h> instead of
23479 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23482 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
23483 "getsourcefilter.h".
23484 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
23485 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
23486 "getsourcefilter.h".
23487 (__get_sol): Removed.
23489 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23492 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
23494 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
23496 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23499 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
23502 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23505 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
23507 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23510 * include/search.h (__tdestroy): Add libc_hidden_proto.
23511 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
23513 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23516 * include/assert.h (__assert_fail_base): Add attribute_hidden.
23518 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23521 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
23524 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23527 * include/signal.h (__kill): Add libc_hidden_proto.
23528 (__sigblock): Likewise.
23529 (__sigprocmask): Likewise.
23530 (__sigaltstack): Likewise.
23531 * signal/kill.c (__kill): Add libc_hidden_def.
23532 * signal/sigblock.c (__sigblock): Likewise.
23533 * signal/sigprocmask.c (__sigprocmask): Likewise.
23534 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
23535 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
23536 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
23537 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
23538 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
23540 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
23542 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
23543 (__sigprocmask): Likewise.
23544 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
23546 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
23547 (__sigprocmask): Likewise.
23548 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
23551 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23554 * include/string.h (__strsep): Add libc_hidden_proto.
23555 * string/strsep.c (__strsep): Add libc_hidden_def.
23557 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23560 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
23562 (__spawni): Likewise.
23564 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23567 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
23568 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
23571 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23574 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
23576 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23579 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
23580 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
23581 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
23582 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
23583 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
23585 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
23586 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
23588 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23591 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
23592 (__dcigettext): Likewise.
23594 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23597 * include/sys/sysinfo.h (__get_nprocs_conf): Add
23599 (__get_nprocs): Likewise.
23600 (__get_phys_pages): Likewise.
23601 (__get_avphys_pages): Likewise.
23602 (__get_child_max): Add attribute_hidden.
23603 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
23604 (__get_nprocs): Likewise.
23605 (__get_phys_pages): Likewise.
23606 (__get_avphys_pages): Likewise.
23607 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
23609 (__get_nprocs): Likewise.
23610 (__get_phys_pages): Likewise.
23611 (__get_avphys_pages): Likewise.
23612 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
23614 (__get_nprocs_conf): Likewise.
23615 (__get_phys_pages): Likewise.
23616 (__get_avphys_pages): Likewise.
23618 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23621 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
23623 (__netlink_close): Likewise.
23624 (__netlink_free_handle): Likewise.
23625 (__netlink_request): Likewise.
23627 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23630 * include/rpc/rpc.h (__rpc_thread_variables): Add
23632 (__rpc_thread_svc_cleanup): Likewise.
23633 (__rpc_thread_clnt_cleanup): Likewise.
23634 (__rpc_thread_key_cleanup): Likewise.
23636 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23639 * include/sys/uio.h (__readv): Add libc_hidden_proto.
23640 (__writev): Likewise.
23641 * misc/readv.c (__readv): Add libc_hidden_def.
23642 * misc/writev.c (__writev): Likewise.
23643 * sysdeps/posix/readv.c (__readv): Likewise.
23644 * sysdeps/posix/writev.c (__writev): Likewise.
23645 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
23646 (__readv): Likewise.
23647 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
23648 (__writev): Likewise.
23650 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23653 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
23654 (__regcomp): Add libc_hidden_proto.
23655 (__regexec): Likewise.
23656 (__regfree): Likewise.
23657 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
23658 (__regfree): Likewise.
23659 * posix/regexec.c (__regexec): Likewise.
23661 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23664 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
23665 (__getutent): Likewise.
23666 (__getutid): Likewise.
23667 (__getutline): Likewise.
23668 (__pututline): Likewise.
23669 (__getutent_r): Likewise.
23670 (__getutid_r): Likewise.
23671 (__getutline_r): Likewise.
23672 (__utmpname): Add attribute_hidden.
23673 (__setutent): Likewise.
23674 (__endutent): Likewise.
23675 * login/getutent.c (__getutent): Add libc_hidden_def.
23676 * login/getutent_r.c (__getutent_r): Likewise.
23677 (__pututline): Likewise.
23678 * login/getutid.c (__getutid): Likewise.
23679 * login/getutid_r.c (__getutid_r): Likewise.
23680 * login/getutline.c (__getutline): Likewise.
23681 * login/getutline_r.c (__getutline_r): Likewise.
23682 * login/updwtmp.c (__updwtmp): Likewise.
23684 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23687 * include/dirent.h (__opendir): Always add attribute_hidden.
23688 (__fdopendir): Likewise.
23689 (__closedir): Likewise.
23690 (__readdir): Likewise.
23691 (__readdir64): Add libc_hidden_proto.
23692 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
23693 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
23694 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
23695 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
23698 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23701 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
23702 * include/netdb.h (__gethostbyaddr_r): Likewise.
23703 (__gethostbyname_r): Likewise.
23704 (__gethostbyname2_r): Likewise.
23705 (__getnetbyaddr_r): Likewise.
23706 (__getnetbyname_r): Likewise.
23707 (__getservbyname_r): Likewise.
23708 (__getservbyport_r): Likewise.
23709 (__getprotobyname_r): Likewise.
23710 (__getprotobynumber_r): Likewise.
23711 (__getnetgrent_r): Likewise.
23712 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
23713 (__getrpcbynumber_r): Likewise.
23714 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
23716 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23719 * include/stdio.h (__fcloseall): Add attribute_hidden.
23720 (__getline): Likewise.
23721 (__path_search): Likewise.
23722 (__gen_tempname): Likewise.
23723 (__libc_message): Likewise.
23724 (__flockfile): Likewise.
23725 (__funlockfile): Likewise.
23726 (__fxprintf): Likewise.
23727 (__fxprintf_nocancel): Likewise.
23729 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23732 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
23733 (__sgetsgent_r): Likewise.
23735 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23738 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
23739 (__statfs64): Likewise.
23740 (__fstatfs64): Likewise.
23741 * include/sys/statvfs.h (__statvfs64): Likewise.
23742 (__fstatvfs64): Likewise.
23743 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
23744 (__statfs_filesize_max): Likewise.
23745 (__statfs_symlinks): Likewise.
23746 (__statfs_chown_restricted): Likewise.
23748 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23751 * include/time.h (__tzstring): Add attribute_hidden.
23752 (__tzfile_read): Likewise.
23753 (__tzfile_compute): Likewise.
23754 (__tzfile_default): Likewise.
23755 (__tzset_parse_tz): Likewise.
23756 (__offtime): Likewise.
23757 (__asctime_r): Likewise.
23758 (__tzset): Likewise.
23759 (__tz_convert): Likewise.
23760 (__getdate_r): Likewise.
23761 (__getclktck): Likewise.
23763 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23766 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
23767 (__nscd_unmap): Likewise.
23768 (__nscd_cache_search): Likewise.
23769 (__nscd_get_nl_timestamp): Likewise.
23770 (__nscd_getpwnam_r): Likewise.
23771 (__nscd_getpwuid_r): Likewise.
23772 (__nscd_getgrnam_r): Likewise.
23773 (__nscd_getgrgid_r): Likewise.
23774 (__nscd_gethostbyname_r): Likewise.
23775 (__nscd_gethostbyname2_r): Likewise.
23776 (__nscd_gethostbyaddr_r): Likewise.
23777 (__nscd_getai): Likewise.
23778 (__nscd_getgrouplist): Likewise.
23779 (__nscd_getservbyname_r): Likewise.
23780 (__nscd_getservbyport_r): Likewise.
23781 (__nscd_innetgr): Likewise.
23782 (__nscd_setnetgrent): Likewise.
23784 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23787 * include/gmp.h: Declare internal functions only if _ISOMAC is
23789 (__mpn_extract_double): Add attribute_hidden.
23790 (__mpn_extract_long_double): Likewise.
23791 (__mpn_extract_float128): Likewise.
23792 (__mpn_construct_float): Likewise.
23793 (__mpn_construct_double): Likewise.
23794 (__mpn_construct_long_double): Likewise.
23795 (__mpn_construct_float128): Likewise.
23796 (mpn_add_1): Likewise.
23797 (mpn_addmul_1): Likewise.
23798 (mpn_add_n): Likewise.
23799 (mpn_cmp): Likewise.
23800 (mpn_divrem): Likewise.
23801 (mpn_lshift): Likewise.
23802 (mpn_mul): Likewise.
23803 (mpn_mul_1): Likewise.
23804 (mpn_rshift): Likewise.
23805 (mpn_sub_1): Likewise.
23806 (mpn_submul_1): Likewise.
23807 (mpn_sub_n): Likewise.
23809 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23812 * include/wchar.h (__wcsnlen): Add attribute_hidden.
23813 (__wcscat): Likewise.
23814 (__btowc): Likewise.
23815 (__wcrtomb): Likewise.
23816 (__mbsrtowcs): Likewise.
23817 (__wcsrtombs): Likewise.
23818 (__mbsnrtowcs): Likewise.
23819 (__wcsnrtombs): Likewise.
23820 (__wcsncpy): Likewise.
23821 (__wcpncpy): Likewise.
23822 (__wmemcpy): Likewise.
23823 (__wmempcpy): Likewise.
23824 (__wmemmove): Likewise.
23825 (__wcschrnul): Likewise.
23826 (__vfwscanf): Likewise.
23827 (__vswprintf): Likewise.
23828 (__fwprintf): Likewise.
23829 (__vfwprintf): Likewise.
23831 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23834 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
23835 (__getgrgid_r): Likewise.
23836 (__getgrnam_r): Likewise.
23837 * include/pwd.h (__getpwuid_r): Likewise.
23838 (__getpwnam_r): Likewise.
23839 (__fgetpwent_r): Likewise.
23840 * include/shadow.h (__getspnam_r): Likewise.
23841 (__sgetspent_r): Likewise.
23842 (__fgetspent_r): Likewise.
23844 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23847 * include/unistd.h (__access): Add attribute_hidden.
23848 (__lseek64): Likewise.
23849 (__libc_pread64): Likewise.
23850 (__pipe2): Likewise.
23851 (__sleep): Likewise.
23852 (__chdir): Likewise.
23853 (__fchdir): Likewise.
23854 (__getcwd): Likewise.
23855 (__rmdir): Likewise.
23856 (__execvpe): Likewise.
23857 (__execve): Likewise.
23858 (__setsid): Likewise.
23859 (__getuid): Likewise.
23860 (__geteuid): Likewise.
23861 (__getgid): Likewise.
23862 (__getegid): Likewise.
23863 (__getgroups): Likewise.
23864 (__group_member): Likewise.
23865 (__ttyname_r): Likewise.
23866 (__isatty): Likewise.
23867 (__readlink): Likewise.
23868 (__unlink): Likewise.
23869 (__gethostname): Likewise.
23870 (__profil): Likewise.
23871 (__getdtablesize): Likewise.
23873 (__ftruncate): Likewise.
23874 (__ftruncate64): Likewise.
23876 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23879 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
23880 * argp/argp-fs-xinl.c: Likewise.
23881 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
23882 * argp/argp-parse.c: Include <argp.h>.
23883 * argp/argp-xinl.c: Likewise.
23884 * include/argp-fmtstream.h: New file.
23885 * include/argp.h (__argp_error): Add attribute_hidden.
23886 (__argp_failure): Likewise.
23887 (__argp_input): Likewise.
23888 (__argp_state_help): Likewise.
23890 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23893 * include/wchar.h (____wcstof_l_internal): New prototype.
23894 (____wcstod_l_internal): Likewise.
23895 (____wcstold_l_internal): Likewise.
23896 (____wcstol_l_internal): Likewise.
23897 (____wcstoul_l_internal): Likewise.
23898 (____wcstoll_l_internal): Likewise.
23899 (____wcstoull_l_internal): Likewise.
23900 (____wcstof128_l_internal): Likewise.
23901 * sysdeps/ieee754/float128/wcstof128.c
23902 (____wcstof128_l_internal): Removed.
23903 * sysdeps/ieee754/float128/wcstof128_l.c
23904 (____wcstof128_l_internal): Likewise.
23905 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
23906 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
23907 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
23908 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
23909 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
23910 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
23911 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
23912 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
23913 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
23914 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
23916 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23919 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
23920 instead of <sys/statvfs.h>.
23921 (__internal_statvfs): Removed.
23922 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
23923 instead of <sys/statvfs.h>.
23924 (__internal_statvfs64): Removed.
23925 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
23926 "internal_statvfs.h" instead of <sys/statvfs.h>.
23927 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
23928 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
23929 instead of <sys/statvfs.h>.
23930 (__internal_statvfs): Removed.
23931 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
23932 instead of <sys/statvfs.h>.
23933 (__internal_statvfs64): Removed.
23935 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23938 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
23939 (__gconv_close): Likewise.
23940 (__gconv): Likewise.
23941 (__gconv_find_transform): Likewise.
23942 (__gconv_lookup_cache): Likewise.
23943 (__gconv_compare_alias_cache): Likewise.
23944 (__gconv_load_cache): Likewise.
23945 (__gconv_get_path): Likewise.
23946 (__gconv_close_transform): Likewise.
23947 (__gconv_release_cache): Likewise.
23948 (__gconv_find_shlib): Likewise.
23949 (__gconv_release_shlib): Likewise.
23950 (__gconv_get_builtin_trans): Likewise.
23951 (__gconv_compare_alias): Likewise.
23952 * include/dlfcn.h (_dlerror_run): Likewise.
23953 * include/stdio.h (__fortify_fail_abort): Likewise.
23954 * include/time.h (__tz_compute): Likewise.
23955 (__strptime_internal): Likewise.
23956 * intl/gettextP.h (_nl_find_domain): Likewise.
23957 (_nl_load_domain): Likewise.
23958 (_nl_find_msg): Likewise.
23959 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
23960 (EXTRACT_PLURAL_EXPRESSION): Likewise.
23961 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
23962 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
23963 (__gai_find_request): Likewise.
23964 (__gai_remove_request): Likewise.
23965 (__gai_notify): Likewise.
23966 (__gai_notify_only): Likewise.
23967 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
23968 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
23969 (_dl_non_dynamic_init): Likewise.
23970 (_dl_aux_init): Likewise.
23971 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
23972 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
23974 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
23975 (__wcsmbs_clone_conv): Likewise.
23976 (__wcsmbs_named_conv): Likewise.
23978 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23981 * include/stdlib.h (__random): Add attribute_hidden.
23982 (__random_r): Likewise.
23983 (__srandom_r): Likewise.
23984 (__initstate_r): Likewise.
23985 (__setstate_r): Likewise.
23986 (__erand48_r): Likewise.
23987 (__nrand48_r): Likewise.
23988 (__jrand48_r): Likewise.
23989 (__srand48_r): Likewise.
23990 (__seed48_r): Likewise.
23991 (__lcong48_r): Likewise.
23992 (__drand48_iterate): Likewise.
23993 (__setenv): Likewise.
23994 (__unsetenv): Likewise.
23995 (__clearenv): Likewise.
23996 (__ptsname_r): Likewise.
23997 (__posix_openpt): Likewise.
23998 (__add_to_environ): Likewise.
23999 (__realpath): Add libc_hidden_proto.
24000 (__ecvt_r): Likewise.
24001 (__fcvt_r): Likewise.
24002 (__qecvt_r): Likewise.
24003 (__qfcvt_r): Likewise.
24004 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
24005 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
24007 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24010 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
24011 * include/time.h (__mktime_internal): Likewise.
24012 * libio/iolibio.h (__fopen_internal): Likewise.
24014 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
24016 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
24018 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
24019 Correct offset used to restore PIC register.
24021 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
24024 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
24025 code to load address of __getcontext_ret when generating PIC code.
24027 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
24029 * elf/Makefile (tests-static-internal): Add
24030 tst-tls1-static-non-pie.
24031 (LDFLAGS-tst-tls1-static-non-pie): New.
24032 * elf/tst-tls1-static-non-pie.c: New file.
24034 2017-09-29 Joseph Myers <joseph@codesourcery.com>
24036 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
24037 (asinh): Define using libm_alias_double.
24038 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
24039 (cbrt): Define using libm_alias_double.
24040 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
24041 <libm-alias-double.h>.
24042 (copysign): Define using libm_alias_double.
24043 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
24044 (erf): Define using libm_alias_double.
24046 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
24047 (expm1): Define using libm_alias_double.
24048 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
24049 (fabs): Define using libm_alias_double.
24050 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
24052 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
24053 <libm-alias-double.h>.
24054 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
24056 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
24057 <libm-alias-double.h>.
24058 (getpayload): Define using libm_alias_double.
24059 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
24060 <libm-alias-double.h>.
24061 (llrint): Define using libm_alias_double.
24062 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
24063 (lrint): Define using libm_alias_double.
24064 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
24065 <libm-alias-double.h>.
24066 (nextup): Define using libm_alias_double.
24067 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
24068 <libm-alias-double.h>.
24069 (roundeven): Define using libm_alias_double.
24070 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
24072 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
24073 <libm-alias-double.h>.
24074 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
24075 using libm_alias_double.
24076 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
24077 (cos): Define using libm_alias_double.
24079 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
24080 <libm-alias-double.h>.
24081 (sincos): Define using libm_alias_double.
24082 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
24083 (tanh): Define using libm_alias_double.
24084 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
24085 <libm-alias-double.h>.
24086 (totalorder): Define using libm_alias_double.
24087 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
24088 <libm-alias-double.h>.
24089 (totalordermag): Define using libm_alias_double.
24090 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
24092 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
24094 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
24095 <libm-alias-double.h>.
24096 (getpayload): Define using libm_alias_double.
24097 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
24098 <libm-alias-double.h>.
24099 (roundeven): Define using libm_alias_double.
24100 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
24101 <libm-alias-double.h>.
24102 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
24103 <libm-alias-double.h>.
24104 (totalorder): Define using libm_alias_double.
24105 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
24106 <libm-alias-double.h>.
24107 (totalordermag): Define using libm_alias_double.
24108 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
24109 libc compat symbol here.
24110 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
24111 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
24112 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
24113 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
24114 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
24115 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
24116 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
24117 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
24118 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
24119 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
24121 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
24123 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
24124 _dl_relocate_static_pie instead of _dl_start to compute load
24125 address in static PIE. Return 0 if _DYNAMIC is undefined for
24128 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
24130 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
24131 _DYNAMIC is undefined for static executable.
24133 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
24135 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
24137 2017-09-29 Joseph Myers <joseph@codesourcery.com>
24139 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24141 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
24143 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
24144 (__ieee754_lgamma_r): Use fabs rather than __fabs.
24145 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
24146 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
24147 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
24148 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
24149 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
24150 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
24151 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
24152 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
24153 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
24154 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
24155 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
24156 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
24157 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24158 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24159 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
24161 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
24163 * math/bits/cmathcalls.h (cimag): Remove inline.
24164 (creal): Remove inline.
24165 (conj): Remove inline.
24167 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
24169 * math/Makefile (type-float-routines): Add e_powf_log2_data.
24170 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
24171 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
24172 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
24173 (issignalingf_inline): Likewise.
24174 (POWF_LOG2_TABLE_BITS): Likewise.
24175 (POWF_LOG2_POLY_ORDER): Likewise.
24176 (POWF_SCALE_BITS): Likewise.
24177 (POWF_SCALE): Likewise.
24178 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
24179 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
24180 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
24182 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
24184 * math/Makefile (type-float-routines): Add e_log2f_data.
24185 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
24186 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
24187 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
24188 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
24189 * sysdeps/i386/fpu/e_log2f_data.c: New file.
24190 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
24191 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
24193 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
24195 * math/Makefile (type-float-routines): Add e_logf_data.
24196 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
24197 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
24198 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
24199 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
24200 * sysdeps/i386/fpu/e_logf_data.c: New file.
24201 * sysdeps/ia64/fpu/e_logf_data.c: New file.
24202 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
24204 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
24206 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
24207 undefined _DYNAMIC in PIE libc.a.
24208 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
24211 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
24213 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
24214 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
24215 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
24216 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
24217 (__signbit): Remove.
24218 (__signbitl): Remove.
24219 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
24220 (__signbit): Remove.
24221 (__signbitl): Remove.
24222 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
24223 (__signbit): Remove.
24224 (__signbitl): Remove.
24225 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
24226 (__signbit): Remove.
24227 (__signbitl): Remove.
24228 * sysdeps/tile/bits/mathinline.h: Delete file.
24229 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
24230 (__signbit): Remove.
24231 (__signbitl): Remove.
24233 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
24235 * math/math.h: Improve handling of C99 isgreater macros.
24236 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
24237 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
24238 * sysdeps/powerpc/bits/mathinline.h: Likewise.
24239 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24240 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
24242 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
24244 * sysdeps/aarch64/libm-test-ulps: Update.
24246 2017-09-28 Joseph Myers <joseph@codesourcery.com>
24249 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24250 math_opt_barrier on argument when doing arithmetic on it.
24251 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24252 Likewise. Use math_force_eval not math_opt_barrier after
24254 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
24255 math_opt_barrier on argument when doing arithmetic on it.
24256 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24259 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
24261 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
24263 (__freeifaddrs): Likewise.
24265 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
24267 * include/dirent.h (__dirfd): New declaration.
24268 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
24270 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
24271 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
24272 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
24273 * include/unistd.h (__revoke): New declaration.
24274 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
24276 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
24277 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
24279 * include/dirent.h (__seekdir): New declaration.
24280 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
24281 redefine as weak alias.
24282 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
24284 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
24285 and use libc_hidden_def on them.
24286 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
24288 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
24289 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
24290 instead of getifaddrs and freeifaddrs.
24292 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
24295 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
24296 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
24297 (__dso_handle): Remove declaration.
24298 * dlfcn/tstatexit.c (__dso_handle): Removed.
24299 (main): Don't check __dso_handle.
24300 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
24301 (main): Don't check __dso_handle.
24302 * include/dso_handle.h: New file.
24303 * malloc/mtrace.c: Include <dso_handle.h>.
24304 (mtrace): Pass __dso_handle directly.
24305 * nptl/pthread_atfork.c: Include <dso_handle.h>.
24306 (__dso_handle): Remove declaration.
24307 (__pthread_atfork): Pass __dso_handle directly.
24308 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
24309 (__dso_handle): Removed.
24310 * posix/wordexp-test.c: Include <dso_handle.h>.
24311 (__dso_handle): Remove declaration.
24312 (__app_register_atfork): Pass __dso_handle directly.
24313 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
24314 (__dso_handle): Remove declaration.
24315 (at_quick_exit): Pass __dso_handle directly.
24316 * stdlib/atexit.c: Include <dso_handle.h>.
24317 (__dso_handle): Remove declaration.
24318 (atexit): Pass __dso_handle directly.
24319 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
24320 (__dso_handle): Removed.
24322 2017-09-26 Joseph Myers <joseph@codesourcery.com>
24324 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
24327 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
24329 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
24330 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
24331 values to correct default value for given type.
24333 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
24336 * elf/Makefile (tests): Add tst-debug1.
24337 ($(objpfx)tst-debug1): New.
24338 ($(objpfx)tst-debug1.out): Likewise.
24339 ($(objpfx)tst-debug1mod1.so): Likewise.
24340 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
24341 with p_filesz == 0.
24342 * elf/tst-debug1.c: New file.
24344 2017-09-26 Joseph Myers <joseph@codesourcery.com>
24346 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
24347 Define using __ifunc.
24349 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24351 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
24354 2017-09-26 Joseph Myers <joseph@codesourcery.com>
24357 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
24359 2017-09-26 Florian Weimer <fweimer@redhat.com>
24361 * resolv/Makefile (tests-internal): Fix typo in comment.
24363 2017-09-26 Florian Weimer <fweimer@redhat.com>
24365 * resolv/nss_dns/dns-host.c: Fix typo in comment.
24367 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24369 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
24370 Use an union instead of a max_align_t array for __space,
24371 so that __space is the same size on all platforms.
24372 * malloc/scratch_buffer_grow_preserve.c
24373 (__libc_scratch_buffer_grow_preserve): Likewise.
24376 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
24378 * posix/Makefile (routines): Add glob-lstat-compat and
24379 glob64-lstat-compat.
24380 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
24381 * posix/glob-lstat-compat.c: New file.
24382 * posix/glob64-lstat-compat.c: Likewise.
24383 * posix/tst-glob_lstat_compat.c: Likewise.
24384 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
24385 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
24386 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
24387 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
24389 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
24390 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
24391 * posix/glob.c (glob_lstat): New function.
24392 (glob): Rename to __glob and add versioned symbol to 2.27.
24393 (glob_in_dir): Use glob_lstat.
24394 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
24395 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24396 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
24398 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
24399 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
24400 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
24401 gl_lstat on glob call.
24402 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
24403 and glob64 symbols.
24404 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24405 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24406 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24407 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24408 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24409 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24410 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24411 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24412 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
24413 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24414 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24415 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24418 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
24419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
24420 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24421 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24422 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24423 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24424 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
24426 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
24427 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24428 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24429 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24431 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
24433 * configure.ac (AS): Require binutils 2.25 or later.
24434 * configure: Regenerated.
24436 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24439 * stdlib/test-atexit-race-common.c (do_test): Minimize required
24442 2017-09-25 DJ Delorie <dj@redhat.com>
24445 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
24448 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
24450 * sysdeps/ieee754/dbl-64/sincos32.h
24451 [SINCCOS32_H]: Remove define.
24452 [SINCOS32_H]: Define.
24454 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
24456 * math/Versions (expf): New libm symbol at GLIBC_2.27.
24458 * math/w_exp2f.c: New file.
24459 * math/w_expf.c: New file.
24460 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
24461 * math/w_expf_compat.c (__expf_compat): Likewise.
24462 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
24463 * sysdeps/ia64/fpu/e_expf.S: Likewise.
24464 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
24465 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24466 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24467 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24468 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24469 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24470 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24471 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24472 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24473 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24474 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24475 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24484 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24485 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24486 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24487 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24488 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24489 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24493 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24494 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24495 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24497 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
24499 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
24500 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
24501 (roundtoint, converttoint): Likewise.
24502 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
24503 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
24504 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
24505 * sysdeps/ieee754/flt-32/math_config.h: New file.
24506 * sysdeps/ieee754/flt-32/math_errf.c: New file.
24507 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
24508 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
24509 * sysdeps/i386/fpu/math_errf.c: New file.
24510 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
24511 * sysdeps/ia64/fpu/math_errf.c: New file.
24512 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
24513 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
24515 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
24517 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
24518 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
24519 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
24520 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
24521 to make sure that these symbols are defined.
24522 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
24524 (__need_NULL): Do not define.
24525 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
24527 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
24528 CMGROUP_MAX, cmsgcred): Do not define.
24529 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
24531 * bits/socket.h: Likewise.
24532 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
24533 __gettimeofday instead of gettimeofday.
24534 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
24535 instead of settimeofday.
24537 2017-09-22 Joseph Myers <joseph@codesourcery.com>
24539 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
24540 (asinhf): Define using libm_alias_float.
24541 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
24542 (atanf): Define using libm_alias_float.
24543 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
24544 (cbrtf): Define using libm_alias_float.
24545 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
24546 (ceilf): Define using libm_alias_float.
24547 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
24548 <libm-alias-float.h>.
24549 (copysignf): Define using libm_alias_float.
24550 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
24551 (cosf): Define using libm_alias_float.
24552 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
24553 (erff): Define using libm_alias_float.
24555 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
24556 (expm1f): Define using libm_alias_float.
24557 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
24558 (fabsf): Define using libm_alias_float.
24559 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
24560 (floorf): Define using libm_alias_float.
24561 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
24562 (frexpf): Define using libm_alias_float.
24563 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
24565 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
24566 <libm-alias-float.h>.
24567 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
24569 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
24570 <libm-alias-float.h>.
24571 (getpayloadf): Define using libm_alias_float.
24572 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
24573 <libm-alias-float.h>.
24574 (llrintf): Define using libm_alias_float.
24575 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
24576 <libm-alias-float.h>.
24577 (llroundf): Define using libm_alias_float.
24578 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
24579 (logbf): Define using libm_alias_float.
24580 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
24581 (lrintf): Define using libm_alias_float.
24582 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
24583 (lroundf): Define using libm_alias_float.
24584 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
24585 (modff): Define using libm_alias_float.
24586 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
24587 <libm-alias-float.h>.
24588 (nearbyintf): Define using libm_alias_float.
24589 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
24590 <libm-alias-float.h>.
24591 (nextafterf): Define using libm_alias_float.
24592 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
24593 <libm-alias-float.h>.
24594 (nextupf): Define using libm_alias_float.
24595 * sysdeps/ieee754/flt-32/s_remquof.c: Include
24596 <libm-alias-float.h>.
24597 (remquof): Define using libm_alias_float.
24598 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
24599 (rintf): Define using libm_alias_float.
24600 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
24601 <libm-alias-float.h>.
24602 (roundevenf): Define using libm_alias_float.
24603 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
24604 (roundf): Define using libm_alias_float.
24605 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
24606 using libm_alias_float.
24607 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
24608 <libm-alias-float.h>.
24609 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
24610 Define using libm_alias_float.
24611 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
24612 <libm-alias-float.h>.
24613 (sincosf): Define using libm_alias_float.
24614 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
24615 (sinf): Define using libm_alias_float.
24616 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
24617 (tanf): Define using libm_alias_float.
24618 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
24619 (tanhf): Define using libm_alias_float.
24620 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
24621 <libm-alias-float.h>.
24622 (totalorderf): Define using libm_alias_float.
24623 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
24624 <libm-alias-float.h>.
24625 (totalordermagf): Define using libm_alias_float.
24626 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
24627 (truncf): Define using libm_alias_float.
24628 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
24630 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
24633 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24636 math/math.h: Let fpclassify use the builtin in C++ mode, even
24637 when optimazing for size.
24639 2017-09-22 Joseph Myers <joseph@codesourcery.com>
24641 * csu/Makefile (generated): Do not add version-info.h.
24642 (before-compile): Likewise.
24643 (all-Banner-files): Remove variable.
24644 ($(objpfx)version-info.h): Remove rule.
24645 * csu/version.c (banner): Do not include "version-info.h".
24646 * libidn/Banner: Remove.
24647 * manual/contrib.texi (Simon Josefsson): New entry.
24649 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24651 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24652 Remove conditionals on LDBL_MANT_DIG.
24653 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
24654 (__ieee754_lgammal_r): Likewise.
24656 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24658 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
24660 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
24661 _Float128 and L(). Replace _Float128 with long double and L(x)
24662 with xL, throughout the file.
24663 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
24664 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
24665 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
24666 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
24668 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24670 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
24671 sysdeps/ieee754/ldbl-128ibm.
24672 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
24673 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
24674 of including it. Keep _Float128 and L() intact. These will be
24675 reviewed by a separate patch.
24676 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
24677 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
24678 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
24679 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
24681 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
24684 (__finitef128): Define to __redirect___finitef128.
24685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
24686 (__isinff128): Define to __redirect___isinff128.
24687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
24688 (__isnanf128): Define to __redirect___isnanf128.
24690 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
24692 * sysdeps/powerpc/powerpc64le/Makefile
24693 (CFLAGS-tst-strtod-nan-locale.c): New variable.
24694 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
24696 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
24697 Carlos O'Donell <carlos@redhat.com>
24700 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
24701 * stdlib/test-dlclose-exit-race.c: New file.
24702 * stdlib/test-dlclose-exit-race-helper.c: New file.
24703 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
24705 2017-09-21 Joseph Myers <joseph@codesourcery.com>
24707 * crypt/Banner: Remove file.
24708 * nptl/Banner: Likewise.
24709 * resolv/Banner: Likewise.
24710 * soft-fp/Banner: Likewise.
24711 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
24712 ($(objpfx)version.d): Remove dependency on banner.h.
24713 ($(objpfx)version.os): Likewise.
24714 * nptl/version.c (banner): Do not include banner.h.
24715 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
24716 Jelinek and BIND code.
24718 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
24719 Carlos O'Donell <carlos@redhat.com>
24721 * support/xdlfcn.h: New file.
24722 * support/xdlfcn.c: New file.
24723 * support/Makefile (libsupport-routines): Add xdlfcn.
24724 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
24726 2017-09-20 Joseph Myers <joseph@codesourcery.com>
24729 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24730 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
24731 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
24732 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
24733 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
24734 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
24735 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
24736 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
24738 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
24739 Ricky Zhou <rickyz@google.com>
24740 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
24743 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
24745 (__new_exitfn): Fail registration when we finished at_exit processing.
24746 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
24747 * stdlib/on_exit.c (__on_exit): Likewise.
24748 * stdlib/exit.c (__exit_funcs_done): New variable.
24749 (__run_exit_handlers): Use __exit_funcs_lock.
24750 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
24752 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
24753 (test-cxa_atexit-race, test-on_exit-race): New tests.
24754 * stdlib/test-atexit-race-common.c: New file.
24755 * stdlib/test-atexit-race.c: New file.
24756 * stdlib/test-at_quick_exit-race.c: New file.
24757 * stdlib/test-cxa_atexit-race.c: New file.
24758 * stdlib/test-on_exit-race.c: New file.
24760 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
24762 * benchtests/Makefile: Add exp2f and log2f benchmarks.
24763 * benchtests/exp2f-inputs: Copy of expf-inputs.
24764 * benchtests/log2f-inputs: Copy of logf-inputs.
24766 2017-09-19 Joseph Myers <joseph@codesourcery.com>
24768 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
24769 Explicitly take address of first element of array arguments in
24770 call to INLINE_SYSCALL.
24772 2017-09-19 Andreas Schwab <schwab@suse.de>
24775 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
24777 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
24779 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
24780 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
24781 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24782 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
24783 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24784 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
24785 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24786 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
24787 * posix/Makefile (tests): Add tst-fexecve.
24788 * posix/tst-fexecve.c: New file.
24790 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
24792 * benchtests/Makefile: Add logf benchmark.
24793 * benchtests/logf-inputs: Add reduced trace from wrf_r.
24795 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
24797 * benchtests/Makefile: Add expf benchmark.
24798 * benchtests/expf-inputs: Add reduced trace from wrf_r.
24800 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
24802 * csu/Makefile: Add -funwind-tables to libc-start.c.
24803 * debug/Makefile: Add -funwind-tables to backtrace.c.
24804 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
24805 * sysdeps/arm/Makefile: Likewise.
24806 * sysdeps/i386/Makefile: Likewise.
24807 * sysdeps/m68k/Makefile: Likewise.
24808 * sysdeps/mips/Makefile: Likewise.
24809 * sysdeps/nios2/Makefile: Likewise.
24810 * sysdeps/sh/Makefile: Likewise.
24811 * sysdeps/sparc/Makefile: Likewise.
24813 2017-09-19 Joseph Myers <joseph@codesourcery.com>
24815 * benchtests/Makefile (bench-math): Add trunc and truncf.
24816 (CFLAGS-bench-trunc.c): New variable.
24817 (CFLAGS-bench-truncf.c): Likewise.
24818 * benchtests/trunc-inputs: New file.
24819 * benchtests/truncf-inputs: Likewise.
24821 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24823 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
24825 2017-09-18 Joseph Myers <joseph@codesourcery.com>
24827 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
24828 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
24830 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
24831 (exp10l): Define as weak alias.
24832 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
24833 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
24835 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
24836 (remainderl): Define as weak alias.
24838 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
24839 (fmal): Define using libm_alias_ldouble.
24840 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
24841 (acoshl): Define using libm_alias_ldouble.
24842 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
24843 (acosl): Define using libm_alias_ldouble.
24844 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
24845 (asinl): Define using libm_alias_ldouble.
24846 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
24847 (atan2l): Define using libm_alias_ldouble.
24848 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
24849 (atanhl): Define using libm_alias_ldouble.
24850 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
24851 (coshl): Define using libm_alias_ldouble.
24852 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
24853 (exp10l): Define using libm_alias_ldouble.
24854 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
24855 (exp2l): Define using libm_alias_ldouble.
24856 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
24857 (expl): Define using libm_alias_ldouble.
24858 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
24859 (fmodl): Define using libm_alias_ldouble.
24860 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
24861 (hypotl): Define using libm_alias_ldouble.
24862 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
24863 (j0l): Define using libm_alias_ldouble.
24865 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
24866 (j1l): Define using libm_alias_ldouble.
24868 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
24869 (jnl): Define using libm_alias_ldouble.
24871 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
24872 (log10l): Define using libm_alias_ldouble.
24873 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
24874 (log2l): Define using libm_alias_ldouble.
24875 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
24876 (logl): Define using libm_alias_ldouble.
24877 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
24878 (powl): Define using libm_alias_ldouble.
24879 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
24880 (remainderl): Define using libm_alias_ldouble.
24881 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
24882 (sinhl): Define using libm_alias_ldouble.
24883 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
24884 (sqrtl): Define using libm_alias_ldouble.
24885 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
24886 (tgammal): Define using libm_alias_ldouble.
24887 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
24888 (exp10l): Do not use long_double_symbol here.
24889 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
24890 [LIBM_SVID_COMPAT] (remainderl): Likewise.
24891 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
24892 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
24893 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
24894 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
24895 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
24896 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
24897 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
24898 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
24899 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
24900 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
24901 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
24902 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
24903 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
24904 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
24905 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
24906 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
24907 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
24908 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
24909 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
24910 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
24912 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
24914 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
24915 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
24917 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
24919 * io/read.c (read): Add libc_hidden_weak.
24920 * sysdeps/mach/hurd/read.c (read): Likewise.
24921 * io/write.c (write): Likewise.
24922 * sysdeps/mach/hurd/write.c (write): Likewise.
24923 * io/pread64.c (__pread64): Likewise.
24924 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
24925 * posix/pread64.c (__pread64): Add libc_hidden_def.
24927 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
24929 * benchtests/scripts/compare_strings.py: New option -g.
24930 (draw_graph): Print a message that a graph is being generated.
24931 (process_results): Generate graph only if -g is passed.
24932 (main): Process option -g.
24934 * benchtests/scripts/compare_strings.py (process_results):
24935 Better spacing for output.
24937 * benchtests/scripts/compare_strings.py: Use argparse.
24938 * benchtests/README: Document existence of compare_strings.py.
24940 2017-09-15 Joseph Myers <joseph@codesourcery.com>
24942 * math/s_fma.c: Include <libm-alias-double.h>.
24943 (fma): Define using libm_alias_double.
24944 * math/s_nextafter.c: Include <libm-alias-double.h>.
24945 (nextafter): Define using libm_alias_double.
24946 * math/w_acos_compat.c: Include <libm-alias-double.h>.
24947 (acos): Define using libm_alias_double.
24948 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
24949 (aocsh): Define using libm_alias_double.
24950 * math/w_asin_compat.c: Include <libm-alias-double.h>.
24951 (asin): Define using libm_alias_double.
24952 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
24953 (atan2): Define using libm_alias_double.
24954 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
24955 (atanh): Define using libm_alias_double.
24956 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
24957 (cosh): Define using libm_alias_double.
24958 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
24959 (exp10): Define using libm_alias_double.
24960 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
24961 (exp2): Define using libm_alias_double.
24962 * math/w_exp_compat.c: Include <libm-alias-double.h>.
24963 (exp): Define using libm_alias_double.
24964 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
24965 (fmod): Define using libm_alias_double.
24966 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
24967 (hypot): Define using libm_alias_double.
24968 * math/w_j0_compat.c: Include <libm-alias-double.h>.
24969 (j0): Define using libm_alias_double.
24971 * math/w_j1_compat.c: Include <libm-alias-double.h>.
24972 (j1): Define using libm_alias_double.
24974 * math/w_jn_compat.c: Include <libm-alias-double.h>.
24975 (jn): Define using libm_alias_double.
24977 * math/w_log10_compat.c: Include <libm-alias-double.h>.
24978 (log10): Define using libm_alias_double.
24979 * math/w_log2_compat.c: Include <libm-alias-double.h>.
24980 (log2): Define using libm_alias_double.
24981 * math/w_log_compat.c: Include <libm-alias-double.h>.
24982 (log): Define using libm_alias_double.
24983 * math/w_pow_compat.c: Include <libm-alias-double.h>.
24984 (pow): Define using libm_alias_double.
24985 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
24986 (remainder): Define using libm_alias_double.
24987 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
24988 (sinh): Define using libm_alias_double.
24989 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
24990 (sqrt): Define using libm_alias_double.
24991 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
24992 (tgamma): Define using libm_alias_double.
24993 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
24994 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
24995 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
24996 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
24997 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
24998 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
24999 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
25000 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
25001 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
25002 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
25003 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
25004 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
25005 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
25006 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
25007 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
25008 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
25009 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
25010 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
25011 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
25012 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
25013 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
25014 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
25015 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
25016 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
25017 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
25019 * math/e_acoshl.c: Remove.
25020 * math/e_acosl.c: Likewise.
25021 * math/e_asinl.c: Likewise.
25022 * math/e_atan2l.c: Likewise.
25023 * math/e_atanhl.c: Likewise.
25024 * math/e_coshl.c: Likewise.
25025 * math/e_expl.c: Likewise.
25026 * math/e_fmodl.c: Likewise.
25027 * math/e_gammal_r.c: Likewise.
25028 * math/e_hypotl.c: Likewise.
25029 * math/e_j0l.c: Likewise.
25030 * math/e_j1l.c: Likewise.
25031 * math/e_jnl.c: Likewise.
25032 * math/e_lgammal_r.c: Likewise.
25033 * math/e_log10l.c: Likewise.
25034 * math/e_log2l.c: Likewise.
25035 * math/e_logl.c: Likewise.
25036 * math/e_powl.c: Likewise.
25037 * math/e_rem_pio2l.c: Likewise.
25038 * math/e_sinhl.c: Likewise.
25039 * math/e_sqrtf128.c: Likewise.
25040 * math/e_sqrtl.c: Likewise.
25041 * math/k_cosl.c: Likewise.
25042 * math/k_sinl.c: Likewise.
25043 * math/k_tanl.c: Likewise.
25044 * math/s_asinhl.c: Likewise.
25045 * math/s_atanl.c: Likewise.
25046 * math/s_cbrtl.c: Likewise.
25047 * math/s_erfl.c: Likewise.
25048 * math/s_expm1l.c: Likewise.
25049 * math/s_log1pl.c: Likewise.
25050 * math/s_tanhl.c: Likewise.
25052 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25055 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
25056 [$(subdir) = math] (sysdep_calls): New variable. Has the
25057 previous contents of sysdep_routines, but re-sorted..
25058 [$(subdir) = math] (sysdep_routines): Re-use the contents from
25060 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
25061 defined in sysdep_calls and replace by the respective m_* names.
25062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
25063 (compat_symbol): Undefine to avoid duplicated compat symbols in
25066 2017-09-15 Joseph Myers <joseph@codesourcery.com>
25068 * math/s_fmaf.c: Include <libm-alias-float.h>.
25069 (fmaf): Define using libm_alias_float.
25070 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
25071 (acosf): Define using libm_alias_float.
25072 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
25073 (acoshf): Define using libm_alias_float.
25074 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
25075 (asinf): Define using libm_alias_float.
25076 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
25077 (atan2f): Define using libm_alias_float.
25078 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
25079 (atanhf): Define using libm_alias_float.
25080 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
25081 (coshf): Define using libm_alias_float.
25082 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
25083 (exp10f): Define using libm_alias_float.
25084 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
25085 (fmodf): Define using libm_alias_float.
25086 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
25087 (hypotf): Define using libm_alias_float.
25088 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
25089 (j0f): Define using libm_alias_float.
25091 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
25092 (j1f): Define using libm_alias_float.
25094 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
25095 (jnf): Define using libm_alias_float.
25097 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
25098 (log10f): Define using libm_alias_float.
25099 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
25100 (log2f): Define using libm_alias_float.
25101 * math/w_logf_compat.c: Include <libm-alias-float.h>.
25102 (logf): Define using libm_alias_float.
25103 * math/w_powf_compat.c: Include <libm-alias-float.h>.
25104 (powf): Define using libm_alias_float.
25105 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
25106 (remainderf): Define using libm_alias_float.
25107 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
25108 (sinhf): Define using libm_alias_float.
25109 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
25110 (sqrtf): Define using libm_alias_float.
25111 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
25112 (tgammaf): Define using libm_alias_float.
25114 2017-09-14 Joseph Myers <joseph@codesourcery.com>
25116 * include/math.h (roundeven): Change hidden_proto call to
25118 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
25120 [NO_LONG_DOUBLE] (__j0l): New strong alias.
25121 (y0): Rename to __y0 and define as weak alias.
25122 [NO_LONG_DOUBLE] (__y0l): New strong alias.
25123 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
25125 (y0f): Rename to __y0f and define as weak alias.
25126 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
25128 [NO_LONG_DOUBLE] (__j1l): New strong alias.
25129 (y1): Rename to __y1 and define as weak alias.
25130 [NO_LONG_DOUBLE] (__y1l): New strong alias.
25131 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
25133 (y1f): Rename to __y1f and define as weak alias.
25134 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
25136 [NO_LONG_DOUBLE] (__jnl): New strong alias.
25137 (yn): Rename to __yn and define as weak alias.
25138 [NO_LONG_DOUBLE] (__ynl): New strong alias.
25139 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
25141 (ynf): Rename to __ynf and define as weak alias.
25142 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
25143 (fromfp): Define as weak alias.
25144 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
25145 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
25146 (fromfpx): Define as weak alias.
25147 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
25148 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
25149 __getpayload and define as weak alias.
25150 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
25151 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
25152 __roundeven and define as weak alias.
25153 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
25154 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
25156 (setpayload): Define as weak alias.
25157 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
25158 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
25160 (setpayloadsig): Define as weak alias.
25161 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
25162 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
25163 __totalorder and define as weak alias.
25164 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
25165 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
25166 to __totalordermag and define as weak alias.
25167 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
25168 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
25169 (ufromfp): Define as weak alias.
25170 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
25171 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
25173 (ufromfpx): Define as weak alias.
25174 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
25175 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
25176 Rename to __getpayload and define as weak alias.
25177 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
25178 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
25179 Rename to __roundeven and define as weak alias.
25180 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
25181 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
25182 Rename to __totalorder and define as weak alias.
25183 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
25184 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
25185 (totalordermag): Rename to __totalordermag and define as weak
25187 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
25188 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
25190 (__roundevenl): Likewise.
25191 (__totalorderl): Likewise.
25192 (__totalordermagl): Likewise
25193 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
25195 (fromfpf128): Define as weak alias.
25196 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
25198 (fromfpxf128): Define as weak alias.
25199 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
25201 (setpayloadf128): Define as weak alias.
25202 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
25203 __setpayloadsigf128.
25204 (setpayloadsigf128): Define as weak alias.
25205 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
25207 (ufromfpf128): Define as weak alias.
25208 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
25210 (ufromfpxf128): Define as weak alias.
25211 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
25212 (fromfpf): Define as weak alias.
25213 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
25215 (fromfpxf): Define as weak alias.
25216 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
25217 __getpayloadf and define as weak alias.
25218 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
25219 __roundevenf and define as weak alias.
25220 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
25222 (setpayloadf): Define as weak alias.
25223 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
25225 (setpayloadsigf): Define as weak alias.
25226 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
25227 __totalorderf and define as weak alias.
25228 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
25229 Rename to __totalordermagf and define as weak alias.
25230 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
25232 (ufromfpf): Define as weak alias.
25233 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
25235 (ufromfpxf): Define as weak alias.
25236 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
25238 (fromfpl): Define as weak alias.
25239 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
25241 (fromfpxl): Define as weak alias.
25242 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
25243 to __getpayloadl and define as weak alias.
25244 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
25245 __roundevenl and define as weak alias.
25246 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
25248 (setpayloadl): Define as weak alias.
25249 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
25251 (setpayloadsigl): Define as weak alias.
25252 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
25253 to __totalorderl and define as weak alias.
25254 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
25255 Rename to __totalordermagl and define as weak alias.
25256 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
25258 (ufromfpl): Define as weak alias.
25259 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
25261 (ufromfpxl): Define as weak alias.
25262 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
25264 (fromfpl): Define as weak alias.
25265 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
25267 (fromfpxl): Define as weak alias.
25268 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
25269 Rename to __getpayloadl and define as weak alias.
25270 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
25271 to __roundevenl and define as weak alias. Call __roundeven
25272 instead of roundeven.
25273 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
25275 (setpayloadl): Define as weak alias.
25276 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
25278 (setpayloadsigl): Define as weak alias.
25279 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
25280 Rename to __totalorderl and define as weak alias.
25281 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
25282 Rename to __totalordermagl and define as weak alias.
25283 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
25285 (ufromfpl): Define as weak alias.
25286 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
25288 (ufromfpxl): Define as weak alias.
25289 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
25291 (fromfpl): Define as weak alias.
25292 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
25294 (fromfpxl): Define as weak alias.
25295 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
25296 __getpayloadl and define as weak alias.
25297 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
25298 __roundevenl and define as weak alias.
25299 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
25301 (setpayloadl): Define as weak alias.
25302 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
25304 (setpayloadsigl): Define as weak alias.
25305 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
25306 __totalorderl and define as weak alias.
25307 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
25308 Rename to __totalordermagl and define as weak alias.
25309 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
25311 (ufromfpl): Define as weak alias.
25312 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
25314 (ufromfpxl): Define as weak alias.
25316 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
25318 * benchtests/bench-string.h (realloc_bufs): New function.
25319 (test_init): Call it.
25320 * benchtests/bench-memset-large.c (do_test): Likewise.
25321 * benchtests/bench-memset.c (do_test): Likewise.
25323 * benchtests/bench-memset-large.c: Print output in JSON
25325 * benchtests/bench-memset.c: Likewise.
25327 2017-09-14 Mike FABIAN <mfabian@redhat.com>
25330 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
25331 * iconvdata/Makefile: Add IBM858.
25332 * iconvdata/gconv-modules: Likewise.
25333 * iconvdata/tst-tables.sh: Likewise.
25334 * iconvdata/ibm858.c: New file.
25335 * localedata/charmaps/IBM858: Likewise.
25337 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
25340 * locales/niu_NZ (LC_TIME): copy "niu_NU".
25341 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
25343 2017-09-14 Mike FABIAN <mfabian@redhat.com>
25346 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
25347 and add tel_int_fmt.
25349 2017-09-14 Joseph Myers <joseph@codesourcery.com>
25351 * sysdeps/generic/libm-alias-float128.h: New file.
25352 * sysdeps/generic/math-type-macros-float128.h: Include
25353 <libm-alias-float128.h>.
25354 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
25356 2017-09-13 Joseph Myers <joseph@codesourcery.com>
25358 * sysdeps/generic/libm-alias-ldouble.h: New file.
25359 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
25360 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
25361 * sysdeps/generic/math-type-macros-ldouble.h: Include
25362 <libm-alias-ldouble.h>.
25363 [!declare_mgen_alias] (declare_mgen_alias): Define to use
25364 libm_alias_ldouble.
25366 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
25368 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
25369 * math/w_exp_compat.c: ... here.
25370 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
25371 * math/w_expf_compat.c: ... here.
25372 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
25373 * math/w_expl_compat.c: ... here.
25374 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
25375 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
25376 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
25377 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
25379 2017-09-13 Joseph Myers <joseph@codesourcery.com>
25381 * math/w_scalbln_template.c (strong_alias): Do not undefine and
25383 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
25385 (ldexpl): Only define as compat symbol for libc, not libm.
25386 (scalbnl): Define as compat symbol for libc here.
25387 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
25388 define for [IS_IN (libc)].
25389 (__ldexpl_2): Remove alias.
25390 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
25391 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
25392 name in long_double_symbol call.
25393 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
25394 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
25395 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
25396 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
25397 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
25399 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
25400 Define as compat symbol.
25402 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25404 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
25405 * sysdeps/unix/sysv/linux/alpha/Makefile
25406 [$(subdir) = csu] (sysdep_routines): Remove rule.
25408 2017-09-13 Joseph Myers <joseph@codesourcery.com>
25410 * sysdeps/generic/libm-alias-double.h: New file.
25411 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
25412 * sysdeps/generic/math-type-macros-double.h: Include
25413 <libm-alias-double.h>.
25414 [declare_mgen_alias] (declare_mgen_alias): Define to use
25416 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
25417 (M_LIBM_NEED_COMPAT): Remove macro.
25418 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
25419 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
25420 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
25422 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25423 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25424 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25425 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25426 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25427 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25428 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25429 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25430 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25431 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25432 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25433 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25434 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25435 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25436 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25437 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25438 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25439 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25440 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25441 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25442 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25443 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25444 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25445 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25446 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25447 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25448 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25449 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
25450 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
25452 (declare_mgen_alias): New macro.
25453 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
25454 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
25455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
25456 (M_LIBM_NEED_COMPAT): Remove macro.
25457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
25458 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
25459 <first-versions.h>.
25460 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
25461 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
25463 2017-09-12 Joseph Myers <joseph@codesourcery.com>
25465 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
25466 (declare_mgen_alias_2): Remove.
25467 * sysdeps/generic/math-type-macros-double.h
25468 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
25470 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
25472 (ldexp): Define with declare_mgen_alias.
25473 (scalbn): Likewise.
25475 2017-09-12 Steve Ellcey <sellcey@cavium.com>
25477 * grp/initgroups.c: Include config.h.
25478 (DEFAULT_CONFIG): New macro.
25479 (internal_getgrouplist): Use DEFAULT_CONFIG.
25480 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25481 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
25482 (DEFAULT_DEFCONFIG): New macro.
25483 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
25484 * nss/grp-lookup.c: Include config.h
25485 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
25486 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
25487 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
25488 * manual/nss.texi: Update default values section.
25490 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
25493 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
25495 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
25496 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
25497 Handle MathVec_Prefer_No_AVX512.
25498 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
25499 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
25502 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
25504 * posix/sched_primax.c (__sched_get_priority_max): Add
25506 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
25507 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
25508 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
25509 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
25510 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
25511 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
25512 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
25513 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
25516 2017-09-11 Joseph Myers <joseph@codesourcery.com>
25518 * sysdeps/generic/libm-alias-float.h: New file.
25519 * sysdeps/generic/math-type-macros-float.h: Include
25520 <libm-alias-float.h>.
25521 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
25523 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
25526 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
25527 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
25528 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
25529 (HWCAP_IMPORTANT): Likewise.
25530 (HWCAP_X86_64): New enum.
25531 (HWCAP_X86_AVX512_1): Updated.
25532 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
25533 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
25534 (modules-names): Add x86_64/tst-x86_64mod-1.
25535 (LDFLAGS-tst-x86_64mod-1.so): New.
25536 ($(objpfx)tst-x86_64-1): Likewise.
25537 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
25538 (tst-x86_64-1-clean): Likewise.
25539 * sysdeps/x86_64/tst-x86_64-1.c: New file.
25540 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
25542 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
25544 * po/sv.po: Update translations.
25545 * po/fr.po: Likewise.
25547 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25549 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
25551 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
25553 * elf/rtld-Rules: Fix $(error) use.
25555 2017-09-09 Mike FABIAN <mfabian@redhat.com>
25558 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
25559 * locale/iso-639.def: Change “Bengali” to “Bangla”.
25560 * localedata/locales/bn_BD: “Bengali” was still used in some
25561 comments. Change it to “Bangla”.
25563 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
25565 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
25567 2017-09-08 Steve Ellcey <sellcey@cavium.com>
25569 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
25570 thunderx2t99p1 to list of cpu names.
25571 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
25572 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
25574 2017-09-08 Steve Ellcey <sellcey@cavium.com>
25576 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
25577 Use strcmp instead of tunable_is_name.
25579 2017-09-08 Joseph Myers <joseph@codesourcery.com>
25581 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
25582 (F_GET_RW_HINT): New macro.
25583 [__USE_GNU] (F_SET_RW_HINT): Likewise.
25584 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
25585 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
25586 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
25587 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
25588 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
25589 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
25590 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
25591 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
25593 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
25594 (F_ADD_SEALS): New macro.
25595 [__USE_GNU] (F_GET_SEALS): Likewise.
25596 [__USE_GNU] (F_SEAL_SEAL): Likewise.
25597 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
25598 [__USE_GNU] (F_SEAL_GROW): Likewise.
25599 [__USE_GNU] (F_SEAL_WRITE): Likewise.
25601 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25603 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
25604 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
25605 * posix/glob_internal.h (__glob_pattern_type):
25606 * posix/glob.c (glob):
25607 * posix/glob_pattern_p.c (__glob_pattern_p):
25610 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
25611 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25612 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
25613 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
25614 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
25615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
25616 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
25617 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
25618 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
25619 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25620 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
25621 * sysdeps/wordsize-64/glob.c: Likewise.
25622 * sysdeps/wordsize-64/glob64.c: Likewise.
25623 * sysdeps/wordsize-64/globfree.c: Likewise.
25624 * sysdeps/wordsize-64/globfree64.c: Likewise.
25625 * sysdeps/unix/sysv/linux/glob.c: New file.
25626 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
25627 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
25628 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
25629 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
25630 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
25631 adds !GLOB_NO_OLD_VERSION as an extra condition.
25632 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
25633 using relative path instead of absolute one.
25634 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
25635 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25636 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25637 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
25638 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
25639 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
25642 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
25643 (glob): Use the same scratch buffer for both getlogin_r and
25644 getpwnam_r. Don’t require preallocation of the login name. This
25645 simplifies storage allocation, and corrects the handling of
25649 * posix/glob.c (glob): Port recent patches to platforms
25650 lacking getpwnam_r.
25651 (glob): Fix longstanding misuse of errno after getpwnam_r, which
25652 returns an error number rather than setting errno.
25654 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
25655 instead of GCC extension.
25656 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
25657 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
25658 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
25662 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
25663 * posix/bug-glob1.c: Remove file.
25664 * posix/tst-glob_symlinks.c: New file.
25665 * posix/glob.c (__lstat64): New macro.
25666 (is_dir): New function.
25667 (glob, glob_in_dir): Match symlinks even if they are dangling.
25668 (link_stat, link_exists_p): Remove. All uses removed.
25672 * posix/glob.c (struct readdir_result): Remove skip_entry member.
25673 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
25678 * posix/Makefile (routines): Add globfree, globfree64, and
25680 * posix/flexmember.h: New file.
25681 * posix/glob_internal.h: Likewise.
25682 * posix/glob_pattern_p.c: Likewise.
25683 * posix/globfree.c: Likewise.
25684 * posix/globfree64.c: Likewise.
25685 * sysdeps/gnu/globfree64.c: Likewise.
25686 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
25687 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
25688 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
25689 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
25690 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
25691 * sysdeps/wordsize-64/globfree.c: Likewise.
25692 * sysdeps/wordsize-64/globfree64.c: Likewise.
25693 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
25694 [NDEBUG): Remove comments.
25695 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
25696 (dirent_type): New type. Use uint_fast8_t not
25697 uint8_t, as C99 does not require uint8_t.
25698 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
25699 (struct readdir_result): Use dirent_type. Do not define skip_entry
25700 unless it is needed; this saves a byte on platforms lacking d_ino.
25701 (readdir_result_type, readdir_result_skip_entry):
25702 New functions, replacing ...
25703 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
25704 these functions, which were removed. This makes the callers
25705 easier to read. All callers changed.
25706 (D_INO_TO_RESULT): Now empty if there is no d_ino.
25707 (size_add_wrapv, glob_use_alloca): New static functions.
25708 (glob, glob_in_dir): Check for size_t overflow in several places,
25709 and fix some size_t checks that were not quite right.
25710 Remove old code using SHELL since Bash no longer
25712 (glob, prefix_array): Separate MS code better.
25713 (glob_in_dir): Remove old Amiga and VMS code.
25714 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
25716 (glob_in_dir): Do not rely on undefined behavior in accessing
25717 struct members beyond their bounds. Use a flexible array member
25719 (link_stat): Rename from link_exists2_p and return -1/0 instead of
25720 0/1. Caller changed.
25721 (glob): Fix memory leaks.
25722 * posix/glob64 (globfree64): Move to separate file.
25723 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
25724 (globfree64): Remove hidden alias.
25725 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
25727 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
25729 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
25731 Move compat code to separate file.
25732 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
25735 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
25737 * resolv/tst-resolv-qtypes.c (domain): Changed to
25738 "const char domain[] =".
25740 2017-09-07 Joseph Myers <joseph@codesourcery.com>
25742 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
25745 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
25746 (TCP_MD5SIG_EXT): Likewise.
25747 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
25748 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
25749 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
25751 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
25753 2017-09-07 Mike FABIAN <mfabian@redhat.com>
25755 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
25757 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
25760 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
25762 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
25764 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
25765 before assuming that the file is empty. Avoid testing buffer content
25768 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25771 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
25773 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
25775 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
25777 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
25779 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
25781 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
25783 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
25786 2017-09-06 Florian Weimer <fweimer@redhat.com>
25788 * malloc/dynarray_emplace_enlarge.c
25789 (__libc_dynarray_emplace_enlarge): Add missing else.
25791 2017-09-06 Florian Weimer <fweimer@redhat.com>
25794 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
25795 case of failure to obtain the global conf object.
25797 2017-09-06 Florian Weimer <fweimer@redhat.com>
25800 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
25801 dynarray allocation failure.
25803 2017-09-06 Florian Weimer <fweimer@redhat.com>
25805 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
25806 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
25807 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
25809 (response): Call them. Add 'p', '6' flag processing.
25810 (test_reverse): New function.
25811 (test_get2_any): Call it.
25812 (test_no_inet6): Add 'p' test.
25813 (test_inet6): Likewise.
25815 2017-09-06 Florian Weimer <fweimer@redhat.com>
25817 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
25818 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
25820 (test_gai): Adjust query names. Add additional tests.
25821 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
25822 test_get2. Adjust query names. Add additional tests.
25823 (test_no_inet6): New function, extracted from threadfunc.
25824 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
25825 Add additional tests.
25827 2017-09-06 Mike FABIAN <mfabian@redhat.com>
25830 * localedata/unicode-gen/utf8_gen.py: Set the width for
25831 characters with Prepended_Concatenation_Mark property to 1
25832 * localedata/charmaps/UTF-8: Updated using the improved script.
25834 2017-09-06 Mike FABIAN <mfabian@redhat.com>
25837 * localedata/unicode-gen/utf8_gen.py: Improve the script to
25838 use the range notation for all ranges of neighbouring characters
25839 with the same width.
25841 2017-09-05 Joseph Myers <joseph@codesourcery.com>
25843 * sysdeps/generic/math-type-macros-double.h: Include
25844 <math-svid-compat.h>.
25845 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
25846 * sysdeps/generic/math-type-macros-float.h: Include
25847 <math-svid-compat.h>.
25848 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
25849 * sysdeps/generic/math-type-macros-ldouble.h: Include
25850 <math-svid-compat.h>.
25851 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
25852 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
25854 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
25855 * math/w_acosf_compat.c: Likewise.
25856 * math/w_acosh_compat.c: Likewise.
25857 * math/w_acoshf_compat.c: Likewise.
25858 * math/w_acoshl_compat.c: Likewise.
25859 * math/w_acosl_compat.c: Likewise.
25860 * math/w_asin_compat.c: Likewise.
25861 * math/w_asinf_compat.c: Likewise.
25862 * math/w_asinl_compat.c: Likewise.
25863 * math/w_atan2_compat.c: Likewise.
25864 * math/w_atan2f_compat.c: Likewise.
25865 * math/w_atan2l_compat.c: Likewise.
25866 * math/w_atanh_compat.c: Likewise.
25867 * math/w_atanhf_compat.c: Likewise.
25868 * math/w_atanhl_compat.c: Likewise.
25869 * math/w_cosh_compat.c: Likewise.
25870 * math/w_coshf_compat.c: Likewise.
25871 * math/w_coshl_compat.c: Likewise.
25872 * math/w_exp10_compat.c: Likewise.
25873 * math/w_exp10f_compat.c: Likewise.
25874 * math/w_exp10l_compat.c: Likewise.
25875 * math/w_exp2_compat.c: Likewise.
25876 * math/w_exp2f_compat.c: Likewise.
25877 * math/w_exp2l_compat.c: Likewise.
25878 * math/w_fmod_compat.c: Likewise.
25879 * math/w_fmodf_compat.c: Likewise.
25880 * math/w_fmodl_compat.c: Likewise.
25881 * math/w_hypot_compat.c: Likewise.
25882 * math/w_hypotf_compat.c: Likewise.
25883 * math/w_hypotl_compat.c: Likewise.
25884 * math/w_j0_compat.c: Likewise.
25885 * math/w_j0f_compat.c: Likewise.
25886 * math/w_j0l_compat.c: Likewise.
25887 * math/w_j1_compat.c: Likewise.
25888 * math/w_j1f_compat.c: Likewise.
25889 * math/w_j1l_compat.c: Likewise.
25890 * math/w_jn_compat.c: Likewise.
25891 * math/w_jnf_compat.c: Likewise.
25892 * math/w_jnl_compat.c: Likewise.
25893 * math/w_lgamma_r_compat.c: Likewise.
25894 * math/w_lgammaf_r_compat.c: Likewise.
25895 * math/w_lgammal_r_compat.c: Likewise.
25896 * math/w_log10_compat.c: Likewise.
25897 * math/w_log10f_compat.c: Likewise.
25898 * math/w_log10l_compat.c: Likewise.
25899 * math/w_log2_compat.c: Likewise.
25900 * math/w_log2f_compat.c: Likewise.
25901 * math/w_log2l_compat.c: Likewise.
25902 * math/w_log_compat.c: Likewise.
25903 * math/w_logf_compat.c: Likewise.
25904 * math/w_logl_compat.c: Likewise.
25905 * math/w_pow_compat.c: Likewise.
25906 * math/w_powf_compat.c: Likewise.
25907 * math/w_powl_compat.c: Likewise.
25908 * math/w_remainder_compat.c: Likewise.
25909 * math/w_remainderf_compat.c: Likewise.
25910 * math/w_remainderl_compat.c: Likewise.
25911 * math/w_sinh_compat.c: Likewise.
25912 * math/w_sinhf_compat.c: Likewise.
25913 * math/w_sinhl_compat.c: Likewise.
25914 * math/w_sqrt_compat.c: Likewise.
25915 * math/w_sqrtf_compat.c: Likewise.
25916 * math/w_sqrtl_compat.c: Likewise.
25917 * math/w_tgamma_compat.c: Likewise.
25918 * math/w_tgammaf_compat.c: Likewise.
25919 * math/w_tgammal_compat.c: Likewise.
25920 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
25921 [LIBM_SVID_COMPAT].
25922 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
25923 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
25924 [LIBM_SVID_COMPAT].
25925 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
25926 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
25927 [LIBM_SVID_COMPAT].
25928 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
25929 * sysdeps/i386/fpu/w_sqrt.c: New file.
25930 * sysdeps/ia64/fpu/w_acos.c: Likewise.
25931 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
25932 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
25933 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
25934 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
25935 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
25936 * sysdeps/ia64/fpu/w_asin.c: Likewise.
25937 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
25938 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
25939 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
25940 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
25941 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
25942 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
25943 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
25944 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
25945 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
25946 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
25947 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
25948 * sysdeps/ia64/fpu/w_exp.c: Likewise.
25949 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
25950 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
25951 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
25952 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
25953 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
25954 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
25955 * sysdeps/ia64/fpu/w_expf.c: Likewise.
25956 * sysdeps/ia64/fpu/w_expl.c: Likewise.
25957 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
25958 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
25959 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
25960 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
25961 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
25962 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
25963 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
25964 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
25965 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
25966 * sysdeps/ia64/fpu/w_log.c: Likewise.
25967 * sysdeps/ia64/fpu/w_log10.c: Likewise.
25968 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
25969 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
25970 * sysdeps/ia64/fpu/w_log2.c: Likewise.
25971 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
25972 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
25973 * sysdeps/ia64/fpu/w_logf.c: Likewise.
25974 * sysdeps/ia64/fpu/w_logl.c: Likewise.
25975 * sysdeps/ia64/fpu/w_pow.c: Likewise.
25976 * sysdeps/ia64/fpu/w_powf.c: Likewise.
25977 * sysdeps/ia64/fpu/w_powl.c: Likewise.
25978 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
25979 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
25980 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
25981 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
25982 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
25983 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
25984 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
25985 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
25986 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
25987 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
25988 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
25989 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
25990 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
25991 [LIBM_SVID_COMPAT].
25992 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
25993 * sysdeps/ieee754/k_standard.c: Likewise.
25994 * sysdeps/ieee754/k_standardf.c: Likewise.
25995 * sysdeps/ieee754/k_standardl.c: Likewise.
25996 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
25997 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
25998 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
25999 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
26000 long_double_symbol call on [LIBM_SVID_COMPAT].
26001 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
26002 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
26003 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
26004 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
26005 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
26006 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
26007 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
26008 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
26009 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
26010 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
26011 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
26012 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
26013 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
26014 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
26015 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
26016 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
26017 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
26018 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
26019 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
26020 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
26021 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
26022 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
26024 2017-09-05 Steve Ellcey <sellcey@cavium.com>
26026 * include/shlib-compat.h (TEST_COMPAT): New Macro.
26027 * malloc/tst-mallocstate.c: Convert from test-skeleton
26028 to test-driver. Ifdef code using TEST_COMPAT macro.
26029 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
26030 * math/test-matherr.c: Likewise.
26032 2017-09-05 Joseph Myers <joseph@codesourcery.com>
26035 * debug/pcprofiledump.c (main): Use byte-swapped mask when
26036 comparing word with byte-swapped constant.
26038 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
26041 * locale/iso-639.def: add Miskito.
26042 * localedata/SUPPORTED: Add miq_NI/UTF-8.
26043 * localedata/locales/miq_NI: New file.
26045 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
26048 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
26049 (__mkdir): Likewise.
26050 * io/chmod.c (__chmod): Add libc_hidden_def.
26051 * io/mkdir.c (__mkdir): Likewise.
26052 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
26053 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
26054 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
26055 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
26057 2017-09-04 Joseph Myers <joseph@codesourcery.com>
26059 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
26063 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
26064 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
26066 2017-09-04 Florian Weimer <fweimer@redhat.com>
26068 * math/math.h: Issue warning if log is defined.
26070 2017-09-04 Joseph Myers <joseph@codesourcery.com>
26072 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
26073 kernel version to 4.13.
26075 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
26077 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
26078 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
26080 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
26081 just <bits/types.h>.
26082 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
26083 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
26084 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
26085 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
26086 * misc/preadv2.c: Include <errno.h>.
26087 * misc/preadv64v2.c: Include <errno.h>.
26088 * misc/pwritev2.c: Include <errno.h>.
26089 * misc/pwritev64v2.c: Include <errno.h>.
26090 * sysdeps/posix/preadv2.c: Include <errno.h>.
26091 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
26092 Fix <unistd.h> inclusion.
26093 * sysdeps/posix/pwritev2.c: Include <errno.h>.
26094 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
26095 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
26096 __strtoul_internal): New functions.
26097 * sysdeps/posix/pause.c: Include <sigsetops.h>.
26098 * sysdeps/posix/system.c: Include <sigsetops.h>.
26099 * sysdeps/mach/hurd/i386/Makefile
26100 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
26101 [$(subdir) = csu] (sysdep-only-routines): Likewise.
26102 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
26103 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
26104 __feraiseexcept_renamed to feraiseexcept instead of
26105 __GI_feraiseexcept.
26106 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
26107 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
26108 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
26109 RWF_NOWAIT): Define to 0 if undefined already.
26110 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
26112 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
26113 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
26115 2017-09-01 Joseph Myers <joseph@codesourcery.com>
26117 * manual/math.texi (pow10): Do not document.
26118 (pow10f): Likewise.
26119 (pow10l): Likewise.
26120 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
26121 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
26122 * math/libm-test-exp10.inc (pow10_test): Remove.
26123 (do_test): Do not call pow10.
26124 * math/w_exp10_compat.c (pow10): Make into compat symbol.
26125 [NO_LONG_DOUBLE] (pow10l): Likewise.
26126 * math/w_exp10f_compat.c (pow10f): Likewise.
26127 * math/w_exp10l_compat.c (pow10l): Likewise.
26128 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
26129 (pow10): Make into compat symbol.
26130 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
26131 (pow10f): Make into compat symbol.
26132 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
26133 (pow10l): Make into compat symbol.
26134 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
26136 (CFLAGS-nldbl-pow10.c): Remove variable..
26137 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
26138 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
26139 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
26140 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
26141 Undefine and redefine.
26142 (pow10l): Make into compat symbol.
26143 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
26144 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
26145 * sysdeps/arm/libm-test-ulps: Likewise.
26146 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
26147 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
26148 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26149 * sysdeps/microblaze/libm-test-ulps: Likewise.
26150 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
26151 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26152 * sysdeps/nios2/libm-test-ulps: Likewise.
26153 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26154 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
26155 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26156 * sysdeps/sh/libm-test-ulps: Likewise.
26157 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26158 * sysdeps/tile/libm-test-ulps: Likewise.
26159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26161 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
26163 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
26165 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
26167 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
26168 "../ChangeLog.old/ChangeLog.8".
26169 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
26170 "../ChangeLog.old/ChangeLog.14".
26172 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
26174 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
26177 2017-09-01 Joseph Myers <joseph@codesourcery.com>
26179 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
26181 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
26183 * csu/version.c (banner): Remove "by Roland McGrath et al.".
26184 * nptl/Banner: Remove "by Ulrich Drepper et al.".
26186 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
26188 * stdlib/tst-atexit-common.c (do_test): Test support for at least
26189 32 atexit handlers.
26191 2017-09-01 Zack Weinberg <zackw@panix.com>
26193 * math/math.h (HUGE_VAL): Improve commentary.
26195 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26196 Andreas Schwab <schwab@suse.de>
26199 * include/stdio.h (__gen_tempfd): New function.
26200 * stdio-common/Makefile (routines): Add gentempfd.
26201 * stdio-common/gentempfd.c: New file.
26202 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
26203 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
26204 unnamed file first.
26206 2017-09-01 Florian Weimer <fweimer@redhat.com>
26210 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
26211 result to determine success or failure, not the errno value.
26212 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
26213 (tst-nss-files-hosts-erange): Link with -ldl.
26214 * nss/tst-nss-files-hosts-erange.c: New file.
26215 * nss/tst-resolv-basic.c (response): Handle nodata.example.
26216 (do_test): Add NO_DATA tests.
26217 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
26218 (do_test): Call it.
26220 2017-09-01 Florian Weimer <fweimer@redhat.com>
26223 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
26224 coming from gethostbyname2_r.
26226 2017-09-01 Florian Weimer <fweimer@redhat.com>
26228 * support/namespace.h (struct support_chroot_configuration): Add
26230 (struct support_chroot): Add path_hosts, path_host_conf.
26231 * support/support_chroot.c (write_file): New function.
26232 (support_chroot_create): Call it to process /etc/resolv.conf,
26233 /etc/hosts, /etc/host.conf.
26234 (support_chroot_free): Update.
26236 2017-09-01 Florian Weimer <fweimer@redhat.com>
26238 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
26239 status indicates it is set.
26241 2017-09-01 Florian Weimer <fweimer@redhat.com>
26244 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
26245 function lookup failures more reliable.
26247 2017-09-01 Florian Weimer <fweimer@redhat.com>
26249 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
26250 (getcanonname): Likewise.
26251 (gaih_inet): Likewise.
26253 2017-09-01 Florian Weimer <fweimer@redhat.com>
26255 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
26256 (getcanonname): Likewise.
26257 (gaih_inet): Likewise.
26259 2017-08-31 Steve Ellcey <sellcey@cavium.com>
26260 Richard Henderson <rth@twiddle.net>
26262 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
26263 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
26264 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
26265 (IREG_SIZE, OREG_SIZE): New macros.
26266 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
26267 (IREG_SIZE, OREG_SIZE): New macros.
26268 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
26269 (IREG_SIZE): New macro.
26270 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
26271 (IREG_SIZE): New macro.
26272 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
26274 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
26275 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
26276 (__CONCATX): Handle exceptions correctly on large values that may
26278 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
26279 Initialize if not already set.
26280 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
26282 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26284 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
26285 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
26287 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
26289 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
26291 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
26293 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
26295 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
26297 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
26299 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
26300 (NO_CANCELLATION): Likewise.
26301 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
26303 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
26305 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
26307 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
26308 (NO_CANCELLATION): Likewise.
26309 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
26310 (NO_CANCELLATION): Likewise.
26311 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
26313 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
26315 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
26317 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
26319 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
26321 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
26322 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
26324 2017-08-31 Steve Ellcey <sellcey@cavium.com>
26326 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
26329 2017-08-31 Florian Weimer <fweimer@redhat.com>
26331 * include/libc-symbols.h (internal_function): Remove.
26333 2017-08-31 Florian Weimer <fweimer@redhat.com>
26335 * stdlib/fmtmsg.c (internal_addseverity): Remove
26338 2017-08-31 Florian Weimer <fweimer@redhat.com>
26340 * stdio-common/printf_fp.c (group_number): Remove
26342 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
26344 2017-08-31 Florian Weimer <fweimer@redhat.com>
26346 * posix/fnmatch.c (internal_function): Remove definition.
26347 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
26348 * posix/regcomp.c (peek_token, init_word_char)
26349 (duplicate_node_closure, fetch_token, peek_token)
26350 (peek_token_bracket, build_range_exp, build_collating_symbol):
26352 * posix/regex_internal.c (re_string_construct_common)
26353 (create_ci_newstate, create_cd_newstate, re_string_allocate)
26354 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
26355 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
26356 (re_string_translate_buffer, re_string_reconstruct)
26357 (re_string_peek_byte_case, re_string_fetch_byte_case)
26358 (re_string_destruct, re_string_context_at, re_node_set_alloc)
26359 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
26360 (re_node_set_add_intersect, re_node_set_init_union)
26361 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
26362 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
26363 (re_dfa_add_node, calc_state_hash, re_acquire_state)
26364 (re_acquire_state_context): Likewise.
26365 * posix/regex_internal.h (internal_function): Remove definition.
26366 (re_string_realloc_buffers, build_wcs_buffer)
26367 (build_wcs_upper_buffer, build_upper_buffer)
26368 (re_string_translate_buffer, re_string_context_at)
26369 (re_string_char_size_at, re_string_wchar_at)
26370 (re_string_elem_size_at): Likewise.
26371 * posix/regexec.c (match_ctx_init, match_ctx_clean)
26372 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
26373 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
26374 (re_search_internal, re_search_2_stub, re_search_stub)
26375 (re_copy_regs, prune_impossible_nodes, check_matching)
26376 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
26377 (free_fail_stack_return, sift_states_iter_mb)
26378 (sift_states_backward, build_sifted_states)
26379 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
26380 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
26381 (check_subexp_limits, sift_states_bkref, merge_state_array)
26382 (find_recover_state, transit_state, merge_state_with_log)
26383 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
26384 (transit_state_mb, transit_state_bkref, get_subexp)
26385 (get_subexp_sub, find_subexp_node, check_arrival)
26386 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
26387 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
26388 (check_node_accept_bytes, find_collation_sequence_value)
26389 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
26390 (acquire_init_state_context, check_halt_node_context)
26391 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
26392 (sub_epsilon_src_nodes): Likewise.
26393 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
26394 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
26395 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
26396 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
26397 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
26398 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
26399 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
26400 * sysdeps/posix/ttyname.c (getttyname): Likewise.
26401 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
26402 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
26403 (PREADV): Likewise.
26404 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
26405 (PREADV): Likewise.
26406 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
26407 (PWRITEV): Likewise.
26408 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
26409 (PWRITEV): Likewise.
26410 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
26411 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
26413 2017-08-31 Florian Weimer <fweimer@redhat.com>
26415 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
26416 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
26417 Remove internal_function.
26418 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
26419 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
26420 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
26421 (__deallocate_stack, __libc_pthread_init)
26422 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
26423 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
26424 (__libc_disable_asynccancel, __librt_disable_asynccancel):
26426 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
26427 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
26428 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
26430 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
26431 (__pthread_mutex_unlock_usercnt): Likewise.
26433 2017-08-31 Florian Weimer <fweimer@redhat.com>
26435 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
26436 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
26437 (fts_safe_changedir): Remove internal_function.
26438 * io/ftw.c (internal_function): Remove definition.
26439 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
26441 2017-08-31 Florian Weimer <fweimer@redhat.com>
26443 * inet/deadline.c (__deadline_current_time)
26444 (__deadline_from_timeval, __deadline_to_ms): Remove
26446 * inet/getnameinfo.c (nrl_domainname): Likewise.
26447 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
26448 * inet/inet6_option.c (add_pad): Likewise.
26449 * inet/net-internal.h (__deadline_current_time)
26450 (__deadline_from_timeval, __deadline_to_ms): Likewise.
26451 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
26452 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
26453 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
26455 2017-08-31 Joseph Myers <joseph@codesourcery.com>
26457 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
26458 include <bits/nan.h>.
26459 * math/Makefile (headers): Remove bits/nan.h.
26460 * bits/nan.h: Remove.
26461 * sysdeps/ieee754/bits/nan.h: Likewise.
26462 * sysdeps/mips/bits/nan.h: Likewise.
26464 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
26465 not include <bits/inf.h>.
26466 * math/Makefile (headers): Remove bits/inf.h.
26467 * bits/inf.h: Remove.
26468 * sysdeps/ieee754/bits/inf.h: Likewise.
26470 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
26471 bits/huge_vall.h or bits/huge_val_flt128.h.
26472 (HUGE_VAL): Define directly here.
26473 [__USE_ISOC99] (HUGE_VALF): Likewise.
26474 [__USE_ISOC99] (HUGE_VALL): Likewise.
26475 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26476 (HUGE_VAL_F128): Likewise.
26477 * math/Makefile (headers): Remove bits/huge_val.h,
26478 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
26479 * bits/huge_val.h: Remove.
26480 * bits/huge_val_flt128.h: Likewise.
26481 * bits/huge_valf.h: Likewise.
26482 * bits/huge_vall.h: Likewise.
26483 * sysdeps/ia64/bits/huge_vall.h: Likewise.
26484 * sysdeps/ieee754/bits/huge_val.h: Likewise.
26485 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
26486 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
26487 * sysdeps/sh/bits/huge_val.h: Likewise.
26488 * sysdeps/sparc/bits/huge_vall.h: Likewise.
26489 * sysdeps/x86/bits/huge_vall.h: Likewise.
26491 2017-08-31 Florian Weimer <fweimer@redhat.com>
26493 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
26495 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
26497 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
26498 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
26499 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
26500 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
26501 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26502 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
26503 * elf/dl-libc.c (dlerror_run): Likewise.
26504 * elf/dl-load.c (add_name_to_object, decompose_rpath)
26505 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
26506 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
26507 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
26509 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
26510 (_dl_higher_prime_number, _dl_strtoul): Likewise.
26511 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
26512 * elf/dl-profile.c (_dl_start_profile): Likewise.
26513 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
26514 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
26516 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
26517 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
26518 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
26519 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
26520 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
26521 (_dl_allocate_tls_storage): Likewise.
26522 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
26523 (_dl_check_all_versions): Likewise.
26524 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
26525 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
26526 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
26527 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
26528 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
26529 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
26530 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
26531 internal_function from __dl_start.
26532 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
26533 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
26534 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
26535 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
26536 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
26537 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
26538 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
26539 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
26540 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
26541 (_dl_next_ld_env_entry, _dl_important_hwcaps)
26542 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
26543 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
26544 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
26545 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
26546 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
26548 (struct rtld_global_ro): Remove internal_function from the
26549 _dl_lookup_symbol_x member.
26550 (_dl_symbol_value): Remove. No longer defined anywhere.
26551 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
26553 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
26554 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
26555 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
26556 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
26557 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
26558 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
26559 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
26560 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
26561 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
26562 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
26563 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
26564 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
26566 2017-08-31 Florian Weimer <fweimer@redhat.com>
26568 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
26569 Remove internal_function.
26570 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
26572 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
26575 2017-08-31 Florian Weimer <fweimer@redhat.com>
26577 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
26578 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
26579 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
26581 2017-08-31 Florian Weimer <fweimer@redhat.com>
26583 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
26584 (__gai_enqueue_request): Remove internal_function.
26585 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
26586 (__gai_remove_request, __gai_notify, __gai_notify_only)
26587 (__gai_sigqueue): Likewise.
26588 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
26589 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
26590 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
26591 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26594 2017-08-31 Florian Weimer <fweimer@redhat.com>
26596 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
26597 * include/dirent.h (__opendirat, __getdents, __getdents64)
26598 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
26599 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
26600 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
26601 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
26603 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
26605 2017-08-31 Florian Weimer <fweimer@redhat.com>
26607 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
26609 (GETCWD_RETURN_TYPE): Likewise.
26611 2017-08-31 Florian Weimer <fweimer@redhat.com>
26613 * include/time.h (__tz_compute, __strptime_internal): Remove
26615 * time/strptime_l.c (__strptime_internal): Likewise.
26616 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
26618 2017-08-31 Florian Weimer <fweimer@redhat.com>
26620 * iconv/gconv.c (__gconv): Remove internal_function.
26621 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
26622 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
26623 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
26624 (__gconv_release_cache): Likewise.
26625 * iconv/gconv_close.c (__gconv_close): Likewise.
26626 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
26627 (read_conf_file, __gconv_get_path): Likewise.
26628 * iconv/gconv_db.c (derivation_lookup, add_derivation)
26629 (__gconv_release_step, gen_steps, increment_counter)
26630 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
26631 (__gconv_close_transform, free_modules_db): Likewise.
26632 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
26634 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
26635 (__gconv_find_transform, __gconv_lookup_cache)
26636 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
26637 (__gconv_close_transform, __gconv_release_cache)
26638 (__gconv_loaded_object, __gconv_release_shlib)
26639 (__gconv_compare_alias): Likewise.
26640 * iconv/gconv_open.c (__gconv_open): Likewise.
26641 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
26642 * iconv/iconvconfig.c (add_module): Likewise.
26643 * intl/dcigettext.c (plural_lookup, guess_category_value)
26644 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
26645 * intl/eval-plural.h (plural_eval): Likewise.
26646 * intl/finddomain.c (_nl_find_domain): Likewise.
26647 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
26648 (_nl_load_domain, _nl_find_msg): Likewise.
26649 (internal_function): Remove definition.
26650 * intl/loadinfo.h (internal_function): Likewise.
26651 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
26653 * intl/localealias.c (internal_function): Remove definition.
26654 (read_alias_file): Remove internal_function.
26655 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
26656 * intl/plural-exp.h (internal_function): Remove definition.
26657 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
26659 * intl/plural.c: Regenerate.
26660 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
26661 * locale/coll-lookup.c (__collidx_table_lookup)
26662 (__collseq_table_lookup): Likewise.
26663 * locale/coll-lookup.h (__collidx_table_lookup)
26664 (__collseq_table_lookup): Likewise.
26665 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
26666 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
26667 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
26668 (_nl_unload_locale): Likewise.
26669 * locale/localeinfo.h (struct __locale_data): Remove
26670 internal_function from cleanup member.
26671 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
26672 (_nl_remove_locale, _nl_load_locale_from_archive)
26673 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
26674 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
26675 (_nl_cleanup_time): Remove internal_function.
26676 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
26677 (_nl_parse_alt_digit): Likewise.
26678 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
26679 (_nl_select_era_entry): Likewise.
26680 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
26681 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
26682 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
26683 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
26684 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
26686 2017-08-31 Florian Weimer <fweimer@redhat.com>
26688 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
26689 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
26690 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
26691 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
26693 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
26694 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
26695 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
26696 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
26698 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
26700 2017-08-31 Florian Weimer <fweimer@redhat.com>
26702 * misc/getttyent.c (skip, value): Remove internal_function.
26703 * misc/syslog.c (openlog_internal): Likewise.
26704 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
26706 2017-08-31 Florian Weimer <fweimer@redhat.com>
26708 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
26709 (__nss_rewrite_field): Remove internal_function.
26710 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
26711 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
26712 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
26713 * nss/nsswitch.c (nss_parse_file, nss_getline)
26714 (nss_parse_service_list, nss_new_service): Likewise.
26715 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
26716 * nss/valid_field.c (__nss_valid_field): Likewise.
26717 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
26719 2017-08-31 Florian Weimer <fweimer@redhat.com>
26721 * malloc/arena.c (__malloc_fork_lock_parent)
26722 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
26723 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
26724 internal_function from defintions.
26725 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
26726 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
26727 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
26728 internal_function from declarations.
26729 * malloc/malloc.c (internal_function): Do not define.
26730 (mem2mem_check): Remove internal_function from declaration.
26731 (munmap_chunk, mremap_chunk): Remove internal_function.
26732 * malloc/mtrace.c (tr_where): Likewise.
26734 2017-08-31 Florian Weimer <fweimer@redhat.com>
26736 * include/rpc/pmap_clnt.h (__get_socket): Remove
26738 * sunrpc/auth_des.c (synchronize): Likewise.
26739 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
26740 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
26741 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
26742 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
26743 (key_call): Likewise.
26744 * sunrpc/pm_getport.c (__get_socket): Likewise.
26745 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
26746 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
26747 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
26748 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
26749 (invalidate): Likewise.
26750 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
26751 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
26752 (set_input_fragment, get_input_bytes): Likewise.
26754 2017-08-31 Florian Weimer <fweimer@redhat.com>
26756 * malloc/malloc.c (_int_free): Remove locked variable and related
26759 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
26762 * Makerules (build-module-helper-objlist): Filter out
26763 $(elf-objpfx)sofini.os.
26764 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
26767 2017-08-31 Florian Weimer <fweimer@redhat.com>
26769 * libio/fcloseall.c: Assume weak_alias is defined.
26770 * libio/feof.c: Likewise.
26771 * libio/fileno.c: Likewise.
26772 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
26773 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
26775 (_IO_file_open): Call __open directly.
26776 (_IO_new_file_sync): Assume ESPIPE is defined.
26777 (_IO_file_seekoff_maybe_mmap): Call __read directly.
26778 (_IO_new_file_write): Call __write directly.
26779 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
26780 * libio/ftello64.c (__ftello64): Assume EIO is defined.
26781 * libio/genops.c: Assume _LIBC is defined.
26782 (save_for_backup): Remove internal_function.
26783 * libio/getc.c: Assume weak_alias is defined.
26784 * libio/getwc.c: Likewise.
26785 * libio/iofclose.c: Assume _LIBC is defined.
26786 * libio/iofdopen.c: Likewise.
26787 (_IO_fcntl): Remove macro definition.
26788 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
26789 Call __fcntl directly.
26790 * libio/iofflush.c: Assume weak_alias is defined.
26791 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
26793 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
26794 * libio/iofgets.c: Likewise.
26795 * libio/iofopen.c: Assume _LIBC is defined.
26796 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
26797 * libio/iofputs.c: Assume weak_alias is defined.
26798 * libio/iofread.c: Likewise.
26799 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
26800 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
26801 * libio/ioftell.c: Assume weak_alias is defined.
26802 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
26803 * libio/iofwide.c: Assume _LIBC is defined.
26804 (_IO_fwide): Drop SHARED conditional because it is implied by
26806 * libio/iofwrite.c: Assume weak_alias is defined.
26807 * libio/iogetdelim.c: Likewise.
26808 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
26809 * libio/iogetwline.c (wmemcpy): Remove macro definition.
26810 (_IO_getwline): Call __wmemcpy directly.
26811 * libio/iopopen.c: Assume _LIBC is defined.
26812 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
26813 (_IO_close): Remove macro definitions.
26814 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
26816 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
26818 * libio/ioputs.c: Assume weak_alias is defined.
26819 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
26820 * libio/iosetbuffer.c: Assume weak_alias is defined.
26821 * libio/iosetvbuf.c: Likewise.
26822 * libio/ioungetc.c: Likewise.
26823 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
26824 libc_hidden_def, libc_hidden_weak, NULL are defined.
26825 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
26826 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
26828 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
26830 (_IO_old_file_init_internal): Drop SHARED conditional because it
26831 is implied by SHLIB_COMPAT.
26832 (_IO_old_file_fopen): Call __open directly.
26833 (_IO_old_file_sync): Assume ESPIPE is defined.
26834 (_IO_old_file_write): Call __write directly.
26835 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
26836 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
26837 Call __fcntl directly.
26838 * libio/oldiofgetpos.c: Assume weak_alias is defined.
26839 (_IO_old_fgetpos): Assume EIO is defined.
26840 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
26841 (_IO_old_fgetpos64): Assume EIO is defined.
26842 * libio/oldiofsetpos.c: Assume weak_alias is defined.
26843 (_IO_old_fsetpos): Assume EIO is defined.
26844 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
26845 (_IO_old_fsetpos64): Assume EIO is defined.
26846 * libio/oldiopopen.c: Assume _LIBC is defined.
26847 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
26848 (_IO_close): Remove macro definitions.
26849 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
26851 (_IO_old_proc_close): Call __close, __waitpid directly.
26852 * libio/put.c: Assume weak_alias is defined.
26853 * libio/stdfiles.c: Assume _LIBC is defined.
26854 * libio/stdio.c: Likewise.
26855 * libio/wfileops.c: Likewise.
26856 (_IO_wfile_sync): Assume ESPIPE is defined.
26857 * libio/wgenops.c: Assume _LIBC is defined.
26858 (save_for_wbackup): Remove internal_function.
26860 2017-08-31 Florian Weimer <fweimer@redhat.com>
26862 * malloc/malloc.c (top_check): Change return type to void. Remove
26864 * malloc/hooks.c (top_check): Likewise.
26865 (malloc_check, realloc_check, memalign_check): Adjust.
26867 2017-08-30 Joseph Myers <joseph@codesourcery.com>
26870 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
26871 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
26872 sigcontext and namespace requirements.
26873 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
26874 * sysdeps/m68k/sys/ucontext.h: Likewise.
26875 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
26876 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
26877 <bits/sigcontext.h>.
26878 (__ctx): Define earlier.
26879 (mcontext_t): Define structure contents rather than using struct
26881 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
26882 __glibc_reserved1 instead of __reserved.
26883 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
26884 <bits/sigcontext.h>.
26885 (__ctx): Define earlier.
26886 (mcontext_t): Define structure contents rather than using struct
26888 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
26889 mcontext_t instead of struct sigcontext.
26890 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
26891 <bits/sigcontext.h>.
26892 (__ctx): Define earlier.
26893 (mcontext_t): Define structure contents rather than using struct
26895 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
26896 <bits/sigcontext.h>.
26897 (__ctx): Define earlier.
26898 (mcontext_t): Define structure contents rather than using struct
26900 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
26901 mcontext_t instead of struct sigcontext.
26902 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
26903 mcontext_t instead of struct sigcontext.
26904 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
26905 <bits/sigcontext.h>.
26906 (__ctx): New macro.
26907 (struct __ia64_fpreg_mcontext): New type.
26908 (mcontext_t): Define structure contents rather than using struct
26910 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
26911 (uc_sigmask): Define using __ctx.
26912 (uc_stack): Likewise.
26913 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
26914 <bits/sigcontext.h>.
26915 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
26916 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
26917 <bits/sigcontext.h>.
26918 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
26919 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
26920 <bits/sigcontext.h>.
26921 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
26922 <bits/sigcontext.h>.
26923 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
26924 <bits/sigcontext.h>.
26925 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
26926 <bits/sigcontext.h>.
26927 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
26928 <bits/sigcontext.h>.
26929 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
26930 <bits/sigcontext.h>.
26931 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
26932 <bits/sigcontext.h>.
26933 (__ctx): Define earlier.
26934 (mcontext_t): Define structure contents rather than using struct
26936 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
26937 <bits/sigcontext.h>. Include <bits/types.h>.
26938 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
26939 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
26940 (test-xfail-XPG42/ucontext.h/conform): Likewise.
26941 (test-xfail-UNIX98/signal.h/conform): Likewise.
26942 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
26943 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
26944 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
26945 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
26946 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
26947 (test-xfail-POSIX2008/signal.h/conform): Likewise.
26948 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
26949 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
26950 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
26952 2017-08-30 Florian Weimer <fweimer@redhat.com>
26954 * malloc/dynarray_emplace_enlarge.c
26955 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
26956 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
26957 * malloc/tst-dynarray.c (test_long_overflow): New function.
26958 (do_test): Call it.
26960 2017-08-30 Florian Weimer <fweimer@redhat.com>
26962 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
26963 (set_arena_corrupt): Remove definitions.
26964 (mtrim): Do not check for corrupt arena.
26965 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
26968 2017-08-30 Florian Weimer <fweimer@redhat.com>
26971 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
26973 (ptmalloc_init): Do not set or use check_action.
26974 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
26975 call to malloc_printerr. Remove return statement.
26976 (free_check): Likewise. Remove arena unlock.
26977 (top_check): Update comment. Adjust call to malloc_printerr.
26978 Remove heap repair code.
26979 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
26980 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
26981 (sysmalloc): Adjust call to malloc_printerr.
26982 (munmap_chunk, __libc_realloc): Likewise. Remove return
26984 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
26985 Remove errout label and corresponding gotos.
26986 (_int_free): Likewise. Remove arena unlock.
26987 (do_set_mallopt_check): Do not set check_action.
26988 (malloc_printerr): Adjust parameter list. Do not mark arena as
26990 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
26992 * manual/probes.texi (Memory Allocation Probes): Remove
26993 memory_mallopt_check_action.
26995 2017-08-30 Steve Ellcey <sellcey@cavium.com>
26997 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
26998 Use pointer to uint64_t instead of long int for sp.
27000 2017-08-30 Florian Weimer <fweimer@redhat.com>
27003 * malloc/malloc.c (malloc_printerr): Always terminate the process,
27004 without printing a backtrace. Do not leak any information in the
27006 * manual/memory.texi (Heap Consistency Checking): Update.
27007 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
27009 2017-08-30 Florian Weimer <fweimer@redhat.com>
27011 Do not scale NPTL tests with available number of CPUs.
27012 * nptl/tst-cond16.c (count): Set to constant value of 8.
27013 * nptl/tst-cond18.c (count): Likewise.
27015 2017-08-29 Joseph Myers <joseph@codesourcery.com>
27018 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
27019 Define to take a second argument that is a macro that
27020 concatentates a suffix, not the suffix itself.
27021 (__CONCAT_d): New macro.
27022 (__CONCAT_f): Likewise.
27023 (__CONCAT_l): Likewise.
27025 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
27027 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
27030 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27031 Aurelien Jarno <aurelien@aurel32.net>
27032 Maciej W. Rozycki <macro@imgtec.com>
27035 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
27036 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
27037 `mips16-syscall6' and `mips16-syscall7'.
27038 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
27039 (CFLAGS-mips16-syscall7.c): Remove.
27040 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
27041 Remove `__mips16_syscall5', `__mips16_syscall6' and
27042 `__mips16_syscall7'.
27043 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
27044 (__mips16_syscall0): Rename `__mips16_syscall_return' to
27045 `__mips_syscall_return'.
27046 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
27047 (__mips16_syscall1): Likewise.
27048 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
27049 (__mips16_syscall2): Likewise.
27050 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
27051 (__mips16_syscall3): Likewise.
27052 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
27053 (__mips16_syscall4): Likewise.
27054 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
27056 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
27058 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
27060 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
27061 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
27062 `__mips16_syscall5'. Remove prototype.
27063 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
27064 `__mips16_syscall6'. Remove prototype.
27065 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
27066 `__mips16_syscall7'. Remove prototype.
27067 (__nomips16, __mips16_syscall_return): Move to...
27068 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
27069 (__nomips16, __mips_syscall_return): ... here.
27070 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
27071 `__mips16_syscall_return' to `__mips_syscall_return'.
27072 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
27073 `internal_syscall##nr'.
27074 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
27075 `internal_syscall##nr'.
27076 (FORCE_FRAME_POINTER): Remove.
27077 (__mips_syscall5): New prototype.
27078 (internal_syscall5): Rewrite to call `__mips_syscall5'.
27079 (__mips_syscall6): New prototype.
27080 (internal_syscall6): Rewrite to call `__mips_syscall6'.
27081 (__mips_syscall7): New prototype.
27082 (internal_syscall7): Rewrite to call `__mips_syscall7'.
27083 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
27084 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
27085 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
27086 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
27087 (sysdep_routines): Add libc-do-syscall.
27088 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
27089 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
27091 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27094 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
27095 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
27096 (advise_stack_range): New function.
27097 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
27098 stack non required to advise_stack_range at allocatestack.c
27100 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27102 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
27104 2017-08-29 Florian Weimer <fweimer@redhat.com>
27107 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
27108 __end_fct. Mangle __end_fct after setting it to NULL.
27109 * iconv/Makefile (tests): Add tst-gconv-init-failure.
27110 (modules-names, modules-names-tests): Add
27111 tst-gconv-init-failure-mod.
27112 (gconv-modules): New target.
27113 (tst-gconv-init-failure-mod.so): Link against libsupport.
27114 (tst-gconv-init-failure): Depend on gconv-modules,
27115 tst-gconv-init-failure-mod.so.
27116 * iconv/tst-gconv-init-failure-mod.c: New file.
27117 * iconv/tst-gconv-init-failure.c: Likewise.
27118 * iconv/test-gconv-modules: Likewise.
27120 2017-08-29 Florian Weimer <fweimer@redhat.com>
27123 * iconv/gconv_db.c (free_derivation): Remove redundant
27125 (gen_steps): Unconditionally mangle __btowc_fct after
27127 (increment_counter): Likewise. Do not call init_fct for internal
27130 2017-08-29 Joseph Myers <joseph@codesourcery.com>
27133 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
27134 (_MSUF_): Remove macro.
27135 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
27137 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
27138 (__REDIRFROM_X): New macro.
27139 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
27141 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
27142 (__REDIRTO_X): Likewise.
27143 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
27145 (__MATH_REDIRCALL_2): Likewise.
27146 (__MATH_REDIRCALL_INTERNAL): Likewise.
27147 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
27148 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
27149 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
27150 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
27151 * math/test-finite-macros.c: New file.
27152 * math/Makefile (tests): Add test-finite-macros.
27153 (CFLAGS-test-finite-macros.c): New variable.
27155 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
27156 Jeff Law <law@redhat.com>
27159 Mangle NULL pointers in iconv/gconv.
27160 * iconv/gconv_cache.c (find_module): Demangle init_fct before
27161 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
27162 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
27163 is non-NULL before demangling the end_fct. Check for NULL
27164 end_fct after demangling.
27165 (__gconv_release_step): Demangle the end_fct before checking
27166 it for NULL. Remove assert on __shlibc_handle != NULL.
27167 (gen_steps): Don't check btowc_fct for NULL before mangling.
27168 Demangle init_fct before checking for NULL.
27169 (increment_counter): Likewise.
27170 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
27171 end_fct for NULL before mangling.
27172 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
27175 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
27178 * locale/iso-639.def: add Morisyen.
27180 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27183 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
27184 (iszero): New C++ implementation that does not use
27185 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
27186 signaling nans are enabled, since __builtin_types_compatible_p
27187 is a C-only feature.
27188 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
27189 defined, include ieee754_float128.h for access to the union and
27190 member ieee854_float128.ieee.
27191 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
27192 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
27193 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
27194 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
27195 options of test-math-zero on powerpc64le.
27197 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
27199 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
27200 Change double to float.
27202 2017-08-28 Joseph Myers <joseph@codesourcery.com>
27204 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
27206 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
27207 conditional code; define contents only for [LIBM_SVID_COMPAT].
27209 2017-08-28 Florian Weimer <fweimer@redhat.com>
27211 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
27212 (abi-lp64_be-options): Remove.
27213 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
27214 (abi-hard-options): Likewise.
27215 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
27216 (abi-o32_hard-options, abi-o32_soft_2008-options)
27217 (abi-o32_hard_2008-options, abi-n32_soft-options)
27218 (abi-n32_hard-options, abi-n32_soft_2008-options)
27219 (abi-n32_hard_2008-options, abi-n64_soft-options)
27220 (abi-n64_hard-options, abi-n64_soft_2008-options)
27221 (abi-n64_hard_2008-options): Likewise.
27222 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
27223 (abi-64-v1-options, abi-64-v2-options): Likewise.
27224 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
27225 (abi-64-options): Likewise.
27226 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
27227 (abi-64-options): Likewise.
27228 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
27229 (abi-64-options): Likewise.
27230 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
27231 (abi-64-options, abi-x32-options): Likewise.
27233 2017-08-28 Florian Weimer <fweimer@redhat.com>
27235 Store supported list of SYS_* system calls in the source tree.
27236 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
27237 (bits/syscall.h): Generate from list file.
27238 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
27239 [$(subdir) = misc] (tests): Add tst-syscall-list.
27240 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
27241 [$(subdir) = misc] (tst-syscall-list-macros.list)
27242 [$(subdir) = misc] (tst-syscall-list-nr.list)
27243 (tst-syscall-list-sys.list): Helper targets for new
27244 tst-syscall-list test.
27245 [$(subdir) = misc] (tst-syscall-list.out): Run test script
27246 tst-syscall-list.sh.
27247 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
27248 target. Do not include bits/syscall.d.
27249 [$(subdir) = misc] (generated): Do not update.
27250 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
27251 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
27252 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
27253 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
27255 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
27257 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
27258 (tst-cxa_atexit, tst-on_exit): Likewise.
27259 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
27260 tst-cxa_atexit, and tst-on_exit.
27261 * stdlib/tst-atexit-common.c: New file.
27262 * stdlib/tst-atexit.c: New file.
27263 * stdlib/tst-at_quick_exit.c: New file.
27264 * stdlib/tst-cxa_atexit.c: New file.
27265 * stdlib/tst-on_exit.c: New file.
27267 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27269 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
27270 * mach/stack_chk_fail_local.c: New file.
27271 * hurd/stack_chk_fail_local.c: New file.
27272 * mach/Machrules ($(interface-library)-routines): Add
27273 stack_chk_fail_local.
27274 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
27275 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
27276 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
27277 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
27278 * hurd/Makefile (CFLAGS-hurdstartup.o,
27279 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
27281 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
27283 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
27284 (index_cpu_*, index_arch_*): Removed.
27286 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27288 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
27289 Use uint64_t instead of unsigned long.
27291 2017-08-25 Joseph Myers <joseph@codesourcery.com>
27293 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
27294 [__HAVE_DISTINCT_FLOAT128].
27296 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
27297 of <bits/math-finite.h>.
27298 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
27299 inclusion of <bits/math-finite.h>.
27300 * math/bits/math-finite.h (__REDIRTO_X): Do not define
27301 conditionally on [__MATH_DECLARING_LDOUBLE && defined
27302 __NO_LONG_DOUBLE_MATH].
27303 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
27304 (__MATH_REDIRCALL_2): Likewise.
27305 (__MATH_REDIRCALL_INTERNAL): Likewise.
27306 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
27307 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
27308 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
27310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
27312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
27314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
27316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
27318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
27320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
27322 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
27323 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
27324 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
27325 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
27326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
27327 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
27328 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
27329 w_sqrtf_compat-ppc32.
27331 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27333 * math/math.h [defined __cplusplus] (issignaling): In the long
27334 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
27335 is not defined. Call __issignaling, otherwise.
27337 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27339 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
27340 syscall definitions and replace __builtin_expect with __glibc_likely.
27341 * sysdeps/unix/syscall-template.S: Update comment about cancellable
27343 (SYSCALL_CANCELLABLE): Removedefinition
27344 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
27346 (PSEUDO_END): Likewise.
27347 [IS_IN (libpthread)] (CENABLE): Likewise.
27348 [IS_IN (libpthread)] (CDISABLE): Likewise.
27349 [IS_IN (libc)] (CENABLE): Likewise.
27350 [IS_IN (libc)] (CENABLE): Likewise.
27351 [IS_IN (librt)] (CDISABLE): Likewise.
27352 [IS_IN (librt)] (CDISABLE): Likewise.
27353 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27354 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
27356 (PSEUDO_END): Likewise.
27357 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
27358 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
27359 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
27360 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
27361 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
27362 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
27363 (CENABLE): Likewise.
27364 (CDISABLE): Likewise.
27365 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27366 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
27368 (PSEUDO_END): Likewise.
27369 [IS_IN (libpthread)] (CENABLE): Likewise.
27370 [IS_IN (libpthread)] (CDISABLE): Likewise.
27371 [IS_IN (libc)] (CENABLE): Likewise.
27372 [IS_IN (libc)] (CENABLE): Likewise.
27373 [IS_IN (librt)] (CDISABLE): Likewise.
27374 [IS_IN (librt)] (CDISABLE): Likewise.
27375 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27376 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
27378 (PSEUDO_END): Likewise.
27379 [IS_IN (libpthread)] (CENABLE): Likewise.
27380 [IS_IN (libpthread)] (CDISABLE): Likewise.
27381 [IS_IN (libc)] (CENABLE): Likewise.
27382 [IS_IN (libc)] (CENABLE): Likewise.
27383 [IS_IN (librt)] (CDISABLE): Likewise.
27384 [IS_IN (librt)] (CDISABLE): Likewise.
27385 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27386 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
27388 (PSEUDO_END): Likewise.
27389 [IS_IN (libpthread)] (CENABLE): Likewise.
27390 [IS_IN (libpthread)] (CDISABLE): Likewise.
27391 [IS_IN (libc)] (CENABLE): Likewise.
27392 [IS_IN (libc)] (CENABLE): Likewise.
27393 [IS_IN (librt)] (CDISABLE): Likewise.
27394 [IS_IN (librt)] (CDISABLE): Likewise.
27395 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27396 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
27398 (PSEUDO_END): Likewise.
27399 [IS_IN (libpthread)] (CENABLE): Likewise.
27400 [IS_IN (libpthread)] (CDISABLE): Likewise.
27401 [IS_IN (libc)] (CENABLE): Likewise.
27402 [IS_IN (libc)] (CENABLE): Likewise.
27403 [IS_IN (librt)] (CDISABLE): Likewise.
27404 [IS_IN (librt)] (CDISABLE): Likewise.
27405 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27406 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
27408 (PSEUDO_END): Likewise.
27409 [IS_IN (libpthread)] (CENABLE): Likewise.
27410 [IS_IN (libpthread)] (CDISABLE): Likewise.
27411 [IS_IN (libc)] (CENABLE): Likewise.
27412 [IS_IN (libc)] (CENABLE): Likewise.
27413 [IS_IN (librt)] (CDISABLE): Likewise.
27414 [IS_IN (librt)] (CDISABLE): Likewise.
27415 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27416 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
27418 (PSEUDO_END): Likewise.
27419 [IS_IN (libpthread)] (CENABLE): Likewise.
27420 [IS_IN (libpthread)] (CDISABLE): Likewise.
27421 [IS_IN (libc)] (CENABLE): Likewise.
27422 [IS_IN (libc)] (CENABLE): Likewise.
27423 [IS_IN (librt)] (CDISABLE): Likewise.
27424 [IS_IN (librt)] (CDISABLE): Likewise.
27425 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27426 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
27428 (PSEUDO_END): Likewise.
27429 [IS_IN (libpthread)] (CENABLE): Likewise.
27430 [IS_IN (libpthread)] (CDISABLE): Likewise.
27431 [IS_IN (libc)] (CENABLE): Likewise.
27432 [IS_IN (libc)] (CENABLE): Likewise.
27433 [IS_IN (librt)] (CDISABLE): Likewise.
27434 [IS_IN (librt)] (CDISABLE): Likewise.
27435 (SINGLE_THREAD_P): Likewise.
27436 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
27438 (PSEUDO_END): Likewise.
27439 [IS_IN (libpthread)] (CENABLE): Likewise.
27440 [IS_IN (libpthread)] (CDISABLE): Likewise.
27441 [IS_IN (libc)] (CENABLE): Likewise.
27442 [IS_IN (libc)] (CENABLE): Likewise.
27443 [IS_IN (librt)] (CDISABLE): Likewise.
27444 [IS_IN (librt)] (CDISABLE): Likewise.
27445 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27446 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
27448 (PSEUDO_END): Likewise.
27449 [IS_IN (libpthread)] (CENABLE): Likewise.
27450 [IS_IN (libpthread)] (CDISABLE): Likewise.
27451 [IS_IN (libc)] (CENABLE): Likewise.
27452 [IS_IN (libc)] (CENABLE): Likewise.
27453 [IS_IN (librt)] (CDISABLE): Likewise.
27454 [IS_IN (librt)] (CDISABLE): Likewise.
27455 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27456 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
27457 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27458 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
27459 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
27461 (PSEUDO_END): Likewise.
27462 [IS_IN (libpthread)] (CENABLE): Likewise.
27463 [IS_IN (libpthread)] (CDISABLE): Likewise.
27464 [IS_IN (libc)] (CENABLE): Likewise.
27465 [IS_IN (libc)] (CENABLE): Likewise.
27466 [IS_IN (librt)] (CDISABLE): Likewise.
27467 [IS_IN (librt)] (CDISABLE): Likewise.
27468 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27469 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
27471 (PSEUDO_END): Likewise.
27472 [IS_IN (libpthread)] (CENABLE): Likewise.
27473 [IS_IN (libpthread)] (CDISABLE): Likewise.
27474 [IS_IN (libc)] (CENABLE): Likewise.
27475 [IS_IN (libc)] (CENABLE): Likewise.
27476 [IS_IN (librt)] (CDISABLE): Likewise.
27477 [IS_IN (librt)] (CDISABLE): Likewise.
27478 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27479 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
27481 (PSEUDO_END): Likewise.
27482 [IS_IN (libpthread)] (CENABLE): Likewise.
27483 [IS_IN (libpthread)] (CDISABLE): Likewise.
27484 [IS_IN (libc)] (CENABLE): Likewise.
27485 [IS_IN (libc)] (CENABLE): Likewise.
27486 [IS_IN (librt)] (CDISABLE): Likewise.
27487 [IS_IN (librt)] (CDISABLE): Likewise.
27488 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27489 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
27490 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27491 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
27492 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
27494 (PSEUDO_END): Likewise.
27495 [IS_IN (libpthread)] (CENABLE): Likewise.
27496 [IS_IN (libpthread)] (CDISABLE): Likewise.
27497 [IS_IN (libc)] (CENABLE): Likewise.
27498 [IS_IN (libc)] (CENABLE): Likewise.
27499 [IS_IN (librt)] (CDISABLE): Likewise.
27500 [IS_IN (librt)] (CDISABLE): Likewise.
27501 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27502 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
27504 (PSEUDO_END): Likewise.
27505 [IS_IN (libpthread)] (CENABLE): Likewise.
27506 [IS_IN (libpthread)] (CDISABLE): Likewise.
27507 [IS_IN (libc)] (CENABLE): Likewise.
27508 [IS_IN (libc)] (CENABLE): Likewise.
27509 [IS_IN (librt)] (CDISABLE): Likewise.
27510 [IS_IN (librt)] (CDISABLE): Likewise.
27511 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27513 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
27515 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
27517 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
27519 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27521 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
27524 * string/stratcliff.c (do_test): Declare size, nchars, inner,
27525 middle and outer with size_t instead of int. Repleace %d and
27526 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
27527 "MAX (outer, nchars - 64)" to support unsigned outer and
27528 nchars. Also exit loop when outer == 0.
27530 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27532 * include/fcntl.h (__fcntl_nocancel): Remove definition.
27533 * include/signal.h (__sigsuspend_nocancel): Likewise.
27534 * include/time.h (__nanosleep_nocancel): Likewise.
27535 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
27536 * login/utmp_file.c: Include non cancellable syscall header.
27537 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
27540 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
27542 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
27543 .byte sequences with AVX512F instructions.
27544 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
27545 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
27546 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
27547 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
27549 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
27552 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
27553 Steve Ellcey <sellcey@cavium.com>
27555 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
27556 Use PTR_REG macro in cmp instruction.
27558 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27560 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
27561 Change the return type of the ifunc resolver to match the return
27562 type of the target function.
27564 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27566 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
27567 (preadv64): Likewise.
27568 (pwrite64(: Likewise.
27569 (pwritev64): Likewise.
27571 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
27572 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
27573 (LOAD_ARGS_0): Likewise.
27574 (LOAD_ARGS_1): Likewise.
27575 (LOAD_ARGS_2): Likewise.
27576 (LOAD_ARGS_3): Likewise.
27577 (LOAD_ARGS_4): Likewise.
27578 (LOAD_ARGS_5): Likewise.
27579 (LOAD_ARGS_6): Likewise.
27580 (LOAD_REGS_0): Likewise.
27581 (LOAD_REGS_1): Likewise.
27582 (LOAD_REGS_2): Likewise.
27583 (LOAD_REGS_3): Likewise.
27584 (LOAD_REGS_4): Likewise.
27585 (LOAD_REGS_5): Likewise.
27586 (LOAD_REGS_6): Likewise.
27587 (ASM_ARGS_0): Likewise.
27588 (ASM_ARGS_1): Likewise.
27589 (ASM_ARGS_2): Likewise.
27590 (ASM_ARGS_3): Likewise.
27591 (ASM_ARGS_4): Likewise.
27592 (ASM_ARGS_5): Likewise.
27593 (ASM_ARGS_6): Likewise.
27594 (LOAD_ARGS_TYPES_1): Likewise.
27595 (LOAD_ARGS_TYPES_2): Likewise.
27596 (LOAD_ARGS_TYPES_3): Likewise.
27597 (LOAD_ARGS_TYPES_4): Likewise.
27598 (LOAD_ARGS_TYPES_5): Likewise.
27599 (LOAD_ARGS_TYPES_6): Likewise.
27600 (LOAD_REGS_TYPES_1): Likewise.
27601 (LOAD_REGS_TYPES_2): Likewise.
27602 (LOAD_REGS_TYPES_3): Likewise.
27603 (LOAD_REGS_TYPES_4): Likewise.
27604 (LOAD_REGS_TYPES_5): Likewise.
27605 (LOAD_REGS_TYPES_6): Likewise.
27606 (TYPEFY): New define.
27607 (ARGIFY): Likewise.
27608 (internal_syscall0): Likewise.
27609 (internal_syscall1): Likewise.
27610 (internal_syscall2): Likewise.
27611 (internal_syscall3): Likewise.
27612 (internal_syscall4): Likewise.
27613 (internal_syscall5): Likewise.
27614 (internal_syscall6): Likewise.
27615 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
27616 (INTERNAL_SYSCALL_NCS): Remove define.
27617 (internal_syscall1): Add define.
27619 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27621 * math/w_remainder_compat.c: Remove duplicate inclusion of
27622 math-svid-compat.h.
27623 * math/w_remainderf_compat.c: Likewise.
27624 * math/w_remainderl_compat.c: Likewise.
27626 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27630 2017-08-22 Joseph Myers <joseph@codesourcery.com>
27633 * math/tgmath.h (__floating_type): Simplify definitions.
27634 (__real_integer_type): New macro.
27635 (__complex_integer_type): Likewise.
27636 (__expr_is_real): Likewise.
27637 (__tgmath_real_type_sub): Update comment to describe handling of
27639 (__tgmath_complex_type_sub): New macro.
27640 (__tgmath_complex_type): Likewise.
27641 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
27642 (__TGMATH_CF128): Use __expr_is_real.
27643 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
27645 (__TGMATH_BINARY_REAL_IMAG): Likewise.
27646 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
27647 * math/gen-tgmath-tests.py (Type.create_type): Create complex
27650 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27652 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
27654 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
27656 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
27659 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
27660 nanosleep_not_cancel with __nanosleep_nocancel.
27661 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
27662 (__nanosleep_nocancel): New macro.
27663 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
27665 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
27667 (__nanosleep_nocancel): New prototype.
27669 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
27670 pause_not_cancel with __pause_nocancel.
27671 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
27672 (__pause_nocancel): New macro.
27673 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
27675 (__pause_nocancel): New prototype.
27676 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
27678 2017-08-22 Martin Sebor <msebor@redhat.com>
27680 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
27681 to return a pointer to the same type as the target function.
27683 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
27687 * include/printf.h (__printf_fphex): Add attribute_hidden.
27688 (__guess_grouping): New prototype.
27689 * stdio-common/printf_fp.c (__guess_grouping): Removed.
27690 * stdio-common/reg-printf.c (__register_printf_specifier): Add
27691 libc_hidden_proto and libc_hidden_def.
27692 * stdlib/strfmon_l.c (__guess_grouping): Removed.
27693 (__vstrfmon_l): Remove the third argument passed to
27696 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27698 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
27699 definition for issignaling that does not rely on __MATH_TG,
27700 since __MATH_TG uses __builtin_types_compatible_p, which is only
27701 available in C mode.
27702 (CFLAGS-test-math-issignaling.cc): New variable.
27703 * math/Makefile [CXX] (tests): Add test-math-issignaling.
27704 * math/test-math-issignaling.cc: New test for C++ implementation
27705 of type-generic issignaling.
27706 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
27707 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
27708 options of test-math-issignaling on powerpc64le.
27710 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
27712 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
27714 (hidden_proto): Likewise.
27715 (hidden_tls_proto): Likewise.
27716 (__hidden_proto): Likewise.
27718 2017-08-22 Florian Weimer <fweimer@redhat.com>
27720 math: Statically link tests of internal functionality.
27721 * math/Makefile (tests): Remove atest-exp, atest-sincos,
27723 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
27724 (gmp-objs): Remove assignment.
27725 (atest-exp, atest-sincos, atest-exp2): Remove targets.
27727 2017-08-22 Joseph Myers <joseph@codesourcery.com>
27730 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
27732 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
27734 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
27737 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
27738 variable definitions above inclusion of ../Rules.
27740 2017-08-21 Joseph Myers <joseph@codesourcery.com>
27742 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
27743 case calling __builtin_unreachable.
27745 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27747 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
27748 __waitpid_nocancel.
27749 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
27750 (__waitpid_nocancel): New macro.
27751 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
27753 (__waitpid_nocancel): Replace macro with a function.
27754 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
27757 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
27759 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
27760 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
27762 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
27763 __writev_nocancel_nostatus.
27764 (write_call_graph): Likewise.
27765 (write_bb_counts): Likewise.
27766 * resolv/herror.c (herror): Likewise.
27767 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
27769 (__writev_nocancel_nostatus): New macro.
27770 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
27772 (__writev_nocancel_nostatus): New function.
27774 2017-08-21 Joseph Myers <joseph@codesourcery.com>
27777 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27779 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
27781 (hidden_proto): Likewise.
27782 (hidden_tls_proto): Likewise.
27783 (__hidden_proto): Likewise.
27786 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
27787 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
27788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
27790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
27792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
27794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
27796 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
27797 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
27798 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
27799 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
27800 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
27801 GLIBC_2.0 sqrtl symbol.
27803 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
27804 [__USE_MISC] (_LIB_VERSION): Likewise.
27805 [__USE_MISC] (struct exception): Likewise.
27806 [__USE_MISC] (matherr): Likewise.
27807 [__USE_MISC] (DOMAIN): Likewise.
27808 [__USE_MISC] (SING): Likewise.
27809 [__USE_MISC] (OVERFLOW): Likewise.
27810 [__USE_MISC] (UNDERFLOW): Likewise.
27811 [__USE_MISC] (TLOSS): Likewise.
27812 [__USE_MISC] (PLOSS): Likewise.
27813 [__USE_MISC] (HUGE): Likewise.
27814 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
27815 * math/math-svid-compat.h: New file.
27816 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
27818 * include/math.h [!_ISOMAC] (__matherr): Remove.
27819 * manual/arith.texi (FP Exceptions): Do not document matherr.
27820 * math/Makefile (tests): Change test-matherr to test-matherr-3.
27821 (tests-internal): New variable.
27822 (install-lib): Do not add libieee.a.
27823 (non-lib.a): Likewise.
27824 (extra-objs): Do not add libieee.a and ieee-math.o.
27825 (CPPFLAGS-s_lib_version.c): Remove variable.
27826 ($(objpfx)libieee.a): Remove rule.
27827 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
27828 * math/ieee-math.c: Remove.
27829 * math/libm-test-support.c (matherr): Remove.
27830 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
27831 and license notices. Include <math-svid-compat.h> and
27833 (matherr): Undefine as macro. Use compat_symbol_reference.
27834 (_LIB_VERSION): Likewise.
27835 * math/test-matherr-2.c: New file.
27836 * math/test-matherr-3.c: Likewise.
27837 * sysdeps/generic/math_private.h (__kernel_standard): Remove
27839 (__kernel_standard_f): Likewise.
27840 (__kernel_standard_l): Likewise.
27841 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
27842 <math_private.h>. Include <math-svid-compat.h>.
27843 (_LIB_VERSION): Undefine as macro.
27844 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
27845 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
27846 [LIBM_SVID_COMPAT], use compat_symbol.
27847 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
27848 <math_private.h>. Include <math-svid-compat.h>.
27849 (matherr): Undefine as macro.
27850 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
27852 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
27853 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
27854 compat_symbol_reference.
27855 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
27856 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
27857 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
27858 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
27859 (MATHERR_D): Remove declaration.
27860 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
27861 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
27862 [LIBM_BUILD] (pmatherrf): Likewise.
27863 [LIBM_BUILD] (pmatherr): Likewise.
27864 [LIBM_BUILD] (pmatherrl): Likewise.
27865 (DOMAIN): Likewise.
27867 (OVERFLOW): Likewise.
27868 (UNDERFLOW): Likewise.
27871 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
27872 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
27874 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
27875 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
27877 * math/lgamma-compat.h: Include <math-svid-compat.h>.
27878 * math/w_acos_compat.c: Likewise.
27879 * math/w_acosf_compat.c: Likewise.
27880 * math/w_acosh_compat.c: Likewise.
27881 * math/w_acoshf_compat.c: Likewise.
27882 * math/w_acoshl_compat.c: Likewise.
27883 * math/w_acosl_compat.c: Likewise.
27884 * math/w_asin_compat.c: Likewise.
27885 * math/w_asinf_compat.c: Likewise.
27886 * math/w_asinl_compat.c: Likewise.
27887 * math/w_atan2_compat.c: Likewise.
27888 * math/w_atan2f_compat.c: Likewise.
27889 * math/w_atan2l_compat.c: Likewise.
27890 * math/w_atanh_compat.c: Likewise.
27891 * math/w_atanhf_compat.c: Likewise.
27892 * math/w_atanhl_compat.c: Likewise.
27893 * math/w_cosh_compat.c: Likewise.
27894 * math/w_coshf_compat.c: Likewise.
27895 * math/w_coshl_compat.c: Likewise.
27896 * math/w_exp10_compat.c: Likewise.
27897 * math/w_exp10f_compat.c: Likewise.
27898 * math/w_exp10l_compat.c: Likewise.
27899 * math/w_exp2_compat.c: Likewise.
27900 * math/w_exp2f_compat.c: Likewise.
27901 * math/w_exp2l_compat.c: Likewise.
27902 * math/w_fmod_compat.c: Likewise.
27903 * math/w_fmodf_compat.c: Likewise.
27904 * math/w_fmodl_compat.c: Likewise.
27905 * math/w_hypot_compat.c: Likewise.
27906 * math/w_hypotf_compat.c: Likewise.
27907 * math/w_hypotl_compat.c: Likewise.
27908 * math/w_j0_compat.c: Likewise.
27909 * math/w_j0f_compat.c: Likewise.
27910 * math/w_j0l_compat.c: Likewise.
27911 * math/w_j1_compat.c: Likewise.
27912 * math/w_j1f_compat.c: Likewise.
27913 * math/w_j1l_compat.c: Likewise.
27914 * math/w_jn_compat.c: Likewise.
27915 * math/w_jnf_compat.c: Likewise.
27916 * math/w_jnl_compat.c: Likewise.
27917 * math/w_lgamma_main.c: Likewise.
27918 * math/w_lgamma_r_compat.c: Likewise.
27919 * math/w_lgammaf_main.c: Likewise.
27920 * math/w_lgammaf_r_compat.c: Likewise.
27921 * math/w_lgammal_main.c: Likewise.
27922 * math/w_lgammal_r_compat.c: Likewise.
27923 * math/w_log10_compat.c: Likewise.
27924 * math/w_log10f_compat.c: Likewise.
27925 * math/w_log10l_compat.c: Likewise.
27926 * math/w_log2_compat.c: Likewise.
27927 * math/w_log2f_compat.c: Likewise.
27928 * math/w_log2l_compat.c: Likewise.
27929 * math/w_log_compat.c: Likewise.
27930 * math/w_logf_compat.c: Likewise.
27931 * math/w_logl_compat.c: Likewise.
27932 * math/w_pow_compat.c: Likewise.
27933 * math/w_powf_compat.c: Likewise.
27934 * math/w_powl_compat.c: Likewise.
27935 * math/w_remainder_compat.c: Likewise.
27936 * math/w_remainderf_compat.c: Likewise.
27937 * math/w_remainderl_compat.c: Likewise.
27938 * math/w_scalb_compat.c: Likewise.
27939 * math/w_scalbf_compat.c: Likewise.
27940 * math/w_scalbl_compat.c: Likewise.
27941 * math/w_sinh_compat.c: Likewise.
27942 * math/w_sinhf_compat.c: Likewise.
27943 * math/w_sinhl_compat.c: Likewise.
27944 * math/w_sqrt_compat.c: Likewise.
27945 * math/w_sqrtf_compat.c: Likewise.
27946 * math/w_sqrtl_compat.c: Likewise.
27947 * math/w_tgamma_compat.c: Likewise.
27948 * math/w_tgammaf_compat.c: Likewise.
27949 * math/w_tgammal_compat.c: Likewise.
27950 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
27951 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
27952 * sysdeps/ieee754/k_standard.c: Likewise.
27953 * sysdeps/ieee754/k_standardf.c: Likewise.
27954 * sysdeps/ieee754/k_standardl.c: Likewise.
27955 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
27956 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
27957 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
27958 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
27959 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
27960 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
27961 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
27962 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
27963 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
27964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
27966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
27968 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
27969 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
27970 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
27971 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
27973 2017-08-21 Florian Weimer <fweimer@redhat.com>
27976 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
27977 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
27978 Move before inclusion of ../Rules.
27980 2017-08-21 Florian Weimer <fweimer@redhat.com>
27983 * assert/assert.h (assert): Use static_cast (bool) for C++.
27984 Use the ternary operator in the warning branch for GNU C.
27985 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
27986 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
27987 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
27988 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
27989 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
27991 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
27994 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27995 (__syscall_clock_gettime): Add attribute_hidden.
27996 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
27997 (__start_context): Likewise.
27999 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28001 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
28003 (hidden_proto): Likewise.
28004 (hidden_tls_proto): Likewise.
28005 (__hidden_proto): Likewise.
28007 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28009 * include/libc-symbols.h (attribute_hidden): Enable hidden
28010 visibility in libc.a compiled with PIE.
28012 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28015 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
28016 Add attribute_hidden.
28018 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28021 * Makerules (all-nonlib): Add $(others-extras).
28022 * catgets/Makefile (others-extras): New.
28023 * elf/Makefile (others-extras): Likewise.
28024 * nss/Makefile (others-extras): Likewise.
28026 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28029 * csu/libc-start.c (__libc_multiple_libcs): Removed.
28030 * elf/dl-open.c: Include <libc-internal.h>.
28031 (__libc_multiple_libcs): Removed.
28032 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
28034 * include/libc-internal.h (__libc_multiple_libcs): New.
28035 * misc/sbrk.c: Include <libc-internal.h>.
28036 (__libc_multiple_libcs): Removed.
28038 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28041 * grp/initgroups.c (__nss_group_database): Removed.
28042 (__nss_initgroups_database): Likewise.
28043 * nscd/gai.c (__nss_hosts_database): Likewise.
28044 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
28045 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
28046 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
28047 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
28048 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
28049 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
28051 * nss/nsswitch.c (__nss_database_custom): Define only if
28052 USE_NSCD is defined.
28053 (__nss_configure_lookup): Use __nss_database_custom only if
28054 USE_NSCD is defined.
28055 * nss/nsswitch.h (__nss_database_custom): Declare only if
28056 USE_NSCD is defined. Add attribute_hidden.
28057 (__nss_setent): Add attribute_hidden.
28058 (__nss_endent): Likewise.
28059 (__nss_getent_r): Likewise.
28060 (__nss_getent): Likewise.
28061 (DEFINE_DATABASE): Declare __nss_##arg##_database.
28063 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
28066 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
28067 libc_hidden_proto and libc_hidden_def.
28069 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
28072 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
28073 Add libc_hidden_proto.
28074 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
28075 Add libc_hidden_def.
28077 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
28080 * gmon/Makefile (routines): Remove bb_init_func and
28082 (elide-routines.os): Removed.
28083 * gmon/bb_exit_func.c: Likewise.
28084 * gmon/bb_init_func.c: Likewise.
28085 * include/sys/gmon.h (__bb): Likewise.
28086 (__bb_init_func): Likewise.
28087 (__bb_exit_func): Likewise.
28088 * sysdeps/alpha/bb_init_func.S: Likewise.
28090 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
28092 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
28093 * include/setjmp.h (____longjmp_chk): Here. Add
28096 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
28099 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
28101 (__strspn_sse2): Likewise.
28103 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28105 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
28106 (close_not_cancel_no_status): Likewise.
28107 (__close_nocancel): New macro.
28108 (__close_nocancel_nostatus): Likewise.
28109 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
28111 (close_not_cancel): Likewise.
28112 (close_not_cancel_no_status): Likewise.
28113 (__close_nocancel): New prototype.
28114 (__close_nocancel_nostatus): New function.
28115 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
28116 * catgets/open_catalog.c (__open_catalog): Replace
28117 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
28118 * gmon/gmon.c (write_gmon): Likewise.
28119 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
28120 * intl/loadmsgcat.c (close): Likewise.
28121 * io/ftw.c (open_dir_stream): Likewise.
28122 (ftw_startup): Likewise.
28123 * libio/fileops.c (_IO_file_open): Likewise.
28124 (_IO_file_close_mmap): Likewise.
28125 (_IO_file_close): Likewise.
28126 * libio/iopopen.c (_IO_dup2): Likewise.
28127 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
28128 * locale/loadlocale.c (_nl_load_locale): Likewise.
28129 * login/utmp_file.c (pututline_file): Likewise.
28130 (endutent_file): Likewise.
28131 * misc/daemon.c (daemon): Likewise.
28132 * nscd/nscd_getai.c (__nscd_getai): Likewise.
28133 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
28134 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
28135 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
28136 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
28137 * nscd/nscd_helper.c (open_socket): Likewise.
28138 (__nscd_open_socket): Likewise.
28139 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
28140 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
28141 (__nscd_innetgr): Likewise.
28142 * nss/nss_db/db-open.c (internal_setent): Likewise.
28143 * resolv/res-close.c (__res_iclose): Likewise.
28144 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
28145 * sysdeps/posix/closedir.c (__closedir): Likewise.
28146 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
28147 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
28148 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
28149 (opendir_tail): Likewise.
28150 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
28151 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
28152 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
28153 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
28154 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
28155 (gethostid): Likewise.
28156 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
28157 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28159 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
28160 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
28161 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
28162 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
28164 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
28165 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
28166 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
28168 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
28169 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
28171 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
28173 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
28174 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
28175 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28178 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
28179 (openat_not_cancel_3): Likewise.
28180 (openat64_not_cancel_3): Likewise).
28181 (openat_not_cancel_3): Likewise).
28182 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
28184 (openat_not_cancel_3): Likewise.
28185 (openat64_not_cancel): Likewise.
28186 (openat64_not_cancel_3): Likewise.
28187 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
28188 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
28189 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
28190 __open{64}_nocancel.
28191 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
28192 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
28193 * sysdeps/posix/opendir.c (__opendirat): Likewise.
28195 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
28198 * include/argz.h (__argz_create_sep): New function prototype.
28199 (__argz_append): Likewise.
28200 (__argz_add): Likewise.
28201 (__argz_add_sep): Likewise.
28202 (__argz_delete): Likewise.
28203 (__argz_insert): Likewise.
28204 (__argz_replace): Likewise.
28205 * string/argz.h (__argz_create_sep): Removed.
28206 (__argz_append): Likewise.
28207 (__argz_add): Likewise.
28208 (__argz_add_sep): Likewise.
28209 (__argz_delete): Likewise.
28210 (__argz_insert): Likewise.
28211 (__argz_replace): Likewise.
28213 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
28215 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
28216 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
28217 (GNU_PROPERTY_STACK_SIZE): Likewie.
28218 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
28219 (GNU_PROPERTY_LOPROC): Likewise.
28220 (GNU_PROPERTY_HIPROC): Likewise.
28221 (GNU_PROPERTY_LOUSER): Likewise.
28222 (GNU_PROPERTY_HIUSER): Likewise.
28223 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
28224 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
28225 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
28226 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
28227 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
28228 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
28229 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
28230 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
28231 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
28232 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
28233 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
28234 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
28235 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
28236 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
28237 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
28238 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
28239 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
28240 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
28241 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
28242 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
28243 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
28244 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
28245 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
28247 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28249 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
28252 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28255 * math/math.h (isinf): Check if in C or C++ mode before using
28256 __builtin_types_compatible_p, since this is a C mode feature.
28258 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28260 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
28261 (__write_nocancel): New macro.
28262 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
28263 Rewrite as a function prototype.
28264 (write_not_cancel): Remove macro.
28265 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
28266 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
28267 (write_gmon): Likewise.
28268 * libio/fileops.c (_IO_new_file_write): Likewise.
28269 * login/utmp_file.c (pututline_file): Likewise.
28270 (updwtmp_file): Likewise.
28271 * stdio-common/psiginfo.c (psiginfo): Likewise.
28272 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
28273 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
28274 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
28276 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
28279 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
28280 (__read_nocancel): New macro.
28281 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28283 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
28285 (__read_nocancel): New prototype.
28286 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
28287 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
28288 with __read_nocancel.
28289 * intl/loadmsgcat.c (read): Likewise.
28290 * libio/fileops.c (_IO_file_read): Likewise.
28291 * locale/loadlocale.c (_nl_load_locale): Likewise.
28292 * login/utmp_file.c (getutent_r_file): Likewise.
28293 (internal_getut_r): Likewise.
28294 (getutline_r_file): Likewise.
28295 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
28296 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
28297 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
28298 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28300 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
28301 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
28302 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
28304 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
28306 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
28308 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
28310 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
28312 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
28315 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
28316 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
28319 2017-08-17 DJ Delorie <dj@redhat.com>
28321 * bug17079.c: Update to new test harness.
28322 * test-digits-dots.c: Likewise.
28323 * test-netdb.c: Likewise.
28324 * tst-field.c: Likewise.
28325 * tst-nss-getpwent.c: Likewise.
28326 * tst-nss-static.c: Likewise.
28327 * tst-nss-test1.c: Likewise.
28328 * tst-nss-test2.c: Likewise.
28329 * tst-nss-test3.c: Likewise.
28330 * tst-nss-test4.c: Likewise.
28331 * tst-nss-test5.c: Likewise.
28333 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28335 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
28336 (open_not_cancel_2): Likewise.
28337 (open_nocancel): New macro.
28338 (open64_nocancel): Likewise.
28339 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
28340 (open_not_cancel_2): Likewise.
28341 (__open_nocancel): New prototype.
28342 (__open64_nocancel): Likewise.
28343 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28345 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
28346 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
28347 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
28348 with __open_nocancel.
28349 * csu/check_fds.c (check_one_fd): Likewise.
28350 * gmon/gmon.c (write_gmon): Likewise.
28351 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
28352 * intl/loadmsgcat.c (open): Likewise.
28353 * libio/fileops.c (_IO_file_open): Likewise.
28354 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
28355 * locale/loadlocale.c (_nl_load_locale): Likewise.
28356 * login/utmp_file.c (setutent_file): Likewise.
28357 * misc/daemon.c (daemon): Likewise.
28358 * nss/nss_db/db-open.c (internal_setent): Likewise.
28359 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
28360 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
28361 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
28362 (__opendir): Likewise.
28363 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
28364 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
28365 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
28366 (gethostid): Likewise.
28367 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
28368 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28370 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
28371 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
28372 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
28373 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
28375 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
28377 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
28379 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
28381 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
28383 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
28385 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
28386 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
28388 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
28390 * benchtests/bench-skeleton.c (main): Add support for
28391 latency benchmarking.
28392 * benchtests/scripts/bench.py: Add support for latency benchmarking.
28394 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
28396 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
28397 the startup object.
28399 2017-08-17 Florian Weimer <fweimer@redhat.com>
28401 * include/sys/socket.h (__opensock): Remove internal_function.
28402 * socket/opensock.c (__opensock): Likewise.
28403 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
28405 2017-08-16 Joseph Myers <joseph@codesourcery.com>
28408 * signal/bits/types/__sigval_t.h: New file.
28409 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
28410 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
28411 and define sigval_t using __sigval_t.
28412 * include/bits/types/__sigval_t.h: New file.
28413 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
28414 instead of <bits/types/__sigval_t.h>.
28415 (struct sigevent): Use __sigval_t instead of sigval_t.
28416 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
28417 instead of <bits/types/__sigval_t.h>.
28418 (siginfo_t): Use __sigval_t instead of sigval_t.
28419 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
28420 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
28421 (struct sigevent): Use __sigval_t instead of sigval_t.
28422 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
28423 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
28424 (siginfo_t): Use __sigval_t instead of sigval_t.
28425 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
28427 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
28429 * NEWS: Remove "[Add new features here]" for 2.27.
28431 2017-08-16 Joseph Myers <joseph@codesourcery.com>
28433 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
28436 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
28438 * NEWS: Mention x86-64 FMA optimization.
28440 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
28443 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28445 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
28446 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
28447 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
28449 2017-08-16 Andreas Schwab <schwab@suse.de>
28453 * elf/ldd.bash.in: Never run file directly.
28455 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
28458 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
28459 (L(SP_INF_0)): Likewise.
28461 2017-08-15 Florian Weimer <fweimer@redhat.com>
28463 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
28466 2017-08-15 Florian Weimer <fweimer@redhat.com>
28468 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
28469 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
28470 BROKEN_THREAD_SIGNALS code.
28471 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
28472 request_list): Remove caller_pid member used for
28473 BROKEN_THREAD_SIGNALS.
28474 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
28475 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
28476 Remove BROKEN_THREAD_SIGNALS support.
28477 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
28478 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
28480 2017-08-15 Florian Weimer <fweimer@redhat.com>
28482 * gmon/Makefile (tests): Add tst-gmon.
28483 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
28485 (tests-special): Add tst-gmon-prof.out.
28486 (tst-gmon.out): Depend on clean-tst-gmon-data.
28487 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
28488 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
28489 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
28491 * aclocal.m4 (GPROF): Set and substitute.
28492 * config.amke.in (GPROF): Set.
28493 * configure: Regenerate.
28495 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
28497 * elf/elf.h A (NT_PPC_TAR): New macro.
28498 (NT_PPC_PPR): Likewise.
28499 (NT_PPC_DSCR): Likewise.
28500 (NT_PPC_EBB): Likewise.
28501 (NT_PPC_PMU): Likewise.
28502 (NT_PPC_TM_CGPR): Likewise.
28503 (NT_PPC_TM_CFPR): Likewise.
28504 (NT_PPC_TM_CVMX): Likewise.
28505 (NT_PPC_TM_CVSX): Likewise.
28506 (NT_PPC_TM_SPR): Likewise.
28507 (NT_PPC_TM_CTAR): Likewise.
28508 (NT_PPC_TM_CPPR): Likewise.
28509 (NT_PPC_TM_CDSCR): Likewise.
28511 2017-08-15 Florian Weimer <fweimer@redhat.com>
28513 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
28514 regparm (2) instead of internal_function.
28515 (_MCOUNT_DECL): Adjust.
28517 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
28519 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
28520 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
28522 2017-08-14 Joseph Myers <joseph@codesourcery.com>
28524 * conform/data/sys/wait.h-data (si_value): Do not expect for
28527 2017-08-14 Florian Weimer <fweimer@redhat.com>
28530 NSS: Create stubs for accidentally exported lookup functions.
28531 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
28532 Remove declaration.
28533 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
28534 (ether_hostton): Call __nss_ethers_lookup2 instead.
28535 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
28536 (ether_ntohost): Call __nss_ethers_lookup2 instead.
28537 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
28538 (setup): Call __nss_netgroup_lookup2 instead.
28539 * nss/Makefile (routines): Add compat-lookup.
28540 * nss/Versions (GLIBC_2.27): Add symbol version.
28541 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
28542 (DB_COMPAT_FCT): Remove.
28543 * nss/compat-lookup.c: New file.
28544 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
28545 from databases.def.
28546 * nss/service-lookup.c (NO_COMPAT): Remove definition.
28547 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
28548 (netname2user): Call __nss_publickey_lookup2 instead.
28549 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
28550 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
28553 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28554 Sergei Trofimovich <slyfox@inbox.ru>
28557 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
28558 Rename to MMAP2_PAGE_UNIT.
28559 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
28560 __OFF_T_MATCHES_OFF64_T is not defined.
28561 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
28563 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
28564 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
28566 2017-08-14 Florian Weimer <fweimer@redhat.com>
28568 i386: Do not set internal_function.
28569 * config.h.in (USE_REGPARMS, internal_function): Remove.
28570 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
28571 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
28573 2017-08-14 Florian Weimer <fweimer@redhat.com>
28575 * elf/dl-init.c (_dl_init): Remove internal_function.
28576 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
28577 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
28579 2017-08-14 Florian Weimer <fweimer@redhat.com>
28581 * elf/rtld.c (_dl_start): Remove internal_function.
28582 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
28585 2017-08-14 Florian Weimer <fweimer@redhat.com>
28587 * elf/dl-fini.c (_dl_fini): Remove internal_function
28588 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
28590 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
28592 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
28593 (bit_cpu_SHSTK): Likewise.
28594 (index_cpu_IBT): Likewise.
28595 (index_cpu_SHSTK): Likewise.
28596 (reg_IBT): Likewise.
28597 (reg_SHSTK): Likewise.
28598 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
28599 Handle index_cpu_IBT and index_cpu_SHSTK.
28601 2017-08-14 Mike FABIAN <mfabian@redhat.com>
28604 * po/fr.po: Fix spelling mistake.
28606 2017-08-13 Florian Weimer <fweimer@redhat.com>
28608 * elf/dl-addr.c (_dl_addr): Remove internal_function.
28609 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
28610 (_dl_catch_error, _dl_receive_error): Likewise.
28611 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
28612 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
28613 (_dl_deallocate_tls): Likewise.
28614 * include/dlfcn.h (_dl_addr): Likewise.
28615 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
28616 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
28617 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
28620 2017-08-13 Florian Weimer <fweimer@redhat.com>
28622 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
28623 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
28625 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
28627 2017-08-13 Florian Weimer <fweimer@redhat.com>
28629 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
28631 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
28632 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
28633 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
28634 internal_function from _dl_make_stack_executable_hook member.
28635 (_dl_make_stack_executable): Remove internal_function.
28636 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
28638 * sysdeps/unix/sysv/linux/dl-execstack.c
28639 (_dl_make_stack_executable): Likewise.
28641 2017-08-13 Florian Weimer <fweimer@redhat.com>
28643 * sysdeps/unix/sysv/linux/netlinkaccess.h
28644 (__netlink_assert_response): Remove internal_function.
28645 * sysdeps/unix/sysv/linux/netlink_assert_response.c
28646 (__netlink_assert_response): Likewise.
28648 2017-08-13 Florian Weimer <fweimer@redhat.com>
28650 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
28652 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
28654 2017-08-13 Florian Weimer <fweimer@redhat.com>
28656 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
28658 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
28659 * inet/netgroup.h (__internal_setnetgrent)
28660 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
28661 * inet/getnetgrent_r.c (__internal_setnetgrent)
28662 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
28663 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
28664 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
28665 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
28666 * nss/nsswitch.h (db_lookup_function): Likewise.
28668 2017-08-13 Florian Weimer <fweimer@redhat.com>
28670 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
28671 Remove internal_function.
28672 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
28673 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
28674 message argument on the stack.
28675 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
28678 2017-08-12 Mike FABIAN <mfabian@redhat.com>
28680 Adapt test case data to the changes in the thousands
28684 * localedata/tst-langinfo.sh: Adapt test case data.
28685 * stdlib/tst-strfmon_l.c: Likewise.
28686 * stdlib/tst-strtod4.c: Likewise.
28687 * stdlib/tst-strtod5i.c: Likewise.
28689 2017-08-11 Florian Weimer <fweimer@redhat.com>
28692 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
28693 Suppress pedantic warning resulting from statement expression.
28694 (__ASSERT_FUNCTION): Add missing __extension__.
28696 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
28698 * benchtests/bench-memmove-large.c: Print output in JSON
28700 * benchtests/bench-memmove.c: Likewise.
28702 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
28703 * benchtests/bench-memchr.c (do_one_test): Likewise.
28704 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
28705 * benchtests/bench-memcpy.c (do_one_test): Likewise.
28706 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
28707 * benchtests/bench-memmove.c (do_one_test): Likewise.
28708 * benchtests/bench-memset-large.c (do_one_test): Likewise.
28709 * benchtests/bench-memset.c (do_one_test): Likewise.
28710 * benchtests/bench-string.h (test_init): Remove memsets.
28712 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
28715 (Computing the Width of an Integer Data Type): Rename section to
28716 "Width of an Integer Type". Remove inaccurate statement regarding
28717 lack of C language facilities for determining width of integer
28718 types, and reorder content to improve flow and context of
28721 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
28723 * lang.texi (va_copy): Change standard from ISO to C99.
28724 (__va_copy): Add standard and header annotation.
28725 Update description for clarity of origins and current use.
28727 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28730 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
28731 xssqrtqp requires operands to be in Vector Registers
28732 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
28733 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
28734 (__ieee754_sqrtf128): Likewise.
28736 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
28738 * sysdeps/aarch64/memcmp.S (memcmp):
28739 Rewrite of optimized memcmp.
28741 2017-08-10 Florian Weimer <fweimer@redhat.com>
28743 Introduce ld.so exceptions.
28744 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
28745 (_dl_exception_create, _dl_exception_create_format)
28746 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
28747 (_dl_catch_exception): Declare.
28748 (_dl_catch_error): Update comment.
28749 * elf/dl-error-skeleton.c (struct catch): Replace objname,
28750 errstring, malloced members with exception member.
28751 (_dl_out_of_memory): Remove.
28752 (fatal_error): New function, extracted from _dl_signal_error.
28753 (_dl_signal_exception, _dl_signal_cexception): New functions.
28754 (_dl_signal_error): Call _dl_exception_create to allocate an
28756 (_dl_catch_exception): New function, based on _dl_catch_error.
28757 (_dl_catch_error): Implement using _dl_catch_exception.
28758 * elf/dl-exception.c: New file.
28759 * elf/Makefile (dl-routines): Add dl-exception.
28760 (elide-routines.os): Likewise.
28761 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
28762 _dl_exception_create_format, _dl_exception_free.
28763 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
28764 _dl_signal_exception.
28765 * elf/dl-lookup.c (make_string): Remove.
28766 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
28767 _dl_signal_cexception, _dl_exception_free.
28768 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
28769 _dl_signal_exception.
28770 * elf/dl-sym.c (do_sym): Likewise.
28771 * elf/dl-version.c (make_string): Remove.
28772 (match_symbol): Use _dl_exception_create_format,
28773 _dl_signal_cexception, _dl_exception_free.
28774 (_dl_check_map_versions): Likewise.
28775 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
28776 _dl_catch_exception.
28777 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
28778 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
28779 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
28780 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
28781 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
28782 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
28783 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
28784 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
28786 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
28787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
28789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
28791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
28793 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
28794 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
28795 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
28797 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
28799 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
28801 2017-08-10 Florian Weimer <fweimer@redhat.com>
28803 * inet/net-internal.h (__inet6_scopeid_pton): Remove
28804 attribute_hidden, internal_function.
28805 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
28808 2017-08-10 Florian Weimer <fweimer@redhat.com>
28810 * malloc/malloc.c (get_max_fast): Reimplement as an inline
28811 function which calls __builtin_unreachable.
28813 2017-08-10 Mike FABIAN <mfabian@redhat.com>
28815 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
28816 Indian monetary formatting
28817 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
28820 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
28822 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
28823 Fix typo in comment.
28826 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
28827 PTRACE_SEIZE_DEVEL): Remove.
28828 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
28829 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28830 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28831 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28832 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28834 2017-08-09 Joseph Myers <joseph@codesourcery.com>
28836 * posix/bits/types.h (__qaddr_t): Remove.
28839 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
28840 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
28842 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
28843 (ucontext_t): Use __ctx with uc_flags.
28844 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
28845 (__ctxt): Likewise.
28846 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
28848 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
28849 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
28851 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
28852 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
28854 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
28856 (ucontext_t): Use __ctx with uc_flags.
28857 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
28858 (ucontext_t): Use __ctx with uc_flags.
28859 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
28860 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
28861 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
28862 (ucontext_t): Use __ctx with uc_flags.
28863 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
28864 undefine further down.
28865 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
28867 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
28868 undefine further down.
28869 (ucontext_t): Use __ctx with uc_flags.
28870 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
28871 undefine further down.
28872 (ucontext_t): Use __ctx with uc_flags.
28873 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
28874 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
28875 Rename uc_pad to __glibc_reserved1.
28876 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
28877 undefine further down.
28878 (ucontext_t): Use __ctx with uc_flags.
28879 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
28881 (ucontext_t): Use __ctx with uc_flags.
28882 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
28883 __ctx with uc_flags.
28884 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
28885 (ucontext_t): Use __ctx with uc_flags.
28886 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
28887 __ctx with uc_flags.
28889 2017-08-09 Florian Weimer <fweimer@redhat.com>
28892 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
28893 before early return.
28895 2017-08-09 Andreas Schwab <schwab@suse.de>
28898 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
28902 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
28903 tst-compat-forwarder.
28904 (modules-names): Add tst-compat-forwarder-mod.
28905 ($(objpfx)tst-compat-forwarder): Depend on
28906 $(objpfx)tst-compat-forwarder-mod.so.
28907 * nptl/tst-compat-forwarder.c: New file.
28908 * nptl/tst-compat-forwarder-mod.c: New file.
28910 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
28912 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
28915 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
28916 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
28918 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
28920 (__libc_ifunc_impl_list): Add __memcpy_falkor.
28921 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
28922 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
28923 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
28925 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
28928 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28931 * manual/setjmp.texi (getcontex): Document uc_stack value
28932 compatibility differences.
28934 2017-08-08 Joseph Myers <joseph@codesourcery.com>
28936 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
28937 (old_malloc_hook): Likewise.
28938 (old_memalign_hook): Likewise.
28939 (old_realloc_hook): Likewise.
28940 (struct hdr): Likewise.
28942 (freehook): Likewise.
28943 (mallochook): Likewise.
28944 (memalignhook): Likewise.
28945 (reallochook): Likewise.
28946 (mprobe): Likewise.
28947 * malloc/mtrace.c (mallwatch): Likewise.
28948 (tr_old_free_hook): Likewise.
28949 (tr_old_malloc_hook): Likewise.
28950 (tr_old_realloc_hook): Likewise.
28951 (tr_old_memalign_hook): Likewise.
28952 (tr_where): Likewise.
28953 (lock_and_info): Likewise.
28954 (tr_freehook): Likewise.
28955 (tr_mallochook): Likewise.
28956 (tr_reallochook): Likewise.
28957 (tr_memalignhook): Likewise.
28958 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
28959 * misc/mmap.c (__mmap): Likewise.
28960 * misc/mmap64.c (__mmap64): Likewise.
28961 * misc/mprotect.c (__mprotect): Likewise.
28962 * misc/msync.c (msync): Likewise.
28963 * misc/munmap.c (__munmap): Likewise.
28964 * posix/posix_madvise.c (posix_madvise): Likewise.
28965 * socket/send.c (__send): Likewise.
28966 * socket/sendto.c (__sendto): Likewise.
28967 * socket/setsockopt.c (__setsockopt): Likewise.
28968 * string/memcmp.c (__ptr_t): Remove macro.
28969 (MEMCMP): Use void * instead of ptr_t.
28970 * string/memrchr.c (__ptr_t): Remove macro.
28971 (__memrchr): Use void * instead of ptr_t.
28972 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
28973 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
28974 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
28975 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
28976 * sysdeps/mach/msync.c (msync): Likewise.
28977 * sysdeps/mach/munmap.c (__munmap): Likewise.
28978 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
28980 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
28981 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
28982 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
28983 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
28984 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
28985 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
28986 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
28987 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
28989 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
28990 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
28991 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
28992 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
28993 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
28994 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
28995 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
28996 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
28997 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
28999 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
29000 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
29001 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
29002 (MEMCMP): Use void * instead of ptr_t.
29003 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
29004 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
29006 2017-08-08 Florian Weimer <fweimer@redhat.com>
29008 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
29011 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
29014 * csu/libc-tls.c: Include <startup.h> first.
29015 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
29016 * elf/dl-tunables.c: Include <startup.h> first.
29017 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
29018 * sysdeps/generic/startup.h: New file.
29019 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
29020 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
29021 (I386_USE_SYSENTER): New. Defined to 0.
29023 2017-08-08 Andreas Schwab <schwab@suse.de>
29026 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
29027 * nptl/pt-system.c (system): Likewise.
29029 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29032 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
29034 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
29035 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
29036 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
29037 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
29038 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
29039 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
29040 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
29042 2017-08-07 Joseph Myers <joseph@codesourcery.com>
29045 * bits/sigaction.h (struct sigaction): Define sa_handler and
29046 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
29047 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29048 [__USE_XOPEN_EXTENDED].
29049 (SA_RESTART): Likewise.
29050 (SA_NODEFER): Likewise.
29051 (SA_RESETHAND): Likewise.
29052 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
29053 (struct sigaction): Define sa_handler and sa_sigaction using union
29054 also for [__USE_XOPEN_EXTENDED].
29055 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29056 [__USE_XOPEN_EXTENDED].
29057 (SA_RESTART): Likewise.
29058 (SA_NODEFER): Likewise.
29059 (SA_RESETHAND): Likewise.
29060 * sysdeps/unix/sysv/linux/bits/sigaction.h
29061 (struct sigaction): Define sa_handler and sa_sigaction using union
29062 also for [__USE_XOPEN_EXTENDED].
29063 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29064 [__USE_XOPEN_EXTENDED].
29065 (SA_RESTART): Likewise.
29066 (SA_NODEFER): Likewise.
29067 (SA_RESETHAND): Likewise.
29068 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
29069 (struct sigaction): Define sa_handler and sa_sigaction using union
29070 also for [__USE_XOPEN_EXTENDED].
29071 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29072 [__USE_XOPEN_EXTENDED].
29073 (SA_RESTART): Likewise.
29074 (SA_NODEFER): Likewise.
29075 (SA_RESETHAND): Likewise.
29076 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
29077 (struct sigaction): Define sa_handler and sa_sigaction using union
29078 also for [__USE_XOPEN_EXTENDED].
29079 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29080 [__USE_XOPEN_EXTENDED].
29081 (SA_RESTART): Likewise.
29082 (SA_NODEFER): Likewise.
29083 (SA_RESETHAND): Likewise.
29084 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
29085 (struct sigaction): Define sa_handler and sa_sigaction using union
29086 also for [__USE_XOPEN_EXTENDED].
29087 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29088 [__USE_XOPEN_EXTENDED].
29089 (SA_RESTART): Likewise.
29090 (SA_NODEFER): Likewise.
29091 (SA_RESETHAND): Likewise.
29092 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
29093 (struct sigaction): Define sa_handler and sa_sigaction using union
29094 also for [__USE_XOPEN_EXTENDED].
29095 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29096 [__USE_XOPEN_EXTENDED].
29097 (SA_RESTART): Likewise.
29098 (SA_NODEFER): Likewise.
29099 (SA_RESETHAND): Likewise.
29100 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
29101 (struct sigaction): Define sa_handler and sa_sigaction using union
29102 also for [__USE_XOPEN_EXTENDED].
29103 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29104 [__USE_XOPEN_EXTENDED].
29105 (SA_RESTART): Likewise.
29106 (SA_NODEFER): Likewise. Define directly rather than as alias.
29107 (SA_RESETHAND): Likewise.
29108 (SA_INTERRUPT): Define only for [__USE_MISC].
29109 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
29110 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
29112 (SA_STACK): Define only for [__USE_MISC].
29113 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
29114 (struct sigaction): Define sa_handler and sa_sigaction using union
29115 also for [__USE_XOPEN_EXTENDED].
29116 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29117 [__USE_XOPEN_EXTENDED].
29118 (SA_RESTART): Likewise.
29119 (SA_NODEFER): Likewise.
29120 (SA_RESETHAND): Likewise.
29121 (SA_NOPTRACE): Define only for [__USE_MISC].
29123 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
29124 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
29125 (struct catalog_info): Likewise.
29126 * inet/htontest.c (lo): Likewise.
29128 * inet/inet_lnaof.c (inet_lnaof): Likewise.
29129 * inet/inet_net.c (inet_network): Likewise.
29130 * inet/inet_netof.c (inet_netof): Likewise.
29131 * inet/rcmd.c (__ivaliduser): Likewise.
29132 (iruserok): Likewise.
29133 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
29134 * locale/programs/locale-spec.c (locale_special): Likewise.
29135 * nis/nis_findserv.c (struct findserv_req): Likewise.
29136 (__nis_findfastest_with_timeout): Likewise.
29137 * nss/test-netdb.c (test_network): Likewise.
29138 * resolv/inet_neta.c (inet_neta): Likewise.
29139 * resolv/ns_date.c (ns_datetosecs): Likewise.
29140 (SECS_PER_DAY): Likewise.
29141 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
29143 * resolv/res_comp.c (__putlong): Likewise.
29144 (__putshort): Likewise.
29145 (_getlong): Likewise.
29146 (_getshort): Likewise.
29147 * resolv/res_debug.c (p_time): Likewise.
29148 (precsize_ntoa): Likewise.
29149 (precsize_aton): Likewise.
29150 (latlon2ul): Likewise.
29151 (loc_aton): Likewise.
29152 (loc_ntoa): Likewise.
29153 * resolv/res_hconf.c (struct netaddr): Likewise.
29154 (_res_hconf_reorder_addrs): Likewise.
29155 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
29156 (clnttcp_control): Likewise.
29157 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29158 (clntudp_control): Likewise.
29159 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
29160 (clntunix_control): Likewise.
29161 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
29162 * sunrpc/rpc/auth.h (union des_block): Likewise.
29163 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
29164 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
29165 (xdrrec_create): Likewise.
29166 (xdrrec_endofrecord): Likewise.
29167 (flush_out): Likewise.
29168 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
29169 (xdrstdio_putlong): Likewise.
29170 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
29173 * misc/sys/cdefs.h (__long_double_t): Remove.
29174 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
29175 instead of __long_double_t,
29176 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
29178 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
29180 * benchtests/scripts/compare_strings.py: Avoid display error when
29181 running on a text terminal.
29183 * benchtests/scripts/compare_strings.py (main): Add an
29184 optional -base option.
29185 (process_results): New argument base_func.
29187 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
29189 * benchtests/bench-memcpy-large.c (test_name): Likewise.
29190 * benchtests/bench-memcpy-random.c (test_name): Likewise.
29192 2017-08-07 Andreas Schwab <schwab@suse.de>
29194 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
29195 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
29196 * intl/Makefile ($(objpfx)tst-gettext.out)
29197 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
29198 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
29199 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
29200 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
29201 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
29202 * posix/Makefile ($(objpfx)globtest.out)
29203 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
29204 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
29205 ($(objpfx)tst-printf.out): Likewise.
29206 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
29207 ($(objpfx)tst-setcontext3.out): Likewise.
29209 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
29211 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29212 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
29213 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
29214 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
29215 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
29217 (CFLAGS-doasin-fma.c): New.
29218 (CFLAGS-dosincos-fma.c): Likewise.
29219 (CFLAGS-e_asin-fma.c): Likewise.
29220 (CFLAGS-e_atan2-fma.c): Likewise.
29221 (CFLAGS-e_exp-fma.c): Likewise.
29222 (CFLAGS-e_log-fma.c): Likewise.
29223 (CFLAGS-e_pow-fma.c): Likewise.
29224 (CFLAGS-halfulp-fma.c): Likewise.
29225 (CFLAGS-mpa-fma.c): Likewise.
29226 (CFLAGS-mpatan-fma.c): Likewise.
29227 (CFLAGS-mpatan2-fma.c): Likewise.
29228 (CFLAGS-mpexp-fma.c): Likewise.
29229 (CFLAGS-mplog-fma.c): Likewise.
29230 (CFLAGS-mpsqrt-fma.c): Likewise.
29231 (CFLAGS-mptan-fma.c): Likewise.
29232 (CFLAGS-s_atan-fma.c): Likewise.
29233 (CFLAGS-sincos32-fma.c): Likewise.
29234 (CFLAGS-slowexp-fma.c): Likewise.
29235 (CFLAGS-slowpow-fma.c): Likewise.
29236 (CFLAGS-s_sin-fma.c): Likewise.
29237 (CFLAGS-s_tan-fma.c): Likewise.
29238 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
29239 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
29240 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
29241 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
29242 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
29243 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
29244 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
29245 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
29246 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
29247 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
29248 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
29249 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
29250 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
29251 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
29252 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
29253 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
29254 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
29255 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
29256 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
29257 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
29258 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
29259 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
29260 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
29261 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
29262 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29263 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29264 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29265 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
29266 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29267 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29268 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29270 2017-08-04 Joseph Myers <joseph@codesourcery.com>
29272 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
29273 (min_of_type_f): New macro.
29274 (min_of_type_): Likewise.
29275 (min_of_type_l): Likewise.
29276 (min_of_type_f128): Likewise.
29277 (min_of_type): Define using __MATH_TG and taking an expression
29279 (math_check_force_underflow): Pass expression instead of type to
29281 (math_check_force_underflow_nonneg): Likewise.
29283 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29285 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
29286 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
29287 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
29289 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29291 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29292 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
29293 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
29294 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
29295 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
29296 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
29297 memcpy_chk-nonshared, mempcpy_chk-nonshared,
29298 memmove_chk-nonshared and memset_chk-nonshared
29299 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
29300 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
29301 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
29302 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
29303 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
29304 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
29305 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
29306 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
29307 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
29308 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
29309 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
29310 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
29311 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
29312 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
29313 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
29314 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
29315 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
29316 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
29317 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
29318 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
29319 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
29320 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
29321 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
29322 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
29323 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
29324 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
29325 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
29326 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
29327 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
29328 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
29329 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
29330 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
29331 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
29332 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
29333 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
29334 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
29335 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
29336 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
29337 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
29338 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
29339 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
29340 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
29341 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
29342 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
29343 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
29344 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
29345 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
29346 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
29347 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
29348 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
29349 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
29350 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
29351 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
29352 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
29353 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
29354 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
29355 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
29356 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
29357 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
29358 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
29359 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
29360 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
29361 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
29362 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
29363 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
29364 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
29365 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
29366 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
29367 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
29368 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
29369 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
29370 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29371 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29372 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29373 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29374 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29375 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29376 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29377 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29378 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29379 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29380 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29381 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29382 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29383 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29384 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29385 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29386 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29387 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29388 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29389 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29390 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29391 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29392 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29393 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29394 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29395 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29396 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29397 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29398 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29399 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29400 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29401 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29402 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29403 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29404 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29405 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29406 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29408 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29410 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
29411 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
29412 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
29413 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
29414 svml_d_log2_core-sse2, svml_d_log4_core-sse,
29415 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
29416 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
29417 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
29418 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
29419 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
29420 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
29421 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
29422 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
29423 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
29424 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
29425 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
29426 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
29427 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
29428 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
29429 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
29430 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
29431 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
29432 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
29433 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
29434 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
29435 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
29436 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
29437 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
29438 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
29439 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
29440 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
29441 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
29442 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
29443 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
29444 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
29445 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
29446 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
29447 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
29448 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
29449 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
29450 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
29451 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
29452 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
29453 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
29454 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
29455 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
29456 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
29457 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
29458 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
29459 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
29460 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
29461 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
29462 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
29463 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
29464 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
29465 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
29466 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
29467 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
29468 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
29470 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
29471 Don't include <sysdep.h> nor <init-arch.h>.
29472 (_ZGVbN2v_cos): Removed.
29473 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
29475 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
29476 Don't include <sysdep.h> nor <init-arch.h>.
29477 (_ZGVdN4v_cos): Removed.
29478 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
29480 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
29481 Don't include <sysdep.h> nor <init-arch.h>.
29482 (_ZGVeN8v_cos): Removed.
29483 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
29485 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
29486 Don't include <sysdep.h> nor <init-arch.h>.
29487 (_ZGVbN2v_exp): Removed.
29488 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
29490 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
29491 Don't include <sysdep.h> nor <init-arch.h>.
29492 (_ZGVdN4v_exp): Removed.
29493 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
29495 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
29496 Don't include <sysdep.h> nor <init-arch.h>.
29497 (_ZGVeN8v_exp): Removed.
29498 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
29500 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
29501 Don't include <sysdep.h> nor <init-arch.h>.
29502 (_ZGVbN2v_log): Removed.
29503 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
29505 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
29506 Don't include <sysdep.h> nor <init-arch.h>.
29507 (_ZGVdN4v_log): Removed.
29508 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
29510 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
29511 Don't include <sysdep.h> nor <init-arch.h>.
29512 (_ZGVeN8v_log): Removed.
29513 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
29515 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
29516 Don't include <sysdep.h> nor <init-arch.h>.
29517 (_ZGVbN2vv_pow): Removed.
29518 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
29520 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
29521 Don't include <sysdep.h> nor <init-arch.h>.
29522 (_ZGVdN4vv_pow): Removed.
29523 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
29525 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
29526 Don't include <sysdep.h> nor <init-arch.h>.
29527 (_ZGVeN8vv_pow): Removed.
29528 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
29530 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
29531 Don't include <sysdep.h> nor <init-arch.h>.
29532 (_ZGVbN2v_sin): Removed.
29533 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
29535 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
29536 Don't include <sysdep.h> nor <init-arch.h>.
29537 (_ZGVbN4v_sin): Removed.
29538 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
29540 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
29541 Don't include <sysdep.h> nor <init-arch.h>.
29542 (_ZGVbN8v_sin): Removed.
29543 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
29545 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
29546 Don't include <sysdep.h> nor <init-arch.h>.
29547 (_ZGVbN2vvv_sincos): Removed.
29548 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
29550 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
29551 Don't include <sysdep.h> nor <init-arch.h>.
29552 (_ZGVdN4vvv_sincos): Removed.
29553 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
29555 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
29556 Don't include <sysdep.h> nor <init-arch.h>.
29557 (_ZGVeN8vvv_sincos): Removed.
29558 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
29560 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
29561 Don't include <sysdep.h> nor <init-arch.h>.
29562 (_ZGVeN16v_cosf): Removed.
29563 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
29565 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
29566 Don't include <sysdep.h> nor <init-arch.h>.
29567 (_ZGVbN4v_cosf): Removed.
29568 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
29570 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
29571 Don't include <sysdep.h> nor <init-arch.h>.
29572 (_ZGVdN8v_cosf): Removed.
29573 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
29575 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
29576 Don't include <sysdep.h> nor <init-arch.h>.
29577 (_ZGVeN16v_expf): Removed.
29578 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
29580 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
29581 Don't include <sysdep.h> nor <init-arch.h>.
29582 (_ZGVbN4v_expf): Removed.
29583 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
29585 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
29586 Don't include <sysdep.h> nor <init-arch.h>.
29587 (_ZGVdN8v_expf): Removed.
29588 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
29590 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
29591 Don't include <sysdep.h> nor <init-arch.h>.
29592 (_ZGVeN16v_logf): Removed.
29593 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
29595 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
29596 Don't include <sysdep.h> nor <init-arch.h>.
29597 (_ZGVbN4v_logf): Removed.
29598 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
29600 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
29601 Don't include <sysdep.h> nor <init-arch.h>.
29602 (_ZGVdN8v_logf): Removed.
29603 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
29605 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
29606 Don't include <sysdep.h> nor <init-arch.h>.
29607 (_ZGVeN16vv_powf): Removed.
29608 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
29610 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
29611 Don't include <sysdep.h> nor <init-arch.h>.
29612 (_ZGVbN4vv_powf): Removed.
29613 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
29615 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
29616 Don't include <sysdep.h> nor <init-arch.h>.
29617 (_ZGVdN8vv_powf): Removed.
29618 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
29620 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
29621 Don't include <sysdep.h> nor <init-arch.h>.
29622 (_ZGVeN16vvv_sincosf): Removed.
29623 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
29625 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
29626 Don't include <sysdep.h> nor <init-arch.h>.
29627 (_ZGVbN4vvv_sincosf): Removed.
29628 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
29630 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
29631 Don't include <sysdep.h> nor <init-arch.h>.
29632 (_ZGVdN8vvv_sincosf): Removed.
29633 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
29635 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
29636 Don't include <sysdep.h> nor <init-arch.h>.
29637 (_ZGVeN16v_sinf): Removed.
29638 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
29640 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
29641 Don't include <sysdep.h> nor <init-arch.h>.
29642 (_ZGVbN4v_sinf): Removed.
29643 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
29645 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
29646 Don't include <sysdep.h> nor <init-arch.h>.
29647 (_ZGVdN8v_sinf): Removed.
29649 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29651 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29652 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
29653 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
29654 s_rint-sse4_1 and s_rintf-sse4_1.
29655 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
29656 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
29657 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
29658 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
29659 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
29660 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
29661 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
29662 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
29663 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
29664 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
29665 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
29666 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
29668 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
29669 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
29670 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
29671 (__ceilf): Removed.
29672 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
29673 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
29674 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
29675 (__floor): Removed.
29676 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
29677 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
29678 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
29679 (__floorf): Removed.
29680 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
29681 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
29682 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
29683 (__nearbyint): Removed.
29684 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
29685 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
29686 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
29687 (__nearbyintf): Removed.
29688 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
29689 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
29690 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
29692 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
29693 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
29694 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
29695 (__rintf): Removed.
29697 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29699 * sysdeps/i386/start.S (_start): Check Check PIC instead of
29700 SHARED. Avoid dynamic relocation against main in static PIE.
29702 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29705 * elf/Makefile (CFLAGS-tst-prelink.c): New.
29706 (LDFLAGS-tst-prelink): Likewise.
29708 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29710 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
29711 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
29712 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
29713 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
29714 (INTERNAL_SYSCALL_NCS): Likewise.
29715 (LOADARGS_1): Likewise.
29716 (LOADARGS_5): Likewise.
29717 (RESTOREARGS_1): Likewise.
29718 (RESTOREARGS_5): Likewise.
29720 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29722 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
29723 (MEMPCPY_SYMBOL): Likewise.
29724 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29725 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
29726 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
29728 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29729 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
29731 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
29732 (__hidden_ver1): Don't use in libc.a.
29733 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
29734 (__mempcpy): Don't create a weak alias in libc.a.
29735 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
29737 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
29738 (__hidden_ver1): Don't use in libc.a.
29740 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29742 * config.make.in (have-insert): New.
29743 * configure.ac (libc_cv_insert): New. Set to yes if linker
29744 supports INSERT in linker script.
29745 (AC_SUBST(libc_cv_insert): New.
29746 * configure: Regenerated.
29747 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
29748 if $(have-insert) == yes.
29750 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29752 * elf/Makefile (tests): Add vismain only if
29753 $(have-protected-data) == yes.
29754 (tests-pie): Likewise.
29756 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29759 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
29760 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
29762 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29765 * sysdeps/i386/i586/memset.S
29766 (__memset_zero_constant_len_parameter): Removed.
29767 * sysdeps/i386/i686/memset.S
29768 (__memset_zero_constant_len_parameter): Likewise.
29769 * sysdeps/i386/i686/multiarch/memset_chk.S
29770 (__memset_zero_constant_len_parameter): Likewise.
29771 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
29774 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
29776 * stdlib/getentropy.c (getentropy): Change return type to int.
29778 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
29780 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
29782 2017-08-03 Joseph Myers <joseph@codesourcery.com>
29784 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
29786 * math/s_nexttowardf.c (__nexttowardf): Likewise.
29787 * sysdeps/generic/math_private.h (ieee_double_shape_type):
29789 (ieee_float_shape_type): Likewise.
29790 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
29791 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
29792 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
29793 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29794 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
29795 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
29796 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
29797 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
29798 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
29800 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
29801 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
29802 (__ieee754_yn): Likewise.
29803 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
29804 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
29805 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
29807 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
29808 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
29809 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
29810 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
29811 (__erfc): Likewise.
29812 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
29813 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
29814 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
29815 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
29816 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
29817 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
29819 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
29820 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
29821 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
29822 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
29823 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
29824 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
29825 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
29826 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
29827 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
29828 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
29829 (__issignaling): Likewise.
29830 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
29831 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
29832 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
29834 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29835 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
29836 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
29837 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
29839 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
29841 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
29842 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
29843 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
29844 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
29845 (__erfcf): Likewise.
29846 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
29847 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
29848 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
29849 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
29851 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
29852 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
29854 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
29855 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
29856 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
29857 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
29858 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
29859 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
29860 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
29861 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
29863 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
29865 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
29867 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
29868 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
29870 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
29872 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
29873 (__ieee754_ynl): Likewise.
29874 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
29875 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
29877 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
29879 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
29880 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
29881 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29883 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
29884 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
29885 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
29886 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
29887 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
29888 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
29889 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
29890 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
29892 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
29893 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
29894 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
29896 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
29897 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
29898 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
29899 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
29900 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
29901 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29903 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
29905 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29907 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29909 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
29910 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29911 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29912 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
29913 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
29914 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
29915 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
29917 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29919 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
29920 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29922 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
29923 (__ieee754_remainderl): Likewise.
29924 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29925 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29926 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
29927 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
29929 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
29930 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29932 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29933 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
29934 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
29935 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
29936 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
29937 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
29939 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
29940 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
29941 (__ieee754_y0l): Likewise.
29944 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29945 (__ieee754_y1l): Likewise.
29948 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
29949 (__ieee754_ynl): Likewise.
29950 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
29951 (__ieee754_lgammal_r): Likewise.
29952 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
29954 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
29955 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
29956 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
29957 (__erfcl): Likewise.
29958 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
29959 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
29961 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
29962 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
29963 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
29964 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
29965 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
29966 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29967 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29969 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
29970 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
29971 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
29972 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
29973 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29975 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
29976 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
29978 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
29979 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
29980 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
29981 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
29982 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
29984 2017-08-03 Florian Weimer <fweimer@redhat.com>
29987 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
29988 on memory allocation failure.
29990 2017-08-03 Alan Modra <amodra@gmail.com>
29992 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
29993 tst-tlsopt-powerpc.c with function name change and no test harness.
29994 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
29995 Call tls_get_addr_opt_test.
29996 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
29997 (modules-names): Add mod-tlsopt-powerpc.
29998 (mod-tlsopt-powerpc.so-no-z-defs): Define.
29999 (tst-tlsopt-powerpc): Depend on .so.
30000 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
30001 define. Expand use in TLS_GD and TLS_LD.
30003 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
30005 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
30007 * sysdeps/posix/shm_open.c: Include <pthread.h>.
30009 2017-08-02 Joseph Myers <joseph@codesourcery.com>
30012 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
30013 comparing size with that of double.
30014 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
30015 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
30016 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
30017 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
30018 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30019 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
30020 unsigned __int128 types.
30022 2017-08-02 Steve Ellcey <sellcey@cavium.com>
30024 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
30025 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
30026 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
30027 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
30028 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
30030 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
30032 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
30034 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
30036 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
30038 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
30039 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30040 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30041 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30042 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30043 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30044 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30046 2017-08-02 Joseph Myers <joseph@codesourcery.com>
30049 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
30050 bit-field expressions passed to sizeof or typeof.
30051 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30052 (__TGMATH_F128): Likewise.
30053 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30054 (__TGMATH_CF128): Likewise.
30055 (__TGMATH_UNARY_REAL_ONLY): Likewise.
30056 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
30057 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
30058 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
30059 (__TGMATH_BINARY_REAL_ONLY): Likewise.
30060 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
30061 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
30062 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
30063 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
30064 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
30065 (__TGMATH_UNARY_REAL_IMAG): Likewise.
30066 (__TGMATH_UNARY_IMAG): Likewise.
30067 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
30068 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30069 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
30071 (define_vars_for_type): Handle bit_field type specially.
30072 (Tests.__init__): Declare structure with bit-field element.
30074 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
30077 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
30078 (MEMCPY_CHK): Define only if SHARED is defined.
30079 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
30081 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
30084 See ChangeLog.18 for earlier changes.